/* =====================================================================
   ToyOptom — общий файл нового дизайна.
   Подключается ПОСЛЕ style.css. Все решения по цветам и формам — в :root.
   Меняешь значение здесь — меняется везде, где блок переведён на новый вид.
   ===================================================================== */
:root {
  /* цвета */
  --tn-acc:#7468FF;        /* акцент: кнопки, ссылки */
  --tn-acc-h:#5F52F0;      /* акцент при наведении */
  --tn-acc-soft:#ECEAFF;   /* бледный акцент: «Новинка» */
  --tn-acc-ink:#3A2FB0;    /* текст на бледном акценте */
  --tn-ink:#232830;        /* графит: текст, цена */
  --tn-mut:#6B7078;        /* серый текст */
  --tn-bg:#F4F4F2;         /* фон страницы и серых плашек */
  --tn-card:#FFFFFF;       /* карточки */
  --tn-line:#E4E2DC;       /* тонкие линии */
  --tn-soft:#ECECEA;       /* серые кнопки ± */
  --tn-sale:#E5322D;       /* SALE */
  --tn-ok:#1FA55B;         /* зелёный: уже в корзине, «Добавить ещё», «Оформить» */
  --tn-ok-h:#178A4B;       /* зелёный при наведении */
  --tn-ok-soft:#E3F5EA;
  --tn-ok-ink:#1B6B3A;
  /* формы */
  --tn-r-card:12px;
  --tn-r-img:8px;
  --tn-r-ctl:8px;
  --tn-font:'Manrope', Arial, sans-serif;
}

/* ===== сетка карточек: каталог, поиск, сопутствующие, просмотренные ===== */
.tn-grid.tn-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(max(180px, calc((100% - (var(--tn-cols, 6) - 1) * 14px) / var(--tn-cols, 6))), 1fr));
  gap:14px;
  justify-content:stretch;
  align-items:stretch;
  width:100%;
}
.tn-grid.tn-grid > :not(.tovar-row) { grid-column:1 / -1; }
/* то же без ожидания скрипта, для браузеров с :has */
.flex1:has(> .tovar-row.tn-card), .rows:has(> .tovar-row.tn-card) {
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(max(180px, calc((100% - (var(--tn-cols, 6) - 1) * 14px) / var(--tn-cols, 6))), 1fr));
  gap:14px;
  justify-content:stretch;
  align-items:stretch;
  width:100%;
}
.flex1:has(> .tovar-row.tn-card) > :not(.tovar-row), .rows:has(> .tovar-row.tn-card) > :not(.tovar-row) { grid-column:1 / -1; }
.flex1 > .tovar-row.tn-card, .rows > .tovar-row.tn-card { flex:0 1 240px; }

/* сколько карточек в ряд на широком экране: в каталоге рядом фильтры, поэтому 5; на поиске, в сопутствующих и «Вы смотрели» — 6 */
#mse2_results { --tn-cols:5; }

/* ===== карточка товара в каталоге ===== */
.tovar-row.tn-card {
  position:relative;
  display:grid;
  grid-template-rows:auto auto auto auto auto auto;
  grid-template-columns:minmax(0, 1fr);
  row-gap:8px;
  width:auto;
  min-width:0;
  margin:0;
  padding:10px;
  border-radius:var(--tn-r-card);
  background:var(--tn-card);
  box-shadow:0 0 0 1px var(--tn-line);
  font-family:var(--tn-font);
  color:var(--tn-ink);
  text-align:left;
  transition:box-shadow .18s ease, transform .18s ease;
  transform:none;
}
.tovar-row.tn-card:hover { transform:none; box-shadow:0 0 0 1px #CFCDC6; }
.tovar-row.tn-card * { box-sizing:border-box; }
.tovar-row.tn-card form.ms2_form { display:contents; }

/* зоны карточки стоят на одной линии по всему ряду */
@supports (grid-template-rows:subgrid) {
  .tn-grid > .tovar-row.tn-card { grid-row:span 6; grid-template-rows:subgrid; }
}
@supports (grid-template-rows:subgrid) and selector(:has(a)) {
  .flex1:has(> .tovar-row.tn-card) > .tovar-row.tn-card, .rows:has(> .tovar-row.tn-card) > .tovar-row.tn-card { grid-row:span 6; grid-template-rows:subgrid; }
}

/* 1. фото */
.tn-card .tn-img { position:relative; display:block; width:100%; aspect-ratio:1 / 1; border-radius:var(--tn-r-img); overflow:hidden; background:#fff; }
.tn-card .tn-img a { display:block; width:100%; height:100%; }
.tn-card .tn-img img { display:block; width:100%; height:100%; object-fit:contain; border-radius:var(--tn-r-img); }
.tn-card .tn-in { position:absolute; top:6px; right:6px; z-index:2; display:inline-flex; align-items:center; height:24px; padding:0 9px; border-radius:999px; background:var(--tn-ok); font-size:13px; font-weight:800; line-height:1; color:#fff; white-space:nowrap; box-shadow:0 0 0 2px #fff; }
.tn-card .tn-in[hidden] { display:none; }

/* 2. название — целиком, без обрезки */
.tn-card .tn-title { align-self:start; margin:0; }
.tn-card .tn-title a { color:var(--tn-ink); text-decoration:none; }
.tn-card .tn-title a:hover { color:var(--tn-acc); }
.tn-card .tn-title h4 { margin:0; padding:0; font-size:13px; font-weight:600; line-height:1.3; text-transform:none; letter-spacing:0; overflow-wrap:anywhere; }

/* 3. артикул и ярлычки */
.tn-card .tn-meta { display:flex; flex-wrap:wrap; align-items:center; gap:4px 6px; align-self:start; }
.tn-card .tn-art { display:inline-flex; align-items:center; gap:6px; height:22px; margin:0; padding:0 7px; border:0; border-radius:6px; background:var(--tn-bg); font-family:inherit; font-size:12px; font-weight:600; line-height:1; color:var(--tn-mut); cursor:pointer; }
.tn-card .tn-art i { display:block; width:12px; height:12px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7078' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15V5a2 2 0 0 1 2-2h10'/%3E%3C/svg%3E") no-repeat center / contain; }
.tn-card .tn-art:hover { background:var(--tn-soft); color:var(--tn-ink); }
.tn-card .tn-art.ok { background:var(--tn-ok-soft); color:var(--tn-ok-ink); }
.tn-card .tn-art.ok i { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B6B3A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.tn-flag { display:inline-flex; align-items:center; height:20px; margin:0; padding:0 7px; border-radius:6px; font-size:10px; font-weight:800; line-height:1; letter-spacing:.04em; text-transform:uppercase; white-space:nowrap; }
.tn-flag-sale { background:var(--tn-sale); color:#fff; }
.tn-flag-new { background:#FFF1D6; color:#8A5A00; }
.tn-flag-fav { background:#FFF1D6; color:#8A5A00; }
.tn-flag-raz { background:var(--tn-soft); color:var(--tn-ink); }

/* 4. цена */
.tn-card .tn-price { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 8px; align-self:end; font-size:20px; font-weight:800; line-height:1.1; color:var(--tn-ink); }
.tn-card .tn-price small { font-size:12px; font-weight:600; color:var(--tn-mut); }
.tn-card .tn-price s { font-size:13px; font-weight:600; color:var(--tn-mut); }

/* 5. кратность и количество */
.tn-card .tn-qty { display:flex; flex-direction:column; align-items:stretch; gap:5px; }
.tn-card .tn-mult { font-size:12px; font-weight:600; line-height:1.2; color:var(--tn-mut); }
.tn-card .tn-mult[data-m="1"] .tn-mn { display:none; }
.tn-card .tn-mult:not([data-m="1"]) .tn-m1 { display:none; }
.tn-card .tn-num { display:flex; align-items:stretch; width:100%; height:34px; border-radius:var(--tn-r-ctl); background:var(--tn-soft); overflow:hidden; }
.tn-card .tn-num button { flex:none; width:34px; margin:0; padding:0; border:0; background:transparent; font-family:inherit; font-size:18px; font-weight:600; line-height:1; color:var(--tn-ink); cursor:pointer; }
.tn-card .tn-num button:hover { background:#DFDFDC; }
.tn-card .tn-num input { flex:1 1 0; width:auto; min-width:0; margin:0; padding:0 2px; border:0; border-radius:0; background:#fff; box-shadow:inset 0 0 0 1px var(--tn-soft); font-family:inherit; font-size:14px; font-weight:700; text-align:center; color:var(--tn-ink); -moz-appearance:textfield; -webkit-appearance:none; appearance:textfield; outline:0; }
.tn-card .tn-num input::-webkit-outer-spin-button,
.tn-card .tn-num input::-webkit-inner-spin-button { display:none; -webkit-appearance:none; margin:0; }
.tn-card .tn-num input:focus { box-shadow:inset 0 0 0 2px var(--tn-acc); }

/* 6. кнопка */
.tn-card .tn-buy { display:block; margin:0; }
.tn-card .tn-buy button { display:block; width:100%; max-width:none; height:40px; margin:0; padding:0 8px; border:0; border-radius:var(--tn-r-ctl); background:var(--tn-acc); font-family:inherit; font-size:14px; font-weight:700; line-height:1; letter-spacing:0; text-transform:none; color:#fff; cursor:pointer; transition:background .15s ease; }
.tn-card .tn-buy button:hover { background:var(--tn-acc-h); }

/* точка «появилось после прошлого визита» — слева, чтобы не спорить с отметкой корзины */
#mse2_results .tovar-row.tn-card.fx-newrow::after { top:16px; left:16px; right:auto; background:var(--tn-acc); }

/* телефон: две в ряд */
@media (max-width:633px) {
  .tn-grid.tn-grid, .flex1:has(> .tovar-row.tn-card), .rows:has(> .tovar-row.tn-card) { grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px; }
  .tovar-row.tn-card { width:auto; margin:0; padding:8px; row-gap:6px; }
  .tn-card .tn-title h4 { font-size:12px; }
  .tn-card .tn-price { font-size:17px; }
  .tn-card .tn-num button { flex:none; width:36px; }
  .tn-card .tn-num input { flex:1 1 0; width:auto; font-size:16px; }
  .tn-card .tn-buy button { height:42px; font-size:13px; }
}

/* ===== хлебные крошки: мелкие серые ===== */
.hlebkroshki { font-size:13px; font-weight:500; letter-spacing:0; text-transform:none; color:var(--tn-mut); }
.hlebkroshki a { color:var(--tn-ink); }
.hlebkroshki a:hover { color:var(--tn-acc); }
.hlebkroshki a:before { background:var(--tn-acc); }
.ulhlebkroshki span { color:var(--tn-line); }

/* ===== кнопка «Показать ещё» на поиске ===== */
#pdopage .btn-more { border-radius:var(--tn-r-ctl); background:var(--tn-acc); letter-spacing:0; color:#fff; }
#pdopage .btn-more:hover { transform:none; background:var(--tn-acc-h); }

/* ===== страница товара: товар уже в корзине ===== */
.tkp .tkp-have { margin-top:10px; font-size:14px; font-weight:700; line-height:1.3; color:var(--tn-ok-ink); }
.tkp .tkp-have[hidden] { display:none; }
.tkp .tkp-flags { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 14px; }
.tkp .tkp-flags:empty { display:none; }
@media (max-width:991px) {
  .tkp .tkp-have { margin:0 0 6px; font-size:12.5px; }
  .tkp .tkp-flags { margin:8px 0 0; }
}

/* ===== страница поиска: выдача на всю ширину, кнопка с отступом ===== */
.flex1 > #pdopage { flex:1 1 100%; width:100%; min-width:0; }
#pdopage > br { display:none; }
#pdopage .btn-more { display:block; margin:24px auto 0; }

/* ===== кнопка «наверх»: на компьютере маленькая светлая, на телефоне нет ===== */
html #back-top-wrapper { right:24px; bottom:24px; width:44px !important; height:44px !important; background:rgba(255,255,255,.88); box-shadow:0 2px 10px rgba(35,40,48,.2); cursor:pointer; }
html #back-top-wrapper:hover { background:#fff; }
html #back-top-wrapper #fon1111 { display:none; }
html #back-top-wrapper #back-top, html #back-top-wrapper #back-top span { width:100%; height:100%; }
html #back-top-wrapper #back-top span { background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23232830' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15l6-6 6 6'/%3E%3C/svg%3E") no-repeat center / 20px; transition:none; }
@media (max-width:991px) {
  html #back-top-wrapper { display:none !important; }
}

/* ===== «Вы смотрели» под корзиной ===== */
.looked-wrap > hr, .looked-wrap > br, .looked-wrap .wrapper > br, .looked-wrap + br { display:none; }
.looked-wrap { margin:34px 0 0; padding:28px 0 34px; border-top:1px solid var(--tn-line); }
.looked-wrap .wrapper .wrapper { width:100%; }
.looked-wrap .wrapper.flex1 { display:block; }
.looked-wrap .looked-title { display:flex; align-items:center; gap:10px; margin:0 0 16px; font-family:var(--tn-font); font-size:20px; font-weight:800; letter-spacing:0; line-height:1.2; text-align:left; text-transform:none; color:var(--tn-ink); }
.looked-wrap .looked-title .circle { display:none; }
.looked-wrap .looked-title > span:last-child { margin-left:auto; }
.looked-wrap .looked-remove { width:auto; height:auto; margin:0; padding:0; border:0; border-radius:0; background:none; font-family:var(--tn-font); font-size:0; line-height:1.2; color:var(--tn-mut); cursor:pointer; }
.looked-wrap .looked-remove::after { content:"Очистить"; font-size:14px; font-weight:600; text-decoration:underline; text-underline-offset:4px; }
.looked-wrap .looked-remove:hover { transform:none; background:none; color:var(--tn-sale); }

/* ===== заголовки страниц: слева, обычными буквами ===== */
section.category-tvr > .wrapper > h1, section.category-tvr > .wrapper > h2 { margin:0 0 6px; font-family:var(--tn-font); font-size:30px; font-weight:800; line-height:1.2; letter-spacing:-.4px; text-align:left; text-transform:none; color:var(--tn-ink); }
section.category-tvr > .wrapper > h1 + br, section.category-tvr > .wrapper > h2 + br, section.category-tvr > .wrapper > hr, section.category-tvr > .wrapper > hr + br { display:none; }
section.category-tvr > .wrapper > .ulhlebkroshki { margin:0 0 20px; }
@media (max-width:991px) {
  section.category-tvr > .wrapper > h1, section.category-tvr > .wrapper > h2 { font-size:23px; }
  section.category-tvr > .wrapper > .ulhlebkroshki { margin-bottom:14px; }
}

/* ===== текстовые страницы (О нас, Контакты, Условия, Оплата и доставка): старый оранжевый в новый цвет ===== */
section.category-tvr [style*="color: #ffa418"] { color:var(--tn-acc) !important; }
section.category-tvr [style*="background: #ffa418"] { background:var(--tn-acc) !important; }
section.category-tvr [style*="background-color: #ffa418"] { background-color:var(--tn-acc) !important; }
section.category-tvr [style*="solid #ffa418"] { border-color:var(--tn-acc) !important; }
section.category-tvr [style*="color: #545659"] { color:var(--tn-ink) !important; }
section.category-tvr [style*="background: #fcf5ea"] { background:var(--tn-bg) !important; }

/* ===== подвал ===== */
footer.tf { padding:36px 0 22px; background:var(--tn-ink); font-family:var(--tn-font); font-size:15px; line-height:1.4; color:#C9CCD1; }
footer.tf * { box-sizing:border-box; }
footer.tf a { color:#fff; text-decoration:none; }
.tf-w { display:flex; align-items:flex-start; gap:32px; width:90%; max-width:1320px; margin:0 auto; }
.tf-a { flex:1 1 0; min-width:0; }
.tf-logo { display:inline-flex; align-items:center; gap:9px; }
.tf-logo svg { display:block; flex:none; }
.tf-logo .tf-mk { width:34px; height:34px; }
.tf-logo .tf-wm { width:auto; height:18px; }
.tf-c { margin:14px 0 0; padding:0; font-size:13px; color:#9AA0A8; }
.tf-m { flex:none; display:flex; flex-direction:column; gap:10px; }
.tf-m ul { display:flex; flex-direction:column; gap:10px; margin:0; padding:0; list-style:none; }
.tf-m li { margin:0; padding:0; list-style:none; }
.tf-m a { font-weight:600; }
.tf-m a:hover, .tf-tel:hover { color:#A9A1FF; }
.tf-k { flex:1 1 0; min-width:0; display:flex; flex-direction:column; align-items:flex-end; gap:12px; }
.tf-tel { font-size:22px; font-weight:800; white-space:nowrap; }
.tf-soc { display:flex; gap:10px; }
.tf-soc a { display:flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:50%; background:rgba(255,255,255,.1); font-size:22px; transition:background .15s ease; }
.tf-soc a:hover { background:var(--tn-acc); }
.tf-b { display:flex; flex-wrap:wrap; gap:6px 24px; width:90%; max-width:1320px; margin:26px auto 0; padding-top:16px; border-top:1px solid rgba(255,255,255,.12); font-size:12.5px; color:#9AA0A8; }
.tf-b .l-sogl { margin-left:auto; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.tf-b .l-sogl:hover { color:#fff; }
@media (max-width:991px) {
  footer.tf { padding:26px 0 18px; }
  .tf-w { flex-direction:column; gap:22px; }
  .tf-k { align-items:flex-start; }
  .tf-b .l-sogl { margin-left:0; }
}

/* ===== плашка cookies ===== */
html .coockie { background:#fff !important; border-radius:14px; box-shadow:0 10px 30px rgba(35,40,48,.2); color:var(--tn-ink); }
html .coockie span { color:var(--tn-acc); font-weight:600; }
html .coockie .btn-cookies { height:38px; padding:0 16px; border:0; border-radius:10px; background:var(--tn-acc); font-family:var(--tn-font); font-size:14px; font-weight:700; color:#fff; }
html .coockie .btn-cookies:hover { background:var(--tn-acc-h); }

/* ===== наведение на карточку (только компьютер с мышью): как у плиток категорий на главной ===== */
.tn-card .tn-img img { transition:transform .18s ease; }
@media (hover:hover) and (min-width:992px) {
  .tovar-row.tn-card:hover { z-index:2; transform:translateY(-3px); box-shadow:0 0 0 1.5px var(--tn-acc), 0 12px 26px rgba(35,40,48,.12); }
  .tovar-row.tn-card:hover .tn-img img { transform:scale(1.05); }
}

/* ===== цвета по ролям: фиолетовый — положить, зелёный — уже в корзине ===== */
.tn-card .tn-buy button.fx-incart,
.tn-card:has(.tn-in:not([hidden])) .tn-buy button,
html .tkp .tkp-buy:has(.tkp-have:not([hidden])) .tkp-btn { background:var(--tn-ok); }
.tn-card .tn-buy button.fx-incart:hover,
.tn-card:has(.tn-in:not([hidden])) .tn-buy button:hover,
html .tkp .tkp-buy:has(.tkp-have:not([hidden])) .tkp-btn:hover { background:var(--tn-ok-h); }
html .nh .nh-n, html .nh-tab .nh-n { background:var(--tn-ok); }

/* ===== страница товара: блок «− число +» и кнопка как в карточках ===== */
html .tkp .tkp-row .number { display:flex; align-items:stretch; border:0; border-radius:var(--tn-r-ctl); background:var(--tn-soft); overflow:hidden; }
html .tkp .tkp-row .number button { width:44px; height:46px; border:0; background:transparent; font-size:20px; font-weight:600; color:var(--tn-ink); }
html .tkp .tkp-row .number button:hover { background:#DFDFDC; }
html .tkp .tkp-row .number .number-minus, html .tkp .tkp-row .number .number-plus { border:0; }
html .tkp .tkp-row .number input[type="number"] { width:68px; height:46px; margin:0; border:0; border-radius:0; background:#fff; box-shadow:inset 0 0 0 1px var(--tn-soft); font-family:inherit; font-size:16px; font-weight:700; color:var(--tn-ink); -moz-appearance:textfield; -webkit-appearance:none; appearance:textfield; outline:0; }
html .tkp .tkp-row .number input[type="number"]:focus { box-shadow:inset 0 0 0 2px var(--tn-acc); }
html .tkp .tkp-row .number input::-webkit-outer-spin-button, html .tkp .tkp-row .number input::-webkit-inner-spin-button { display:none; -webkit-appearance:none; margin:0; }
html .tkp .tkp-btn { height:46px; border-radius:var(--tn-r-ctl); font-size:15px; letter-spacing:0; text-transform:none; }

/* ===== «Вы смотрели»: меньше воздуха сверху ===== */
html .looked-wrap { margin-top:20px; padding-top:20px; }

/* ===== вид «Крупные фото»: 3 в ряд, на телефоне 1 ===== */
#mse2_results.tn-g-big { --tn-cols:3; }
.tn-card.tn-v-big { padding:14px; row-gap:10px; }
.tn-card.tn-v-big .tn-title h4 { font-size:15px; }
.tn-card.tn-v-big .tn-price { font-size:24px; }
.tn-card.tn-v-big .tn-num { height:40px; }
.tn-card.tn-v-big .tn-num button { width:44px; }
.tn-card.tn-v-big .tn-buy button { height:44px; font-size:15px; }
@media (max-width:633px) {
  .tn-grid.tn-grid.tn-g-big { grid-template-columns:minmax(0, 1fr); gap:10px; }
  .tn-card.tn-v-big { padding:10px; }
  .tn-card.tn-v-big .tn-title h4 { font-size:14px; }
  .tn-card.tn-v-big .tn-price { font-size:21px; }
}

/* ===== вид «Прайс»: плотные строки ===== */
.tn-grid.tn-grid.tn-g-line { grid-template-columns:minmax(0, 1fr); gap:0; border-top:1px solid var(--tn-line); }
.tn-grid.tn-g-line > .tovar-row.tn-card.tn-v-line.tn-v-line {
  grid-row:auto;
  grid-template-rows:auto auto;
  grid-template-columns:56px minmax(0, 1fr) 130px 150px 150px;
  grid-template-areas:"img title price qty buy" "img meta price qty buy";
  column-gap:14px;
  row-gap:4px;
  align-items:center;
  padding:8px 10px;
  border-radius:0;
  box-shadow:none;
  border-bottom:1px solid var(--tn-line);
  transform:none;
}
.tn-card.tn-v-line .tn-img { grid-area:img; width:56px; overflow:visible; }
.tn-card.tn-v-line .tn-img img { border-radius:6px; transform:none !important; }
.tn-card.tn-v-line .tn-in { top:-6px; right:-8px; height:18px; padding:0 6px; font-size:11px; }
.tn-card.tn-v-line .tn-title { grid-area:title; align-self:end; }
.tn-card.tn-v-line .tn-meta { grid-area:meta; align-self:start; }
.tn-card.tn-v-line .tn-price { grid-area:price; align-self:center; justify-content:flex-end; font-size:17px; text-align:right; }
.tn-card.tn-v-line .tn-qty { grid-area:qty; gap:3px; }
.tn-card.tn-v-line .tn-mult { font-size:11px; }
.tn-card.tn-v-line .tn-buy { grid-area:buy; }
.tn-card.tn-v-line .tn-buy button { height:34px; font-size:13px; }
@media (hover:hover) and (min-width:992px) {
  .tn-grid.tn-g-line > .tovar-row.tn-card.tn-v-line.tn-v-line:hover { z-index:auto; transform:none; box-shadow:none; background:#FAFAF8; }
}
@media (max-width:991px) {
  .tn-grid.tn-g-line > .tovar-row.tn-card.tn-v-line.tn-v-line {
    grid-template-columns:48px minmax(0, 1fr) 122px;
    grid-template-rows:auto auto auto;
    grid-template-areas:"img title title" "img meta price" "qty qty buy";
    column-gap:10px;
    row-gap:6px;
    padding:10px 0;
  }
  .tn-card.tn-v-line .tn-img { width:48px; align-self:start; }
  .tn-card.tn-v-line .tn-title { align-self:start; }
  .tn-card.tn-v-line .tn-meta { align-self:center; }
  .tn-card.tn-v-line .tn-price { font-size:16px; }
  .tn-card.tn-v-line .tn-qty { flex-direction:row; align-items:center; gap:8px; }
  .tn-card.tn-v-line .tn-mult { flex:none; width:74px; line-height:1.15; }
  .tn-card.tn-v-line .tn-num { flex:1 1 0; min-width:0; width:auto; height:40px; }
  .tn-card.tn-v-line .tn-buy { align-self:stretch; }
  .tn-card.tn-v-line .tn-buy button { height:40px; }
}
