:root,
[data-theme="light"]{
  --primary-color:#ff6a00;
  --primary-hover:#e65c00;
  --link-color:#ff6a00;
  --link-hover-color:#e65c00;
  --accent-color:#080761;
  --border-radius:14px;
  --btn-radius:999px;
  --font-family:'Manrope',system-ui,sans-serif;
}

html, body{
  font-family:'Manrope',system-ui,-apple-system,sans-serif;
  color:#0f172a;
  background:#fff;
}

/* ============ СЕТКА ============ */
.main-container{
  max-width:1240px;
  margin:0 auto;
  padding:36px 20px 60px;
  display:grid;
  grid-template-columns:1fr 300px;
  gap:32px;
  align-items:start;
}
.main > .container.main-container{
  display:grid;
}
@media (max-width:1100px){
  .main-container{
    grid-template-columns:1fr;
    padding:24px 16px 40px;
    gap:24px;
  }
}
@media (max-width:980px){
  .main-container{padding:20px 14px 40px}
}

/* ============ ЗАГОЛОВКИ ============ */
.tpl-content h1,
.tpl-content h2,
.tpl-content h3{
  font-weight:800;
  letter-spacing:-.02em;
  color:#0f172a;
}
.tpl-content h1{
  font-size:clamp(24px,3vw,34px);
  margin:0 0 24px;
}
.tpl-content h2{
  font-size:clamp(22px,2.6vw,30px);
  margin:0 0 24px;
  position:relative;
  padding-bottom:14px;
}
.tpl-content h2::after{
  content:'';
  position:absolute;
  left:0;bottom:0;
  width:56px;height:3px;
  background:linear-gradient(90deg,#ff6a00,#ff8c42);
  border-radius:2px;
}
.tpl-content hr{
  border:none;
  border-top:1px solid #e2e8f0;
  margin:36px 0;
}

/* ============ ХЛЕБНЫЕ КРОШКИ ============ */
.tpl-content .breadcrumbs,
.breadcrumbs{
  font-size:13px;
  color:#64748b;
  margin-bottom:20px;
  padding:10px 0;
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
}
.tpl-content .breadcrumbs a,
.breadcrumbs a{
  color:#64748b !important;
  text-decoration:none !important;
  transition:.2s;
}
.tpl-content .breadcrumbs a:hover,
.breadcrumbs a:hover{color:#ff6a00 !important}
.tpl-content .breadcrumbs span,
.breadcrumbs span{opacity:.5}

/* ============ САЙДБАР ============ */
.sidebar{
  position:sticky;
  top:90px;
  align-self:start;
}
@media (max-width:1100px){
  .sidebar{
    position:static;
    order:2;
  }
}
.sidebar-container{
  display:flex;
  flex-direction:column;
  gap:20px;
}
.sidebar-block{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:18px;
  padding:22px;
  box-shadow:0 2px 10px rgba(15,23,42,.04);
  transition:.3s;
}
.sidebar-block:hover{
  box-shadow:0 8px 22px rgba(15,23,42,.08);
}
.sidebar-block-title{
  font-size:16px;
  font-weight:800;
  color:#0f172a;
  margin:0 0 16px;
  padding-bottom:12px;
  border-bottom:1px solid #e2e8f0;
  display:flex;
  align-items:center;
  gap:8px;
}

/* Поле поиска в сайдбаре */
.sidebar-search-content{
  position:relative;
  display:flex;
  align-items:center;
}
.sidebar-search-content input[type="text"],
.sidebar-search-content input[type="search"]{
  width:100%;
  padding:12px 42px 12px 16px;
  border:1.5px solid #e2e8f0;
  border-radius:12px;
  font-family:inherit;
  font-size:14px;
  transition:.2s;
  background:#fff;
}
.sidebar-search-content input:focus{
  outline:none;
  border-color:#ff6a00;
  box-shadow:0 0 0 4px rgba(255,106,0,.12);
}
.sidebar-search-content .search-form-icon{
  position:absolute;
  right:14px;
  color:#94a3b8;
  pointer-events:none;
  width:20px;height:20px;
}

/* Пользователь в сайдбаре */
.user-box h3{
  font-size:15px;
  font-weight:700;
  margin:0 0 10px;
  color:#0f172a;
}
.user-box-links{
  font-size:14px;
  color:#64748b;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}
.user-box-links a{
  color:#ff6a00 !important;
  font-weight:600;
  text-decoration:none !important;
}
.user-box-links a:hover{color:#e65c00 !important}
.user-box-avatar{
  width:52px;height:52px;border-radius:50%;
  background:linear-gradient(135deg,#ff6a00,#ff8c42);
  display:grid;place-items:center;color:#fff;font-weight:800;
  overflow:hidden;flex-shrink:0;
}
.user-box-avatar img{width:100%;height:100%;object-fit:cover}
.user-box-avatar-icon{width:26px;height:26px;color:#fff}
.user-box-header{display:flex;gap:14px;align-items:center;margin-bottom:14px}
.user-box-name{font-weight:700;color:#0f172a;font-size:15px}

/* ============ БЛОК «ПОМОЩЬ» (замена $GLOBAL_CLEFTER$) ============ */
.tiso-help{
  background:linear-gradient(135deg,#080761 0%,#1a1a8c 100%);
  border-radius:18px;
  padding:26px 24px;
  color:#fff;
  position:relative;
  overflow:hidden;
  border:none;
}
.tiso-help::before{
  content:'';
  position:absolute;
  top:-80px;right:-80px;
  width:220px;height:220px;
  background:radial-gradient(circle,rgba(255,106,0,.3),transparent 70%);
  border-radius:50%;
  pointer-events:none;
}
.tiso-help__title{
  position:relative;
  font-size:17px;
  font-weight:800;
  margin:0 0 6px;
  color:#fff;
  letter-spacing:-.01em;
}
.tiso-help__subtitle{
  position:relative;
  font-size:13px;
  color:#c7cfec;
  margin:0 0 18px;
  line-height:1.5;
}
.tiso-help__contact{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff !important;
  font-size:16px;
  font-weight:800;
  text-decoration:none !important;
  margin-bottom:10px;
  transition:.2s;
}
.tiso-help__contact:hover{color:#ff6a00 !important}
.tiso-help__contact svg{
  width:18px;height:18px;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
  flex-shrink:0;
}
.tiso-help__hours{
  position:relative;
  font-size:12.5px;
  color:#a5b0e0;
  margin:0 0 18px;
  padding-left:28px;
}
.tiso-help__btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  padding:12px 20px;
  border-radius:999px;
  background:#ff6a00;
  color:#fff !important;
  font-weight:700;
  font-size:14px;
  text-decoration:none !important;
  transition:.25s;
  box-shadow:0 8px 20px rgba(255,106,0,.35);
}
.tiso-help__btn:hover{
  background:#e65c00;
  color:#fff !important;
  transform:translateY(-2px);
  box-shadow:0 12px 26px rgba(255,106,0,.45);
}

/* ============ БЛОК «ХИТЫ ПРОДАЖ» ============ */
.goods-box{
  background:#f5f7fa;
  border-radius:22px;
  padding:36px;
  margin-bottom:36px;
}
.goods-box h2{
  margin:0 0 26px !important;
  font-size:clamp(22px,2.6vw,30px);
  font-weight:800;
}
.goods-box h2::after{display:none}

/* ============ СЕТКА ТОВАРОВ ============ */
.goods-list{
  display:grid !important;
  grid-template-columns:repeat(auto-fill, minmax(240px, 1fr));
  gap:20px !important;
  margin:0 !important;
  align-items:stretch;
}

/* Обёртка uCoz — тоже растягиваем */
.goods-list .list-item{
  display:flex;
  min-width:0;
  height:100%;
}

/* ============ КАРТОЧКА ТОВАРА ============ */
.product-card{
  background:#fff !important;
  border:1px solid #e2e8f0 !important;
  border-radius:18px !important;
  overflow:visible !important;
  display:flex !important;
  flex-direction:column !important;
  transition:.3s;
  position:relative;
  padding:0 !important;
  width:100% !important;
  height:100% !important;
  min-height:100% !important;
  box-sizing:border-box;
}
.product-card:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 28px rgba(15,23,42,.10);
  border-color:transparent !important;
}

/* ---- КАРТИНКА — жёстко фиксированные пропорции ---- */
.product-pictures{
  position:relative !important;
  width:100% !important;
  height:220px !important;
  min-height:220px !important;
  max-height:220px !important;
  background:#ffffff !important;
  overflow:hidden !important;
  border-radius:18px 18px 0 0 !important;
  isolation:isolate;
  flex-shrink:0;
}
/* Ссылка внутри картинки — растягиваем на всю область */
.product-pictures .product-img-link{
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  overflow:hidden !important;
}

/* Картинка — абсолютное позиционирование, вписывается в контейнер */
.product-pictures .product-img{
  position:absolute !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  min-width:0 !important;
  min-height:0 !important;
  object-fit:contain !important;
  object-position:center center !important;
  padding:16px !important;
  box-sizing:border-box !important;
  display:block !important;
  transition:transform .5s;
}
.product-card:hover .product-pictures .product-img{
  transform:scale(1.06);
}


/* ---- КОНТЕНТ КАРТОЧКИ ---- */
.product-content{
  padding:16px 18px 18px !important;
  display:flex !important;
  flex-direction:column !important;
  flex:1 !important;
  box-sizing:border-box;
}

.product-actions{
  position:absolute;
  top:14px;
  right:14px;
  display:flex;
  flex-direction:column;
  gap:8px;
  z-index:5;
  opacity:0;
  transform:translateX(6px);
  transition:.3s;
  pointer-events:none;
}
.product-card:hover .product-actions{
  opacity:1;
  transform:translateX(0);
  pointer-events:auto;
}
.product-actions a{
  width:38px;height:38px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 4px 12px rgba(15,23,42,.12);
  display:grid;place-items:center;
  color:#334155;
  transition:.2s;
  font-size:16px;
  text-decoration:none;
}
.product-actions a:hover{background:#ff6a00;color:#fff}

.product-main{
  flex:1;
  margin-bottom:14px;
  min-height:0;
}
.product-card-title{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:15px;
  font-weight:600;
  line-height:1.4;
  color:#0f172a !important;
  text-decoration:none !important;
  margin-bottom:8px;
  transition:.2s;
  min-height:42px;
}
.product-card-title:hover{color:#ff6a00 !important}

.product-buy-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:auto;
  min-height:44px;
  flex-wrap:wrap;
}

.price-box{
  font-size:16px;
  font-weight:800;
  color:#0f172a;
  line-height:1.2;
  display:flex;
  flex-direction:column;
}
.price-box s{
  font-size:12px;
  color:#94a3b8;
  font-weight:500;
  text-decoration:line-through;
}
.price-box .newprice{
  color:#ff6a00;
  font-size:17px;
}

.basket-container{
  flex-shrink:0;
  min-width:42px;
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  position:relative;
  z-index:2;
}

/* ---- КНОПКИ КОРЗИНЫ — жёстко оранжевые ---- */
.basket-link,
.basket-container a,
.basket-container a[href*="basket"],
.basket-container button,
.product-card .basket-link,
.goods-list .basket-link,
.goods-list a[class*="basket"]{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px;
  min-width:42px !important;
  min-height:42px !important;
  width:auto !important;
  height:auto !important;
  padding:0 16px !important;
  border-radius:999px !important;
  background:#ff6a00 !important;
  background-color:#ff6a00 !important;
  background-image:none !important;
  color:#fff !important;
  border:none !important;
  cursor:pointer;
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
  line-height:1;
  transition:.25s;
  box-shadow:0 6px 14px rgba(255,106,0,.3) !important;
  text-decoration:none !important;
  overflow:visible;
}
.basket-link:hover,
.basket-container a:hover,
.basket-container a[href*="basket"]:hover,
.basket-container button:hover,
.product-card .basket-link:hover,
.goods-list .basket-link:hover{
  background:#e65c00 !important;
  background-color:#e65c00 !important;
  transform:scale(1.05);
  box-shadow:0 8px 20px rgba(255,106,0,.45) !important;
}

/* Иконка корзины внутри кнопки — белая */
.basket-link svg,
.basket-container a svg,
.basket-container button svg,
.basket-link img,
.basket-container a img{
  width:18px !important;
  height:18px !important;
  max-width:18px !important;
  max-height:18px !important;
  filter:brightness(0) invert(1);
  fill:#fff !important;
  stroke:#fff !important;
  color:#fff !important;
}

/* ---- Всплывающий текст «Наличие» — не обрезать ---- */
.product-card [class*="availability"],
.product-card [class*="stock"],
.product-card .list-item-info,
.goods-list .list-item-info{
  display:block !important;
  visibility:visible !important;
  overflow:visible !important;
  white-space:normal !important;
  padding:0 !important;
  margin:4px 0 0 !important;
  font-size:12px !important;
  color:#64748b !important;
  line-height:1.4 !important;
  width:100% !important;
  grid-column:1 / -1;
}

/* Мобильная адаптация */
@media (max-width:980px){
  .goods-list{
    grid-template-columns:repeat(auto-fill, minmax(180px, 1fr));
    gap:14px !important;
  }
  .product-pictures{
    height:160px !important;
    min-height:160px !important;
    max-height:160px !important;
  }
  .product-img{padding:8px}
  .product-content{padding:12px 14px 14px !important}
  .product-card-title{font-size:14px;min-height:38px}
  .price-box{font-size:14px}
  .price-box .newprice{font-size:15px}
  .basket-link,
  .basket-container a,
  .basket-container button{
    min-width:38px !important;
    min-height:38px !important;
    padding:0 12px !important;
  }
}
@media (max-width:560px){
  .goods-list{
    grid-template-columns:repeat(2, 1fr);
  }
  .product-pictures{
    height:140px !important;
    min-height:140px !important;
    max-height:140px !important;
  }
}
/* Ссылка «Перейти в каталог» */
.catalog-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:26px;
  padding:14px 28px;
  background:#ff6a00;
  color:#fff !important;
  border-radius:999px;
  font-weight:700;
  font-size:15px;
  text-decoration:none !important;
  box-shadow:0 8px 20px rgba(255,106,0,.35);
  transition:.25s;
}
.catalog-link:hover{
  background:#e65c00;
  transform:translateY(-2px);
  color:#fff !important;
  box-shadow:0 12px 26px rgba(255,106,0,.45);
}

/* ============ КНОПКИ В КОНТЕНТЕ ============ */
.tpl-content .btn,
.tpl-content input[type="submit"],
.tpl-content button[type="submit"]:not(.basket-link){
  background:#ff6a00;
  color:#fff;
  border:none;
  border-radius:999px;
  padding:12px 24px;
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  transition:.25s;
  font-family:inherit;
}
.tpl-content .btn:hover,
.tpl-content input[type="submit"]:hover{
  background:#e65c00;
  transform:translateY(-1px);
}

/* ============ ПОЛЯ ============ */
.tpl-content select,
.tpl-content input[type="text"],
.tpl-content input[type="number"],
.tpl-content input[type="email"],
.tpl-content textarea{
  padding:10px 14px;
  border:1.5px solid #e2e8f0;
  border-radius:10px;
  font-family:inherit;
  font-size:14px;
  transition:.2s;
  background:#fff;
  outline:none;
}
.tpl-content select:focus,
.tpl-content input:focus,
.tpl-content textarea:focus{
  border-color:#ff6a00;
  box-shadow:0 0 0 4px rgba(255,106,0,.12);
}

/* ============ ПАГИНАЦИЯ ============ */
.tpl-content .pagination{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:30px 0;
  align-items:center;
}
.tpl-content .pagination a,
.tpl-content .pagination span,
.tpl-content .pagination strong{
  display:inline-grid;
  place-items:center;
  min-width:40px;
  height:40px;
  padding:0 12px;
  border-radius:12px;
  font-size:14px;
  font-weight:600;
  color:#334155;
  background:#fff;
  border:1.5px solid #e2e8f0;
  text-decoration:none;
  transition:.25s;
}
.tpl-content .pagination a:hover{
  border-color:#ff6a00;
  color:#ff6a00;
}
.tpl-content .pagination .active,
.tpl-content .pagination strong{
  background:#ff6a00;
  color:#fff;
  border-color:#ff6a00;
  box-shadow:0 6px 14px rgba(255,106,0,.3);
}

/* ============ ССЫЛКИ «ПОСМОТРЕТЬ ВСЁ» ============ */
.add-more-table a,
.tpl-content a.noun{
  color:#ff6a00;
  font-weight:600;
  text-decoration:none;
}
.add-more-table a:hover,
.tpl-content a.noun:hover{color:#e65c00}

/* ============ УВЕДОМЛЕНИЯ ============ */
.tpl-content .message-info,
.tpl-content .alert-info{
  background:rgba(255,106,0,.08);
  border-left:4px solid #ff6a00;
  border-radius:12px;
  padding:14px 18px;
  color:#0f172a;
  margin:16px 0;
}

/* ============ СТРАНИЦА ТОВАРА ============ */
.tpl-content .entry-title,
.tpl-content h1.product-title{
  font-size:clamp(22px,3vw,32px);
  font-weight:800;
  letter-spacing:-.02em;
  margin:0 0 20px;
}
.tpl-content .entry-price,
.tpl-content .price{
  color:#ff6a00;
  font-weight:800;
  font-size:24px;
}

/* ============ АКТИВНЫЙ ПУНКТ МЕНЮ «МАГАЗИН» ============ */
body.module-shop .tiso-nav a[href="/shop"]{color:#ff6a00 !important}
body.module-shop .tiso-nav a[href="/shop"]::after{width:100% !important}

/* ============ АДАПТИВ ============ */
@media (max-width:1100px){
  .sidebar{display:none}
}
@media (max-width:980px){
  .goods-box{padding:24px 18px}
  .goods-list{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px !important}
  .product-content{padding:14px !important}
  .product-card-title{font-size:14px}
  .price-box{font-size:14px}
  .price-box .newprice{font-size:15px}
  .basket-link,
  .basket-container a[href*="basket"],
  .basket-container button{width:38px;height:38px}
}
@media (max-width:560px){
  .goods-list{grid-template-columns:repeat(2,1fr);gap:12px !important}
  .product-actions{opacity:1;transform:none}
  .sidebar-block{padding:18px}
}
/* Скрываем пустой слайдер uCoz */
.shop-slider,
#shop_slider,
.shslider,
[class*="shslider"],
.tpl-content > .swiper,
.tpl-content > .swiper-container,
.tpl-content .swiper:first-child{
  display:none !important;
}
/* ============================================
   КАТАЛОГ КАТЕГОРИЙ — карточки в стиле ТИСО
   ============================================ */

/* Контейнер-обёртка */
.tpl-content table,
.tpl-content .catalog-table,
.tpl-content [id^="catalog"] {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

/* Убираем табличную раскладку — превращаем в grid */
.tpl-content table:has(.catalog-item),
.tpl-content .catalog-container {
  display: block;
}

/* Родительский блок — делаем сеткой */
.tpl-content > table,
.tpl-content table {
  border: none;
}

/* Строки — по 4 в ряд */
.tpl-content tr:has(.catalog-item) {
  display: contents;
}

/* Скрываем пустые tr */
.tpl-content tr:not(:has(.catalog-item)) {
  display: none;
}

/* Обёртка каталога */
.tpl-content table:has(.catalog-item) {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

/* ============ КАРТОЧКА КАТЕГОРИИ ============ */
.catalog-item {
  display: flex !important;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 0 0 18px;
  overflow: hidden;
  transition: .3s;
  position: relative;
  width: 100% !important;
  vertical-align: top;
}
.catalog-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .10);
  border-color: transparent;
}

/* Картинка категории */
.catalog-item-img-link {
  display: block;
  aspect-ratio: 4/3;
  background: #f5f7fa;
  overflow: hidden;
  margin-bottom: 16px;
}
.catalog-item-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover;
  transition: .5s;
  display: block;
}
.catalog-item:hover .catalog-item-img {
  transform: scale(1.06);
}

/* Заголовок категории */
.catalog-item h3 {
  padding: 0 18px;
  margin: 0 0 8px !important;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.3;
}
.catalog-item h3 a {
  color: #0f172a !important;
  text-decoration: none !important;
  transition: .2s;
}
.catalog-item h3 a:hover {
  color: #ff6a00 !important;
}

/* Подкатегории */
.catalog-item > div {
  padding: 0 18px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #94a3b8;
  flex: 1;
}
.catalog-item > div a {
  color: #64748b !important;
  text-decoration: none !important;
  transition: .2s;
}
.catalog-item > div a:hover {
  color: #ff6a00 !important;
}

/* Убираем лишние td внутри tr */
.catalog-item + td,
.catalog-item ~ td {
  display: none !important;
}

/* На мобильных — 2 колонки */
@media (max-width: 760px) {
  .tpl-content table:has(.catalog-item) {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .catalog-item h3 {
    font-size: 14px;
    padding: 0 12px;
  }
  .catalog-item > div {
    padding: 0 12px;
    font-size: 11.5px;
  }
  .catalog-item-img-link {
    margin-bottom: 12px;
  }

.tiso-catalog-wrap{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:20px;
  margin:30px 0;
}
.tiso-catalog-wrap table,
.tiso-catalog-wrap tbody,
.tiso-catalog-wrap tr{
  display:contents !important;
}
.tiso-catalog-wrap td{
  display:contents;
}
.tiso-catalog-wrap .catalog-item{
  /* те же стили, что выше */
}
/* ============================================
   КАТАЛОГ КАТЕГОРИЙ — карточки в стиле ТИСО
   ============================================ */

.tiso-catalog-wrap{
  margin: 30px 0 40px;
  width: 100%;
}

.tiso-catalog-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, 260px);
  gap: 20px;
  justify-content: start;
  width: 100%;
}

.tiso-catalog-card{
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .3s;
  position: relative;
}
.tiso-catalog-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15,23,42,.10);
  border-color: transparent;
}

.tiso-catalog-card .catalog-item-img-link{
  display: block;
  width: 100%;
  height: 180px;
  background: #f5f7fa;
  overflow: hidden;
  margin: 0;
  flex-shrink: 0;
}
.tiso-catalog-card .catalog-item-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: .5s;
}
.tiso-catalog-card:hover .catalog-item-img{
  transform: scale(1.06);
}

.tiso-catalog-card h3{
  padding: 16px 18px 8px;
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.3;
  color: #0f172a !important;
}
.tiso-catalog-card h3 a{
  color: #0f172a !important;
  text-decoration: none !important;
  transition: .2s;
}
.tiso-catalog-card h3 a:hover{
  color: #ff6a00 !important;
}

.tiso-catalog-card > div{
  padding: 0 18px 18px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #94a3b8 !important;
  flex: 1;
}
.tiso-catalog-card > div a{
  color: #64748b !important;
  text-decoration: none !important;
  transition: .2s;
}
.tiso-catalog-card > div a:hover{
  color: #ff6a00 !important;
}

@media (max-width: 760px){
  .tiso-catalog-grid{
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }
  .tiso-catalog-card .catalog-item-img-link{
    height: 130px;
  }
  .tiso-catalog-card h3{
    font-size: 14px;
    padding: 12px 14px 6px;
  }
  .tiso-catalog-card > div{
    padding: 0 14px 14px;
    font-size: 11.5px;
  }
  /* ============================================
   ЖЁСТКАЯ ПЕРЕКРАСКА КНОПОК КОРЗИНЫ
   ============================================ */

/* Кнопка корзины в любой обёртке */
.product-card a[class*="asket"],
.product-card a[class*="art"],
.product-card button[class*="asket"],
.list-item a[class*="asket"],
.list-item button[class*="asket"],
.goods-list a[class*="asket"],
.goods-list button[class*="asket"],
.product-buy-box a,
.product-buy-box button,
.product-card .basket-container a,
.product-card .basket-container button,
a.basket-link,
a[href*="/basket"],
a[href*="/cart"],
button.basket-link{
  background: #ff6a00 !important;
  background-color: #ff6a00 !important;
  background-image: none !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 14px rgba(255,106,0,.3) !important;
}

/* Ссылки с иконкой корзины (могут быть через :before/:after) */
.product-buy-box a::before,
.product-buy-box a::after,
.basket-container a::before,
.basket-container a::after{
  color: #ffffff !important;
  background: transparent !important;
}

/* Всё внутри кнопки — белое */
.product-buy-box a svg,
.product-buy-box button svg,
.basket-container a svg,
.basket-container button svg,
.product-card a[class*="asket"] svg,
.list-item a[class*="asket"] svg{
  fill: #ffffff !important;
  stroke: #ffffff !important;
  color: #ffffff !important;
}

/* Иконка-картинка */
.product-buy-box a img,
.basket-container a img,
.product-card a[class*="asket"] img{
  filter: brightness(0) invert(1) !important;
}

/* Hover */
.product-buy-box a:hover,
.product-buy-box button:hover,
.basket-container a:hover,
.basket-container button:hover,
a.basket-link:hover,
a[href*="/basket"]:hover,
a[href*="/cart"]:hover{
  background: #e65c00 !important;
  background-color: #e65c00 !important;
  transform: scale(1.05);
}
  /* ============================================
   ЖЁСТКАЯ ФИКСАЦИЯ КАРТИНКИ В РАМКЕ
   ============================================ */

/* Контейнер — фиксированный, с обрезкой */
.product-card .product-pictures,
.goods-list .product-pictures,
.product-card div.product-pictures{
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 220px !important;
  min-height: 220px !important;
  max-height: 220px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border-radius: 18px 18px 0 0 !important;
  box-sizing: border-box !important;
}

/* Ссылка внутри — на всю площадь */
.product-card .product-pictures .product-img-link,
.product-card .product-img-link{
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  overflow: hidden !important;
}

/* Картинка — по ID (uCoz ставит id="top_view-gphoto-*") и по классу */
.product-card img.product-img,
.product-card img[id^="top_view-gphoto-"],
.product-card img[id^="gphoto-"],
.goods-list img.product-img,
.goods-list img[id^="top_view-gphoto-"],
.product-pictures img,
img.product-img{
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  display: block !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
}
}