.wrapper  {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0; 
  box-sizing: border-box;
}
.breadcrumbs {
	margin-top:0;
	margin-bottom:0;
}
.header {
  height: auto;
  width: 100%;
}
.section {
  padding:0;
}
.top-menu {
gap: 12px;
display: flex;
width: auto;
align-items: center;
padding: 0;
justify-content: inherit;
}
.top-menu a {
text-decoration: none;
color: #000;
text-transform: lowercase;
font-size: 15px;                
line-height: 1.22;
font-weight: 600;    
letter-spacing: 0.02em; 
padding: 8px 10px; 
border-radius: 6px;
transition: color .15s ease, background .15s ease;
}
.top-menu a:hover{
background: rgba(0,0,0,.05);    
} 
.top-menu a::first-letter {
text-transform: uppercase;
}
.header .top-row {
  height: 180px;
  align-items: center;  
}
.logo-block {
  height: 112px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.first_h1 {
  font-size: 42px;   
  font-weight: 700;
  font-style: italic;
  line-height: 1.1;
  padding-top: 0;  
  margin: 0;
}
.second_h1 {
  display: block;
  font-size: 16px;   
  font-style: normal;  
  text-transform: none;  
  letter-spacing: 0.02em;
  color: #222;
  margin-top: 4px;  
}
.search{ flex:1 1 680px; max-width:680px; }
  .social-block {  
    display:flex;
    gap:8px;
    width:auto; 
    justify-content:flex-start;
    align-items:center;
  }
a.email, a.phones { 
display:flex;
align-items:center;
gap:12px;
}
.search #search-form{ 
display:flex;
position:relative;
width:100%;
height:auto;
}
.search  #search {
  width: 100%;
  position: relative;
  height:44px;
  font-size:14px;
  border:1px solid #DFE7EE;
  border-radius:24px;
  background:#F6FAFD;
  padding:0 110px 0 44px;
  color:#222;
}
.search  #search::placeholder{ color:#9aa7b3; }
 .search #ok {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: 18px;
  background: #4A90E2;
  color: #fff;
  border: 0;
  width: 133px;
  cursor: pointer;
}
 .search #ok:hover{ filter:brightness(0.95); }
.social-block img{
  width:32px; height:32px;   
  object-fit:contain;
}
.email, a.email{
display:flex;
align-items:center;
font-size: 16px;
gap:8px;
font-size:16px;     
font-weight:500;
color:#111;
text-decoration:none;
}
.phones{
  display:flex;
  align-items: center;
margin-right:0;
gap:18px;
}
.phones a{
font-size:16px;
font-weight:500;
color:#111;
text-decoration:none;
white-space:nowrap;
}
a.email img, .phones img {
  padding-right: 0;
  height: 20px;
}
.section h1, .catalog-index h2, .index-text h2, .item-index h2, .news-index h2, .brands-block h2 { 
    background: none !important;
    color: #2C3E50 !important;
    font-size: 26px !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 !important;
    margin-bottom: 25px !important;
    text-align: left; 
    position: relative;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #4091D3; 
    display: inline-block; 
}
.price-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px; 
  width: 100%;
  box-sizing: border-box;
}
.price-block .prices {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
}
.price-block .price {
  font-size: 20px;
  font-weight: 700;
  color: #2C3E50;
  white-space: nowrap;
}
.price-block .old {
  font-size: 14px;
  color: #95A5A6;
  text-decoration: line-through;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 2px;
  white-space: nowrap;
}
.price-block .button.submit_basket {
    text-decoration: none;
    border: none;
    outline: none;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    height: 38px;
    padding: 0 20px;
    background-color: #4091D3;
    border-radius: 8px; 
    color: #FFFFFF;
    font-size: 20px; 
    font-weight: 500;
    line-height: 1;
    text-transform: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.price-block .button.submit_basket:hover {
    background-color: #357ABD; 
    box-shadow: 0 4px 12px rgba(64, 145, 211, 0.25);
    transform: translateY(-1px);
}
.price-block .button.submit_basket:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(64, 145, 211, 0.2);
}
/* Левая колонка */
.main-container {
    display: flex;
    align-items: flex-start;
    gap: 30px; 
}
.sidebar {
    width: 280px; 
    flex-shrink: 0;
    position: sticky; 
    top: 20px;
	z-index: 100;
}
.content {
    flex-grow: 1;
    min-width: 0; 
	margin-bottom: 50px;
}
.side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
}
.side-menu li {
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}
.side-menu a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s;
}
.side-menu li:hover > a {
    background: #f9f9f9;
    color: #4091D3;
}
.side-menu ul ul {
    position: absolute;
    left: 100%;
    top: 0;
    width: 250px;
    visibility: hidden;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
    z-index: 9999;
    border-left: 2px solid #4091D3;
}
.side-menu li:hover > ul {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}
.side-menu li:has(ul) > a::after {
    content: '›';
    float: right;
    font-size: 18px;
    line-height: 1;
}
.mobile_menu { display: none; }
@media (max-width: 1024px) {
    .main-container {
        display: block; 
    }
    .main-container > .sidebar {
        display: none; 
    }
}
.catalog-index .wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}
.catalog-index .item {
    /* На десктопе строим ровно в 3 колонки (2 ряда по 3 штуки) */
    width: calc((100% - 40px) / 3); 
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background-color: #ffffff;
    border-radius: 12px; 
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.catalog-index .item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(64, 145, 211, 0.2);
}
.catalog-index .item .photo {
    padding: 0;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #f5f5f5;
}
.catalog-index .item .photo .responsive {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.catalog-index .item::after {
    display: none;
}
.catalog-index .item .text {
    padding: 15px 14px;
    text-align: center;
    color: #2C3E50;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    background: none;
    box-sizing: border-box;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* ==========================================================================
   Адаптив (Media Queries)
   ========================================================================== */
/* Планшеты (меньше 1024px) — перестраиваем в 2 колонки */
@media (max-width: 1024px) {
    .catalog-index .wrapper {
        gap: 15px;
    }
}
/* Мобилки (меньше 576px) — в 1 колонку */
@media (max-width: 576px) {
    .catalog-index .wrapper {
        gap: 12px;
    }
    .catalog-index .item {
        width: 100%;
        border-radius: 8px;
    }
    .catalog-index .item .text {
        font-size: 14px;
        padding: 10px;
    }
}
.section.catalog-index {
    position: relative;
    z-index: 5; 
}
.item-index .wrapper, .category_catalog-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}
/* Карточка товара */
.item-index .item-catalog, .item-catalog {
  width: calc((100% - 60px) / 4) !important;
  height: auto !important; 
  min-height: 380px; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 15px 15px 15px;
  box-sizing: border-box;
  margin: 0 !important;
  border-radius: 12px !important;
  background-color: #ffffff;
  border: 1px solid #eef2f5 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.item-index .item-catalog:hover, .item-catalog:hover {
  box-sizing: border-box;
  border-color: #4091D3 !important; 
  box-shadow: 0 12px 25px rgba(64, 145, 211, 0.2) !important;
  transform: translateY(-5px);
}
.item-catalog .name_item {
    font-size: 14px;
    line-height: 1.3;
    color: #333;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 54px;
    text-align: center; 
    margin-bottom: 10px;
}
/* ==========================================================================
   Адаптивность сетки и внутренностей карточки товара
   ========================================================================== */
@media (max-width: 1300px) {
    .item-index .item-catalog, .item-catalog {
        width: calc((100% - 40px) / 3) !important;
        height: 410px;
    }
    .price-block .button.submit_basket {
        font-size: 16px;
        padding: 0 15px;
        min-width: 90px;
    }
    .price-block .price {
        font-size: 18px;
    }
    .price-block .old {
        font-size: 14px;
    }
}
@media (max-width: 1120px) {
    .item-index .item-catalog, .item-catalog {
        padding: 15px 10px 15px 10px;
    }
    .price-block {
        gap: 8px;
    }
}
@media (max-width: 1024px) {
    .item-index .wrapper, .category_catalog-items {
        gap: 15px;
    }
    .item-index .item-catalog, .item-catalog {
        width: calc((100% - 30px) / 3) !important;
        height: 390px;
        padding: 15px;
    }
    .price-block .button.submit_basket {
        font-size: 18px;
        min-width: 100px;
    }
    .price-block .price {
        font-size: 20px;
    }
    .price-block .old {
        font-size: 15px;
    }
}
@media (max-width: 768px) {
    .item-index .item-catalog, .item-catalog {
        width: calc((100% - 15px) / 2) !important;
        height: auto;
        min-height: 360px;
    }
    .item-catalog img {
        max-width: 100%;
        height: auto;
        max-height: 180px;
        object-fit: contain;
        margin: 0 auto display: block;
    }
    .price-block .button.submit_basket {
        font-size: 16px;
        height: 36px;
    }
}
@media (max-width: 480px) {
    .item-index .wrapper, .category_catalog-items {
        gap: 10px;
    }
    .price-block {
        width: 100%;
        justify-content: space-between;
    }
    .price-block .button.submit_basket {
        width: 50%; 
        font-size: 16px;
    }
}
.section.item-index {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}
.section.item-index h2 { order: 1; }
.section.item-index .to-more { order: 2; }
.section.item-index .wrapper { order: 3; }
.section.item-index .to-more {
  align-self: flex-end;
  margin-bottom: 25px; 
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4091D3;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
.section.item-index .to-more::after {
  content: "→";
  font-family: inherit;
  font-size: 16px;
  transition: transform 0.2s ease-in-out;
}
.section.item-index .to-more:hover {
  color: #2c3e50;
}
.section.item-index .to-more:hover::after {
  transform: translateX(4px);
}
@media (max-width: 768px) {
  .section.item-index {
    display: block; 
  }
  .section.item-index h2,
  .section.item-index .to-more,
  .section.item-index .wrapper {
    order: unset; 
  }
  .section.item-index .to-more {
    display: flex;
    justify-content: center;
    margin: 20px auto 0 auto !important;
    padding: 10px 20px;
    border: 1px solid #4091D3;
    border-radius: 6px;
    width: fit-content;
    font-size: 14px;
  }
  .section.item-index .to-more:hover {
    background-color: #4091D3;
    color: #ffffff;
  }
}
/* ==========================================================================
   ФУТЕР (Desktop)
   ========================================================================== */
.footer {
  width: 100%;
  background-color: #2C3E50;
  color: #FFFFFF;
  box-sizing: border-box;
  font-family: inherit;
  margin-top: 50px;
}
.footer .top {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 40px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}
.footer .top > div {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
}
.footer .top .right-2 {
  flex: 0 0 280px;
  align-items: flex-start;
}
.footer h3 {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #FFFFFF;
  margin: 0 0 20px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}
.footer .top > div > a {
  display: block;
  color: #B0BEC5;
  font-size: 15px;
  text-decoration: none;
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color 0.2s ease;
}
.footer .top > div > a:hover {
  color: #4091D3;
}
/
.footer .phones {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}
.footer .phones img,
.footer .email img {
  width: 20px;
  height: auto;
  flex-shrink: 0;
  opacity: 0.8;
}
.footer .phones_footer a {
  display: block;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 5px;
}
.footer .email {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: #FFFFFF !important;
  font-size: 16px;
  text-decoration: none;
  margin-bottom: 20px;
}
.footer .social {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer .social a {
  display: block;
  transition: transform 0.2s ease;
}
.footer .social a:hover {
  transform: translateY(-3px);
}
.footer .social img {
  width: 32px;
  height: 32px;
}
.footer .bottom {
  width: 100%;
  background-color: #1A252F;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  padding: 15px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.footer .bottom div,
.footer .bottom a {
  color: #78909C;
  font-size: 13px;
  text-decoration: none;
}
.footer .bottom a:hover {
  color: #4091D3;
}
.footer .footer__bottom_bottom {
  background-color: #1A252F;
  padding: 15px 40px 25px 40px;
  text-align: center;
  color: #546E7A;
  font-size: 12px;
  line-height: 1.6;
  box-sizing: border-box;
}
.footer .footer__bottom_bottom a {
  color: #78909C;
  text-decoration: underline;
}
.footer .footer__bottom_bottom a:hover {
  color: #4091D3;
}
/* ==========================================================================
   АДАПТИВ ФУТЕРА
   ========================================================================== */
@media (max-width: 1024px) {
  .footer .top {
    padding: 40px 20px;
  }
  .footer .top > div {
    flex: 0 0 calc(50% - 20px);
    min-width: calc(50% - 20px);
  }
  .footer .bottom,
  .footer .footer__bottom_bottom {
    padding: 15px 20px;
  }
}
@media (max-width: 768px) {
  .footer .bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 20px;
  }
}
@media (max-width: 480px) {
  .footer .top {
    flex-direction: column;
    gap: 35px;
    padding: 40px 20px;
  }
  .footer .top > div {
    flex: 0 0 100%;
    width: 100%;
  }
  .footer h3 {
    margin-bottom: 15px;
  }
  .footer .top .right-2 {
    flex: 0 0 auto;
  }
}
/* ==========================================================================
   СТРАНИЦА КАТЕГОРИИ (Верхняя часть)
   ========================================================================== */
.category_catalog-wrapper {
	margin-top:0;
}
.top_category {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  margin-bottom:0;
  margin-top: 0;
}
.section.top_category h1 {
  font-size: 28px;
  font-weight: 600;
  color: #2C3E50;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 25px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #4091D3;
  display: inline-block;
  width: fit-content;
}
.category_info {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 30px;
  width: 100%;
  box-sizing: border-box;
}
.category_photo {
  flex: 0 0 25%;
  max-width: 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.category_photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.page-text {
  flex: 1;
  color: #546E7A;
  font-size: 15px;
  line-height: 1.6;
}
.page-text p {
  margin: 0 0 15px 0;
}
.page-text p:last-child {
  margin-bottom: 0;
}
/* --------------------------------------------------------------------------
   ПОДКАТЕГОРИИ (Облако тегов)
   -------------------------------------------------------------------------- */
.more_category-wrapper {
  width: 100%;
  margin-bottom: 25px;
}
.more_category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}
.more_category-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto; 
  height: auto;
  padding: 8px 18px;
  background-color: #F4F7F9;
  border: 1px solid #E4EBF0;
  border-radius: 30px;
  color: #2C3E50;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.2s ease-in-out;
}
.more_category-links a:hover {
  background-color: #4091D3;
  border-color: #4091D3;
  color: #FFFFFF;
  transform: translateY(-1px);
}
/* --------------------------------------------------------------------------
   БЛОК СОРТИРОВКИ
   -------------------------------------------------------------------------- */
.category_sort-wrapper {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  border-bottom: 1px solid #EAEAEA;
  padding-bottom: 15px;
  margin-bottom: 25px;
}
.sort_price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #78909C;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}
.sort_price:hover {
  color: #4091D3;
}
.sort_price img {
  width: 12px;
  height: auto;
  transition: transform 0.2s ease;
}
/* ==========================================================================
   АДАПТИВ ДЛЯ СТРАНИЦЫ КАТЕГОРИИ
   ========================================================================== */
@media (max-width: 992px) {
  .category_info {
    flex-direction: column;
    gap: 20px;
  }
  .category_photo {
    width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .section.top_category h1 {
    font-size: 24px;
  }
  .more_category-links a {
    padding: 6px 14px;
    font-size: 13px;
  }
  .more_category-show {
    display: block;
    text-align: center;
    color: #4091D3;
    font-size: 14px;
    margin-top: 10px;
    cursor: pointer;
  }
}
/* ==========================================================================
   ПАГИНАЦИЯ (Десктоп)
   ========================================================================== */
.pagination-wrapper {
  display: flex;
  width: 100%;
  justify-content: center;
  margin: 40px auto;
  box-sizing: border-box;
}
.pagination {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pagination font {
  color: inherit !important;
}
.pagination input[type="submit"].submit_stran,
.pagination input[type="submit"].submit_stran_enter,
.pagination input[type="submit"].submit_stran_all {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #E4EBF0;
  outline: none;
  background: #FFFFFF;
  box-sizing: border-box;
  cursor: pointer;
  height: 40px;
  min-width: 40px;
  padding: 0 12px;
  border-radius: 8px;
  color: #2C3E50;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  transition: all 0.2s ease-in-out;
}
.pagination a:hover input[type="submit"].submit_stran {
  border-color: #4091D3;
  color: #4091D3;
  background-color: #F4F7F9;
}
.pagination input[type="submit"].submit_stran_enter {
  background-color: #4091D3 !important;
  border-color: #4091D3 !important;
  color: #FFFFFF !important;
  font-weight: 600;
  cursor: default;
}
.pagination input[type="submit"].submit_stran_all {
  background-color: #F4F7F9;
  border-color: #E4EBF0;
  color: #546E7A;
}
.pagination a:hover input[type="submit"].submit_stran_all {
  background-color: #4091D3;
  border-color: #4091D3;
  color: #FFFFFF;
}
/* ==========================================================================
   АДАПТИВ ДЛЯ ПАГИНАЦИИ
   ========================================================================== */
@media (max-width: 560px) {
  .pagination-wrapper {
    margin: 30px auto;
    padding: 0 15px;
  }
  .pagination {
    gap: 6px;
    justify-content: center;
    width: 100%;
  }
  .pagination input[type="submit"].submit_stran,
  .pagination input[type="submit"].submit_stran_enter {
    height: 36px;
    min-width: 36px;
    padding: 0 10px;
    font-size: 13px;
  }
  .pagination input[type="submit"].submit_stran_all {
    height: 36px;
    width: 100%;
    margin-top: 5px;
  }
}
/* ==========================================================================
   ХЛЕБНЫЕ КРОШКИ (Desktop + Адаптив)
   ========================================================================== */
.breadcrumbs.section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  box-sizing: border-box;
}
.breadcrumbs.section:hover::before {
  color: #4091D3;
}
.breadcrumbs.section a:first-of-type::before {
  content: "/";
  margin-right: 6px;
  color: #CFD8DC;
  font-size: 12px;
}
.breadcrumbs.section a {
  font-size: 13px;
  color: #78909C;
  text-decoration: none;
  font-weight: 400;
  line-height: 1.4;
  transition: color 0.2s ease;
}
.breadcrumbs.section a:hover {
  color: #4091D3;
}
.breadcrumbs.section span {
  font-size: 0;
  display: inline-flex;
  align-items: center;
  margin: 0 2px;
}
.breadcrumbs.section span::before {
  content: "/"; 
  font-size: 12px;
  color: #CFD8DC;
}
.breadcrumbs.section a:last-of-type {
  color: #2C3E50;
  font-weight: 500;
  pointer-events: none;
}
@media (max-width: 768px) {
  .breadcrumbs.section {
    padding: 10px 0;
    margin-bottom: 15px;
    gap: 4px;
  }
  .breadcrumbs.section a,
  .breadcrumbs.section::before,
  .breadcrumbs.section span::before {
    font-size: 12px;
  }
}
/* ==========================================================================
   БЛОК НОВОСТЕЙ НА ГЛАВНОЙ
   ========================================================================== */
.section.news-index {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  margin-top: 40px;
}
.section.news-index h2 { order: 1; }
.section.news-index .to-more 
{ order: 2; margin-bottom: 25px; 
align-self: flex-end;
  margin-bottom: 25px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4091D3;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
.section.news-index .to-more::after {
  content: "→";
  font-family: inherit;
  font-size: 16px;
  transition: transform 0.2s ease-in-out;
}
.section.news-index .news-item { order: 3; }
.news-index .news-item {
  width: 100%;
  background-color: #FFFFFF;
  border: 1px solid #eef2f5;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  padding: 30px;
  box-sizing: border-box;
  margin-bottom: 20px;
}
.news-index .news-item .text {
  width: 100%;
  padding: 0;
}
.news-index .news-item h3 {
  font-size: 20px;
  font-weight: 600;
  color: #2C3E50;
  margin: 0 0 20px 0;
  line-height: 1.4;
}
.news-index .news-item .text p {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  color: #546E7A;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.news-index .news-item .text img {
  float: none !important; 
  flex: 0 0 35%;
  max-width: 380px;
  width: 35% !important;
  height: auto !important;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  object-fit: cover;
}
/* ==========================================================================
   АДАПТИВ ДЛЯ НОВОСТЕЙ
   ========================================================================== */
@media (max-width: 992px) {
  .news-index .news-item {
    padding: 20px;
  }
  .news-index .news-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
  }
  .news-index .news-item .text p {
    flex-direction: column; 
    gap: 15px;
  }
  .news-index .news-item .text img {
    width: 100% !important;
    max-width: 100%;
    flex: none;
  }
}
@media (max-width: 768px) {
  .section.news-index {
    display: block;
  }
  .section.news-index h2,
  .section.news-index .to-more,
  .section.news-index .news-item {
    order: unset;
  }
  .section.news-index .to-more {
    display: flex;
    justify-content: center;
    margin: 20px auto 0 auto !important;
    padding: 10px 20px;
    border: 1px solid #4091D3;
    border-radius: 6px;
    width: fit-content;
    font-size: 14px;
  }
  .section.news-index .to-more:hover {
    background-color: #4091D3;
    color: #ffffff;
  }
}
/* ==========================================================================
   СТРАНИЦА: ВСЕ НОВОСТИ (Архив)
   ========================================================================== */
.text_page-section.news-archive-page {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 50px;
}
.text_page-section.news-archive-page h1,
.section.catalog-page h1 {
  font-size: 28px;
  font-weight: 600;
  color: #2C3E50;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 30px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #4091D3;
  display: inline-block;
  width: fit-content;
}
.news-archive-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #eef2f5;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.news-archive-list .archive-item {
  border-bottom: 1px solid #eef2f5;
  transition: background-color 0.2s ease;
}
.news-archive-list .archive-item:last-child {
  border-bottom: none;
}
.news-archive-list .archive-item-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  text-decoration: none;
  color: #2C3E50;
  font-size: 16px;
  font-weight: 500;
  box-sizing: border-box;
  transition: all 0.2s ease-in-out;
}
.news-archive-list .archive-item:hover {
  background-color: #F8FAFC;
}
.news-archive-list .archive-item:hover .archive-item-link {
  color: #4091D3;
  padding-left: 30px;
}
.news-archive-list .archive-arrow {
  color: #CFD8DC;
  font-size: 18px;
  transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}
.news-archive-list .archive-item:hover .archive-arrow {
  color: #4091D3;
  transform: translateX(5px);
}
/* ==========================================================================
   СТРАНИЦА: ОДНА НОВОСТЬ ВНУТРИ
   ========================================================================== */
.section.catalog-page {
  width: 100%;
  box-sizing: border-box;
  margin-top:0;
}
.catalog-page .news-item {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #eef2f5;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  padding: 35px;
  box-sizing: border-box;
  margin-bottom: 30px;
}
.catalog-page .news-item p {
  color: #546E7A;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 20px 0;
}
.catalog-page .news-item p:last-of-type {
  margin-bottom: 0;
}
.catalog-page .news-item img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.catalog-page .to-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4091D3;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  margin-bottom: 40px;
}
.catalog-page .to-more::before {
  content: "←";
  font-size: 16px;
  transition: transform 0.2s ease;
}
.catalog-page .to-more:hover {
  color: #2C3E50;
}
.catalog-page .to-more:hover::before {
  transform: translateX(-4px);
}
/* ==========================================================================
   АДАПТИВ (Обе страницы)
   ========================================================================== */
@media (max-width: 768px) {
  .news-archive-list .archive-item-link {
    padding: 14px 15px;
    font-size: 14px;
  }
  .catalog-page .news-item {
    padding: 20px;
  }
  .catalog-page .news-item p {
    font-size: 14px;
  }
  .catalog-page .to-more {
    display: flex;
    justify-content: center;
    margin: 20px auto 0 auto !important;
    padding: 10px 20px;
    border: 1px solid #4091D3;
    border-radius: 6px;
    width: fit-content;
  }
  .catalog-page .to-more:hover {
    background-color: #4091D3;
    color: #ffffff;
  }
}
.catalog-page .to-more,
.text_page-section .to-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4091D3;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: 15px;
}
.catalog-page .to-more::before {
  content: "←"; 
  font-size: 16px;
  display: inline-block;
  transition: transform 0.2s ease;
}
.catalog-page .to-more:hover::before {
  transform: translateX(-4px);
}
.text_page-section .to-more.read-full::after {
  content: "→";
  font-size: 16px;
  display: inline-block;
  transition: transform 0.2s ease;
}
.text_page-section .to-more.read-full::before {
  content: "" !important;
  display: none !important;
}
.text_page-section .to-more.read-full:hover::after {
  transform: translateX(4px); 
}
.to-more:hover {
  color: #2C3E50;
}
/* ==========================================================================
   ТЕКСТОВЫЕ СТРАНИЦЫ ИЗ АДМИНКИ (WYSIWYG)
   ========================================================================== */
.page_text-wrapper {
  min-height: 500px;
  padding: 30px 0;
  font-family: "Inter", sans-serif !important;
  font-size: 16px;
  line-height: 1.6;
  color: #546E7A;
  box-sizing: border-box;
}
.page_text-wrapper p, 
.page_text-wrapper span, 
.page_text-wrapper div {
  font-family: "Inter", sans-serif !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}
.page_text-wrapper p {
  margin: 0 0 16px 0;
  padding: 0;
}
.page_text-wrapper p {
  margin: 0 0 16px 0;
  padding: 0;
}
.page_text-wrapper p:last-child {
  margin-bottom: 0;
}
.page_text-wrapper strong, 
.page_text-wrapper b {
  font-weight: 600 !important;
}
.page_text-wrapper h2, 
.page_text-wrapper h3, 
.page_text-wrapper h4 {
  color: #2C3E50;
  font-weight: 600;
  line-height: 1.3;
  margin: 35px 0 15px 0;
}
.page_text-wrapper h2 { font-size: 24px; }
.page_text-wrapper h3 { font-size: 20px; }
.page_text-wrapper h4 { font-size: 18px; }
.page_text-wrapper ul, 
.page_text-wrapper ol {
  margin: 0 0 20px 0;
  padding-left: 25px;
}
.page_text-wrapper li {
  font-size: 16px;
  line-height: 1.6;
  color: #546E7A;
  margin-bottom: 8px;
  padding-left: 5px;
}
.page_text-wrapper ul li {
  list-style-type: disc;
}
.page_text-wrapper ol li {
  list-style-type: decimal;
}
.page_text-wrapper a {
  color: #4091D3;
  text-decoration: underline;
  transition: color 0.2s ease;
}
.page_text-wrapper a:hover {
  color: #2C3E50;
  text-decoration: none;
}
.page_text-wrapper img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px;
  margin: 15px auto;
}
.page_text-wrapper img[style*="float: left"],
.page_text-wrapper img[style*="float:left"] {
  margin: 5px 20px 20px 0 !important;
}
.page_text-wrapper img[style*="float: right"],
.page_text-wrapper img[style*="float:right"] {
  margin: 5px 0 20px 20px !important;
}
.page_text-wrapper iframe {
  max-width: 100% !important;
  border: none !important;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  margin: 20px 0;
}
.page_text-wrapper table {
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: collapse;
  margin: 20px 0;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.page_text-wrapper th, 
.page_text-wrapper td {
  padding: 12px 15px;
  border: 1px solid #E4EBF0;
  font-size: 15px;
  text-align: left;
}
.page_text-wrapper th {
  background-color: #F4F7F9;
  font-weight: 600;
  color: #2C3E50;
}
/* ==========================================================================
   МЕДИА-ЗАПРОСЫ
   ========================================================================== */
@media (max-width: 768px) {
  .page_text-wrapper {
    padding: 20px 0;
  }
  .page_text-wrapper p, 
  .page_text-wrapper span, 
  .page_text-wrapper li {
    font-size: 15px !important; 
  }
  .page_text-wrapper h2 { font-size: 20px; margin: 25px 0 10px 0; }
  .page_text-wrapper h3 { font-size: 18px; }
  .page_text-wrapper img {
    float: none !important;
    display: block !important;
    margin: 15px auto !important;
    width: 100% !important;
  }
  .page_text-wrapper iframe {
    width: 100% !important;
    height: 250px !important;
  }
}
/* ==========================================================================
   КАРТОЧКА ТОВАРА (Desktop)
   ========================================================================== */
.item_info-wrapper {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 30px auto;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
  gap: 40px;
  align-items: flex-start;
}
.item_photo-wrapper {
  display: flex;
  flex: 0 0 45%;
  max-width: 600px;
  height: auto;
  align-items: flex-start;
  gap: 15px;
  position: relative;
}
.main_photo {
  flex: 1;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E4EBF0;
  border-radius: 12px;
  background-color: #FFFFFF;
  overflow: hidden;
  cursor: pointer;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}
.main_photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease-in-out;
}
.small_gallery-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  max-height: 480px;
  overflow: hidden;
  position: relative;
  width: 80px;
  flex-shrink: 0;
}
.small_items-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  max-height: 100%;
}
.small_item {
  width: 76px;
  height: 76px;
  border: 1px solid #E4EBF0;
  border-radius: 8px;
  box-sizing: border-box;
  padding: 4px;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.small_item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.small_item:hover, 
.small_item.active {
  border-color: #4091D3;
  box-shadow: 0 0 0 1px #4091D3;
}
#arrow_top, #arrow_bottom {
  cursor: pointer;
  font-size: 14px;
  color: #78909C;
  padding: 2px;
  user-select: none;
}
#arrow_top:hover, #arrow_bottom:hover { color: #4091D3; }
/* --------------------------------------------------------------------------
   ИНФО-БЛОК ТОВАРА (Правая часть)
   -------------------------------------------------------------------------- */
.item_info {
  flex: 0 0 50%;
  width: auto;
  box-sizing: border-box;
  padding-left: 0;
}
.item_info h1 {
  font-size: 26px;
  font-weight: 600;
  color: #2C3E50;
  line-height: 1.3;
  margin: 0 0 25px 0;
}
.color_block, 
.size_block {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.color_name, 
.size_block > .color {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #78909C;
}
#color_var {
  color: #2C3E50;
  margin-left: 5px;
}
.color_photo {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
}
.small_color {
  display: block;
  width: 60px;
  height: 60px;
  border: 1px solid #E4EBF0;
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
  padding: 3px;
  background: #FFFFFF;
  transition: all 0.2s ease;
}
.small_color img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.small_color:hover, 
.small_color.active {
  border-color: #4091D3;
  box-shadow: 0 0 0 1px #4091D3;
}
.size_wrapp {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: 0;
}
.size_name {
  min-width: 50px;
  height: 40px;
  padding: 0 15px;
  box-sizing: border-box;
  background: #FFFFFF;
  border: 1px solid #E4EBF0;
  border-radius: 8px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #2C3E50;
  transition: all 0.2s ease;
  margin: 0;
}
.size_name:hover, 
.size_name.active {
  border-color: #4091D3;
  background-color: #F4F7F9;
  color: #4091D3;
}
.quantity_in_stock {
  margin: 20px 0;
  color: #546E7A;
  font-size: 14px;
}
#stock_qty {
  font-weight: 600;
  color: #2C3E50;
}
.item_info .price-block {
  display: flex;
  align-items: center;
  gap: 30px;
  background: #F8FAFC;
  padding: 20px;
  border-radius: 12px;
  margin-top: 25px;
  width: 100%;
  box-sizing: border-box;
}
.item_info .price-block .price_wrapper {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: #78909C;
  font-weight: 500;
  text-transform: uppercase;
}
.item_info .price-block .price_wrapper .price {
  font-size: 28px;
  font-weight: 700;
  color: #E90000;
  margin-left: 0;
  line-height: 1.2;
}
.item_info .to_cart_block {
  margin-left: auto;
}
.item_info .submit_basket {
  width: 200px;
  height: 50px;
  border: none;
  background-color: #4091D3;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.item_info .submit_basket:hover { background-color: #2C3E50; }
.price-block .submit_basket.out-of-stock,
.item_info .submit_basket.disabled,
.item_info .disabled {
  background-color: #B0BEC5 !important;
  cursor: not-allowed;
  opacity: 0.7;
}
.in-cart {
  background-color: #E0f1FF; 
  color: #005B9F; 
  border: 1px solid #B3DFFF;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  position: absolute;
  top: -45px;
  right: 0;
  box-shadow: 0 4px 12px rgba(64,145,211,0.15);
}
.text_item {
  width: 100%;
  clear: both;
}
.item_info .text_item {
  display: none; 
}
.item-description-full {
  width: 100%;
  margin: 50px 0;
  box-sizing: border-box;
  background: #FFFFFF;
  border: 1px solid #EEF2F5;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}
.item-description-full h2 {
  font-size: 22px;
  font-weight: 600;
  color: #2C3E50;
  margin: 0 0 25px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #4091D3;
  display: inline-block;
}
.item-description-full .text_item {
  font-size: 16px;
  line-height: 1.7;
  color: #546E7A;
}
.item-description-full .text_item table {
  width: 100% !important;
  margin: 20px 0;
  border-collapse: collapse;
}
.item-description-full .text_item td {
  padding: 12px 15px;
  border: 1px solid #E4EBF0;
  font-size: 15px;
}
.sertificat_block {
  margin: 30px auto;
  width: 100%;
}
.sertificat_block img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
/* ==========================================================================
   АДАПТИВНОСТЬ КАРТОЧКИ ТОВАРА
   ========================================================================== */
@media (max-width: 1280px) {
  .item_info-wrapper { gap: 25px; }
  .main_photo { height: 400px; }
  .small_gallery-wrapper { max-height: 400px; }
  .item_info h1 { font-size: 22px; }
  .item_info .price-block .price_wrapper .price { font-size: 24px; }
  .item_info .submit_basket { width: 160px; height: 46px; font-size: 15px; }
}
@media (max-width: 992px) {
  .item_info-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .item_photo-wrapper, 
  .item_info {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }
  .main_photo { height: 450px; }
  .small_gallery-wrapper { max-height: 450px; }
}
@media (max-width: 600px) {
  .item_photo-wrapper {
    flex-direction: column;
    gap: 10px;
  }
  .main_photo {
    height: 320px;
    padding: 10px;
  }
  .small_gallery-wrapper {
    flex-direction: row;
    width: 100%;
    height: 70px;
    max-height: 70px;
    justify-content: center;
  }
  .small_items-wrapper {
    flex-direction: row;
  }
  .small_item {
    width: 66px;
    height: 66px;
  }
  #arrow_top, #arrow_bottom { display: none !important; }
  .item_info .price-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
  }
  .item_info .to_cart_block {
    width: 100%;
  }
  .item_info .submit_basket {
    width: 100%;
    height: 48px;
  }
  .in-cart {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    top: -50px;
  }
}
@media (max-width: 768px) {
  .item-description-full {
    padding: 20px;
    margin: 30px 0;
  }
  .item-description-full h2 {
    font-size: 18px;
  }
  .item-description-full .text_item {
    font-size: 14px;
  }
}
/* ==========================================================================
   МОБИЛЬНЫЕ ОТСТУПЫ ДЛЯ КАРТОЧКИ ТОВАРА
   ========================================================================== */
@media (max-width: 992px) {
  .item-description-full {
    margin: 30px 15px;
    width: calc(100% - 30px);
  }
}
.product-delivery-benefits {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
  box-sizing: border-box;
}
.product-delivery-benefits .benefit-item {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1 1 calc(25% - 20px);
  min-width: 240px;
  background: #F8FAFC;
  border: 1px solid #EEF2F5;
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-delivery-benefits .benefit-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(64, 145, 211, 0.05);
}
.product-delivery-benefits .benefit-icon {
  width: 44px;
  height: 44px;
  background: #E0F1FF;
  color: #4091D3;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.product-delivery-benefits .benefit-icon svg {
  width: 22px;
  height: 22px;
}
.product-delivery-benefits .benefit-text p {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #546E7A;
}
.product-delivery-benefits .benefit-text strong {
  color: #2C3E50;
  font-weight: 600;
}
/* ==========================================================================
   АДАПТИВ
   ========================================================================== */
@media (max-width: 1200px) {
  .product-delivery-benefits .benefit-item {
    flex: 1 1 calc(50% - 20px);
  }
}
@media (max-width: 768px) {
  .product-delivery-benefits {
    padding: 0 15px;
    width: 100%;
    gap: 12px;
    margin: 30px 0;
  }
  .product-delivery-benefits .benefit-item {
    flex: 1 1 100%;
    padding: 15px;
  }
}
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 360px;
  background: #FFFFFF;
  border-left: 4px solid #4091D3;
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  pointer-events: auto;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}
.toast-item.show {
  transform: translateX(0);
  opacity: 1;
}
.toast-item .toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #E0F1FF;
  color: #4091D3;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}
.toast-item .toast-message {
  font-size: 14px;
  line-height: 1.4;
  color: #2C3E50;
  font-weight: 500;
}
.toast-item.error {
  border-left-color: #E90000;
}
.toast-item.error .toast-icon {
  background-color: #FFEAEA;
  color: #E90000;
}
.pulse-animation {
  animation: badgePulse 0.4s ease-out;
}
@keyframes badgePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); background-color: #4091D3; color: #FFFFFF; }
  100% { transform: scale(1); }
}
/* Мобильная адаптация уведомлений */
@media (max-width: 480px) {
  #toast-container {
    top: auto;
    bottom: 20px;
    left: 20px;
    right: 20px;
  }
  .toast-item {
    max-width: 100%;
    min-width: 0;
    transform: translateY(120%);
  }
  .toast-item.show {
    transform: translateY(0);
  }
}
/* ==========================================================================
   БЛОК ФОРМЫ (Задать вопрос / Отзывы / Авторизация)
   ========================================================================== */
.section.login_registration, 
.section.fast_order_basket {
  width: 100%;
  margin: 50px auto;
  box-sizing: border-box;
}
.section.login_registration h2, 
.section.fast_order_basket h2 {
  font-size: 24px;
  font-weight: 600;
  color: #2C3E50;
  text-align: left;
  margin: 0 0 30px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #4091D3;
  display: inline-block;
  width: fit-content;
}
.reg-wrapper,
.login_reg-wrapper {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #EEF2F5;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
}
.registration_form_form,
.login_form, 
.registration_form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 580px;
  padding: 40px;
  box-sizing: border-box;
}
label.label,
.login_form label,
.registration_form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #78909C;
  margin-top: 0;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
input.submit3.reg_input,
.login_form input.submit3,
textarea.submit3.reg_input {
  display: block;
  height: 46px;
  width: 100%;
  border-radius: 8px;
  padding: 0 16px;
  box-sizing: border-box;
  font-size: 15px;
  font-family: inherit;
  color: #2C3E50;
  border: 1px solid #E4EBF0;
  background: #F8FAFC;
  transition: all 0.2s ease-in-out;
  margin-top: 0;
}
textarea.submit3.reg_input {
  height: 120px;
  padding: 12px 16px;
  resize: vertical;
}
.submit3.reg_input.textarea {
    height: auto !important;
    min-height: 120px !important;
    padding: 12px 16px !important;
  }
input.submit3.reg_input:hover,
.login_form input.submit3:hover,
textarea.submit3.reg_input:hover {
  border-color: #CFD8DC;
}
input.submit3.reg_input:focus,
.login_form input.submit3:focus,
textarea.submit3.reg_input:focus {
  border-color: #4091D3;
  background: #FFFFFF;
  outline: none;
  box-shadow: 0 0 0 3px rgba(64, 145, 211, 0.1);
}
/* --------------------------------------------------------------------------
   БЛОК КАПЧИ
   -------------------------------------------------------------------------- */
.registration_form_form .captcha {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin: 10px 0 25px 0;
  width: 100%;
}
.registration_form_form .captcha label {
  margin-bottom: 0;
  flex-grow: 1;
  max-width: 160px;
}
.registration_form_form .captcha input {
  display: block;
  height: 46px;
  width: 100%;
  border-radius: 8px;
  padding: 0 14px;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #2C3E50;
  border: 1px solid #E4EBF0;
  background: #F8FAFC;
  transition: all 0.2s ease;
  margin-top: 8px;
}
.registration_form_form .captcha input:focus {
  border-color: #4091D3;
  background: #FFFFFF;
  outline: none;
  box-shadow: 0 0 0 3px rgba(64, 145, 211, 0.1);
}
.registration_form_form .captcha_image {
  height: 46px;
  width: auto;
  border-radius: 8px;
  border: 1px solid #E4EBF0;
  box-sizing: border-box;
}
/* --------------------------------------------------------------------------
   ГАЛОЧКА ПЕРСОНАЛЬНЫХ ДАННЫХ (Согласие)
   -------------------------------------------------------------------------- */
.registration_form_form .text {
  margin-top: 25px;
  margin-bottom: 25px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.registration_form_form .text label {
  display: block !important; 
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #546E7A !important;
  cursor: pointer;
  user-select: none;
  text-transform: none !important;
  letter-spacing: normal !important;
}
.registration_form_form .text input[type="checkbox"] {
  display: inline-block !important;
  vertical-align: middle;
  position: relative;
  top: -2px;
  margin-right: 10px !important;
  margin-left: 0 !important;
  width: 18px !important;
  height: 18px !important;
  cursor: pointer;
}
.registration_form_form .text label a {
  display: inline !important;
  color: #4091D3 !important;
  text-decoration: underline !important;
  font-weight: 500 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.registration_form_form .text label a:hover {
  color: #2C3E50 !important;
  text-decoration: none !important;
}
.registration_form_form .captcha_image {
  height: 46px !important;
  width: 150px !important;
  border-radius: 8px;
  box-sizing: border-box;
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}
/* --------------------------------------------------------------------------
   КНОПКА ОТПРАВКИ (SUBMIT)
   -------------------------------------------------------------------------- */
input.button,
.login_form input.submit4,
.registration_form input.submit4 {
  -webkit-appearance: none;
  appearance: none;
  background-color: #4091D3;
  color: #FFFFFF;
  height: 50px;
  width: 100%;
  max-width: 240px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  padding: 0 24px;
  transition: background-color 0.2s ease-in-out;
  margin-top: 0;
  text-transform: none;
}
input.button:hover,
.login_form input.submit4:hover,
.registration_form input.submit4:hover {
  background-color: #2C3E50;
}
/* ==========================================================================
   АДАПТИВНОСТЬ ФОРМ
   ========================================================================== */
@media (max-width: 768px) {
  .reg-wrapper,
  .login_reg-wrapper {
    margin: 0 15px;
    width: calc(100% - 30px);
  }
  .registration_form_form,
  .login_form, 
  .registration_form {
    padding: 25px 20px;
  }
  label.label,
  .login_form label,
  .registration_form label {
    font-size: 13px;
    margin-bottom: 15px;
  }
  input.submit3.reg_input,
  .login_form input.submit3,
  textarea.submit3.reg_input {
    height: 42px;
    font-size: 14px;
  }
  .registration_form_form .captcha {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .registration_form_form .captcha label {
    max-width: 100%;
  }
  .registration_form_form .captcha_image {
    width: 120px;
  }
  input.button,
  .login_form input.submit4,
  .registration_form input.submit4 {
    max-width: 100%;
    height: 46px;
    font-size: 15px;
  }
}
/* ==========================================================================
   ДВУХКОЛОНОЧНЫЙ МАКЕТ: ВХОД И РЕГИСТРАЦИЯ
   ========================================================================== */
.login_reg-wrapper {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  background: #FFFFFF;
  border: 1px solid #EEF2F5;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  margin-top: 20px;
}
.login_form, 
.registration_form {
  flex: 1 1 50%;
  width: 50%;
  padding: 45px 50px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.login_form {
  border-right: 1px solid #EEF2F5;
}
.login_reg-wrapper h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2C3E50;
  margin-top: 0;
  margin-bottom: 30px;
  line-height: 1.3;
}
.login_form a {
  font-size: 13px;
  color: #4091D3;
  text-decoration: underline;
  margin-top: -5px;
  margin-bottom: 25px;
  align-self: flex-start;
  font-weight: 500;
}
.login_form a:hover {
  color: #2C3E50;
  text-decoration: none;
}
.login_form .submit4,
.registration_form .submit4 {
  max-width: 280px;
  width: 100%;
}
/* --------------------------------------------------------------------------
   РАДИОКНОПКИ (Физ. / Юр. лицо)
   -------------------------------------------------------------------------- */
.registration_form label {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #546E7A !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  cursor: pointer;
  margin-bottom: 18px;
  width: fit-content;
}
.registration_form input[type="radio"] {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  cursor: pointer;
}
.registration_form .submit4 {
  margin-top: 15px;
}
/* ==========================================================================
   АДАПТИВНОСТЬ
   ========================================================================== */
@media (max-width: 868px) {
  .login_reg-wrapper {
    flex-direction: column;
    margin: 0 15px;
    width: calc(100% - 30px);
  }
  .login_form, 
  .registration_form {
    flex: 1 1 100%;
    width: 100%;
    padding: 35px 25px;
  }
  .login_form {
    border-right: none;
    border-bottom: 1px solid #EEF2F5;
  }
  .login_form .submit4,
  .registration_form .submit4 {
    max-width: 100%;
  }
}
/* ==========================================================================
   СТИЛИЗАЦИЯ ВЫПАДАЮЩИХ СПИСКОВ (SELECT)
   ========================================================================== */
select.submit3 {
  display: block;
  width: 100%;
  max-width: 600px;
  height: 46px;
  border-radius: 8px;
  padding: 0 36px 0 16px;
  box-sizing: border-box;
  font-size: 15px;
  font-family: inherit;
  color: #2C3E50;
  border: 1px solid #E4EBF0;
  background-color: #F8FAFC;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2378909C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  transition: all 0.2s ease-in-out;
}
select.submit3::-ms-expand {
  display: none;
}
select.submit3:hover {
  border-color: #CFD8DC;
}
select.submit3:focus {
  border-color: #4091D3;
  background-color: #FFFFFF;
  outline: none;
  box-shadow: 0 0 0 3px rgba(64, 145, 211, 0.1);
}
@media (max-width: 768px) {
  select.submit3 {
    height: 42px;
    font-size: 14px;
    max-width: 100%;
  }
}
/* --------------------------------------------------------------------------
   ФИКС ЖЕЛТОГО АВТОЗАПОЛНЕНИЯ БРАУЗЕРА (Chrome / Safari)
   -------------------------------------------------------------------------- */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border: 1px solid #E4EBF0;
  -webkit-text-fill-color: #2C3E50 !important;
  -webkit-box-shadow: 0 0 0px 1000px #F8FAFC inset !important;
  transition: background-color 5000s ease-in-out 0s;
}
/* ==========================================================================
   СТРАНИЦА КОРЗИНЫ (Basket Page)
   ========================================================================== */
.section.basket-page {
  width: 100%;
  margin: 30px auto;
  box-sizing: border-box;
}
.section.basket-page h1 {
  font-size: 26px;
  font-weight: 600;
  color: #2C3E50;
  margin: 0 0 35px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #4091D3;
  display: inline-block;
  width: fit-content;
}
.basket_wrapper {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #EEF2F5;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  margin-bottom: 40px;
  padding-bottom: 25px;
}
/* --------------------------------------------------------------------------
   СТРОКА ТОВАРА (Табличный вид на десктопе)
   -------------------------------------------------------------------------- */
.basket_row {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  border-bottom: 1px solid #EEF2F5;
  box-sizing: border-box;
  padding: 20px;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: #FFFFFF;
  transition: background-color 0.2s ease;
}
.basket_row:last-of-type {
  border-bottom: none;
}
.basket_row:hover {
  background-color: #F8FAFC;
}
.basket_row-image {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E4EBF0;
  border-radius: 8px;
  padding: 5px;
  background: #FFFFFF;
  flex-shrink: 0;
}
.basket_row-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.basket_row-name {
  flex: 1 1 auto;
  max-width: 450px;
}
.basket_row-name a {
  text-decoration: none;
  color: #2C3E50;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.2s ease;
}
.basket_row-name a:hover {
  color: #4091D3;
}
.basket_row-color {
  font-size: 13px;
  color: #78909C;
  margin-top: 5px;
}
.basket_row-quan {
  width: 110px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #546E7A;
  font-weight: 500;
  flex-shrink: 0;
}
.basket_row-quan input.submit3 {
  width: 50px;
  height: 38px;
  border-radius: 6px;
  border: 1px solid #E4EBF0;
  background: #F8FAFC;
  font-size: 15px;
  font-weight: 600;
  color: #2C3E50;
  text-align: center;
  padding: 0;
  margin: 0;
}
.basket_row-quan input.submit3:focus {
  border-color: #4091D3;
  background: #FFFFFF;
  outline: none;
}
.basket_row-price, 
.basket_row-total {
  width: 110px;
  font-size: 16px;
  font-weight: 600;
  color: #2C3E50;
  text-align: right;
  flex-shrink: 0;
}
.basket_row-total {
  font-size: 18px;
  font-weight: 700;
  color: #2C3E50;
}
.basket_row-delete {
  width: 40px;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}
.basket_row-delete input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #E90000;
}
/* --------------------------------------------------------------------------
   ПЛАШКА ИТОГО (Total)
   -------------------------------------------------------------------------- */
.basket_wrapper .total {
  width: 100%;
  background: #F8FAFC;
  border-top: 1px solid #EEF2F5;
  padding: 25px 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  gap: 40px;
  font-size: 16px;
  color: #546E7A;
  font-weight: 500;
}
.basket_wrapper .total div:first-child {
  font-size: 22px;
  font-weight: 700;
  color: #E90000;
}
.basket_wrapper .total div:first-child::before {
  content: "Итого: ";
  color: #2C3E50;
  font-weight: 600;
}
/* --------------------------------------------------------------------------
   КНОПКИ УПРАВЛЕНИЯ КОРЗИНОЙ
   ----------------========================================================== */
.basket_button-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
  justify-content: flex-end;
  width: 100%;
  box-sizing: border-box;
}
.basket_button-checkout, 
.basket_button-continue,
.basket_button-all_delete {
  margin: 0 !important;
}
.basket_button-continue input, 
.basket_button-all_delete input {
  -webkit-appearance: none;
  appearance: none;
  background-color: #F4F7F9;
  color: #546E7A;
  height: 46px;
  border: 1px solid #E4EBF0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;  
  border-radius: 8px;
  padding: 0 20px;
  transition: all 0.2s ease;
}
.basket_button-continue input:hover, 
.basket_button-all_delete input:hover {
  background-color: #EEF2F5;
  color: #2C3E50;
  border-color: #CFD8DC;
}
.basket_button-checkout input,
.submit41 {
  -webkit-appearance: none;
  appearance: none;
  background-color: #4091D3;
  color: #FFFFFF;
  height: 46px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  padding: 0 25px;
  transition: background-color 0.2s ease;
}
.basket_button-checkout input:hover,
.submit41:hover {
  background-color: #2C3E50;
}
.basket_button-all_delete input {
  background-color: #FFFFFF;
  color: #E90000;
  border-color: #FFEAEA;
}
.basket_button-all_delete input:hover {
  background-color: #FFEAEA;
  color: #E90000;
  border-color: #E90000;
}
/* --------------------------------------------------------------------------
   ФОРМА: БЫСТРОЕ ОФОРМЛЕНИЕ ЗАКАЗА (Fast Order)
   ========================================================================== */
.section.fast_order_basket {
  margin-top: 60px;
}
.fast_order_basket-inputs {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 580px;
  background: #FFFFFF;
  border: 1px solid #EEF2F5;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
}
.fast_order_basket-inputs label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #78909C;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.fast_order_basket-inputs input[type="text"], 
.fast_order_basket-inputs input[type="email"], 
.fast_order_basket-inputs textarea {
  display: block;
  height: 46px;
  width: 100% !important;
  border-radius: 8px;
  padding: 0 16px;
  box-sizing: border-box;
  font-size: 15px;
  font-family: inherit;
  color: #2C3E50;
  border: 1px solid #E4EBF0;
  background: #F8FAFC;
  transition: all 0.2s ease;
  margin-top: 0;
}
.fast_order_basket-inputs textarea {
  height: auto;
  min-height: 90px;
  padding: 12px 16px;
  resize: vertical;
}
.fast_order_basket-inputs input[type="text"]:focus, 
.fast_order_basket-inputs input[type="email"]:focus, 
.fast_order_basket-inputs textarea:focus {
  border-color: #64748b;
  background: #ffffff;
  outline: none;
}
.fast_order_basket-inputs .text label {
  display: block !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #64748B !important;
  line-height: 1.5 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  text-align: left !important;
  cursor: pointer;
  margin-bottom: 20px !important;
}
.fast_order_basket-inputs .text label input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  margin: 0 10px 0 0 !important;
  vertical-align: middle !important;
  position: relative;
  top: -1px;
  cursor: pointer;
}
.fast_order_basket-inputs .text {
  font-size: 14px;
  line-height: 1.5;
  color: #546E7A;
  margin: 5px 0 20px 0;
}
.fast_order_basket-button {
  margin-top: 10px;
}
.fast_order_basket-button input {
  width: 100%;
  max-width: 240px;
  height: 50px;
  font-size: 16px;
}
/* ==========================================================================
   АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНОЙ КОРЗИНЫ
   ========================================================================== */
@media (max-width: 992px) {
  .section.basket-page {
    padding: 0 15px;
    width: 100%;
  }
  .basket_row {
    flex-wrap: wrap;
    position: relative;
    padding: 20px;
    gap: 15px;
  }
  .basket_row-image {
    width: 64px;
    height: 64px;
  }
  .basket_row-name {
    width: calc(100% - 100px);
  }
  .basket_row-name a {
    font-size: 14px;
  }
  .basket_row-quan, 
  .basket_row-price, 
  .basket_row-total {
    width: auto;
    flex: 1 1 auto;
    text-align: left;
    margin-top: 5px;
  }
  .basket_row-price {
    display: none;
  }
  .basket_row-total {
    text-align: right;
    font-size: 16px;
  }
  .basket_row-delete {
    position: absolute;
    top: 15px;
    right: 15px;
    width: auto;
  }
  .basket_button-wrapper {
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: #F8FAFC;
  }
  .basket_button-checkout, 
  .basket_button-continue, 
  .basket_button-all_delete,
  .basket_button-checkout form,
  .basket_button-continue form,
  .basket_button-all_delete form,
  .basket_button-checkout input, 
  .basket_button-continue input, 
  .basket_button-all_delete input {
    width: 100% !important;
    max-width: 100% !important;
  }
  .basket_wrapper .total {
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    text-align: right;
  }
  .basket_wrapper .total div:first-child {
    font-size: 20px;
  }
  .fast_order_basket-inputs {
    padding: 25px 20px;
  }
  .fast_order_basket-button input {
    max-width: 100%;
  }
}
.basket_row-delete {
  position: relative;
}
.delete-trigger input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.delete-icon {
  font-size: 28px;
  color: #B0BEC5;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
  line-height: 1;
  user-select: none;
}
.delete-trigger:hover .delete-icon {
  color: #E90000;
  transform: scale(1.2);
}
/* ==========================================================================
   СТИЛИЗАЦИЯ ПУСТЫХ СТРАНИЦ И ПРЕДУПРЕЖДЕНИЙ (.empty)
   ========================================================================== */
.basket_wrapper .empty {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
  box-sizing: border-box;
  text-align: center;
  background: #FFFFFF;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  color: #546E7A;
  font-weight: 500;
}
.basket_wrapper .empty::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background-color: #FFF3E0;
  color: #FFA000;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}
.basket_wrapper .empty font.textcen,
.basket_wrapper .empty font.textcen2,
.basket_wrapper .empty strong {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #2C3E50 !important;
  font-family: inherit !important;
}
.basket_wrapper .empty .empty-btn {
  display: inline-block;
  margin-top: 25px;
  background-color: #4091D3;
  color: #FFFFFF !important;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
}
.basket_wrapper .empty .empty-btn:hover {
  background-color: #2C3E50;
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .basket_wrapper .empty {
    min-height: 240px;
    padding: 30px 20px;
    font-size: 14px;
  }
  .basket_wrapper .empty::before {
    width: 46px;
    height: 46px;
    font-size: 20px;
    margin-bottom: 15px;
  }
  .basket_wrapper .empty .empty-btn {
    margin-top: 20px;
    padding: 12px 22px;
    width: 100%;
    max-width: 280px;
  }
}
/* ==========================================================================
   СТРАНИЦА ОШИБКИ 404
   ========================================================================== */
.category_catalog-wrapper.page-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 60px 20px;
  box-sizing: border-box;
  width: 100%;
}
.page-404 .error-container {
  text-align: center;
  max-width: 500px;
  width: 100%;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 50px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
}
.page-404 .error-code {
  font-size: 110px;
  font-weight: 800;
  color: #4091D3;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 15px;
  user-select: none;
  background: linear-gradient(135deg, #4091D3 0%, #2C3E50 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-404 .error-container h1 {
  font-size: 24px;
  font-weight: 600;
  color: #2C3E50;
  margin: 0 0 15px 0;
  padding: 0;
  border: none;
}
.page-404 .error-text {
  font-size: 15px;
  line-height: 1.6;
  color: #546E7A;
  margin: 0 0 35px 0;
}
.page-404 .error-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}
.page-404 .error-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  height: 46px;
  padding: 0 25px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  box-sizing: border-box;
  transition: all 0.2s ease;
}
.page-404 .error-actions a.submit4 {
  background-color: #F4F7F9;
  color: #546E7A;
  border: 1px solid #E4EBF0;
}
.page-404 .error-actions a.submit4:hover {
  background-color: #EEF2F5;
  color: #2C3E50;
  border-color: #CFD8DC;
}
@media (max-width: 560px) {
  .page-404 .error-container {
    padding: 35px 20px;
  }
  .page-404 .error-code {
    font-size: 80px;
  }
  .page-404 .error-container h1 {
    font-size: 20px;
  }
  .page-404 .error-text {
    font-size: 14px;
    margin-bottom: 25px;
  }
  .page-404 .error-actions {
    flex-direction: column;
    gap: 10px;
  }
  .page-404 .error-actions a {
    width: 100%;
  }
}
/* ==========================================================================
   СТРАНИЦА КАТАЛОГА (Главные категории)
   ========================================================================== */
.section.catalog-page {
  width: 100%;
  margin: 30px auto;
  box-sizing: border-box;
}
.section.catalog-page h1 {
  font-size: 26px;
  font-weight: 600;
  color: #2C3E50;
  margin: 0 0 35px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #4091D3;
  display: inline-block;
  width: fit-content;
}
.catalog-page .wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  box-sizing: border-box;
}
/* --------------------------------------------------------------------------
   КАРТОЧКА КАТЕГОРИИ
   ========================================================================== */
.catalog-page .item {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  background: #FFFFFF;
  border: 1px solid #EEF2F5;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  padding-bottom: 25px;
  margin: 0 !important;
}
.catalog-page .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(64, 145, 211, 0.08);
  border-color: #4091D3;
}
.catalog-page .item .photo {
  width: 100%;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  padding: 15px;
  box-sizing: border-box;
  overflow: hidden;
}
.catalog-page .item .photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.catalog-page .item:hover .photo img {
  transform: scale(1.03);
}
.catalog-page .item .text {
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  text-align: center;
  margin-top: 15px;
}
.catalog-page .item .text h3 {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.catalog-page .item .text h3 a {
  color: #2C3E50;
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
}
.catalog-page .item:hover .text h3 a {
  color: #4091D3;
}
/* ==========================================================================
   АДАПТИВНОСТЬ ДЛЯ СЕТКИ КАТАЛОГА
   ========================================================================== */
@media (min-width: 1600px) {
  .catalog-page .wrapper {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1200px) {
  .catalog-page .wrapper {
    gap: 20px;
  }
  .catalog-page .item .photo {
    height: 200px;
  }
}
@media (max-width: 992px) {
  .catalog-page .wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .section.catalog-page {
    padding: 0 15px;
    width: 100%;
  }
}
@media (max-width: 560px) {
  .catalog-page .wrapper {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }
  .catalog-page .item .photo {
    height: 180px;
  }
  .catalog-page .item .text h3 {
    font-size: 15px;
  }
}
/* ==========================================================================
   СТРАНИЦЫ ОШИБОК ОФОРМЛЕНИЯ (Капча и Недопустимые символы)
   ========================================================================== */
.login_registration.page-captcha-error,
.login_registration.page-validation-error {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
  padding: 50px 20px;
  box-sizing: border-box;
  width: 100%;
}
.page-captcha-error .error-container,
.page-validation-error .error-container {
  text-align: center;
  max-width: 450px;
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #FEE2E2;
  border-radius: 16px;
  padding: 45px 35px;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.03);
  box-sizing: border-box;
}
.page-captcha-error .error-icon,
.page-validation-error .error-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background-color: #FEF2F2;
  color: #EF4444;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  user-select: none;
}
.page-captcha-error .error-container h2,
.page-validation-error .error-container h2 {
  font-size: 22px;
  font-weight: 600;
  color: #2C3E50;
  margin: 0 0 12px 0;
  padding: 0;
}
.page-captcha-error .error-text,
.page-validation-error .error-text {
  font-size: 15px;
  line-height: 1.6;
  color: #546E7A;
  margin: 0 0 30px 0;
}
.page-captcha-error .error-actions a.submit41,
.page-validation-error .error-actions a.submit41 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  height: 46px;
  padding: 0 30px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF !important;
  background-color: #4091D3;
  box-sizing: border-box;
  transition: background-color 0.2s ease;
  width: auto;
}
.page-captcha-error .error-actions a.submit41:hover,
.page-validation-error .error-actions a.submit41:hover {
  background-color: #2C3E50;
}
@media (max-width: 480px) {
  .page-captcha-error .error-container,
  .page-validation-error .error-container {
    padding: 35px 20px;
  }
  .page-captcha-error .error-actions a.submit41,
  .page-validation-error .error-actions a.submit41 {
    width: 100%;
  }
}
/* ==========================================================================
   ФОРМА ПОДТВЕРЖДЕНИЯ АДРЕСА (.step-confirm-address)
   ========================================================================== */
form.registration_form_form.step-confirm-address {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 580px;
  background: #FFFFFF;
  border: 1px solid #EEF2F5;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
  margin: 30px 0;
}
form.step-confirm-address .label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 25px;
}
form.step-confirm-address .label span {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: #78909C;
}
form.step-confirm-address textarea.reg_input {
  display: block;
  height: 100px;
  width: 100%;
  border-radius: 8px;
  padding: 12px 16px;
  box-sizing: border-box;
  font-size: 15px;
  font-family: inherit;
  color: #2C3E50;
  border: 1px solid #E4EBF0;
  background: #F8FAFC;
  transition: all 0.2s ease;
  resize: vertical;
}
form.step-confirm-address textarea.reg_input:focus {
  border-color: #4091D3;
  background: #FFFFFF;
  outline: none;
  box-shadow: 0 0 0 3px rgba(64, 145, 211, 0.1);
}
form.step-confirm-address .form-actions {
  display: flex;
  justify-content: flex-start;
}
form.step-confirm-address .submit41.button {
  -webkit-appearance: none;
  appearance: none;
  background-color: #4091D3;
  color: #FFFFFF;
  height: 48px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  padding: 0 35px;
  transition: background-color 0.2s ease;
  width: auto;
}
form.step-confirm-address .submit41.button:hover {
  background-color: #2C3E50;
}
@media (max-width: 560px) {
  form.registration_form_form.step-confirm-address {
    padding: 25px 20px;
  }
  form.step-confirm-address .submit41.button {
    width: 100%;
  }
}
.page-success-order .error-icon {
  background-color: #E8F5E9;
  color: #4CAF50;
}
.checkout-customer-info {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}
.checkout-customer-info h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: #1e293b;
}
.customer-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    font-size: 14px;
    color: #475569;
}
.basket_row-quan {
    font-weight: 500;
    color: #475569;
}
.basket_row-quan span {
    display: inline-block;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 4px;
    color: #0f172a;
    font-weight: 600;
    margin-right: 3px;
}
.basket_wrapper .total {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    background: #f8fafc;
    padding: 15px 25px;
    border-radius: 8px;
    margin: 20px 0 40px 0;
    border: 1px solid #e2e8f0;
}
.total-items {
    font-size: 15px;
    color: #64748b;
}
.total-price {
    font-size: 18px;
    color: #0f172a;
}
.total-price span {
    font-weight: 700;
    color: #b45309;
    font-size: 22px;
}
.checkout-shipping-payment {
    margin-top: 30px;
    background: #ffffff;
}
.checkout-form-group {
    margin-bottom: 20px;
}
.checkout-form-group .label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.checkout-form-group select.submit3,
.checkout-form-group textarea.submit3 {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 15px;
    color: #334155;
    background-color: #fbfcfd;
    transition: border-color 0.2s;
}
.checkout-form-group select.submit3:focus,
.checkout-form-group textarea.submit3:focus {
    border-color: #64748b;
    outline: none;
}
.checkout-form-group textarea.submit3 {
    min-height: 90px;
    resize: vertical;
}
.checkout-notification {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    color: #b45309;
    padding: 12px 16px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 20px;
    font-size: 14px;
}
.privacy-checkbox {
    margin-bottom: 25px;
}
.privacy-checkbox label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}
.privacy-checkbox input[type="checkbox"] {
    margin-top: 3px;
}
.submit-wrapper {
    display: flex;
    justify-content: flex-start;
}
.submit-wrapper .submit41.button {
    padding: 12px 35px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
.checkout-total-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: #F8FAFC;
  border: 1px solid #E4EBF0;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 25px 0;
  box-sizing: border-box;
  width: 100%;
}
.checkout-total-block .total-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  margin-bottom: 8px;
  font-size: 15px;
  color: #475569;
}
.checkout-total-block .total-label {
  margin-right: 15px;
  text-align: right;
}
.checkout-total-block .total-value {
  font-weight: 600;
  color: #1E293B;
  min-width: 120px;
  text-align: right;
}
.checkout-total-block .delivery-row {
  font-size: 14px;
  color: #64748B;
  border-bottom: 1px dashed #E2E8F0;
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.checkout-total-block .final-row {
  margin-bottom: 0;
  margin-top: 4px;
}
.checkout-total-block .final-row .total-label {
  font-size: 16px;
  font-weight: 600;
  color: #0F172A;
}
.checkout-total-block .main-price {
  font-size: 22px;
  font-weight: 700;
  color: #B45309;
}
.fast_order_basket-button {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
  margin-top: 20px;
}
.delivery-radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.delivery-radio-group .radio-label {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    cursor: pointer;
    font-size: 15px !important;
    color: #2C3E50 !important;
    font-weight: 400 !important;
    text-transform: none !important;
    background: #F8FAFC;
    border: 1px solid #E4EBF0;
    padding: 12px 16px;
    border-radius: 8px;
    transition: background 0.2s;
}
.delivery-radio-group .radio-label:hover {
    background: #F1F5F9;
}
.delivery-radio-group input[type="radio"] {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    flex-shrink: 0;
    cursor: pointer;
}
.sitemap-clean {
    padding: 24px;
    background: #ffffff;
    border-radius: 8px;
    font-family: inherit;
}
.sitemap-clean h1 {
    font-size: 24px;
    color: #1E293B;
    margin-bottom: 20px;
}
.sitemap-section {
  margin-bottom: 50px;
}
.sitemap-section h3 {
    font-size: 18px;
    color: #475569;
    border-bottom: 2px solid #F1F5F9;
    padding-bottom: 8px;
    margin-bottom: 16px;
    font-weight: 600;
}
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}
.sitemap-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #F8FAFC;
    border: 1px solid #E4EBF0;
    border-radius: 8px;
    text-decoration: none !important;
    color: #2C3E50 !important;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.sitemap-item:hover {
    background: #F1F5F9;
    border-color: #CBD5E1;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.sitemap-item .sitemap-icon {
    color: #B45309; 
    font-weight: bold;
    transition: transform 0.2s ease;
}
.sitemap-item:hover .sitemap-icon {
    transform: translateX(3px); 
}
.sitemap-item .sitemap-text {
    line-height: 1.3;
}
.sitemap-more-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background: #FFF;
    border: 1px solid #B45309;
    color: #B45309 !important;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.sitemap-more-btn:hover {
    background: #B45309;
    color: #FFF !important;
}
/* ==========================================================================
   АДАПТИВНЫЕ СТРЕЛКИ СЛАЙДЕРА (OWL-NAV) ПОД БЕЛЫЕ SVG
   ========================================================================== */
.owl-nav {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    pointer-events: none;
    z-index: 10;
    padding: 0 10px;
    box-sizing: border-box;
}
.owl-nav button.owl-prev,
.owl-nav button.owl-next {
    display: flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    padding: 0 !important;
    margin: 0 !important;    
    background: rgba(30, 41, 59, 0.6) !important; 
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    width: 40px !important;
    height: 40px !important;
}
.owl-nav button img {
    width: 16px !important; 
    height: 16px !important;
    transition: transform 0.2s ease;
    filter: none !important; 
}
.owl-nav button:hover {
    background: #B45309 !important; 
    border-color: #B45309 !important;
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.3);
}
.owl-nav button.owl-prev:hover img {
    transform: translateX(-2px);
}
.owl-nav button.owl-next:hover img {
    transform: translateX(2px);
}
@media screen and (min-width: 768px) {
    .owl-nav button.owl-prev,
    .owl-nav button.owl-next {
        width: 46px !important;
        height: 46px !important;
    }
    .owl-nav button img {
        width: 18px !important;
        height: 18px !important;
    }
}
@media screen and (min-width: 1025px) {
    .owl-nav {
        padding: 0 20px;
    }
    .owl-nav button.owl-prev,
    .owl-nav button.owl-next {
        width: 44px !important;
        height: 44px !important;
    }
    .owl-nav button img {
        width: 18px !important;
        height: 18px !important;
    }
}
/*============================= ПРОЧИЕ МЕДИАСТИЛИ ============================= */
@media (max-width: 1440px) {	
	.first_h1 {
	  font-size: 34px;
	}
	.second_h1 {
	  font-size: 16px;
	}
.section h1 {
    font-size: 24px;
    height: 35px;
    padding-top: 2px;
  }	
  .catalog-index .item .text {
    bottom: 20px;
  }	
  section,
  .section.catalog-index,
  .section.news-index,
  .section.brands-block,
  .section.item-index,
  .section.index-text {
    padding: 0 20px ; 
	box-sizing:border-box;
  }
  .price-block .button.submit_basket {
    font-size: 16px !important; 
    padding: 0 12px !important;
    min-width: 85px !important;
    height: 36px !important;
  }
} /* 1337 - 1440 */	
@media (max-width: 1336px) {
.header .top-row {
  padding: 10px 20px;
  flex-wrap: wrap;
}
  .logo img {
    width: 80px;
  }
  .logo-block h1 {
    margin-top: 0px;
  }  
  .first_h1 {
	font-size: 23px;
  }
  .second_h1 {
	font-size: 14px;
  }
  .logo img {
	  width: 80px;
  }
  .basket-block {
	  gap:10px;
   }
   .basket-block a.compare {
	  width: auto;
	}
	.compare img, .basket img {
	  width: 18px;
	}
} /* 1025 - 1336 */ 
@media (max-width: 1024px) {
  .catalog-page .item {
    width: 48%;
  }
  section h2,
  .catalog-index h2,
  .index-text h2,
  .item-index h2,
  .news-index h2,
  .brands-block h2 {
    min-height: 40px;
    padding: 6px 18px;
    font-size: 20px;
  }	
 .mobile_hidden {display:none;}	
.xs-visible {
	display:block;
}
  .logo-block {
    width: 230px;
    height: auto;
  }
 .logo img {
    width: 70px;
  }	
  .logo-block h1 {
    margin-top: 21px;
  }	
 .first_h1 {
    font-size: 18px;
  }	
  .second_h1 {
    font-size: 12px;
    text-transform: none;
  }	
#open_menu {
    width: 50px;
    height: 50px;
  }	
 .top-row {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 20px;
  box-sizing: border-box;
  background-color: #89C0E9;
  background-image: url(img/background_header.png);
  background-repeat: no-repeat;
  background-position-x: right;
  position: relative;
  background-size: contain;
  height: 116px;
} 	
  .compare img, .basket img {
    width: 30px;
  }	
  .basket-block a span {
    font-size: 12px;
  }	
#hidden_menu {
  width: 50px;
  height: 50px;
  text-align: right;
  position: absolute;
  right: 25px;
}	
.phones {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  border-top: 1px solid #fff;
  padding-top: 20px;
}
.basket_row {
  padding: 15px 10px;
}
  .basket_row-image {
    width: 80px;
    height: 80px;
  }
  .basket_row-name a {
    font-size: 12px;
	font-weight:600;   
  }	
 .basket_row-name {
    width: 260px;
  }
  .basket_row-price, .basket_row-total {
    font-size: 14px;
    width: 75px;
  }
.basket_row-quan {
  width: 90px;
}	
.fast_order_basket-button input {
  width: 200px;
}
.fast_order_basket-inputs label {
  font-size: 10px;
}	
  .basket_wrapper .total {
    font-size: 14px;
  }	
.login_reg-wrapper {
  padding: 40px 20px;
}	
 .section h1, .catalog-index h2, .index-text h2, .item-index h2, .news-index h2, .brands-block h2 {
    height: 30px;
    font-size: 18px;
    padding-top: 3px;
  }	
  .bottom-block {
    width: 100% !important;
    height: auto !important; 
    display: flex !important;
    flex-wrap: wrap !important; 
    align-items: center !important;
    justify-content: space-between !important;
    gap: 15px !important; 
    padding: 10px 20px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border-bottom: 1px solid #E4EBF0 !important;
  }	
  .bottom-block .search {
    flex: 1 1 350px !important; 
    max-width: 500px !important;
    position: relative !important;
  }
  #search-form_m {
    display: flex !important;
    width: 100% !important;
    height: 36px !important; 
    align-items: center !important;
    position: relative !important;
  }
  .search #search_m {
    flex-grow: 1 !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 8px 0 0 8px !important; 
    padding: 0 15px 0 38px !important; 
    color: #1E293B !important;
    font-size: 14px !important; 
    background-image: url("img/search-icon.svg") !important;
    background-size: 16px !important;	
    background-repeat: no-repeat !important;
    background-position: 12px center !important; 
  }
  .search #search_m:focus {
    border-color: #4091D3 !important;
    outline: none !important;
  }
  .search #ok_m {
    position: static !important; 
    width: auto !important;
    height: 100% !important;
    padding: 0 16px !important;
    border-radius: 0 8px 8px 0 !important; 
    background-color: #4091D3 !important;
    border: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #fff !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
  }
  .search #ok_m:hover {
    background-color: #2563EB !important; 
  }  
  .item-index h2, 
  .category_catalog-wrapper h1 {
    font-size: 24px !important;
    margin-bottom: 20px !important;
    padding: 0 10px;
  }
  .item-catalog {
    padding: 12px !important;
  }
  .price-block .button.submit_basket,
  .price-block input.submit_basket {
    height: 36px !important;
    font-size: 15px !important; 
    font-weight: 600 !important;
    border-radius: 6px !important;
    padding: 0 12px !important;
    width: 100% !important; 
  }
  .price-block .prices {
    margin-bottom: 10px !important;
  }
  .price-block .price {
    font-size: 18px !important; 
  }
  .bottom-block .m-contacts {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    flex-wrap: nowrap !important;
  }
  .bottom-block .m-socials {
    display: flex !important;
    gap: 8px !important;
  }
  .bottom-block .m-socials a {
    display: block !important;
    width: 32px !important;
    height: 32px !important;
  }
  .bottom-block .m-socials img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
  .bottom-block .m-phone {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
  }
  .bottom-block .m-phone img {
    width: 16px !important;
    height: 16px !important;
    display: block !important;
  }
  .bottom-block .m-phone a {
    color: #1E293B !important;     
    text-decoration: none !important; 
    font-size: 14px !important;      
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
    display: inline-block !important;
  }
  .bottom-block .m-phone span {
    color: #1E293B !important;
    font-size: 14px !important;
    font-weight: 600 !important;
  }
  .bottom-block .m-phone a:hover,
  .bottom-block .m-phone a:focus {
    color: #4091D3 !important;      
  }
  .mobile_menu {
    display: flex;
    flex-direction: column !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100vh !important;
    background-color: #F8FAFC !important;
    z-index: 9999 !important;
    padding: 70px 24px 40px 24px !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
  }
  #hidden_menu {
    position: absolute !important;
    top: 20px !important;
    right: 24px !important;
    width: 44px !important;
    height: 44px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #FFFFFF !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.2s ease !important;
  }
  #hidden_menu:active {
    transform: scale(0.9) !important;
  }
  #hidden_menu img {
    width: 18px !important;
    height: 18px !important;
  }
  .mobile_menu .top-menu {
    display: flex;
    flex-direction: column !important;
    width: 100% !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
  }
  /* --- БЛОК КАТАЛОГА (Верхняя часть) --- */
  .mobile_menu .top-menu .side-menu,
  .mobile_menu .top-menu aside.sidebar {
    width: 100% !important;
    background: #FFFFFF !important;
    border-radius: 12px !important;
    padding: 6px 16px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
    box-sizing: border-box !important;
	position: relative !important;
  }
  /* Ссылки внутри каталога (с инлайн-стрелочками) */
  .mobile_menu .top-menu .side-menu ul li a,
  .mobile_menu .top-menu .side-menu a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 14px 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1E293B !important;
    text-decoration: none !important;
    border-bottom: 1px solid #F1F5F9 !important;
  }
  .mobile_menu .top-menu .side-menu ul li:last-child a,
  .mobile_menu .top-menu .side-menu a:last-child {
    border-bottom: none !important; 
  }
  /* --- ИНФО-ССЫЛКИ (Нижняя часть: Каталог, Новинки, Распродажа...) --- */
  .mobile_menu .top-menu > a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #475569 !important;
    text-decoration: none !important;
    background: #FFFFFF !important;
    border-radius: 8px !important;
    border: 1px solid #E2E8F0 !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    margin-bottom: -12px !important;
  }
  .mobile_menu .top-menu > a:active,
  .mobile_menu .top-menu .side-menu ul li a:active {
    background-color: #F1F5F9 !important;
    color: #4091D3 !important;
  }
  /* Выделяем пункт "Распродажа" цветом бренда */
  .mobile_menu .top-menu > a[href*="pred"]:style, 
  .mobile_menu .top-menu > a[title*="Распродажа"] {
    color: #B45309 !important;
    font-weight: 600 !important;
  }
  /* --- ПОДВАЛ МЕНЮ (Контакты) --- */
  .mobile_menu .social-block {
    display: flex !important;
    gap: 16px !important;
    margin-top: 20px !important;
    padding-top: 24px !important;
    border-top: 1px solid #E2E8F0 !important;
    margin-bottom: 20px !important;
  }
  .mobile_menu .social-block a img {
    width: 38px !important;
    height: 38px !important;
    transition: transform 0.2s ease !important;
  }
  .mobile_menu .social-block a:active img {
    transform: scale(0.9) !important;
  }
  .mobile_menu .email,
  .mobile_menu .phones {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    text-decoration: none !important;
    margin-bottom: 14px !important;
  }
  .mobile_menu .email img,
  .mobile_menu .phones img {
    width: 20px !important;
    height: 20px !important;
    opacity: 0.8 !important;
  }
  .mobile_menu .side-menu ul.menu-level-1,
  .mobile_menu .side-menu ul.menu-level-2,
  .mobile_menu .side-menu ul.menu-level-3 {
    position: static !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    float: none !important;
  }
  .mobile_menu .side-menu ul.menu-level-2,
  .mobile_menu .side-menu ul.menu-level-3 {
    display: none !important;
  }
  .mobile_menu .side-menu li.open > ul.menu-level-2,
  .mobile_menu .side-menu li.open > ul.menu-level-3 {
    display: block !important;
  }
  /* --- СТИЛИЗАЦИЯ 2-ГО УРОВНЯ --- */
  .mobile_menu .side-menu ul.menu-level-2 {
    background-color: #F8FAFC !important; 
    padding-left: 16px !important;
    border-left: 2px solid #E2E8F0 !important;
    margin: 4px 0 8px 0 !important;
  }
  .mobile_menu .side-menu ul.menu-level-2 li a {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #475569 !important;
    padding: 10px 0 !important;
    border-bottom: 1px dashed #E2E8F0 !important;
  }
  /* --- СТИЛИЗАЦИЯ 3-ГО УРОВНЯ --- */
  .mobile_menu .side-menu ul.menu-level-3 {
    padding-left: 12px !important;
    margin: 4px 0 !important;
  }
  .mobile_menu .side-menu ul.menu-level-3 li a {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #64748B !important;
    padding: 8px 0 !important;
    border-bottom: none !important; 
  }
  /* Убираем десктопные стрелочки у ссылок, если они были добавлены через :after */
  .mobile_menu .side-menu a:after {
    display: none !important;
  }
  .slider .owl-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }
  .catalog-index .wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
  }
  .catalog-index .item {
    width: calc((100% - 30px) / 3) !important;
    margin: 0 !important;
  }
  .catalog-index .item .text {
    font-size: 14px !important;
    padding: 12px 8px !important;
    font-weight: 600 !important;
  }
.price-block {
	flex-wrap:wrap;
}
.item_photo-wrapper {
  display: flex !important;
  flex-direction: column-reverse !important;
  width: 100% !important;
  gap: 15px !important;
}
.main_photo {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  justify-content: center !important;
}
.main_photo img {
  max-height: 450px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}
.small_gallery-wrapper {
    width: 100% !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
.small_gallery-wrapper .gallery-arrow {
    display: none !important;
  }
.small_items-wrapper {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 5px 0 !important;
    box-sizing: border-box !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .small_items-wrapper::-webkit-scrollbar {
    display: none !important;
  }
  .small_items-wrapper .small_item {
    width: 65px !important;
    height: 65px !important;
    flex-shrink: 0 !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background-color: #FFFFFF !important;
  }
  .small_items-wrapper .small_item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }  
  .item_info {
    flex: 0 0 100% !important; 
    max-width: 100% !important;
    width: 100% !important;
    display: flex !important; 
    flex-direction: column !important;
    box-sizing: border-box !important;
    margin-top: 20px !important;
  }
  .item_info h1 {
    font-size: 22px !important;
    margin: 15px 0 20px 0 !important;
  }
  .item_info .price-block {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    background: #F8FAFC !important;
    padding: 20px !important;
    border-radius: 12px !important;
    margin-top: 25px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .item_info .price-block .prices {
    margin-bottom: 0 !important;
    flex: 0 1 auto !important;
  }
  .item_info .price-block .price_wrapper .price {
    font-size: 26px !important;
  }
  .item_info .to_cart_block {
    margin-left: auto !important;
    flex: 0 1 200px !important;
    width: 200px !important;
  }
  .item_info .price-block .submit_basket,
  .item_info .price-block #add {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 46px !important;
    width: 100% !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    background-color: #4091D3 !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
  }
   .item_info-wrapper {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px !important;
  } 
  .section.login_registration, .section.fast_order_basket {
	  padding: 0 20px;
  }
  .top_category, .category_catalog-wrapper {
  padding: 0 20px;
}
 }  /* 769 - 1024 */
@media (max-width: 480px) { 
.search #ok_m {
    position: static !important;
    width: 44px !important; 
    height: 100% !important;
    padding: 0 !important;
    border-radius: 0 8px 8px 0 !important;
    background-color: #4091D3 !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
    color: transparent !important;
    font-size: 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 20px !important;
  }
  .search #ok_m:hover {
    background-color: #2563EB !important;
  }
    .bottom-block {
	 padding: 10px 10px !important;
  }
.item_photo-wrapper .main_photo {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden !important;
  }
  .item_photo-wrapper #main_photo_img,
  .item_photo-wrapper .main_photo img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 400px !important;
    object-fit: contain !important; 
  }
   .section.basket-page {
    padding: 0 12px;
  }
  .section.fast_order_basket, .catalog-index .wrapper {
    padding: 0;
  }
    .catalog-index .item {
    width: calc((100% - 15px) / 2) !important;
    margin: 0 !important;
  }
    section, .section.catalog-index, .section.news-index, .section.brands-block, .section.item-index, .section.index-text {
    padding: 0 10px;
  }
 }  /* до 391 */  
@media (max-width: 390px) { 
.top-row {
	padding: 20px 5px;
}
.compare span {
	display: none;
}
.logo-block {
   width: auto;
   align-items: flex-start;   
}
  #open_menu {
    width: 43px;
    height: 43px;
  }
  .bottom-block .m-contacts {
    flex-direction: column !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
  }
  .bottom-block .m-socials {
    justify-content: center !important;
    width: 100% !important;
  }
  .bottom-block .m-phone {
    justify-content: center !important;
    width: 100% !important;
  }
  .bottom-block .m-phone span {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: normal !important;
  }
  .bottom-block .m-phone a {
    font-size: 14px !important;
    line-height: 1.2 !important;
  }
  .bottom-block .m-phone span {
    color: transparent !important;
    font-size: 0px !important;
  }
  .bottom-block .m-phone a {
    color: #1E293B !important;
    font-size: 14px !important;
  }
  .breadcrumbs.section {
    padding: 10px;
  }
  .section h1, .catalog-index h2, .index-text h2, .item-index h2, .news-index h2, .brands-block h2 {
	  font-size: 22px !important;
  }
  .top_category, .category_catalog-wrapper {
    padding: 0 12px;
  }
 }  /* до 390 */