:root {
  --bg: #fff;
  --surface: #fff;
  --soft: #f7f7f6;
  --ink: #20221f;
  --muted: #72746e;
  --line: #dedfd9;
  --accent: #ffdb1a;
  --accent-strong: #f4c900;
  --container: 1376px;
  --gutter: clamp(16px,3vw,40px);
  --mono: "SFMono-Regular",Consolas,monospace
}
* {
  box-sizing: border-box
}
html {
  scroll-behavior: smooth
}
body.krep-theme {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.45 Arial,"Helvetica Neue",sans-serif;
  -webkit-font-smoothing: antialiased
}
body.krep-theme a {
  color: inherit;
  text-decoration: none
}
body.krep-theme button,
body.krep-theme input {
  font: inherit
}
body.krep-theme button:focus-visible,
body.krep-theme a:focus-visible,
body.krep-theme input:focus-visible {
  outline: 3px solid rgba(255,219,26,.72);
  outline-offset: 2px
}
.krep-container {
  width: 100%;
  max-width: var(--container);
  margin: auto;
  padding-inline: var(--gutter)
}
.krep-num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums
}
.krep-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px)
}
.krep-topline {
  border-bottom: 1px solid #3a3c38;
  background: #2b2d29;
  color: #dfe1dc;
  font-size: 13px
}
.krep-topline .krep-container {
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}
.krep-city {
  color: #fff;
  font-weight: 700
}
.krep-contacts {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap
}
.krep-contacts a:hover {
  color: #fff
}
.krep-contact-link {
  padding-right: 18px;
  border-right: 1px solid #50524d
}
.krep-socials {
  display: flex;
  align-items: center;
  gap: 7px
}
.krep-social {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  transition: opacity .16s ease,transform .16s ease
}
.krep-social:hover {
  opacity: .82
}
.krep-social:active {
  transform: translateY(1px)
}
.krep-social img {
  display: block;
  width: 20px;
  height: 20px
}
.krep-header-main {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 122px minmax(280px,1fr) minmax(140px,auto) auto;
  grid-template-areas: "brand catalog search cart login";
  align-items: center;
  gap: 14px;
  padding-block: 2px
}
.krep-brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  min-width: 136px;
  line-height: 1
}
.krep-brand img {
  display: block;
  width: auto;
  height: 82px;
  max-width: 236px;
  object-fit: contain
}
.krep-brand span {
  display: none
}
.krep-button {
  height: 44px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
  transition: .16s
}
.krep-button:hover {
  border-color: #b8bab3;
  box-shadow: 0 4px 10px rgba(32,34,31,.07)
}
.krep-catalog {
  grid-area: catalog;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-color: var(--accent);
  background: var(--accent)
}
.krep-catalog:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong)
}
.krep-catalog svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none
}
.krep-search-wrap {
  grid-area: search;
  min-width: 0;
  transform: translateY(5px)
}
.krep-search-wrap #search {
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
  border: 2px solid #c7c8c3;
  border-radius: 6px;
  background: #fff;
  overflow: hidden
}
.krep-search-wrap #search:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(32,34,31,.1)
}
.krep-search-wrap #search input {
  height: 40px;
  flex: 1;
  min-width: 0;
  border: 0;
  box-shadow: none;
  font-size: 14px
}
.krep-search-wrap #search .input-group-btn {
  width: auto
}
.krep-search-wrap #search button {
  height: 40px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--ink)
}
.krep-cart-wrap {
  grid-area: cart;
  min-width: 140px
}
.krep-cart-wrap #cart {
  margin: 0
}
.krep-cart-wrap #cart>button {
  height: 44px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-shadow: none
}
.krep-cart-wrap #cart>button:hover {
  border-color: #b8bab3;
  background: var(--soft)
}
.krep-cart-wrap #cart .dropdown-menu {
  min-width: 360px
}
.krep-login {
  grid-area: login;
  display: inline-flex;
  height: 44px;
  align-items: center;
  justify-content: center
}
.krep-login:hover {
  background: var(--soft)
}
.krep-menu {
  border-top: 1px solid #ecece9;
  background: #fff
}
.krep-menu-list {
  display: flex;
  align-items: center;
  min-height: 42px;
  overflow-x: auto;
  scrollbar-width: none
}
.krep-menu-list::-webkit-scrollbar {
  display: none
}
.krep-menu-list a {
  flex: 0 0 auto;
  padding: 11px 16px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap
}
.krep-menu-list a:hover {
  color: #176ea8;
  background: #edf6ff
}
.krep-home {
  padding: 28px 0 0;
  background: #fff
}
.krep-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff
}
.krep-carousel-track {
  display: flex;
  transition: transform .42s cubic-bezier(.16,1,.3,1)
}
.krep-slide {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(320px,.85fr);
  min-width: 100%;
  height: 300px;
  overflow: hidden;
  background: #fff
}
.krep-slide:nth-child(2) {
  background: var(--soft)
}
.krep-slide:nth-child(3) {
  background: #fff7c5
}
.krep-hero-copy {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 34px 30px 48px 42px;
  overflow: hidden
}
.krep-hero-copy h1,
.krep-hero-copy h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(30px,3.6vw,50px);
  line-height: 1.02;
  letter-spacing: -1.8px;
  font-weight: 700
}
.krep-hero-copy p {
  max-width: 520px;
  margin: 12px 0 0;
  color: #555752;
  font-size: 16px
}
.krep-hero-copy .krep-button {
  display: inline-flex;
  align-items: center;
  margin-top: 23px;
  border-color: var(--ink);
  background: var(--ink);
  color: #fff
}
.krep-hero-visual {
  position: relative;
  overflow: hidden;
  background: #e9e9e7
}
.krep-slide:nth-child(3) .krep-hero-visual {
  background: #ffdf32
}
.krep-hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}
.krep-slide:nth-child(2) .krep-hero-visual img {
  object-fit: contain
}
.krep-carousel-controls {
  position: absolute;
  z-index: 2;
  left: 42px;
  bottom: 24px;
  display: flex;
  gap: 8px
}
.krep-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid #71736e;
  border-radius: 50%;
  background: transparent
}
.krep-dot[aria-current=true] {
  width: 26px;
  border-radius: 7px;
  border-color: var(--ink);
  background: var(--ink)
}
.krep-panel {
  margin-top: 28px;
  padding: 32px;
  border: 1px solid #e4e5e1;
  border-radius: 14px;
  background: #fff
}
.krep-catalog-panel {
  padding-inline: 0;
  border: 0
}
.krep-section+.krep-section {
  margin-top: 34px
}
.krep-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line)
}
.krep-section-head h2,
.krep-section-head h3 {
  margin: 0;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.6px
}
.krep-category-grid {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 10px
}
.krep-category-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 172px;
  flex-direction: column;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card-bg,#eaeae9);
  transition: .18s
}
.krep-category-card:before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background-image: var(--card-image);
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform .25s ease
}
.krep-category-card:hover {
  border-color: #3b99e5;
  box-shadow: 0 0 0 3px rgba(59,153,229,.32),0 10px 22px rgba(32,34,31,.16)
}
.krep-category-card:hover:before {
  transform: scale(1.1)
}
.krep-category-card h3 {
  max-width: 185px;
  margin: 0;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -.5px;
  font-weight: 700
}
.krep-category-bottom {
  display: flex;
  margin-top: auto
}
.krep-category-bottom strong {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #0f1519;
  font: 800 14px var(--mono);
  letter-spacing: -.3px
}
.krep-img-vinty {
  --card-image: url('../image/main/category-vinty-eaeae9.png')
}
.krep-img-bolty {
  --card-image: url('../image/main/bolty.png')
}
.krep-img-gayki {
  --card-image: url('../image/main/category-gayki-eaeae9.png')
}
.krep-img-shayby {
  --card-image: url('../image/main/washers-category.png')
}
.krep-img-shpilki {
  --card-image: url('../image/main/category-shpilki-eaeae9.png')
}
.krep-img-samorezy {
  --card-image: url('../image/main/category-samorezy-shurupy-eaeae9.png')
}
.krep-img-shtifty {
  --card-image: url('../image/main/category-shtifty-eaeae9.png')
}
.krep-img-shplinty {
  --card-image: url('../image/main/category-shplinty-eaeae9.png')
}
.krep-img-koltsa {
  --card-image: url('../image/main/category-stopornye-koltsa-eaeae9.png')
}
.krep-img-rym {
  --card-image: url('../image/main/eye-fasteners-white-yellow-lightgray.png')
}
.krep-img-trosy {
  --card-image: url('../image/main/category-trosy-eaeae9.png')
}
.krep-img-strubciny {
  --card-image: url('../image/main/category-strubciny-montazhnye-eaeae9.png')
}
.krep-category-card--plain {
  background: var(--accent)
}
.krep-category-card--plain:before {
  display: none
}
.krep-category-card--plain p {
  margin-top: 10px;
  color: #5a5310
}
.krep-advantages {
  margin-bottom: 46px;
  padding: 30px
}
.krep-advantages h2 {
  margin: 0;
  font-size: clamp(28px,3vw,38px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.2px
}
.krep-advantages-intro {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted)
}
.krep-advantages-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr 1fr;
  grid-template-rows: repeat(2,minmax(132px,auto));
  gap: 10px;
  margin-top: 22px
}
.krep-advantage {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  border-radius: 10px;
  background: #f1f2ef
}
.krep-advantage:first-child {
  grid-row: 1/3;
  justify-content: flex-start;
  padding: 22px;
  background: var(--accent)
}
.krep-advantage:nth-child(4) {
  background: #fff8c7
}
.krep-advantage-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border: 1px solid rgba(32,34,31,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.68)
}
.krep-advantage-icon img {
  display: block;
  width: 20px;
  height: 20px
}
.krep-advantage:first-child .krep-advantage-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  background: rgba(255,255,255,.74)
}
.krep-advantage:first-child .krep-advantage-icon img {
  width: 24px;
  height: 24px
}
.krep-metric {
  display: block;
  margin-bottom: 18px;
  font: 800 clamp(30px,3.1vw,42px)/1 var(--mono);
  letter-spacing: -2px
}
.krep-advantage:first-child>div {
  margin-top: auto
}
.krep-advantage strong {
  display: block;
  max-width: 280px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.4px
}
.krep-advantage:first-child strong {
  font-size: clamp(25px,2.4vw,34px);
  letter-spacing: -1px
}
.krep-advantage p {
  max-width: 310px;
  margin: 8px 0 0;
  color: #60635d;
  font-size: 13px
}
.krep-footer {
  border-top: 1px solid #d9dad6;
  background: #eceeeb;
  color: var(--ink)
}
.krep-footer a {
  color: var(--ink)
}
.krep-footer-main {
  display: grid;
  grid-template-columns: 1.25fr repeat(3,1fr);
  gap: 38px;
  padding-block: 8px 34px
}
.krep-footer-brand {
  display: flex;
  align-items: center;
  height: 48px
}
.krep-footer-brand img {
  display: block;
  width: auto;
  height: 48px;
  max-width: 173px;
  object-fit: contain
}
.krep-footer-copy {
  max-width: 300px;
  margin: 12px 0 0;
  color: #5f615c;
  font-size: 13px;
  line-height: 1.45
}
.krep-footer-contact {
  display: block;
  margin-top: 22px;
  font-weight: 800
}
.krep-footer-email {
  display: block;
  margin-top: 5px;
  color: #5f615c;
  font-size: 13px
}
.krep-footer-column h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2
}
.krep-footer-column nav {
  display: grid;
  gap: 9px;
  margin-top: 15px
}
.krep-footer-column a {
  width: max-content;
  max-width: 100%;
  color: #555752;
  font-size: 13px;
  line-height: 1.45
}
.krep-footer-column a:hover {
  text-decoration: underline
}
.krep-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 24px;
  border-top: 1px solid #d0d2cd;
  color: #666862;
  font-size: 12px
}
.krep-footer-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap
}
.krep-page-content {
  min-height: 360px;
  padding-top: 24px;
  padding-bottom: 36px
}
body.krep-theme>.container:not(.krep-container) {
  margin-top: 24px;
  margin-bottom: 36px
}
@media(max-width:1040px) {
  .krep-search-wrap {
    transform: none
  }
  .krep-header-main {
    grid-template-columns: auto minmax(180px,1fr) auto;
    grid-template-areas: "brand brand cart" "catalog search login";
    gap: 10px 12px;
    padding-block: 12px
  }
  .krep-category-grid {
    grid-template-columns: repeat(3,minmax(0,1fr))
  }
  .krep-slide {
    grid-template-columns: minmax(0,1fr) 40%;
    height: 280px
  }
  .krep-advantages-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto
  }
  .krep-advantage:first-child {
    grid-column: 1/-1;
    grid-row: auto;
    min-height: 190px
  }
  .krep-footer-main {
    grid-template-columns: 1.2fr repeat(2,1fr)
  }
  .krep-footer-column:last-child {
    grid-column: 2/4
  }
}
@media(max-width:640px) {
  .krep-topline .krep-container {
    min-height: 34px
  }
  .krep-contacts .krep-email,
  .krep-contacts .krep-phone {
    display: none
  }
  .krep-contact-link {
    padding-right: 10px
  }
  .krep-header-main {
    grid-template-columns: minmax(0,1fr) auto auto;
    grid-template-areas: "brand cart login" "catalog search search";
    padding-block: 10px
  }
  .krep-brand {
    min-width: 0
  }
  .krep-brand img {
    height: 69px;
    max-width: 218px
  }
  .krep-brand span {
    display: none
  }
  .krep-button {
    min-height: 40px;
    padding-inline: 12px
  }
  .krep-cart-wrap {
    min-width: 0
  }
  .krep-cart-wrap #cart>button {
    min-height: 40px;
    width: 44px;
    font-size: 0
  }
  .krep-cart-wrap #cart>button i {
    font-size: 15px
  }
  .krep-cart-wrap #cart .dropdown-menu {
    position: fixed;
    top: 116px;
    right: 8px;
    left: 8px;
    min-width: 0
  }
  .krep-menu-list {
    min-height: 42px;
    padding-inline: 16px
  }
  .krep-menu-list a {
    padding: 11px 12px;
    font-size: 12px
  }
  .krep-home {
    padding-top: 16px
  }
  .krep-slide {
    grid-template-columns: 1fr;
    grid-template-rows: auto 132px;
    height: 355px
  }
  .krep-hero-copy {
    justify-content: flex-start;
    padding: 24px 20px 36px
  }
  .krep-hero-copy h1,
  .krep-hero-copy h2 {
    font-size: 30px;
    letter-spacing: -1px
  }
  .krep-hero-copy p {
    margin-top: 8px;
    font-size: 14px
  }
  .krep-hero-copy .krep-button {
    min-height: 38px;
    margin-top: 16px
  }
  .krep-hero-visual {
    grid-row: 2
  }
  .krep-carousel-controls {
    left: 20px;
    bottom: 122px
  }
  .krep-panel {
    margin-top: 16px;
    padding: 22px 16px
  }
  .krep-catalog-panel {
    padding-inline: 0
  }
  .krep-category-grid {
    grid-template-columns: repeat(2,minmax(0,1fr))
  }
  .krep-category-card {
    min-height: 157px;
    padding: 15px
  }
  .krep-category-card h3 {
    font-size: 20px
  }
  .krep-advantages {
    margin-bottom: 28px
  }
  .krep-advantages-grid {
    grid-template-columns: 1fr
  }
  .krep-advantage:first-child {
    grid-column: auto
  }
  .krep-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
    padding-block: 32px 28px
  }
  .krep-footer-brand-block {
    grid-column: 1/-1
  }
  .krep-footer-column:last-child {
    grid-column: auto
  }
  .krep-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px
  }
}
@media(max-width:390px) {
  .krep-category-grid {
    grid-template-columns: 1fr
  }
  .krep-category-card {
    min-height: 172px
  }
}
@media(prefers-reduced-motion:reduce) {
  .krep-carousel-track {
    transition: none
  }
  html {
    scroll-behavior: auto
  }
}
