@charset "UTF-8";

/* ============================================================
   KSM Amazon-style Design System — начало эталона (2026-09-10)
   Скопировано из docker/opencart-data/catalog/view/stylesheet/ksm-brand.css
   Правило проекта: единый source of truth — Amazon-style эталон.
   При любой правке ниже — синхронизировать с ksm-brand.css OpenCart.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/gh/lipis/flag-icons@6.11.0/css/flag-icons.min.css');

:root {
  /* Amazon palette (эталон) */
  --ksm-color-primary: #131A22;
  --ksm-color-nav: #232F3E;
  --ksm-color-nav-hover: #37475A;
  --ksm-color-accent: #facc15;
  --ksm-color-accent-hover: #eab308;
  --ksm-color-text: #111827;
  --ksm-color-muted: #6b7280;
  --ksm-color-link: #007185;
  --ksm-color-link-hover: #C7511F;
  --ksm-color-brand: #0055aa;
  --ksm-color-brand-dark: #003d7a;
  --ksm-color-bg-light: #F1F5F9;
  --ksm-color-bg-card: #f7f9fc;
  --ksm-color-border: #d1d5db;
  --ksm-color-table-head: #1e3a5f;
  --ksm-color-table-row-even: #f8fafc;
  --ksm-color-table-row-hover: #eff6ff;
  --ksm-radius: .5rem;
  --ksm-radius-sm: .375rem;
  --ksm-font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Cassiopeia legacy (не удаляем — используется в остальной части user.css) */
  --cassiopeia-color-primary: #131A22;
  --cassiopeia-color-hover: #f3f4f6;
  --cassiopeia-color-link: #007185;
  --link-color: #007185;
  --link-hover-color: #C7511F;
  --text-main: #E5E7EB;
}

/* ---------- Main header — Amazon single-row (эталон) ---------- */
.ksm-amz-header {
  background: var(--ksm-color-primary);
  padding: .3rem 0;
}
.ksm-amz-header-inner {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.ksm-amz-ship-to {
  display: inline-flex;
  align-items: flex-end;
  gap: .35rem;
  color: #fff !important;
  text-decoration: none !important;
  padding: .2rem .5rem;
  border: 1px solid transparent;
  border-radius: 3px;
  line-height: 1.15;
  flex: 0 0 auto;
}
.ksm-amz-ship-to:hover { border-color: #fff; }
.ksm-amz-ship-to i { color: var(--ksm-color-accent); font-size: 1rem; margin-right: .1rem; }
.ksm-amz-ship-to .ksm-amz-sm { color: #ddd; font-size: .68rem; line-height: 1.1; }
.ksm-amz-ship-to .ksm-amz-lg { color: #fff; font-weight: 700; font-size: .82rem; line-height: 1.15; }

.ksm-amz-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: .15rem .35rem;
  border: 1px solid transparent;
  border-radius: 3px;
}
.ksm-amz-brand:hover { border-color: #fff; }
.ksm-amz-brand img {
  max-height: 36px;
  width: auto;
  background: #fff;
  padding: .15rem .3rem;
  border-radius: 3px;
}

/* Search — Amazon-style dominant */
.ksm-amz-search {
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  height: 34px;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 0 var(--ksm-color-accent);
  transition: box-shadow .15s ease;
}
.ksm-amz-search:focus-within {
  box-shadow: 0 0 0 3px var(--ksm-color-accent);
}
.ksm-amz-search-cat {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: #E6E6E6;
  color: #111;
  font-size: .8rem;
  font-weight: 500;
  padding: 0 .75rem;
  border-right: 1px solid #ccc;
  white-space: nowrap;
  cursor: pointer;
}
.ksm-amz-search-cat:hover { background: #d6d6d6; }
.ksm-amz-search-input {
  flex: 1 1 auto;
  border: 0;
  padding: 0 .75rem;
  font-size: .95rem;
  color: #111;
  min-width: 0;
}
.ksm-amz-search-input:focus { outline: none; }
.ksm-amz-search-btn {
  background: var(--ksm-color-accent);
  border: 0;
  padding: 0 1.1rem;
  color: #111;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background .15s ease;
}
.ksm-amz-search-btn:hover { background: var(--ksm-color-accent-hover); }

/* Header actions right — Amazon-style */
.ksm-amz-actions {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex: 0 0 auto;
}
.ksm-amz-action {
  display: inline-flex;
  flex-direction: column;
  color: #fff !important;
  text-decoration: none !important;
  padding: .2rem .5rem;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  line-height: 1.15;
  white-space: nowrap;
}
.ksm-amz-action:hover { border-color: #fff; }
.ksm-amz-action-sm { font-size: .68rem; color: #ddd; line-height: 1.1; }
.ksm-amz-action-lg { font-size: .82rem; font-weight: 700; line-height: 1.15; }
.ksm-amz-phone {
  color: #fff !important;
  text-decoration: none !important;
  font-size: .95rem;
  font-weight: 700;
  padding: 0 .5rem;
  white-space: nowrap;
}
.ksm-amz-phone:hover { color: var(--ksm-color-accent) !important; }
.ksm-amz-cart {
  flex-direction: row;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  font-weight: 700;
}
.ksm-amz-cart i { font-size: 1.1rem; }
.ksm-amz-cart-label { font-size: .88rem; }

/* Language switcher in header actions — Amazon compact */
.ksm-amz-lang {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin: 0 0 0 .35rem;
  padding: 0 0 0 .35rem;
  list-style: none;
  border-left: 1px solid rgba(255,255,255,.15);
}
.ksm-amz-lang li { margin: 0; padding: 0; }
.ksm-amz-lang a,
.ksm-amz-lang > li.active > span {
  color: #ddd !important;
  text-decoration: none;
  font-weight: 500;
  font-size: .75rem;
  padding: .15rem .35rem;
  border-radius: .25rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: background .15s ease;
}
.ksm-amz-lang a:hover {
  background: rgba(255,255,255,.1);
  color: #fff !important;
  text-decoration: none;
}
.ksm-amz-lang > li.active > span {
  background: rgba(255,255,255,.18);
  color: #fff !important;
  cursor: default;
}
.ksm-amz-lang .fi { width: 1rem; height: .7rem; border-radius: 2px; }

/* ---------- Secondary navbar (Amazon dark grey) ---------- */
.ksm-amz-navbar {
  background: var(--ksm-color-nav);
  padding: 0;
}
.ksm-amz-navbar-inner {
  display: flex;
  align-items: center;
  gap: .1rem;
  flex-wrap: wrap;
}
.ksm-amz-nav-item {
  color: #fff !important;
  text-decoration: none !important;
  padding: .4rem .75rem;
  font-size: .82rem;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: 3px;
  transition: background .15s ease;
  white-space: nowrap;
}
.ksm-amz-nav-item:hover {
  background: var(--ksm-color-nav-hover);
  border-color: #fff;
}
.ksm-amz-nav-all { font-weight: 700; }
.ksm-amz-nav-all i { margin-right: .3rem; }
.ksm-amz-nav-right { margin-left: auto; }

/* ---------- Responsive collapse ---------- */
/* Messenger icons in header (2026-09-18) */
.ksm-amz-messengers {
  display: inline-flex;
  align-items: center;
  gap: .15rem;
}
.ksm-amz-msg {
  display: inline-flex;
  align-items: center;
  padding: .3rem .45rem;
  text-decoration: none !important;
  border-radius: 3px;
  line-height: 1;
}
.ksm-amz-msg i { font-size: 1.35rem; }
.ksm-amz-msg-label { display: none; }
.ksm-amz-wa i    { color: #25D366; }
.ksm-amz-wa:hover i    { color: #128C7E; }
.ksm-amz-viber i { color: #7360F2; }
.ksm-amz-viber:hover i { color: #5b4bd4; }
.ksm-amz-tg i    { color: #229ED9; }
.ksm-amz-tg:hover i    { color: #1a7fb0; }

@media (max-width: 767px) {
  /* 5-row mobile header layout (ported from EN screenshot 2026-09-18):
     1) brand + ship-to
     2) search (full width)
     3) phone + messengers
     4) account + cart
     5) lang switcher (centered) */
  .ksm-amz-header-inner {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas:
      "brand ship"
      "search search"
      "actions actions";
    row-gap: .5rem;
    column-gap: .5rem;
    align-items: center;
  }
  .ksm-amz-brand    { grid-area: brand; justify-self: start; margin: 0; }
  .ksm-amz-brand img { max-height: 36px; }
  .ksm-amz-ship-to  { grid-area: ship; justify-self: end; margin: 0; }
  .ksm-amz-ship-to .ksm-amz-lg { font-size: .85rem; }
  .ksm-amz-search   { grid-area: search; margin: 0; }

  .ksm-amz-actions  {
    grid-area: actions;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas:
      "phone messengers"
      "account cart"
      "lang lang";
    row-gap: .4rem;
    column-gap: .5rem;
    justify-content: center;
    align-items: center;
  }
  .ksm-amz-phone      { grid-area: phone;      justify-self: end;   font-weight: 600; }
  .ksm-amz-messengers { grid-area: messengers; justify-self: start; }
  .ksm-amz-account    { grid-area: account;    justify-self: end; }
  .ksm-amz-cart       { grid-area: cart;       justify-self: start; }
  .ksm-amz-lang       { grid-area: lang;       justify-self: center; margin: 0; }

  .ksm-amz-action-sm { display: none; }
  .ksm-amz-navbar-inner { overflow-x: auto; }
}

/* ---------- Override existing Cassiopeia header (пока index.php old) ---------- */
/* Cassiopeia default header становится Amazon-style через CSS-only переопределение */
header.header,
.container-header,
.container-header .grid-child {
  background-color: var(--ksm-color-primary) !important;
  background-image: none !important;
  color: #fff;
}

/* Amazon-style обновление CTA-блока (заменяет синий #0055aa на оранжевый) */
.cta-block-info {
  border-left-color: var(--ksm-color-accent-hover) !important;
}
.cta-block-info a {
  background: var(--ksm-color-accent) !important;
  color: #111 !important;
  border: 1px solid var(--ksm-color-accent-hover);
}
.cta-block-info a:hover,
.cta-block-info a:focus {
  background: var(--ksm-color-accent-hover) !important;
  color: #111 !important;
}

/* Amazon-style FAQ arrow */
.faq-item summary::after {
  color: var(--ksm-color-accent-hover);
}

/* Body typography — Inter font (эталон) */
html, body {
  font-family: var(--ksm-font-family);
}

/* ============================================================
   Ниже — legacy Cassiopeia user.css (сохранён без изменений)
   ============================================================ */

:root {
  --cassiopeia-color-primary: #111827;
  --cassiopeia-color-hover: #f3f4f6;
  --cassiopeia-color-link: #2563eb;
  --link-color: #2563eb;
  --link-hover-color: #1e40af;
  --text-main: #E5E7EB;
}

body { background: var(--bg-light); }

header.header,
.container-header,
.container-header .grid-child {
  background-color: #111827;
  background-image: linear-gradient(180deg, #171d27 0%, #111827 100%);
  color: #f3f4f6;

  border-bottom: 1px solid #1c1e1e;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.06);
}


footer.footer,
footer.footer .grid-child,
.container-bottom-b,
.container-bottom-b .grid-child {
  background: #F1F5F9 !important;
  background-image: none !important;
  color: #111827 !important;
}

.container-bottom-b {
  padding: 24px 0 0;
  margin-top: 0 !important;
  box-shadow: 0 0 0 100vmax #F1F5F9;
  clip-path: inset(0 -100vmax);
  position: relative;
  z-index: 1;
}

.container-bottom-b .card,
.container-bottom-b .card-body,
.container-bottom-b .card-header,
.container-bottom-b .moduletable,
.container-bottom-b .mod-custom,
.container-bottom-b .mod-menu,
.container-bottom-b > div {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

footer.footer {
  padding-top: 12px;
  margin-top: 0 !important;
}

.container-bottom-b a:not(.btn),
.container-bottom-b a:not(.btn):visited {
  color: #111827 !important;
}

.footer
a:not(.btn):hover,
.container-bottom-b a:not(.btn):hover{
  color: #0055aa !important;
}


html, body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  /* color: var(--text-main); */
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 16;
}

/* ---------- HEADINGS ---------- */

/* База + optical size для заголовков */
h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 14;
  margin: .6em 0 .4em;
}

/* Адаптивные размеры по умолчанию */
h1 { font-size: clamp(1.35rem, 1.6vw, 1.95rem); }
h2 { font-size: clamp(1.35rem, 1.7vw, 1.9rem); }
h3 { font-size: clamp(1.25rem, 1.4vw, 1.6rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.95rem; }

/* Переопределение десктоп-диапазона Cassiopeia (>=1200px) */
@media (min-width: 1200px) {
  h1, .h1,
  h2, .h2,
  h3, .h3,
  h4, .h4,
  h5, .h5,
  h6, .h6 {
    font-size: revert-layer;
  }

  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.15rem; }
  h4 { font-size: 1.2rem; }
  h5 { font-size: 1.05rem; }
  h6 { font-size: 0.95rem; }
}




/* ---------- TEXT & LISTS ---------- */

p, li { line-height: 1.65; }

ul, ol {
  padding-left: 1.4em;
  margin-bottom: 1em;
}

/* ---------- LINKS ---------- */

a { color: var(--link-color); }
a:hover { color: var(--link-hover-color); }

/* ---------- HEADER LAYOUT ---------- */

.container-header .grid-child { padding: .25em; }

.container-header .container-nav {
  flex-wrap: wrap;
  justify-content: space-between;
}

/* ---------- PRODUCT LIST GRID (VirtueMart) ---------- */

.vmproductproducts-horizontal {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.vmproductproducts-horizontal .product-container {
  width: 33.333%;
  box-sizing: border-box;
  padding: 0 10px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.vmproductproducts-horizontal .product-container .spacer {
  width: 100%;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 10px;
  height: 100%;
  background: #fff;
}

/* Адаптив сетки */
@media (max-width: 768px) {
  .vmproductproducts-horizontal .product-container { width: 50%; }
}
@media (max-width: 480px) {
  .vmproductproducts-horizontal .product-container { width: 100%; }
}

/* ---------- PRODUCT TYPOGRAPHY ---------- */

.category-view .vm-subcategory-title {
  font-size: 1rem;
  color: #2e2e2e;
  font-weight: 600;
}

/* Цена в списке */
.category-view .product-price .vm-price-value {
  font-size: 1.25rem !important;
  font-weight: 700;
  color: #221f1f;
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
}

/* Цена на странице товара */
.vm-product-details-container .vm-price-value .PricesalesPrice {
  font-size: 2.25rem !important;
  font-weight: 800;
  color: #221f1f;
}

/* Описание товара */
.product-description,
.vm-product-details-container .product-description {
  font-size: 1rem;
  line-height: 1.65;
  color: #2e2e2e;
}

/* ---------- RESPONSIVE VIDEO ---------- */

.responsive-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: visible;
  max-width: 100%;
}
.responsive-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- ERROR PAGE ---------- */

.error-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 20px;
  color: #616f80;
  font-family: "Inter", system-ui, sans-serif;
}

.error-content {
  max-width: 600px;
  text-align: center;
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.error-code {
  font-size: 6rem;
  font-weight: 900;
  margin: 0;
  line-height: 1;
  opacity: .25;
  background: linear-gradient(135deg, var(--primary-color), #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.error-title {
  font-size: 1.75rem;
  margin: .5rem 0 1rem;
  font-weight: 800;
}

.error-text {
  /* color: var(--text-muted); */
  color: #616f80
  line-height: 1.6;
  margin-bottom: 2rem;
}

.error-search form {
  display: flex;
  gap: 10px;
  background: var(--bg-light);
  padding: 8px;
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
}

.search-input {
  flex-grow: 1;
  border: none;
  background: transparent;
  padding: 10px 15px;
  outline: none;
}

.search-button {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: calc(var(--radius) - 4px);
  cursor: pointer;
}

@media (max-width: 480px) {
  .error-code { font-size: 4rem; }
  .error-title { font-size: 1.4rem; }
  .error-search form { flex-direction: column; }
  .error-content { padding: 1.5rem; }
}

/* Основной текст (описание, характеристики и т.п.) */
.vm-product-details-container {
  color: #1f2937; /* основной цвет текста */
}

.vm-product-details-container h1,
.vm-product-details-container .product-title {
  color: #111827; /* цвет заголовка */
}

.vm-product-details-container .product-description,
.vm-product-details-container .product-short-description {
  color: #334155;  /*Описание товара */
}

.vm-product-details-container .vm-price-value {
  color: #0f172a; /* цвет текста цены */
}
 
/* Minimal Flat Green */
.vm-product-details-container .addtocart-button,
.vm-product-details-container .addtocart-button input.addtocart-button {
  background-color: #22c55e;
  border: 1px solid #16a34a;
  color: #ffffff;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background .25s ease, border-color .25s ease, transform .1s;
}

/* Hover - мягкий, без агрессии */
.vm-product-details-container .addtocart-button:hover,
.vm-product-details-container .addtocart-button input.addtocart-button:hover {
  background-color: #16a34a;
  border-color: #15803d;
}

/* Лёгкий press-эффект */
.vm-product-details-container .addtocart-button:active {
  transform: scale(.97);
}

/* Контейнер иконок-кнопок */
.header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 6px 8px;          /* внутреннее поле кнопки */
  border-radius: 10px;       /* мягкие скругления - тренд 2025 */
  transition: background .2s ease, transform .1s ease;
}

/* Картинка внутри */
.header-icon img {
  display: block;
  height: 28px;              /* подгони под свои размеры */
}

/* Hover - мягкая серая подсветка */
.header-icon:hover {
  background: #2a2f36;       /* светло-графитовый на тёмной шапке */
}

/* Лёгкий “press-эффект” по клику */
.header-icon:active {
  transform: scale(.97);
}

.header-icon {
  margin-left: 8px;
}

/* Основная панель - выравниваем весь контент по центру */
.container-header,
.container-header .grid-child {
  display: flex;
  align-items: center;   /* <-- центр по вертикали */
}

/* <p> вокруг иконок - обнуляем, чтобы не тянули вверх */
.mod-custom p {
  margin: 0;
  padding: 0;
}
/*Делаем аккуратную сетку иконок-кнопок */
.header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 48px;         /* единая клика-зона */
  padding: 6px 8px;
  margin-right: 6px;

  border-radius: 10px;
  transition: background .2s ease;
}

.header-icon img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

 /* Поиск и селектор языка тоже выравниваем */
.container-header table,
.container-search {
  display: flex;
  align-items: center;
}

/* Кнопка после нажатия далее в корзине */
.btn-primary {
    background-color: #22c55e;
    border-color: #16a34a;
  --btn-color: #fff;
  --btn-bg: #15803d;
  --btn-border-color: #15803d;
  --btn-hover-color: #111;
  --btn-hover-bg: #15803d;
  --btn-hover-border-color: #15803d;
  --btn-focus-shadow-rgb: 39,39,111;
  --btn-active-color: #fff;
  --btn-active-bg: #15803d;
  --btn-active-border-color: #15803d;
  --btn-active-shadow: inset 0 3px 5px #00000020;
  --btn-disabled-color: #fff;
  --btn-disabled-bg: #15803d;
  --btn-disabled-border-color: #15803d;
}
.faq-section { margin-top: 1.5rem; }
.ksm-faq-block { margin-top: 2rem; margin-bottom: 2rem; }
.ksm-faq-block details { display: block; }
.ksm-faq-block details > div { padding-top: .5rem; }

.faq-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: .75rem;
}

.faq-item {
  border: 1px solid #ddd;
  border-radius: .5rem;
  padding: .75rem 1rem;
  margin-bottom: .5rem;
  background: #fff;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "➤";
  float: right;
  transition: transform .2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(90deg);
}

.faq-item div {
  margin-top: .5rem;
  color: #444;
  line-height: 1.5;
}

/* CTA-блок в конце статті - перехід на каталог */
.cta-block-info {
  background: #f7f9fc;
  border: 1px solid #d1d5db;
  border-left: 4px solid #0055aa;
  border-radius: .5rem;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.cta-block-info p {
  margin: 0 0 1rem;
  color: #333;
  line-height: 1.55;
}
.cta-block-info a {
  display: inline-block;
  background: #0055aa;
  color: #fff;
  padding: .75rem 1.5rem;
  border-radius: .375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease;
}
.cta-block-info a:hover,
.cta-block-info a:focus {
  background: #003d7a;
  color: #fff;
  text-decoration: none;
}

/* Блок FAQ - адаптивное позиционирование */
.faq-section {
  max-width: 820px;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Десктоп - уже и прижат вправо */
@media (min-width: 992px) {
  .faq-section {
    margin-left: 0;
    margin-right: auto;
  }
}

/* Мобильные и планшеты - на всю ширину и по центру */
@media (max-width: 991px) {
  .faq-section {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Блок "Чому є сенс замовити у нас" */
.why-us-block {
  background: #f6f7f8;          /* мягкий серый, в тон футеру */
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Десктоп - блок выравниваем вправо и с ограниченной шириной */
@media (min-width: 992px) {
  .why-us-block {
    max-width: 820px;
    margin-left: 0;
    margin-right: auto;
  }
}

/* Мобильные - на всю ширину */
@media (max-width: 991px) {
  .why-us-block {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Немного аккуратной типографики */
.why-us-block h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.why-us-block ul {
  margin: 0;
  padding-left: 1.1rem;
}

.why-us-block li {
  margin-bottom: .4rem;
}

/* Тонкий разделитель между контентными блоками */
.section-separator {
  border-top: 1px solid #e5e6e8;
  margin: 1.75rem 0;
}


/* ============================= */
/* SHORT BULLETS - e-commerce 2026 */
/* ============================= */

.vm-product-details-container .short-bullets {
  margin: 18px 0 22px 0;
}

.vm-product-details-container .short-bullets ul {
  list-style: none;
  margin: 0;
  padding: 14px 16px;

  background: #f6f7f8;
  border: none;
  border-left: 3px solid #22c55e;
  border-radius: 12px;

  display: grid;
  gap: 10px;

  font-size: 0.95em;
  line-height: 1.45;

  color: #1a1a1a;
}

.vm-product-details-container .short-bullets ul:hover {
  background: #eef0f2;
}

.vm-product-details-container .short-bullets ul li {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
  color: #111827;
  min-height: 20px;
}

.vm-product-details-container .short-bullets ul li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 2px;

  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;

  background-color: #22c55e;
  color: #fff;
  border-radius: 50%;

  font-size: 0.78em;
  font-weight: 700;
}


@media (max-width: 768px) {
  .vm-product-details-container .short-bullets ul {
    padding: 12px 14px;
    font-size: 0.88em;
    gap: 8px;
  }
}


/* ===== KSM Kutochok Spozhyvacha - CTA and Products Block ===== */
/* Added: 2026-05-28 | seo-tech-joomla */

.ksm-sticky-cta {
  background: #1a6faf;
  color: #fff;
  padding: 16px 20px;
  border-radius: 6px;
  text-align: center;
  margin: 24px 0;
}

.ksm-sticky-cta p {
  margin: 0 0 10px 0;
  font-size: 1.05rem;
}

.ksm-sticky-cta-btn {
  display: inline-block;
  background: #f59e0b;
  color: #111;
  font-weight: bold;
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s;
}

.ksm-sticky-cta-btn:hover {
  background: #d97706;
  color: #111;
}

.ksm-products-block {
  margin: 28px 0;
}

.ksm-products-block-heading {
  font-size: 1.2rem;
  margin-bottom: 16px;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 8px;
}

.ksm-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.ksm-product-card {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 12px;
  text-align: center;
  background: #fff;
}

.ksm-product-card img {
  width: 100%;
  max-width: 150px;
  height: auto;
  display: block;
  margin: 0 auto 8px auto;
}

.ksm-product-name {
  font-size: 0.88rem;
  margin: 6px 0;
  min-height: 80px;
}

.ksm-product-name a {
  color: #1a6faf;
  text-decoration: none;
}

.ksm-product-price {
  font-weight: bold;
  color: #111;
  margin: 6px 0;
}

.ksm-product-order-btn {
  display: inline-block;
  background: #1a6faf;
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: 6px;
}

.ksm-product-order-btn:hover {
  background: #155a8a;
  color: #fff;
}

.ksm-products-all {
  text-align: center;
  margin-top: 12px;
}

.ksm-products-all a {
  color: #1a6faf;
  font-weight: bold;
}

@media (max-width: 768px) {
  .ksm-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ksm-products-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== END KSM Kutochok ===== */

/* ===== KSM Info Table - styled content tables ===== */
/* Added: 2026-05-29 | Updated: 2026-05-29 (card-layout mobile) | seo-tech-joomla */

.ksm-info-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.25rem 0;
}

.ksm-info-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 420px;
  font-size: 0.95rem;
  line-height: 1.5;
  background: #fff;
}

.ksm-info-table th,
.ksm-info-table td {
  border: 1px solid #d1d5db;
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}

.ksm-info-table thead th {
  background: #1e3a5f;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.ksm-info-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.ksm-info-table tbody tr:hover {
  background: #eff6ff;
}

@media (max-width: 600px) {
  .ksm-info-table-wrap {
    overflow-x: visible;
  }

  .ksm-info-table {
    min-width: 0;
    width: 100%;
    font-size: 0.9rem;
  }

  .ksm-info-table thead {
    display: none;
  }

  .ksm-info-table tbody tr {
    display: block;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.07);
  }

  .ksm-info-table tbody tr:nth-child(even) {
    background: #fff;
  }

  .ksm-info-table tbody td {
    display: block;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    padding: 8px 12px 8px 12px;
    text-align: left;
  }

  .ksm-info-table tbody td:last-child {
    border-bottom: none;
  }

  .ksm-info-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
    margin-bottom: 2px;
  }
}
/* ===== END KSM Info Table ===== */

/* ============================= */
/* KSM-CLIENTS-BLOCK */
/* ============================= */
.ksm-clients-block {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 24px;
  padding: 20px 0 12px 0;
}
.ksm-clients-block img {
  max-width: 160px;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.2s;
}
.ksm-clients-block img:hover {
  filter: grayscale(0%);
}
@media (max-width: 600px) {
  .ksm-clients-block {
    gap: 12px 16px;
  }
  .ksm-clients-block img {
    max-width: 110px;
  }
}
/* ============================= */

/* ============================= */
/* KSM-META-LINE (E-E-A-T under H1) */
/* ============================= */
.ksm-meta-line {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 12px;
}
.ksm-meta-line a {
  color: #666;
  text-decoration: underline;
}
/* ============================= */

/* ============================= */
/* SHORT-BULLETS v1.3 канон 2026-06-07 */
/* AIO-lead override відкочений. .short-bullets знову UX-буллети з оригінальним зеленим ::before маркером (правила в рядках 560-618). AIO-lead перенесений в product_desc як перший <p> після FAQPage JSON-LD. */
/* ============================= */

/* ============================= */
/* KSM-CASES - блок "Наші роботи" */
/* Added: 2026-06-08 | seo-tech-joomla */
/* ============================= */
.ksm-cases {
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 0;
}

.ksm-case {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 36px;
  padding-bottom: 28px;
}

.ksm-case:last-child {
  border-bottom: none;
}

.ksm-case h3 {
  margin-bottom: 14px;
  font-weight: 700;
}

.ksm-case p {
  margin-bottom: 18px;
}

.ksm-case-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.ksm-case-photos img {
  max-width: calc(50% - 7px);
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
}

@media (max-width: 600px) {
  .ksm-case-photos img {
    max-width: 100%;
  }
}
/* ============================= */
/* END KSM-CASES */
/* ============================= */

/* ============================= */
/* KSM-FORM-BLOCK + MESSENGER    */
/* Added: 2026-06-10 | seo-tech-joomla */
/* ============================= */
.ksm-form-block {
  padding: 24px;
  background: #f8f9fa;
  border-radius: 6px;
  margin-bottom: 32px;
}

.ksm-form-block label {
  display: block;
  font-weight: 500;
  margin-bottom: 4px;
}

.ksm-form-block input[type="text"],
.ksm-form-block input[type="email"],
.ksm-form-block textarea,
.ksm-form-block select {
  width: 100%;
  padding: 12px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color .15s ease;
}

.ksm-form-block input[type="text"]:focus,
.ksm-form-block input[type="email"]:focus,
.ksm-form-block textarea:focus,
.ksm-form-block select:focus {
  border-color: #0055aa;
  outline: none;
}

.ksm-form-block button[type="submit"] {
  background: #0055aa;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease;
}

.ksm-form-block button[type="submit"]:hover,
.ksm-form-block button[type="submit"]:focus {
  background: #003d7a;
}

.ksm-messenger-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.ksm-msg-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: filter .15s ease;
}

.ksm-msg-btn:hover {
  filter: brightness(0.9);
  text-decoration: none;
}

.ksm-msg-phone {
  background: #0055aa;
  color: #fff;
}

.ksm-msg-phone:hover,
.ksm-msg-phone:focus {
  color: #fff;
}

.ksm-msg-viber {
  background: #7360f2;
  color: #fff;
}

.ksm-msg-viber:hover,
.ksm-msg-viber:focus {
  color: #fff;
}

.ksm-msg-telegram {
  background: #2aabee;
  color: #fff;
}

.ksm-msg-telegram:hover,
.ksm-msg-telegram:focus {
  color: #fff;
}

.ksm-msg-email {
  background: #555;
  color: #fff;
}

.ksm-msg-email:hover,
.ksm-msg-email:focus {
  color: #fff;
}

@media (max-width: 600px) {
  .ksm-messenger-buttons {
    flex-direction: column;
  }
  .ksm-msg-btn {
    width: 100%;
    justify-content: center;
  }
}
/* ============================= */
/* END KSM-FORM-BLOCK + MESSENGER */
/* ============================= */

.ksm-trust-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
  max-width: 1100px;
}
.ksm-trust-item {
  background: #f6f7f8;
  border-radius: 12px;
  padding: 14px 16px;
  border-left: 3px solid #22c55e;
}
.ksm-trust-item strong {
  display: block;
  font-size: 0.95em;
  margin-bottom: 6px;
  color: #1a1a1a;
}
.ksm-trust-item p {
  margin: 0 0 8px 0;
  font-size: 0.88em;
  line-height: 1.45;
  color: #444;
}
.ksm-trust-item a {
  font-size: 0.85em;
  color: #0055aa;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(0, 85, 170, 0.35);
  text-underline-offset: 3px;
}
.ksm-trust-item a::after {
  content: " \2192";
}
.ksm-trust-item a:hover {
  color: #003d7a;
  text-decoration-color: #003d7a;
}

@media (max-width: 768px) {
  .ksm-trust-block {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ============================= */
/* Modernization landing form    */
/* Added: 2026-06-21 | seo-tech-joomla */
/* ============================= */
.ksm-modernization-form {
  max-width: 640px;
}

.ksm-form-lead {
  font-size: 0.92em;
  color: #555;
  margin: 0 0 16px 0;
}

.ksm-modernization-fields .ksm-mf-field {
  margin-bottom: 18px;
}

.ksm-mf-label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 0.95em;
}

.ksm-mf-required {
  color: #c00;
  margin-left: 3px;
}

.ksm-mf-input,
.ksm-mf-textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color .15s ease;
  font-family: inherit;
}

.ksm-mf-textarea {
  min-height: 100px;
  resize: vertical;
}

.ksm-mf-input:focus,
.ksm-mf-textarea:focus {
  border-color: #0055aa;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,85,170,0.12);
}

.ksm-mf-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.ksm-mf-radio-label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.95em;
  font-weight: 400;
}

.ksm-mf-radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #0055aa;
}

.ksm-mf-submit {
  margin-top: 8px;
}

.ksm-mf-btn-submit {
  background: #0055aa;
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease;
  min-height: 44px;
}

.ksm-mf-btn-submit:hover,
.ksm-mf-btn-submit:focus {
  background: #003d7a;
}

.ksm-mf-success-msg {
  padding: 16px 20px;
  background: #eaf7ee;
  border: 1px solid #22c55e;
  border-radius: 6px;
  color: #166534;
  font-weight: 500;
  margin-top: 12px;
}

@media (max-width: 600px) {
  .ksm-mf-radio-group {
    flex-direction: column;
    gap: 8px;
  }
}
/* ============================= */
/* END Modernization landing form */
/* ============================= */

/* ============================= */
/* Modernization landing hero image */
/* ============================= */
.ksm-hero {
  margin: 16px auto 28px;
  padding: 0;
  max-width: 720px;
}
.ksm-hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}
@media (max-width: 600px) {
  .ksm-hero {
    margin: 12px auto 20px;
    max-width: 100%;
  }
  .ksm-hero img {
    border-radius: 8px;
  }
}
/* ============================= */
/* END Modernization landing hero image */
/* ============================= */

/* ============================= */
/* FOOTER SOCIAL ICONS           */
/* Added: 2026-08-23 | seo-tech-joomla */
/* ============================= */
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin: 12px 0;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  color: #333;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-social a:hover {
  color: #0055aa !important;
}

.footer-social i,
.footer-social span {
  font-size: 44px;
}

@media (max-width: 600px) {
  .footer-social {
    gap: 12px;
  }
  .footer-social a {
    width: 72px;
    height: 72px;
  }
  .footer-social i,
  .footer-social span {
    font-size: 40px;
  }
}
/* ============================= */
/* END FOOTER SOCIAL ICONS       */
/* ============================= */

/* ============================================================
   Off-canvas menu (2026-09-16): "All categories" button + panel
   Ported 1:1 from EN OpenCart (ksm-brand.css lines 913-1016).
   ============================================================ */
.ksm-offcanvas-open {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: .4rem .75rem;
  border-radius: 3px;
  font-size: .9rem;
  cursor: pointer;
  margin: .35rem .6rem .35rem 0;
  font-weight: 500;
}
.ksm-offcanvas-open:hover { background: rgba(255,255,255,.15); }
.ksm-offcanvas-open i { font-size: 1rem; }

.ksm-offcanvas-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 1049;
}
body.ksm-offcanvas-active .ksm-offcanvas-overlay { opacity: 1; pointer-events: auto; }

.ksm-offcanvas {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 380px;
  max-width: 88vw;
  background: #fff;
  color: #111827;
  box-shadow: 2px 0 20px rgba(0,0,0,.15);
  transform: translateX(-100%);
  transition: transform .25s ease;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  outline: none;
}
body.ksm-offcanvas-active .ksm-offcanvas { transform: translateX(0); }
body.ksm-offcanvas-active { overflow: hidden; }

.ksm-offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--ksm-color-header, #131a22);
  color: #fff;
  flex: 0 0 auto;
}
.ksm-offcanvas-title { font-size: 1.05rem; font-weight: 600; }
.ksm-offcanvas-close {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0 6px;
  line-height: 1;
}
.ksm-offcanvas-close:hover { color: #ffd814; }

.ksm-offcanvas-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 8px 0 24px;
}
.ksm-offcanvas-group { padding: 12px 0 6px; border-bottom: 1px solid #e5e7eb; }
.ksm-offcanvas-group:last-child { border-bottom: 0; }
.ksm-offcanvas-group-title {
  margin: 0;
  padding: 6px 20px 10px;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #6b7280;
}
.ksm-offcanvas-list { list-style: none; padding: 0; margin: 0; }
.ksm-offcanvas-list li { margin: 0; }
.ksm-offcanvas-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  color: #111827;
  text-decoration: none;
  font-size: .95rem;
  border-left: 3px solid transparent;
}
.ksm-offcanvas-item:hover {
  background: #f3f4f6;
  color: #0055aa;
  border-left-color: #0055aa;
}
.ksm-offcanvas-item i { color: #6b7280; width: 18px; text-align: center; }

/* Mobile: hide inline navbar items, off-canvas takes over */
@media (max-width: 767px) {
  .ksm-amz-navbar-inner { display: none; }
}

/* ============================================================
   Account dropdown in header (2026-09-17, ported from EN)
   ============================================================ */
.ksm-amz-account {
  position: relative;
  display: inline-block;
}
.ksm-amz-account-toggle {
  background: transparent;
  border: 1px solid transparent;
  color: inherit;
  padding: .25rem .5rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  border-radius: 3px;
  font: inherit;
}
.ksm-amz-account-toggle:hover { border-color: currentColor; }
.ksm-amz-account-sm {
  font-size: .68rem;
  opacity: .8;
  line-height: 1.1;
}
.ksm-amz-account-lg {
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}
.ksm-amz-account-lg i { margin-left: .15rem; font-size: .7rem; }

.ksm-amz-account-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 200px;
  background: #fff;
  color: #111827;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  padding: .35rem 0;
  margin: 0;
  list-style: none;
  z-index: 1040;
  display: none;
}
.ksm-amz-account.open .ksm-amz-account-menu { display: block; }
.ksm-amz-account-menu li { margin: 0; }
.ksm-amz-account-menu a {
  display: block;
  padding: .5rem 1rem;
  color: #111827;
  text-decoration: none;
  font-size: .9rem;
}
.ksm-amz-account-menu a:hover {
  background: #f3f4f6;
  color: #0055aa;
}
