.top-bar {
    background-color: #2c3b65;
    color: white;
    padding: 15px 0;
}
.imgtop {
    height: 22px;
}
.txttop {
    font-size: clamp(13px, 3vw, 22px);
}
.justifyfull {text-align:justify;}
.header {
    padding: 4px 0;
}
.headertrg {
    background: #2c3b65;
}
.logo {
    height: 60px;
}
.nav-icon {
    height: 36px;
    margin-right: 5px;
}
strong { font-weight: normal; }
.bold {font-weight: bold;}

 /* По умолчанию (десктоп) — всё видно */
 .mobile-hidden-block {
   display: block;
 }

 .toggle-btn-mobile {
   display: none;
   /* кнопка скрыта на десктопе */
 }

 /* Мобильная версия до 768px */
 @media (max-width: 768px) {
   .mobile-hidden-block {
     display: none;
     /* скрываем блок (заголовок + текст) */
   }

   .mobile-hidden-block.show {
     display: block;
     /* показываем при добавлении класса */
   }

   .toggle-btn-mobile {
     display: inline-block;
     /* показываем кнопку только на мобилках */
     margin-top: 10px;
     padding: 8px 20px;
     background: #1019ee;
     color: #fff;
     border: none;
     border-radius: 6px;
     cursor: pointer;
     font-size: 16px;
   }

   .toggle-btn-mobile:hover {
     background: #0c14b8;
   }
 }

/* Сайдбар */
.sidebar {
    background-color: #2F3A63;
    width: 100%;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    position: relative;
    border-bottom: 2px solid #000;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    padding: 5px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sidebar-menu li a:hover,
.sidebar-menu li.active a {
    background-color: #3E4A73;
    color: #ffffff;
}

.sidebar-menu li.active a {
    position: relative;
}

.sidebar-menu li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom, #ffffff, #909090);
}

.sidebar-menu li.active a::before {
    background: linear-gradient(to bottom, #f46312, #ffcc00);
}

.nav-icon {
    height: 36px;
}

.sidebar-menu li.active .nav-icon {
    filter: none;
}

/* Сайдбар */

.sidebar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.content-img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 5px;
}
.iuewt {
	font-size: 1.5rem;
	font-weight: 600;
}
.iuewt img {
	height:32px;
}
.oeijrt {
	padding: 10px;
}
.jtbg {
	color: #f46312;
    font-size: 17px;
}
.ghfd {width: 150px;}
@media (max-width: 768px) {
	.frth {display: none;}
}
.hrt {
    opacity: 1;
	border: 2px solid transparent;
    background: linear-gradient(#d34949, #c35656) padding-box, linear-gradient(to bottom, #f46312, #ffcc00) border-box;
}
.blckr{color: #000;}
.fz-20 {font-size:20px;}
.brtdf {border: 3px solid #ea4e0d;text-align: center;padding: 10px;}
.footer {
    background-color: #2c3b65;
    color: white;
    padding: 20px 0;
}
.footer a {
    color: white;
    text-decoration: none;
}
.feyu {background: #fff;}
#msCart .quantity-control button[type="submit"][value="cart/change"] {
    display: inline-block !important;
}
.tijlyl a {color: #000;font-weight: 400;}

/* Общая таблица корзины */
.cart-table {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Заголовки таблицы */
.cart-table thead th {
  background: #f7f9fc;
  font-weight: 600;
  color: #333;
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
}

/* Ячейки таблицы */
.cart-table td {
  padding: 1rem;
  vertical-align: middle;
}

/* Картинка товара */
.cart-table img {
  border-radius: 6px;
  max-width: 70px;
}

/* Название товара */
.cart-table a {
  font-weight: 500;
  color: #222;
  text-decoration: none;
}
.cart-table a:hover {
  color: #007bff;
}

/* Кнопки + и - */
.count-input {
  width: 50px !important;
  height: 32px;
}

.btn-minus,
.btn-plus {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  padding: 0;
  font-size: 1.2rem;
  line-height: 1;
}

/* Итоговая строка */
.cart-summary {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem 0;
  border-top: 1px solid #ddd;
}

/* Кнопки действий */
.btn-gradient {
  background: linear-gradient(to bottom, #f46312, #ffcc00);
  color: white;
  font-weight: 600;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  box-shadow: 0 4px 10px #ffe491;
  transition: all 0.3s ease;
}

/* Кнопка "Удалить" */
.btn-outline-danger {
  color: #e74c3c;
  border-color: #e74c3c;
}

.btn-outline-danger:hover {
  background-color: #e74c3c;
  color: white;
}
/* Мобильная версия: делаем блоки с отступами и выравниванием */
@media (max-width: 767px) {
  .cart-table {
    border: none;
  }

  .cart-footer {
    flex-direction: column;
    gap: 1rem;
  }
  .d-nonent {
    display: none;
  }
  .jkuioo {
  text-align: center !important;
}
.fieok {margin-top: 0.5rem !important;}
.footer a {
    font-size: 12px;
}
}
.jkuioo {
  text-align: right;
}

/* Общие стили формы */
#msOrder {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Заголовки */
#msOrder h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Поля ввода */
#msOrder .form-control {
  border-radius: 6px;
  box-shadow: none;
  transition: border-color 0.2s ease-in-out;
}

#msOrder .form-control:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.1rem rgba(13, 110, 253, 0.25);
}

/* Кнопки */
#msOrder .btn-primary {
  background: linear-gradient(to bottom, #f46312, #ffcc00);
  border: none;
  font-weight: 600;
  padding: 10px 30px;
  transition: all 0.2s ease-in-out;
}

/* Вернуться */
#msOrder .btn-outline-secondary {
  border-radius: 5px;
  padding: 8px 20px;
}

/* Итог */
.cart-total-summary {
  font-weight: 600;
  font-size: 1.2rem;
}
.text-frty {
    --bs-text-opacity: 1;
    color: #f9930a;
}
.kwlkli a {
  color: #000;
}
.fster {
  font-size: clamp(14px, 4vw, 20px);
  font-weight: 400;
}
.bbb  {font-weight: bold;}
.gbc {margin-top: -4px;}
.fiot34 {word-break:break-word;white-space:normal;}
.justifyright {text-align: end;}



/*Градиент для сайдбара*/

.gr-dient {
    background: #2e8048;
    background: linear-gradient(180deg, 
        rgba(46, 128, 72, 1) 0%, 
        rgba(92, 141, 181, 1) 27%, 
        rgba(186, 83, 237, 0.58) 100%
    );
}

/*Новые стили для мобилки*/
.veda-search {
  position: relative;
  width: 320px;
}

.veda-search input {
  width: 100%;
  height: 34px;
  padding: 0 42px 0 13px;
  border: 1px solid #ff6a00;
  border-radius: 3px;
  background: #243866;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.veda-search input::placeholder {
  color: rgba(255, 255, 255, .75);
}

.veda-search button[type="submit"] {
  position: absolute;
  top: 0;
  right: 0;
  width: 38px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #ff7a00;
  cursor: pointer;
}

.veda-search-results {
  display: none;
  position: absolute;
  top: 42px;
  right: 0;
  z-index: 2000;
  width: 390px;
  max-height: 420px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(36, 56, 102, .18);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
}

.veda-search-results.is-active {
  display: block;
}

.veda-search-result {
  display: block;
  padding: 12px 14px;
  color: #0d1730;
  text-decoration: none;
  border-bottom: 1px solid #edf0f7;
}

.veda-search-result:hover {
  background: #f3f6ff;
  color: #0d1730;
}

.veda-search-result__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.veda-search-result__title {
  font-weight: 700;
  font-size: 15px;
}

.veda-search-result__type {
  flex: 0 0 auto;
  color: #ff6a00;
  font-size: 12px;
}

.veda-search-result__text {
  color: #4e5872;
  font-size: 13px;
  line-height: 1.35;
}

.veda-search-empty,
.veda-search-loading {
  padding: 14px;
  color: #4e5872;
  font-size: 14px;
}

.veda-mobile-appbar,
.veda-mobile-drawer,
.veda-search-modal {
  display: none;
}

@media (max-width: 991.98px) {
  body {
    padding-bottom: 68px;
  }

  .veda-desktop-nav {
    display: none !important;
  }

  .headertrg .col-md-2 {
    width: 100%;
    text-align: center;
  }

  .headertrg .logo {
    max-width: 150px;
    height: auto;
  }

  .sidebar--desktop {
    display: none !important;
  }

  .veda-mobile-appbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 62px;
    background: #253866;
    border-top: 2px solid #ff6a00;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .22);
  }

  .veda-mobile-appbar a,
  .veda-mobile-appbar button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
  }

  .veda-mobile-appbar i {
    color: #ff7a00;
    font-size: 18px;
  }

  .veda-mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 4000;
  }

  .veda-mobile-drawer.is-open {
    display: block;
  }

  .veda-mobile-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
  }

  .veda-mobile-drawer__panel {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 18px 16px 26px;
    overflow-y: auto;
    background: #2d3f70;
    transform: translateX(-100%);
    transition: transform .25s ease;
  }

  .veda-mobile-drawer.is-open .veda-mobile-drawer__panel {
    transform: translateX(0);
  }

  .veda-mobile-drawer__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border-radius: 50%;
  }

  .veda-mobile-drawer__logo {
    display: inline-block;
    margin-bottom: 18px;
  }

  .veda-mobile-drawer__logo img {
    max-width: 145px;
    height: auto;
  }

  .veda-mobile-drawer__title {
    margin: 8px 0 12px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
  }

  .veda-mobile-drawer__title--small {
    margin-top: 22px;
  }

  .veda-mobile-main-menu,
  .veda-mobile-drawer .sidebar-menu {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .veda-mobile-main-menu li,
  .veda-mobile-drawer .sidebar-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .veda-mobile-main-menu a,
  .veda-mobile-drawer .sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 4px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    text-transform: uppercase;
  }

  .veda-mobile-main-menu img,
  .veda-mobile-drawer .sidebar-menu img {
    width: 18px;
    height: 18px;
    object-fit: contain;
  }

  .veda-mobile-drawer .sidebar {
    width: auto;
    background: transparent;
  }

  .veda-search-modal {
    position: fixed;
    inset: 0;
    z-index: 4100;
  }

  .veda-search-modal.is-open {
    display: block;
  }

  .veda-search-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .58);
  }

  .veda-search-modal__box {
    position: relative;
    width: calc(100% - 28px);
    max-width: 520px;
    margin: 74px auto 0;
    padding: 18px;
    background: #2d3f70;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .35);
  }

  .veda-search-modal__close {
    position: absolute;
    top: -46px;
    right: 0;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #ff6a00;
    color: #fff;
  }

  .veda-search--mobile {
    width: 100%;
  }

  .veda-search--mobile input {
    height: 44px;
    font-size: 16px;
  }

  .veda-search--mobile button[type="submit"] {
    height: 44px;
  }

  .veda-search--mobile .veda-search-results {
    position: static;
    width: 100%;
    max-height: 55vh;
    margin-top: 10px;
  }
}
