:root {
  --ks-ink: #343533;
  --ks-ink-soft: #50514f;
  --ks-muted: #777976;
  --ks-line: #e5e6e3;
  --ks-paper: #ffffff;
  --ks-warm: #f7f7f5;
  --ks-accent: #ea813a;
  --ks-accent-dark: #cf6620;
  --ks-success: #2f7a52;
  --ks-danger: #c9473b;
  --ks-radius: 12px;
  --ks-shadow: 0 14px 40px rgba(29, 27, 23, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  width: 100%;
  margin: 0;
  color: var(--ks-ink-soft);
  background: var(--ks-paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ks-ink); transition: color .2s ease, background-color .2s ease, border-color .2s ease, opacity .2s ease, transform .2s ease; }
a:hover, a:focus { color: var(--ks-accent-dark); text-decoration: none; outline: none; }
img { max-width: 100%; }

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  color: var(--ks-ink);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
}
h1 { font-size: 34px; }
h2 { font-size: 30px; }
h3 { font-size: 25px; }
h4 { font-size: 16px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }

.container { width: 100%; max-width: 1280px; }
.fa { font-size: 14px; }
.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }

.btn {
  min-height: 42px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 650;
  box-shadow: none;
  text-shadow: none;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary, .btn-inverse {
  color: #fff;
  border-color: var(--ks-accent);
  background: var(--ks-accent);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active,
.btn-inverse:hover, .btn-inverse:focus, .btn-inverse:active {
  color: #fff;
  border-color: var(--ks-accent-dark);
  background: var(--ks-accent-dark);
}
.btn-default { color: var(--ks-ink); border-color: var(--ks-line); background: #fff; }
.btn-default:hover { border-color: var(--ks-accent); color: var(--ks-accent-dark); background: #fff; }
.btn-danger { background: var(--ks-danger); border-color: var(--ks-danger); }
.btn-link { color: var(--ks-ink-soft); }

.form-control {
  min-height: 42px;
  border-color: var(--ks-line);
  border-radius: 8px;
  color: var(--ks-ink);
  font-size: 14px;
  box-shadow: none;
}
.form-control:focus { border-color: var(--ks-accent); box-shadow: 0 0 0 3px rgba(234, 129, 58, .14); }
textarea.form-control { min-height: 110px; }
label { color: var(--ks-ink); font-size: 13px; font-weight: 600; }
legend { padding: 8px 0; border-color: var(--ks-line); font-size: 20px; font-weight: 700; }
div.required .control-label:before { content: "* "; color: var(--ks-danger); font-weight: 700; }

.ks-announcement { min-height: 36px; color: rgba(255, 255, 255, .9); background: var(--ks-ink); font-size: 12px; line-height: 36px; }
.ks-announcement .container { display: flex; justify-content: space-between; gap: 20px; }
.ks-announcement .fa { margin-right: 7px; color: var(--ks-accent); }

#top { min-height: 42px; margin: 0; border: 0; border-bottom: 1px solid var(--ks-line); background: #fff; }
#top > .container { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 24px; }
.ks-top__left, .ks-top__right { display: flex; align-items: center; gap: 22px; }
.ks-top__left a, #top-links a, #top .btn-link { color: var(--ks-muted); font-size: 12px; text-shadow: none; }
.ks-top__left a:hover, #top-links a:hover, #top .btn-link:hover { color: var(--ks-ink); }
.ks-top__left .fa { margin-right: 6px; color: var(--ks-accent); }
.ks-phone { color: var(--ks-ink) !important; font-weight: 700; }
#top-links { padding: 0; }
#top-links ul { margin: 0; }
#top-links .dropdown-menu { margin-top: 11px; padding: 8px; border: 1px solid var(--ks-line); border-radius: 10px; box-shadow: var(--ks-shadow); }
#top-links .dropdown-menu a { padding: 8px 12px; border-radius: 6px; }
#top-links .dropdown-menu a:hover { color: var(--ks-ink); background: var(--ks-warm); }
#top #form-currency, #top #form-language { margin: 0; }
#top #form-currency .btn, #top #form-language .btn { min-height: 32px; padding: 5px 8px; border: 0; background: transparent; }

.ks-header { padding: 24px 0; background: #fff; }
.ks-header__row { display: grid; grid-template-columns: 260px minmax(280px, 1fr) auto; align-items: center; gap: 38px; }
.ks-logo { margin: 0; }
.ks-logo img { display: block; width: 210px; max-width: 100%; height: auto; object-fit: contain; object-position: left center; }
.ks-logo__text { display: grid; width: fit-content; grid-template-columns: auto auto; align-items: end; color: var(--ks-ink); font-size: 27px; font-weight: 800; line-height: .95; letter-spacing: -.055em; }
.ks-logo__text strong { color: var(--ks-accent); }
.ks-logo__text span { font-weight: 800; }
.ks-logo__text small { grid-column: 1 / -1; margin-top: 8px; color: var(--ks-muted); font-size: 9px; font-weight: 650; letter-spacing: .13em; line-height: 1; text-transform: uppercase; }

#search { margin: 0; }
#search .form-control { height: 48px; padding: 0 18px; border: 1px solid var(--ks-line); border-right: 0; border-radius: 10px 0 0 10px; background: #fafafa; font-size: 14px; }
#search .btn { width: 54px; height: 48px; min-height: 48px; padding: 0; border: 1px solid var(--ks-ink); border-radius: 0 10px 10px 0; color: #fff; background: var(--ks-ink); }
#search .btn:hover { color: #fff; background: var(--ks-accent); border-color: var(--ks-accent); transform: none; }

.ks-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.ks-action { display: flex; min-width: 66px; height: 52px; padding: 5px 8px; align-items: center; justify-content: center; flex-direction: column; color: var(--ks-ink-soft); font-size: 11px; }
.ks-action .fa { margin-bottom: 2px; color: var(--ks-ink); font-size: 20px; }

#cart { width: auto; margin: 0; }
#cart > .btn { display: flex; width: auto; min-width: 116px; height: 52px; padding: 7px 14px; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 10px; color: #fff; background: var(--ks-accent); font-size: 12px; line-height: 1.2; }
#cart > .btn .fa { font-size: 19px; }
#cart.open > .btn { color: #fff; border: 0; background: var(--ks-accent-dark); }
#cart .dropdown-menu { right: 0; left: auto; z-index: 1005; min-width: 440px; margin-top: 10px; padding: 12px; border: 1px solid var(--ks-line); border-radius: var(--ks-radius); background: #fff; box-shadow: var(--ks-shadow); }
#cart .dropdown-menu li > div { min-width: 0; padding: 0 8px; }
#cart .dropdown-menu table { margin-bottom: 10px; }
#cart .dropdown-menu .table > tbody > tr > td { border-color: var(--ks-line); vertical-align: middle; }
#cart .dropdown-menu li p { margin: 15px 0 5px; }

.ks-menu-wrap { position: relative; z-index: 100; border-top: 1px solid var(--ks-line); border-bottom: 1px solid var(--ks-line); background: #fff; }
#menu { display: flex; min-height: 54px; margin: 0; align-items: stretch; border: 0; border-radius: 0; background: transparent; }
#menu .navbar-collapse { display: flex !important; width: 100%; padding: 0; align-items: stretch; }
.ks-catalog-label { display: flex; min-width: 230px; padding: 0 24px; align-items: center; gap: 12px; color: #fff; background: var(--ks-accent); font-weight: 750; }
.ks-catalog-label .fa { font-size: 17px; }
#menu .navbar-nav { display: flex; margin: 0; align-items: stretch; }
#menu .nav > li { display: flex; align-items: stretch; }
#menu .nav > li > a { display: flex; min-height: 54px; padding: 0 18px; align-items: center; gap: 7px; color: var(--ks-ink); background: transparent; font-size: 13px; font-weight: 650; text-shadow: none; }
#menu .nav > li > a:hover, #menu .nav > li.open > a { color: var(--ks-accent-dark); background: var(--ks-warm); }
#menu .dropdown-menu { min-width: 240px; margin: 0; padding: 12px 0 0; border: 1px solid var(--ks-line); border-radius: 0 0 10px 10px; box-shadow: var(--ks-shadow); }
#menu .dropdown-inner { display: flex; }
#menu .dropdown-inner ul { display: block; min-width: 230px; }
#menu .dropdown-inner a { display: block; min-width: 200px; padding: 7px 20px; clear: both; color: var(--ks-ink-soft); font-size: 13px; line-height: 1.45; }
#menu .dropdown-inner a:hover { color: var(--ks-accent-dark); background: var(--ks-warm); }
#menu .see-all { display: block; margin-top: 8px; padding: 11px 20px; border-top: 1px solid var(--ks-line); border-radius: 0 0 9px 9px; color: var(--ks-ink); background: #fafafa; font-size: 12px; font-weight: 700; }

#common-home { padding: 26px 0 30px; background: #fff; }
#common-home #content > h3, #common-home #content > h2 { margin: 50px 0 22px; font-size: 28px; }
.swiper-viewport { margin: 0 0 28px !important; border: 0 !important; border-radius: var(--ks-radius); box-shadow: none !important; overflow: hidden; }
.swiper-viewport img { width: 100%; border-radius: var(--ks-radius); }
.swiper-pager .swiper-button-next, .swiper-pager .swiper-button-prev { width: 42px; height: 42px; margin-top: -21px; border-radius: 50%; color: var(--ks-ink); background: rgba(255,255,255,.94); box-shadow: 0 5px 20px rgba(0,0,0,.12); }
.swiper-pager .swiper-button-next:before, .swiper-pager .swiper-button-prev:before { font-size: 20px; }
.swiper-pagination-bullet-active { background: var(--ks-accent) !important; }

.ks-benefits { display: grid; margin: 28px 0 42px; padding: 22px 10px; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ks-line); border-radius: var(--ks-radius); background: var(--ks-warm); }
.ks-benefit { display: flex; min-width: 0; padding: 8px 20px; align-items: center; gap: 14px; border-right: 1px solid #dedfdd; }
.ks-benefit:last-child { border-right: 0; }
.ks-benefit > .fa { width: 34px; flex: 0 0 34px; color: var(--ks-accent); font-size: 28px; text-align: center; }
.ks-benefit div { min-width: 0; }
.ks-benefit strong, .ks-benefit span { display: block; }
.ks-benefit strong { color: var(--ks-ink); font-size: 13px; line-height: 1.3; }
.ks-benefit span { margin-top: 3px; color: var(--ks-muted); font-size: 11px; line-height: 1.35; }

.breadcrumb { margin: 20px 0 28px; padding: 0; border: 0; background: transparent; font-size: 12px; }
.breadcrumb > li { position: relative; padding: 0 13px 0 0; }
.breadcrumb > li + li:before { padding: 0 12px 0 0; color: #b5b2ac; content: "/"; }
.breadcrumb > li > a { color: var(--ks-muted); }
.breadcrumb > li:last-child > a { color: var(--ks-ink); }

#product-category, #product-product, #product-search, #product-special, #information-information, #information-contact,
#checkout-cart, #checkout-checkout, #account-account, #account-login, #account-register { padding-bottom: 54px; }
#content > h1, #content > h2 { margin-bottom: 24px; }

.product-layout { margin-bottom: 28px; }
.product-thumb { position: relative; height: 100%; border: 1px solid var(--ks-line); border-radius: var(--ks-radius); background: #fff; overflow: hidden; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.product-thumb:hover { border-color: #cfd1cd; box-shadow: var(--ks-shadow); transform: translateY(-3px); }
.product-thumb .image { position: relative; padding: 18px; background: #fafafa; overflow: hidden; }
.product-thumb .image a { display: block; }
.product-thumb .image img { width: 100%; margin: 0 auto; aspect-ratio: 1 / 1; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s ease; }
.product-thumb:hover .image img { transform: scale(1.035); }
.product-thumb .caption { min-height: 134px; padding: 18px 18px 12px; }
.product-thumb .caption h4 { min-height: 42px; margin-bottom: 10px; font-size: 14px; font-weight: 650; line-height: 1.45; }
.product-thumb .caption h4 a { display: -webkit-box; color: var(--ks-ink); -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-thumb .caption > p:not(.price) { display: none; }
.product-thumb .price { margin: 0; color: var(--ks-ink); font-size: 18px; font-weight: 750; letter-spacing: -.025em; }
.product-thumb .price-new { color: var(--ks-danger); font-weight: 750; }
.product-thumb .price-old { margin-left: 7px; color: #a8aaa8; font-size: 13px; font-weight: 500; text-decoration: line-through; }
.product-thumb .price-tax { display: block; margin-top: 3px; color: var(--ks-muted); font-size: 10px; font-weight: 400; }
.rating { margin-bottom: 8px; }
.rating .fa-stack { width: 14px; height: 14px; line-height: 14px; }
.rating .fa-star, .rating .fa-star-o { color: #e4ad52; font-size: 13px; }
.product-thumb .button-group { display: grid; padding: 0 18px 18px; grid-template-columns: 1fr 43px 43px; gap: 7px; border: 0; background: transparent; overflow: visible; }
.product-thumb .button-group button { width: 100%; min-height: 42px; padding: 7px; border: 1px solid var(--ks-line); border-radius: 8px; color: var(--ks-ink); background: #fff; font-weight: 700; line-height: 1.2; text-align: center; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.product-thumb .button-group button:first-child { color: #fff; border-color: var(--ks-ink); background: var(--ks-ink); }
.product-thumb .button-group button:hover { color: #fff; border-color: var(--ks-accent); background: var(--ks-accent); }
.product-thumb .button-group .fa { font-size: 15px; }

.product-list .product-thumb { display: grid; grid-template-columns: 260px 1fr; }
.product-list .product-thumb .image { grid-row: 1 / span 2; }
.product-list .product-thumb .caption { min-height: 0; padding: 24px; }
.product-list .product-thumb .caption > p:not(.price) { display: -webkit-box; color: var(--ks-muted); -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-list .product-thumb .button-group { max-width: 310px; align-self: end; }
.product-grid .product-thumb { display: flex; height: 100%; flex-direction: column; }
.product-grid .product-thumb .caption { flex: 1; }

#product-category .row > [class*="col-"] > ul:not(.breadcrumb), .refine-search { padding-left: 0; list-style: none; }
#product-category h3 { margin: 24px 0 14px; font-size: 18px; }
#product-category h3 + .row ul { padding: 0; list-style: none; }
#product-category h3 + .row li { margin-bottom: 7px; }
#product-category h3 + .row li a { display: block; padding: 9px 12px; border: 1px solid var(--ks-line); border-radius: 7px; color: var(--ks-ink-soft); background: #fff; }
#product-category h3 + .row li a:hover { border-color: var(--ks-accent); color: var(--ks-accent-dark); }
#product-category .img-thumbnail { border-color: var(--ks-line); border-radius: 10px; }
#list-view, #grid-view { width: 38px; min-height: 34px; }
#compare-total { padding-left: 0; }
.input-group-sm > .form-control, .input-group-sm > .input-group-addon { min-height: 36px; border-color: var(--ks-line); }
.input-group-addon { color: var(--ks-muted); background: #fafafa; }

.pagination { margin: 20px 0; }
.pagination > li > a, .pagination > li > span { margin-right: 5px; border: 1px solid var(--ks-line); border-radius: 7px !important; color: var(--ks-ink); }
.pagination > .active > span, .pagination > .active > span:hover { border-color: var(--ks-accent); background: var(--ks-accent); }

#product-product #content > .row { display: flex; align-items: flex-start; }
#product-product .thumbnails { display: flex; padding: 0; flex-wrap: wrap; gap: 10px; list-style: none; }
#product-product .thumbnails > li { margin: 0; }
#product-product .thumbnails > li:first-child { width: 100%; }
#product-product .thumbnail { margin: 0; padding: 15px; border: 1px solid var(--ks-line); border-radius: var(--ks-radius); background: #fafafa; }
#product-product .thumbnail img { margin: auto; object-fit: contain; mix-blend-mode: multiply; }
#product-product .image-additional { width: 82px; }
#product-product h1 { margin: 14px 0 18px; font-size: 30px; }
#product-product h2 { color: var(--ks-ink); font-size: 29px; }
#product-product .list-unstyled { color: var(--ks-muted); }
#product-product .list-unstyled li { margin-bottom: 5px; }
#product-product .btn-group { float: right; }
#product-product #product { margin-top: 20px; padding: 22px; border: 1px solid var(--ks-line); border-radius: var(--ks-radius); background: var(--ks-warm); }
#product-product #input-quantity { display: inline-block; width: 90px; }
#product-product #button-cart { height: 52px; margin-top: 12px; border-radius: 9px; font-size: 16px; }
#product-product .nav-tabs { margin: 34px 0 20px; border-color: var(--ks-line); }
#product-product .nav-tabs > li > a { margin: 0 20px 0 0; padding: 12px 0; border: 0; border-bottom: 2px solid transparent; color: var(--ks-muted); font-weight: 650; }
#product-product .nav-tabs > li.active > a, #product-product .nav-tabs > li > a:hover { border: 0; border-bottom: 2px solid var(--ks-accent); color: var(--ks-ink); background: transparent; }
#tab-description { color: var(--ks-ink-soft); font-size: 14px; line-height: 1.75; }

.panel { border-color: var(--ks-line); border-radius: var(--ks-radius); box-shadow: none; overflow: hidden; }
.panel-default > .panel-heading { padding: 14px 18px; border-color: var(--ks-line); color: var(--ks-ink); background: var(--ks-warm); }
.panel-title { font-size: 15px; }
.table > thead > tr > td, .table > tbody > tr > td { border-color: var(--ks-line); }
.table-bordered { border-color: var(--ks-line); }
.well { border-color: var(--ks-line); border-radius: var(--ks-radius); background: var(--ks-warm); box-shadow: none; }
.alert { border-radius: 9px; }

.list-group a { border-color: var(--ks-line); color: var(--ks-ink-soft); }
.list-group a.active, .list-group a.active:hover, .list-group a:hover { color: var(--ks-ink); border-color: var(--ks-line); background: var(--ks-warm); text-shadow: none; }

footer { margin-top: 40px; padding: 56px 0 20px; color: #b8bdb9; background: var(--ks-ink); }
.ks-footer__top { display: grid; padding-bottom: 40px; grid-template-columns: 1.55fr repeat(3, 1fr); gap: 55px; }
.ks-footer__brand p { max-width: 310px; margin: 18px 0; color: #a9afab; font-size: 13px; }
.ks-footer-logo { display: inline-block; padding: 10px 14px; border-radius: 6px; background: #fff; }
.ks-footer-logo img { display: block; width: 190px; height: auto; }
.ks-footer-logo:hover { opacity: .92; }
.ks-footer-contact { color: #fff; font-weight: 650; }
.ks-footer-contact .fa { margin-right: 8px; color: var(--ks-accent); }
.ks-footer__column h5 { margin-bottom: 18px; color: #fff; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.ks-footer__column li { margin-bottom: 8px; }
.ks-footer__column a { color: #b8bdb9; font-size: 13px; }
.ks-footer__column a:hover { color: #fff; }
.ks-footer__bottom { display: flex; padding-top: 20px; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #a4a8a4; font-size: 12px; }
.ks-footer__bottom a { color: #fff; font-weight: 600; }
.ks-footer__bottom a:hover { color: var(--ks-accent); }

@media (min-width: 768px) {
  #menu .dropdown:hover .dropdown-menu { display: block; }
}

@media (max-width: 1100px) {
  .ks-header__row { grid-template-columns: 210px minmax(260px, 1fr) auto; gap: 20px; }
  #menu .nav > li > a { padding: 0 12px; font-size: 12px; }
  .ks-catalog-label { min-width: 200px; padding: 0 18px; }
  .ks-benefit { padding: 8px 12px; }
}

@media (max-width: 991px) {
  .ks-header__row { grid-template-columns: 185px 1fr auto; }
  .ks-action__label { display: none; }
  .ks-action { min-width: 42px; width: 42px; }
  #cart > .btn { min-width: 54px; width: 54px; }
  #cart-total { display: none; }
  .ks-catalog-label { min-width: 174px; }
  #menu .nav > li > a { padding: 0 9px; }
  .ks-benefits { grid-template-columns: repeat(2, 1fr); }
  .ks-benefit:nth-child(2) { border-right: 0; }
  .ks-benefit:nth-child(-n+2) { padding-bottom: 18px; border-bottom: 1px solid #dedfdd; }
  .ks-benefit:nth-child(n+3) { padding-top: 18px; }
  .ks-footer__top { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
}

@media (max-width: 767px) {
  body { font-size: 13px; }
  h1 { font-size: 28px; }
  h2 { font-size: 25px; }
  h3 { font-size: 21px; }
  .ks-announcement { text-align: center; }
  .ks-announcement__right { display: none; }
  #top > .container { min-height: 40px; }
  .ks-top__left a:not(.ks-phone), .ks-top__right > #form-currency, .ks-top__right > #form-language { display: none; }
  #top-links span { display: none; }
  .ks-header { padding: 16px 0 13px; }
  .ks-header__row { display: grid; grid-template-columns: 1fr auto; gap: 13px; }
  .ks-logo__text { font-size: 22px; }
  .ks-logo__text small { display: none; }
  .ks-logo img { width: 165px; max-width: 100%; height: auto; }
  .ks-header__actions { gap: 2px; }
  .ks-header__search { grid-column: 1 / -1; grid-row: 2; }
  #search .form-control, #search .btn { height: 44px; min-height: 44px; }
  #cart > .btn { width: 44px; height: 44px; min-height: 44px; padding: 0; }
  .ks-action { width: 40px; height: 44px; min-width: 40px; padding: 0; }
  #cart .dropdown-menu { position: fixed; top: 127px; right: 12px; left: 12px; min-width: 0; max-height: 70vh; overflow-y: auto; }
  .ks-menu-wrap { border-top: 0; }
  #menu { display: block; min-height: 48px; }
  #menu .navbar-header { min-height: 48px; background: var(--ks-accent); }
  #menu #category { float: left; padding-left: 16px; color: #fff; font-size: 14px; font-weight: 750; line-height: 48px; }
  #menu #category .fa { margin-right: 9px; }
  #menu .btn-navbar { margin: 7px 8px 0 0; padding: 5px 12px; border: 0; color: #fff; background: rgba(0,0,0,.08); }
  #menu .navbar-collapse { display: none !important; padding: 8px 0 12px; border: 1px solid var(--ks-line); border-top: 0; background: #fff; }
  #menu .navbar-collapse.in { display: block !important; overflow: visible; }
  #menu .navbar-nav { display: block; width: 100%; }
  #menu .nav > li { display: block; }
  #menu .nav > li > a { display: flex; min-height: 43px; padding: 10px 16px; justify-content: space-between; }
  #menu .dropdown-menu { position: static; float: none; width: 100%; padding: 0 0 8px; border: 0; border-radius: 0; background: var(--ks-warm); box-shadow: none; }
  #menu .dropdown-inner { display: block; }
  #menu .dropdown-inner ul { min-width: 0; }
  #menu .dropdown-inner a { min-width: 0; padding: 8px 28px; }
  #menu .see-all { border-radius: 0; }
  #common-home { padding-top: 15px; }
  .swiper-viewport { margin-bottom: 18px !important; border-radius: 9px; }
  .swiper-viewport img { min-height: 190px; border-radius: 9px; object-fit: cover; }
  .ks-benefits { grid-template-columns: 1fr; margin: 18px 0 30px; padding: 8px 16px; }
  .ks-benefit, .ks-benefit:nth-child(n), .ks-benefit:nth-child(-n+2) { padding: 14px 0; border-right: 0; border-bottom: 1px solid #dedfdd; }
  .ks-benefit:last-child { border-bottom: 0; }
  #common-home #content > h3, #common-home #content > h2 { margin: 34px 0 17px; font-size: 23px; }
  .product-layout { margin-bottom: 15px; }
  .product-grid { width: 50%; }
  .product-thumb .image { padding: 10px; }
  .product-thumb .caption { min-height: 126px; padding: 13px 12px 8px; }
  .product-thumb .caption h4 { min-height: 40px; font-size: 12px; }
  .product-thumb .price { font-size: 16px; }
  .product-thumb .button-group { padding: 0 10px 11px; grid-template-columns: 1fr 38px; }
  .product-thumb .button-group button { min-height: 38px; }
  .product-thumb .button-group button:nth-child(3) { display: none; }
  .product-thumb .button-group button:first-child span { display: none !important; }
  .product-list .product-thumb { display: grid; grid-template-columns: 125px 1fr; }
  .product-list .product-thumb .image { padding: 8px; }
  .product-list .product-thumb .caption { padding: 13px 12px 7px; }
  .product-list .product-thumb .button-group { grid-column: 1 / -1; max-width: none; }
  #product-product #content > .row { display: block; }
  #product-product h1 { font-size: 25px; }
  #product-product .btn-group { margin-top: 15px; }
  #product-product #product { padding: 17px; }
  .ks-footer__top { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .ks-footer__brand { grid-column: 1 / -1; }
  .ks-footer__bottom { flex-direction: column; gap: 7px; }
}

@media (max-width: 420px) {
  .product-grid { width: 100%; }
  .product-thumb .image { padding: 18px; }
  .product-thumb .caption { min-height: 115px; padding: 15px 16px 8px; }
  .product-thumb .caption h4 { font-size: 14px; }
  .product-thumb .button-group { padding: 0 16px 16px; }
  .ks-footer__top { grid-template-columns: 1fr; }
  .ks-footer__brand { grid-column: auto; }
}

/* KresloSklad 2.0 — storefront composition based on the supplied furniture reference. */
:root {
  --ks-cream: #f4f1ec;
  --ks-sand: #e9ded1;
  --ks-charcoal: #222321;
}

.ks-announcement { min-height: 32px; line-height: 32px; background: #171816; }
#top { min-height: 38px; }
#top > .container { min-height: 38px; }
.ks-header { padding: 18px 0; }
.ks-header__row { grid-template-columns: minmax(190px, 240px) minmax(320px, 1fr) auto; }
.ks-logo img { width: 195px; }
.ks-mobile-menu { width: 42px; height: 42px; padding: 0; border: 0; color: var(--ks-ink); background: transparent; font-size: 20px; }
.ks-menu-wrap { border: 0; background: var(--ks-accent); }
#menu { min-height: 48px; }
#menu .navbar-collapse { justify-content: center; }
.ks-catalog-label { min-width: auto; padding: 0 22px; color: #fff; background: rgba(0, 0, 0, .12); }
.ks-catalog-label:hover, .ks-catalog-label:focus { color: #fff; background: rgba(0, 0, 0, .2); }
#menu .nav > li > a { min-height: 48px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .015em; }
#menu .nav > li > a:hover, #menu .nav > li.open > a { color: #fff; background: rgba(0, 0, 0, .13); }
#menu .dropdown-menu { border-color: rgba(0, 0, 0, .08); border-radius: 0; }

#common-home { padding: 0 0 24px; overflow: hidden; }
.ks-home-container { max-width: none; padding: 0; }
.ks-home-container > .row { margin: 0; }
.ks-home-container #content { padding: 0; }
.ks-home-container #content > section:not(.ks-hero):not(.ks-promos),
.ks-home-container #content > .ks-product-section,
.ks-home-container #content > .swiper-viewport,
.ks-home-container #content > h3,
.ks-home-container #content > .row { width: calc(100% - 30px); max-width: 1180px; margin-right: auto; margin-left: auto; }

.ks-hero { width: 100%; margin: 0 0 28px; background: #f3f3f1; }
.ks-hero .swiper-viewport { margin: 0 !important; border-radius: 0; }
.ks-hero .swiper-slide { background: #f3f3f1; }
.ks-hero .swiper-slide img { width: 100%; min-height: 360px; max-height: 560px; border-radius: 0; object-fit: cover; }
.ks-hero .swiper-pagination { bottom: 18px; }
.ks-hero .swiper-pagination-bullet { width: 7px; height: 7px; background: var(--ks-ink); opacity: .32; }
.ks-hero .swiper-pagination-bullet-active { width: 22px; border-radius: 20px; opacity: 1; }

.ks-promos { display: grid; width: calc(100% - 30px); max-width: 1120px; margin: 0 auto 64px; grid-template-columns: 1fr 1fr; gap: 22px; }
.ks-promo { position: relative; display: flex; min-height: 205px; padding: 34px 42% 30px 34px; flex-direction: column; justify-content: center; color: var(--ks-ink); background: linear-gradient(135deg, #f3efea, #ddd0c2); overflow: hidden; }
.ks-promo:hover, .ks-promo:focus { color: var(--ks-ink); transform: translateY(-2px); box-shadow: 0 16px 38px rgba(34, 35, 33, .12); }
.ks-promo--dark { color: #fff; background: linear-gradient(135deg, #343533, #171816); }
.ks-promo--dark:hover, .ks-promo--dark:focus { color: #fff; }
.ks-promo__eyebrow { position: relative; z-index: 2; margin-bottom: 7px; color: var(--ks-accent); font-family: Georgia, serif; font-size: 15px; font-style: italic; }
.ks-promo strong { position: relative; z-index: 2; max-width: 280px; margin-bottom: 8px; font-size: 24px; line-height: 1.15; }
.ks-promo small { position: relative; z-index: 2; color: inherit; font-size: 12px; opacity: .7; }
.ks-promo__button { position: relative; z-index: 2; width: fit-content; margin-top: 18px; padding: 8px 14px; color: #fff; background: var(--ks-accent); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.ks-promo__icon { position: absolute; z-index: 1; right: 32px; bottom: -22px; color: #fff; font-size: 150px; opacity: .36; transform: rotate(-7deg); }
.ks-promo--dark .ks-promo__icon { color: var(--ks-accent); opacity: .24; }

.ks-section-heading { margin: 0 0 28px; text-align: center; }
.ks-section-heading h2 { margin: 4px 0 12px; font-size: 27px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.ks-kicker { color: var(--ks-accent-dark); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ks-heading-rule { width: 36px; height: 2px; margin: auto; background: var(--ks-accent); }
.ks-product-section { margin-bottom: 70px !important; }
.ks-product-grid { display: flex; flex-wrap: wrap; }
.ks-product-grid .product-layout { display: flex; }
.ks-product-grid .product-thumb { width: 100%; border: 0; border-radius: 0; }
.ks-product-grid .product-thumb:hover { box-shadow: 0 12px 30px rgba(29, 27, 23, .08); transform: translateY(-4px); }
.ks-product-grid .product-thumb .image { padding: 16px; background: #f7f7f5; }
.ks-product-grid .product-thumb .caption { min-height: 116px; padding: 14px 12px 8px; text-align: center; }
.ks-product-grid .product-thumb .caption h4 { min-height: 38px; margin-bottom: 5px; font-size: 13px; }
.ks-product-grid .product-thumb .price { font-size: 16px; }
.ks-product-grid .rating { margin-bottom: 4px; }
.ks-product-grid .product-thumb .button-group { position: absolute; right: 12px; bottom: 126px; left: 12px; padding: 0; grid-template-columns: 1fr 39px 39px; opacity: 0; transform: translateY(9px); transition: opacity .2s ease, transform .2s ease; }
.ks-product-grid .product-thumb:hover .button-group, .ks-product-grid .product-thumb:focus-within .button-group { opacity: 1; transform: translateY(0); }
.ks-product-grid .product-thumb .button-group button { min-height: 39px; border-radius: 0; }

#common-home .swiper-viewport:not(.ks-hero .swiper-viewport) { max-width: 1120px; margin: 0 auto 64px !important; border-radius: 0; }
#common-home .swiper-viewport:not(.ks-hero .swiper-viewport) .swiper-slide img { width: auto; max-height: 95px; margin: auto; object-fit: contain; filter: grayscale(1); opacity: .68; }

.ks-home-story { display: grid; margin-bottom: 70px !important; grid-template-columns: 1fr 1fr; background: var(--ks-cream); }
.ks-home-story__visual { position: relative; display: flex; min-height: 320px; align-items: center; justify-content: center; background: linear-gradient(135deg, #e7d9ca, #f4f1ec); overflow: hidden; }
.ks-home-story__visual:before, .ks-home-story__visual:after { position: absolute; content: ""; border: 1px solid rgba(52, 53, 51, .12); border-radius: 50%; }
.ks-home-story__visual:before { width: 330px; height: 330px; }
.ks-home-story__visual:after { width: 220px; height: 220px; }
.ks-chair-line { position: relative; z-index: 2; display: flex; width: 120px; height: 120px; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: var(--ks-accent); box-shadow: 0 20px 50px rgba(207, 102, 32, .25); }
.ks-chair-line .fa { font-size: 48px; }
.ks-home-story__copy { padding: 55px 58px; align-self: center; }
.ks-home-story__copy h2 { max-width: 480px; margin: 8px 0 18px; font-size: 32px; }
.ks-home-story__copy p { max-width: 500px; margin-bottom: 24px; color: var(--ks-muted); font-size: 14px; line-height: 1.8; }
.ks-text-link, .ks-testimonial a { color: var(--ks-ink); font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.ks-text-link .fa, .ks-testimonial a .fa { margin-left: 8px; color: var(--ks-accent); }

.ks-category-showcase { margin-bottom: 74px !important; }
.ks-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ks-category-card { position: relative; display: flex; min-height: 245px; padding: 28px 24px; flex-direction: column; justify-content: flex-end; color: var(--ks-ink); background: #f5f2ee; overflow: hidden; }
.ks-category-card:nth-child(even) { background: #ece7e1; }
.ks-category-card:hover { color: var(--ks-ink); transform: translateY(-4px); box-shadow: 0 14px 35px rgba(34, 35, 33, .09); }
.ks-category-card__icon { position: absolute; top: 28px; right: 24px; left: 24px; color: var(--ks-accent); font-size: 75px; text-align: center; opacity: .78; transition: transform .25s ease; }
.ks-category-card:hover .ks-category-card__icon { transform: scale(1.07); }
.ks-category-card strong { position: relative; z-index: 2; margin-bottom: 5px; font-size: 16px; text-transform: uppercase; }
.ks-category-card small { position: relative; z-index: 2; color: var(--ks-muted); font-size: 11px; }

.ks-testimonial { display: grid; margin-bottom: 60px !important; padding: 44px 70px; grid-template-columns: 100px 1fr; align-items: center; background: #f4f4f2; }
.ks-testimonial__mark { color: var(--ks-accent); font-family: Georgia, serif; font-size: 92px; line-height: .8; }
.ks-testimonial blockquote { max-width: 820px; margin: 9px 0 18px; padding: 0; border: 0; color: var(--ks-ink); font-family: Georgia, serif; font-size: 19px; line-height: 1.65; }
.ks-benefits { max-width: 1120px !important; margin-bottom: 10px !important; border: 0; border-radius: 0; color: #d7dad7; background: var(--ks-ink); }
.ks-benefit { border-color: rgba(255,255,255,.12); }
.ks-benefit strong { color: #fff; }
.ks-benefit span { color: #aeb2ae; }

footer { margin-top: 0; background: #1f201e; }
.ks-footer-logo { padding: 9px 12px; border-radius: 0; }

@media (max-width: 991px) {
  .ks-promos { margin-bottom: 50px; }
  .ks-promo { padding-right: 34%; }
  .ks-promo__icon { right: 15px; font-size: 110px; }
  .ks-category-grid { grid-template-columns: repeat(2, 1fr); }
  .ks-home-story__copy { padding: 40px; }
  .ks-testimonial { padding: 38px 42px; }
}

@media (max-width: 767px) {
  .ks-announcement { display: none; }
  #top { display: none; }
  .ks-header { padding: 12px 0; border-bottom: 1px solid var(--ks-line); }
  .ks-header__row { grid-template-columns: 42px 1fr auto; gap: 8px; }
  .ks-mobile-menu { display: block !important; }
  .ks-logo { justify-self: center; }
  .ks-logo img { width: 152px; }
  .ks-header__actions .ks-action:first-child { display: none; }
  .ks-header__search { grid-column: 1 / -1; grid-row: 2; }
  .ks-menu-wrap { position: absolute; z-index: 1000; width: 100%; background: transparent; }
  #menu { min-height: 0; }
  #menu .navbar-header { display: none; }
  #menu .navbar-collapse { padding: 0 14px 14px; border: 0; background: #fff; box-shadow: 0 18px 30px rgba(0,0,0,.12); }
  .ks-catalog-label { display: flex; min-height: 44px; color: #fff; background: var(--ks-accent); }
  #menu .nav > li > a { min-height: 42px; color: var(--ks-ink); }
  #menu .nav > li > a:hover, #menu .nav > li.open > a { color: var(--ks-accent-dark); background: var(--ks-warm); }
  .ks-hero .swiper-slide img { min-height: 235px; max-height: 300px; }
  .ks-promos { grid-template-columns: 1fr; margin-bottom: 45px; }
  .ks-promo { min-height: 180px; padding: 28px 36% 26px 25px; }
  .ks-promo strong { font-size: 20px; }
  .ks-section-heading h2 { font-size: 22px; }
  .ks-product-section { margin-bottom: 48px !important; }
  .ks-product-grid .product-layout { width: 50%; }
  .ks-product-grid .product-thumb .button-group { position: static; padding: 0 10px 12px; grid-template-columns: 1fr 38px; opacity: 1; transform: none; }
  .ks-home-story { grid-template-columns: 1fr; margin-bottom: 48px !important; }
  .ks-home-story__visual { min-height: 220px; }
  .ks-home-story__copy { padding: 32px 25px; }
  .ks-home-story__copy h2 { font-size: 25px; }
  .ks-category-showcase { margin-bottom: 50px !important; }
  .ks-category-grid { gap: 10px; }
  .ks-category-card { min-height: 190px; padding: 20px 16px; }
  .ks-category-card__icon { top: 23px; font-size: 54px; }
  .ks-category-card strong { font-size: 13px; }
  .ks-testimonial { grid-template-columns: 1fr; padding: 32px 25px; }
  .ks-testimonial__mark { height: 45px; font-size: 72px; }
  .ks-testimonial blockquote { font-size: 16px; }
  .ks-benefits { width: calc(100% - 30px) !important; }
}

@media (max-width: 420px) {
  .ks-product-grid .product-layout { width: 50%; padding-right: 6px; padding-left: 6px; }
  .ks-product-grid { margin-right: -6px; margin-left: -6px; }
  .ks-product-grid .product-thumb .caption { padding-right: 6px; padding-left: 6px; }
  .ks-category-card small { display: none; }
  .ks-footer__top { grid-template-columns: 1fr 1fr; }
  .ks-footer__brand { grid-column: 1 / -1; }
}

/* KresloSklad 3.0 - cache-isolated storefront with an independent first screen. */
.ks-home-v3 { padding-top: 0 !important; }
.ks-v3-shell { width: 100%; }
.ks-v3-hero {
  display: grid;
  min-height: 520px;
  grid-template-columns: minmax(0, 1fr) minmax(460px, .9fr);
  background: linear-gradient(104deg, #f3f0eb 0%, #f8f7f4 58%, #ece8e2 100%);
  overflow: hidden;
}
.ks-v3-hero__copy {
  width: 100%;
  max-width: none;
  padding: 88px 50px 82px max(50px, calc((100vw - 1180px) / 2));
  align-self: center;
}
.ks-v3-eyebrow {
  display: block;
  margin-bottom: 17px;
  color: var(--ks-accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ks-v3-hero h1, .ks-v3-hero h2 {
  max-width: 650px;
  margin-bottom: 20px;
  color: #252624;
  font-size: clamp(40px, 4.15vw, 66px);
  font-weight: 760;
  line-height: 1.03;
  letter-spacing: -.045em;
  white-space: pre-line;
}
.ks-v3-hero__copy > p {
  max-width: 570px;
  margin-bottom: 30px;
  color: #676864;
  font-size: 16px;
  line-height: 1.75;
}
.ks-v3-hero__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ks-v3-button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--ks-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ks-v3-button:hover, .ks-v3-button:focus { color: #fff; background: var(--ks-accent-dark); transform: translateY(-2px); }
.ks-v3-link { color: #343533; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ks-v3-link .fa { margin-left: 8px; color: var(--ks-accent); }
.ks-v3-hero__visual { position: relative; min-height: 520px; }
.ks-v3-hero__visual picture { display: block; width: 100%; height: 100%; }
.ks-v3-hero__composition { display: block; width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: center; }
.ks-v3-hero__circle {
  position: absolute;
  top: 50%;
  left: 47%;
  width: min(35vw, 500px);
  height: min(35vw, 500px);
  border-radius: 50%;
  background: rgba(234, 129, 58, .13);
  transform: translate(-50%, -50%);
}
.ks-v3-hero__circle:after {
  position: absolute;
  inset: 36px;
  border: 1px solid rgba(52, 53, 51, .12);
  border-radius: inherit;
  content: "";
}
.ks-v3-hero__chair {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 48%;
  width: min(37vw, 530px);
  max-height: 495px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 28px 28px rgba(26, 26, 24, .13));
  transform: translate(-50%, -50%);
}
.ks-v3-hero__note {
  position: absolute;
  z-index: 3;
  right: max(28px, calc((100vw - 1180px) / 2));
  bottom: 50px;
  display: block;
  min-width: 170px;
  padding: 15px 18px;
  border-left: 3px solid var(--ks-accent);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 14px 35px rgba(34, 35, 33, .08);
}
.ks-v3-hero__note strong, .ks-v3-hero__note small { display: block; }
.ks-v3-hero__note strong { color: var(--ks-ink); font-size: 13px; }
.ks-v3-hero__note small { margin-top: 2px; color: var(--ks-muted); font-size: 11px; }

.ks-v3-hero-slider { position: relative; width: 100%; background: linear-gradient(104deg, #f3f0eb 0%, #f8f7f4 58%, #ece8e2 100%); overflow: hidden; }
.ks-v3-hero-slider > .swiper-container { width: 100%; }
.ks-v3-hero-slider .swiper-wrapper { align-items: stretch; }
.ks-v3-hero-slider .swiper-slide { height: auto; background: #f3f0eb; }
.ks-v3-hero-slider .swiper-slide > .ks-v3-hero { height: 100%; }
.ks-v3-hero-pagination { position: absolute; z-index: 12; right: 0; bottom: 18px; left: 0; width: 100%; text-align: center; }
.ks-v3-hero-pagination .swiper-pagination-bullet { width: 8px; height: 8px; margin: 0 4px; background: #343533; opacity: .28; }
.ks-v3-hero-pagination .swiper-pagination-bullet-active { width: 24px; border-radius: 10px; background: var(--ks-accent) !important; opacity: 1; }
.ks-v3-hero-next, .ks-v3-hero-prev {
  z-index: 13;
  top: 50%;
  width: 44px;
  height: 44px;
  margin-top: 0;
  border-radius: 50%;
  color: #343533;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 24px rgba(34, 35, 33, .13);
  transform: translateY(-50%);
}
.ks-v3-hero-next { right: 18px; }
.ks-v3-hero-prev { left: 18px; }
.ks-v3-hero-next:before, .ks-v3-hero-prev:before { position: absolute; top: 50%; left: 50%; font-family: FontAwesome; font-size: 22px; transform: translate(-50%, -50%); }
.ks-v3-hero-next:before { content: "\f105"; }
.ks-v3-hero-prev:before { content: "\f104"; }

.ks-v3-promos {
  display: grid;
  width: calc(100% - 30px);
  max-width: 1120px;
  margin: 32px auto 72px;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.ks-v3-promo {
  position: relative;
  display: grid;
  min-height: 220px;
  padding: 32px;
  grid-template-columns: minmax(0, 1fr) 44%;
  align-items: center;
  color: var(--ks-ink);
  background: #f3efea;
  overflow: hidden;
}
.ks-v3-promo:hover, .ks-v3-promo:focus { color: var(--ks-ink); box-shadow: 0 16px 38px rgba(34, 35, 33, .11); transform: translateY(-3px); }
.ks-v3-promo--dark { color: #fff; background: #2d2e2c; }
.ks-v3-promo--dark:hover, .ks-v3-promo--dark:focus { color: #fff; }
.ks-v3-promo__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; }
.ks-v3-promo__copy small { margin-bottom: 7px; color: var(--ks-accent); font-family: Georgia, serif; font-size: 14px; font-style: italic; }
.ks-v3-promo__copy strong { max-width: 260px; font-size: 25px; line-height: 1.13; }
.ks-v3-promo__copy em { margin-top: 20px; padding-bottom: 3px; border-bottom: 2px solid var(--ks-accent); color: inherit; font-size: 11px; font-style: normal; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.ks-v3-promo img { position: absolute; z-index: 1; top: 50%; right: -1%; width: 48%; height: 92%; object-fit: contain; mix-blend-mode: multiply; transform: translateY(-50%); }
.ks-v3-promo--dark img { filter: invert(1) grayscale(1); mix-blend-mode: screen; opacity: .72; }

.ks-home-modules { width: calc(100% - 30px); max-width: 1180px; margin: 0 auto; }
.ks-home-modules > .ks-hero, .ks-home-modules > .ks-promos { display: none !important; }
.ks-home-modules > .ks-product-section { margin-bottom: 74px !important; }
.ks-home-modules > .swiper-viewport { display: none; }
.ks-home-v3 .ks-category-showcase { margin-top: 0; }
.ks-category-grid--photos .ks-category-card { min-height: 285px; padding: 0; justify-content: flex-end; background: #f5f3ef; }
.ks-category-grid--photos .ks-category-card:nth-child(even) { background: #efebe5; }
.ks-category-grid--photos .ks-category-card img {
  position: absolute;
  top: 8px;
  right: 10px;
  left: 10px;
  width: calc(100% - 20px);
  height: 205px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .35s ease;
}
.ks-category-grid--photos .ks-category-card:hover img { transform: scale(1.045); }
.ks-category-grid--photos .ks-category-card > span { position: relative; z-index: 2; display: block; padding: 18px 20px; background: rgba(255, 255, 255, .9); }
.ks-category-grid--photos .ks-category-card strong, .ks-category-grid--photos .ks-category-card small { display: block; }
.ks-home-v3 .ks-home-story__visual { background: #eee8e0; }
.ks-home-v3 .ks-home-story__visual:before, .ks-home-v3 .ks-home-story__visual:after { display: none; }
.ks-home-v3 .ks-home-story__visual img { width: 72%; max-height: 315px; object-fit: contain; mix-blend-mode: multiply; }

@media (min-width: 992px) {
  .ks-v3-hero { width: 100%; max-width: 1920px; height: clamp(520px, 31.25vw, 600px); margin-right: auto; margin-left: auto; }
  .ks-v3-hero__visual, .ks-v3-hero__visual picture, .ks-v3-hero__composition { height: 100%; min-height: 0; }
}

@media (min-width: 1920px) {
  .ks-v3-hero__copy { padding-left: 370px; }
}

@media (max-width: 991px) {
  .ks-v3-hero { min-height: 450px; grid-template-columns: 1.08fr .92fr; }
  .ks-v3-hero__copy { padding: 65px 35px; }
  .ks-v3-hero__visual { min-height: 450px; }
  .ks-v3-hero__chair { width: 42vw; }
  .ks-v3-hero__note { right: 22px; bottom: 28px; }
  .ks-v3-promo { min-height: 195px; padding: 25px; }
  .ks-v3-promo__copy strong { font-size: 21px; }
}

@media (max-width: 767px) {
  .ks-v3-hero { display: flex; min-height: 0; flex-direction: column; }
  .ks-v3-hero__copy { order: 2; padding: 32px 20px 38px; }
  .ks-v3-hero h1, .ks-v3-hero h2 { margin-bottom: 15px; font-size: 35px; }
  .ks-v3-hero__copy > p { margin-bottom: 24px; font-size: 14px; }
  .ks-v3-hero__visual { order: 1; min-height: 310px; }
  .ks-v3-hero__composition { min-height: 310px; }
  .ks-v3-hero__circle { width: 280px; height: 280px; }
  .ks-v3-hero__chair { width: 285px; max-height: 295px; }
  .ks-v3-hero__note { right: 14px; bottom: 18px; min-width: 145px; padding: 11px 13px; }
  .ks-v3-hero__actions { gap: 18px; }
  .ks-v3-hero-next, .ks-v3-hero-prev { display: none; }
  .ks-v3-hero-pagination { bottom: 12px; }
  .ks-v3-promos { grid-template-columns: 1fr; margin: 18px auto 48px; gap: 12px; }
  .ks-v3-promo { min-height: 175px; grid-template-columns: 1fr 42%; }
  .ks-v3-promo img { width: 45%; }
  .ks-home-modules { width: calc(100% - 30px); }
  .ks-category-grid--photos .ks-category-card { min-height: 225px; }
  .ks-category-grid--photos .ks-category-card img { height: 160px; }
  .ks-category-grid--photos .ks-category-card > span { padding: 14px 12px; }
}

@media (max-width: 420px) {
  .ks-v3-hero h1, .ks-v3-hero h2 { font-size: 31px; }
  .ks-v3-button { width: 100%; }
  .ks-v3-link { width: 100%; text-align: center; }
  .ks-v3-promo { padding: 22px; }
  .ks-v3-promo__copy strong { max-width: 185px; font-size: 19px; }
  .ks-v3-promo__copy em { margin-top: 14px; }
  .ks-category-grid--photos .ks-category-card { min-height: 210px; }
  .ks-category-grid--photos .ks-category-card img { height: 145px; }
}

/* Category pages: wider desktop catalogue and a stable two-column mobile grid. */
@media (min-width: 1200px) {
  #product-category.container { max-width: 1500px; }
  #product-category > .row { display: flex; align-items: flex-start; }
  #product-category #column-left { width: 20%; }
  #product-category #content { width: 80%; }
  #product-category .product-grid { width: 25%; }
}

@media (max-width: 767px) {
  #product-category .product-grid {
    width: 50%;
    padding-right: 6px;
    padding-left: 6px;
  }
  #product-category #content > .row { margin-right: -6px; margin-left: -6px; }
  #product-category .product-thumb .image { padding: 8px; }
  #product-category .product-thumb .caption { padding-right: 9px; padding-left: 9px; }
  #product-category .product-thumb .button-group { padding-right: 8px; padding-left: 8px; }
  #product-category .product-thumb:hover { box-shadow: none; transform: none; }
  #product-category .product-thumb:hover .image img { transform: none; }
}
/* KRESLOSKLAD: убирает белый круг вокруг стрелок слайдера v3 */
.ks-v3-hero-prev,
.ks-v3-hero-next {
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ks-v3-hero-prev::before,
.ks-v3-hero-next::before {
  color: #333 !important;
  font-size: 30px !important;
  text-shadow: none !important;
}

/* Navigation update 3.0.5: a real catalogue and a clearer mobile toggle. */
.ks-catalog-label { border: 0; font-family: inherit; cursor: pointer; }
.ks-catalog-label[aria-expanded="true"] { background: rgba(0, 0, 0, .2); }
.ks-catalog-panel[hidden] { display: none !important; }
.ks-catalog-panel {
  position: absolute; top: 100%; left: 0; z-index: 1010;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px;
  width: 850px; max-width: 100%; max-height: 70vh; overflow-y: auto;
  padding: 28px; border: 1px solid var(--ks-line); border-top: 3px solid var(--ks-accent);
  border-radius: 0 0 12px 12px; background: #fff; box-shadow: var(--ks-shadow);
}
.ks-catalog-panel__heading { display: block; margin-bottom: 10px; color: var(--ks-ink); font-size: 15px; font-weight: 750; }
.ks-catalog-panel__group ul { margin-bottom: 8px; }
.ks-catalog-panel__group li a { display: block; padding: 6px 0; color: var(--ks-ink-soft); font-size: 13px; }
.ks-catalog-panel__all { color: var(--ks-accent-dark); font-size: 12px; font-weight: 700; }
.ks-catalog-panel a:hover { color: var(--ks-accent-dark); text-decoration: underline; }
.ks-mobile-menu:focus-visible, .ks-catalog-label:focus-visible, .ks-catalog-panel a:focus-visible { outline: 2px solid var(--ks-ink); outline-offset: 3px; }
.ks-menu-icon { position: relative; display: inline-block; width: 24px; height: 21px; vertical-align: middle; }
.ks-menu-icon > span { position: absolute; left: 0; width: 24px; height: 3px; border-radius: 2px; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
.ks-menu-icon > span:nth-child(1) { top: 1px; }
.ks-menu-icon > span:nth-child(2) { top: 9px; }
.ks-menu-icon > span:nth-child(3) { top: 17px; }
.ks-mobile-menu[aria-expanded="true"] .ks-menu-icon > span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.ks-mobile-menu[aria-expanded="true"] .ks-menu-icon > span:nth-child(2) { opacity: 0; }
.ks-mobile-menu[aria-expanded="true"] .ks-menu-icon > span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (min-width: 768px) {
  #menu .navbar-collapse { justify-content: flex-start; }
}
@media (max-width: 767px) {
  .ks-mobile-menu { width: 44px; height: 44px; }
  .ks-header__row { grid-template-columns: 44px minmax(0, 1fr) auto; }
  #menu .ks-catalog-label, #menu .ks-catalog-panel { display: none !important; }
  #menu .navbar-collapse.in { max-height: calc(100vh - 145px); max-height: calc(100dvh - 145px); overflow-y: auto; overscroll-behavior: contain; }
  #menu .nav > li > a { min-height: 46px; font-size: 14px; }
  #menu .dropdown-inner a, #menu .see-all { min-height: 44px; display: flex; align-items: center; }
  #menu .dropdown-menu { margin-left: 0 !important; }
  #menu .dropdown.open > a > .fa-angle-down { transform: rotate(180deg); }
}
@media (prefers-reduced-motion: reduce) {
  .ks-menu-icon > span { transition: none; }
}
