:root {
  --mavi-red: #e30613;
  --mavi-red-dark: #b9040f;
  --mavi-ink: #1a1a1a;
  --mavi-bar: #1a1a1a;
  --mavi-foot: #1d1d1d;
  --mavi-soft: #f3f3f3;
  --mavi-line: #e3e3e3;
  --mavi-muted: #6b6b6b;
  --mavi-green: #1b8a3a;
  --mavi-amber: #9a5b00;
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-font-size: .9375rem;
  --bs-body-color: #1a1a1a;
  --bs-border-radius: 2px;
  --bs-border-radius-sm: 2px;
  --bs-border-radius-lg: 2px;
  --bs-border-color: #d9d9d9;
  --bs-link-color-rgb: 26, 26, 26;
  --bs-link-hover-color-rgb: 227, 6, 19;
}

body {
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
}

.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 30px;
}

:focus-visible {
  outline: 2px solid var(--mavi-red);
  outline-offset: 2px;
}

.form-control,
.form-select {
  border-radius: 2px;
  border-color: #cfcfcf;
  font-size: .9375rem;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: var(--mavi-ink);
  box-shadow: 0 0 0 3px rgba(26, 26, 26, .1);
}

.form-check-input {
  border-color: #b5b5b5;
  border-radius: 2px;
}

.form-check-input:checked {
  background-color: var(--mavi-red);
  border-color: var(--mavi-red);
}

.form-switch .form-check-input {
  border-radius: 2em;
}

.form-label {
  font-size: .8125rem;
  font-weight: 600;
  margin-bottom: .35rem;
}

.btn {
  border-radius: 2px;
  font-weight: 600;
}

.btn-mavi {
  background: var(--mavi-red);
  border-color: var(--mavi-red);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: .8125rem;
  padding: .6rem 1rem;
}

.btn-mavi:hover,
.btn-mavi:focus-visible,
.btn-mavi:active {
  background: var(--mavi-red-dark) !important;
  border-color: var(--mavi-red-dark) !important;
  color: #fff !important;
}

.btn-mavi.is-in {
  background: var(--mavi-green);
  border-color: var(--mavi-green);
}

.btn-mavi.is-in:hover {
  background: #146c2d !important;
  border-color: #146c2d !important;
}

.btn-line {
  border: 1px solid #cfcfcf;
  background: #fff;
  color: var(--mavi-ink);
  font-size: .8125rem;
  padding: .55rem .9rem;
}

.btn-line:hover {
  border-color: var(--mavi-ink);
  background: #fff;
  color: var(--mavi-ink);
}

.topstrip {
  background: #f0f0f0;
  font-size: .75rem;
  color: #444;
}

.topstrip .wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 38px;
}

.topstrip a {
  color: #444;
  font-weight: 500;
}

.topstrip a:hover {
  color: var(--mavi-red);
}

.topstrip .sep {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: #c4c4c4;
  margin: 0 .9rem;
  vertical-align: -1px;
}

.hdr {
  background: #fff;
}

.hdr .wrap {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  min-height: 88px;
}

.hdr-logo img {
  display: block;
  height: 52px;
  width: auto;
}

.hdr-search {
  display: flex;
  max-width: 700px;
  width: 100%;
  justify-self: center;
  border: 2px solid #dcdcdc;
  border-radius: 2px;
  padding: 3px;
  background: #fff;
}

.hdr-search:focus-within {
  border-color: var(--mavi-ink);
}

.hdr-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 .75rem;
  font-size: .9375rem;
  background: transparent;
}

.hdr-search button {
  width: 50px;
  height: 40px;
  border: 0;
  background: var(--mavi-red);
  color: #fff;
  border-radius: 2px;
}

.hdr-search button:hover {
  background: var(--mavi-red-dark);
}

.hdr-tools {
  display: flex;
  align-items: center;
  gap: 34px;
}

.hdr-tool {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mavi-ink);
  line-height: 1.25;
}

.hdr-tool:hover {
  color: var(--mavi-ink);
}

.hdr-tool:hover b {
  color: var(--mavi-red);
}

.hdr-tool > i {
  font-size: 1.65rem;
}

.hdr-tool small {
  display: block;
  font-size: .75rem;
  color: var(--mavi-muted);
  max-width: 230px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hdr-tool b {
  display: block;
  font-size: .875rem;
  font-weight: 700;
}

.hdr-cart-ico {
  position: relative;
  margin-right: 10px;
}

.hdr-cart-ico i {
  font-size: 1.65rem;
}

.hdr-cart-ico span {
  position: absolute;
  top: -8px;
  right: -12px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--mavi-red);
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

.hdr-burger {
  display: none;
  border: 0;
  background: none;
  font-size: 1.5rem;
  padding: 0;
  color: var(--mavi-ink);
}

.mnav {
  background: var(--mavi-bar);
  position: relative;
  z-index: 1030;
}

.mnav .wrap {
  display: flex;
  align-items: stretch;
}

.mnav-list {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.mnav-list > li {
  display: flex;
  border-right: 1px solid #333;
}

.mnav-list > li:last-child {
  margin-left: auto;
  border-right: 0;
  border-left: 1px solid #333;
}

.mnav-link {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 48px;
  padding: 0 20px;
  border: 0;
  background: none;
  color: #fff;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mnav-link:hover,
.mnav-link.show,
.mnav-link.is-active {
  color: #fff;
  background: #2b2b2b;
}

.mnav-link.is-active {
  box-shadow: inset 0 -3px 0 var(--mavi-red);
}

.mnav-link .fa-chevron-down {
  font-size: .625rem;
}

.mnav-list > li.mnav-cat {
  border-right: 0;
}

.mnav-cat .mnav-link {
  background: var(--mavi-red);
  padding: 0 22px;
}

.mnav-cat .mnav-link:hover,
.mnav-cat .mnav-link.show {
  background: var(--mavi-red-dark);
}

.mnav-cat .mnav-link .fa-chevron-down {
  transition: transform .15s;
}

.mnav-cat .mnav-link.show .fa-chevron-down {
  transform: rotate(180deg);
}

.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 2px solid var(--mavi-red);
  box-shadow: 0 18px 30px rgba(0, 0, 0, .16);
}

.mega > .wrap {
  display: block;
  position: relative;
}

.mega-cats {
  list-style: none;
  width: 290px;
  margin: 0;
  padding: 8px 0;
}

.mega-cat {
  display: grid;
  grid-template-columns: 18px 1fr 10px;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 16px;
  border-left: 3px solid transparent;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--mavi-ink);
}

.mega-cat > i:first-child {
  color: #555;
  font-size: .875rem;
  text-align: center;
}

.mega-cat > i:last-child {
  color: #9a9a9a;
  font-size: .5625rem;
}

.mega-cats > li.is-on > .mega-cat {
  background: #f5f5f5;
  border-left-color: var(--mavi-red);
  color: var(--mavi-red);
}

.mega-cats > li.is-on > .mega-cat > i {
  color: var(--mavi-red);
}

.mega-pane {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 320px;
  right: 30px;
  background: #f8f8f8;
  border-left: 1px solid #ededed;
  padding: 30px 32px;
  overflow-y: auto;
}

.mega-cats > li.is-on > .mega-pane {
  display: block;
}

.mega-pane h3 {
  width: 242px;
  max-width: 100%;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin: 0 0 12px;
  padding-bottom: 11px;
  border-bottom: 2px solid var(--mavi-red);
}

.mega-links {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 180px;
  column-width: 200px;
  column-gap: 28px;
  column-fill: auto;
  font-size: .875rem;
}

.mega-links li {
  break-inside: avoid;
}

.mega-links a {
  display: block;
  padding: 4px 0;
  color: #333;
}

.mega-links a:hover {
  color: var(--mavi-red);
}

.mega-links ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 14px;
}

.mega-links ul a {
  color: var(--mavi-muted);
  font-size: .8125rem;
}

.mnav .dropdown-menu {
  margin: 0 !important;
  border: 1px solid var(--mavi-line);
  border-top: 3px solid var(--mavi-red);
  border-radius: 0 0 2px 2px;
  padding: 6px 0;
  min-width: 250px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .14);
  font-size: .875rem;
}

.mnav .dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .55rem 1.1rem;
  font-weight: 500;
}

.mnav .dropdown-item small {
  color: var(--mavi-muted);
  font-weight: 400;
}

.mnav .dropdown-item:hover,
.mnav .dropdown-item:focus {
  background: var(--mavi-soft);
  color: var(--mavi-red);
}

.banner {
  padding-top: 22px;
}

.banner a {
  display: block;
  aspect-ratio: 1879 / 456;
  background: #000;
  border-radius: 2px;
  overflow: hidden;
}

.banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner .carousel-item a {
  aspect-ratio: 1920 / 456;
}

.banner .carousel-control-prev,
.banner .carousel-control-next {
  top: 50%;
  bottom: auto;
  width: 44px;
  height: 56px;
  margin-top: -40px;
  border: 0;
  background: rgba(26, 26, 26, .85);
  color: #fff;
  opacity: 0;
  transition: opacity .15s;
}

.banner .carousel:hover .carousel-control-prev,
.banner .carousel:hover .carousel-control-next,
.banner .carousel-control-prev:focus-visible,
.banner .carousel-control-next:focus-visible {
  opacity: 1;
}

.banner .carousel-control-prev:hover,
.banner .carousel-control-next:hover {
  background: var(--mavi-red);
}

.banner .carousel-indicators {
  position: static;
  margin: 12px 0 0;
  gap: 8px;
}

.banner .carousel-indicators button {
  width: 40px;
  height: 4px;
  margin: 0;
  border: 0;
  background: #cfcfcf;
  opacity: 1;
}

.banner .carousel-indicators .active {
  background: var(--mavi-red);
}

.sect {
  padding: 34px 0 70px;
}

.sect-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--mavi-line);
  margin-bottom: 18px;
}

.sect-head h1,
.sect-head h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
}

.sect-head .note {
  font-size: .8125rem;
  color: var(--mavi-muted);
}

.home {
  padding-top: 26px;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 40px;
}

.home-col {
  display: flex;
  flex-direction: column;
}

.hcats {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  border-top: 1px solid var(--mavi-line);
  border-left: 1px solid var(--mavi-line);
}

.hcats li {
  border-right: 1px solid var(--mavi-line);
  border-bottom: 1px solid var(--mavi-line);
}

.hcats a {
  display: grid;
  grid-template-columns: 20px 1fr 10px;
  align-items: center;
  gap: 12px;
  height: 100%;
  min-height: 50px;
  padding: 8px 16px;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--mavi-ink);
}

.hcats a > i:first-child {
  color: #555;
  text-align: center;
}

.hcats a > i:last-child {
  color: #b0b0b0;
  font-size: .5625rem;
}

.hcats a:hover {
  background: #f7f7f7;
  color: var(--mavi-red);
}

.hcats a:hover > i {
  color: var(--mavi-red);
}

.hsels {
  flex: 1;
  display: grid;
  grid-auto-rows: 1fr;
  gap: 12px;
}

.hsel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 132px;
  padding: 18px 24px;
  border-radius: 2px;
  color: #fff;
  background: linear-gradient(115deg, #161616 35%, #6d0f17 100%);
}

.hsel-lant {
  background: linear-gradient(115deg, #161616 35%, #33363c 100%);
}

.hsel:hover {
  color: #fff;
}

.hsel-bg {
  position: absolute;
  right: -18px;
  bottom: -34px;
  font-size: 170px;
  line-height: 1;
  color: rgba(255, 255, 255, .09);
}

.hsel b {
  position: relative;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
  text-transform: uppercase;
}

.hsel span {
  position: relative;
  margin-top: 6px;
  font-size: .8125rem;
  color: #d2d2d2;
}

.hsel em {
  position: relative;
  margin-top: 14px;
  padding: 8px 14px;
  background: #fff;
  color: var(--mavi-ink);
  border-radius: 2px;
  font-style: normal;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.hsel em i {
  margin-right: 8px;
}

.hsel:hover em {
  background: var(--mavi-red);
  color: #fff;
}

.tbar {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.tbar-search {
  position: relative;
  flex: 0 1 340px;
}

.tbar-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a8a8a;
  font-size: .8125rem;
}

.tbar-search input {
  padding-left: 34px;
  height: 40px;
}

.tbar .form-check {
  margin: 0;
  font-size: .875rem;
}

.tbar .form-check-label {
  cursor: pointer;
}

.tbar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .8125rem;
  color: var(--mavi-muted);
}

.tbar-right .form-select {
  width: auto;
  height: 40px;
}

.tbl {
  width: 100% !important;
  margin: 0 !important;
  border-collapse: collapse;
  font-size: .875rem;
}

.tbl thead th {
  background: var(--mavi-soft);
  border-top: 1px solid var(--mavi-line);
  border-bottom: 1px solid #cfcfcf;
  font-size: .75rem;
  font-weight: 600;
  color: #444;
  padding: 11px 14px;
  white-space: nowrap;
  vertical-align: middle;
}

.tbl tbody td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--mavi-line);
  vertical-align: middle;
  background: #fff;
}

.tbl tbody tr:hover > td {
  background: #fafafa;
}

.tbl .c-num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.tbl .c-cod {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: #444;
  width: 1%;
}

.p-name {
  display: block;
  font-weight: 600;
  line-height: 1.35;
  color: var(--mavi-ink);
}

.p-name:hover {
  color: var(--mavi-red);
}

.p-meta {
  margin-top: 4px;
  font-size: .78rem;
  color: var(--mavi-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.p-meta a {
  color: var(--mavi-muted);
}

.p-meta a:hover {
  color: var(--mavi-red);
}

.p-meta .fa-angle-right {
  font-size: .625rem;
  color: #b0b0b0;
}

.p-meta .p-det {
  margin-left: 10px;
  color: var(--mavi-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #bdbdbd;
}

.p-cod {
  display: block;
  margin-top: 3px;
  font-size: .78rem;
  color: var(--mavi-muted);
  font-variant-numeric: tabular-nums;
}

.stoc {
  display: grid;
  grid-template-columns: 8px auto 1fr;
  align-items: center;
  column-gap: 8px;
  white-space: nowrap;
  line-height: 1.55;
  font-size: .8125rem;
}

.stoc::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cfcfcf;
}

.stoc.is-on::before {
  background: var(--mavi-green);
}

.stoc b {
  font-variant-numeric: tabular-nums;
  text-align: right;
  min-width: 30px;
  font-weight: 700;
}

.stoc:not(.is-on) b {
  color: #9a9a9a;
  font-weight: 500;
}

.stoc span {
  color: #555;
}

.lnk {
  border: 0;
  background: none;
  padding: 0;
  font-size: .78rem;
  font-weight: 600;
  color: var(--mavi-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #bdbdbd;
}

.lnk:hover {
  color: var(--mavi-red);
  text-decoration-color: var(--mavi-red);
}

.lnk i {
  font-size: .625rem;
  margin-left: 4px;
  transition: transform .15s;
}

.lnk[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.c-stoc .lnk {
  margin: 4px 0 0 16px;
}

.c-lista {
  color: var(--mavi-muted);
}

.c-pret {
  font-weight: 700;
  font-size: .9375rem;
}

.achiz-val {
  display: none;
}

.c-achiz.is-open .achiz-val {
  display: inline;
}

.c-achiz.is-open .js-achiz span {
  display: none;
}

.c-achiz .js-achiz {
  text-decoration: none;
  color: var(--mavi-muted);
  font-weight: 500;
}

.c-achiz .js-achiz i {
  font-size: .8125rem;
  margin: 0 5px 0 0;
  transform: none !important;
}

.c-achiz.is-open .js-achiz i {
  margin: 0 0 0 8px;
}

.c-achiz.is-open .js-achiz {
  order: 2;
}

.c-achiz .achiz-in {
  display: inline-flex;
  align-items: center;
}

.qty {
  display: inline-flex;
  border: 1px solid #cfcfcf;
  border-radius: 2px;
  background: #fff;
}

.qty button {
  width: 34px;
  height: 38px;
  border: 0;
  background: #f6f6f6;
  color: var(--mavi-ink);
  font-size: .6875rem;
}

.qty button:hover {
  background: var(--mavi-ink);
  color: #fff;
}

.qty input {
  width: 52px;
  height: 38px;
  border: 0;
  border-left: 1px solid #cfcfcf;
  border-right: 1px solid #cfcfcf;
  text-align: center;
  font-weight: 600;
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
  outline: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty:focus-within {
  border-color: var(--mavi-ink);
}

.c-act {
  white-space: nowrap;
  text-align: right;
  width: 1%;
}

.c-act .btn-mavi {
  min-width: 124px;
  height: 40px;
  padding: 0 .9rem;
}

.c-act .btn-mavi i {
  margin-right: 6px;
}

.btn-ico {
  width: 40px;
  height: 40px;
  border: 1px solid #cfcfcf;
  border-radius: 2px;
  background: #fff;
  color: #555;
  margin-left: 6px;
  vertical-align: middle;
}

.btn-ico:hover {
  border-color: var(--mavi-ink);
  color: var(--mavi-ink);
}

.btn-ico.is-on {
  color: var(--mavi-red);
  border-color: var(--mavi-red);
}

.btn-ico.is-del:hover {
  color: var(--mavi-red);
  border-color: var(--mavi-red);
}

.tbl tbody tr.child-row > td {
  background: #fafafa;
  padding: 10px 14px 12px;
}

.dep {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 34px;
  font-size: .8125rem;
}

.dep div {
  display: flex;
  gap: 10px;
}

.dep span {
  color: #555;
}

.dep b {
  font-variant-numeric: tabular-nums;
}

.dt-container > .row {
  --bs-gutter-x: 0;
  margin: 0 !important;
  align-items: center;
}

.dt-container > .row > * {
  padding: 0;
}

.dt-container > .row:not(.dt-layout-table) {
  padding-top: 16px;
  font-size: .8125rem;
  color: var(--mavi-muted);
}

table.tbl th.dt-type-numeric,
table.tbl td.dt-type-numeric {
  text-align: left;
}

table.tbl th.dt-type-numeric .dt-column-header {
  flex-direction: row;
}

table.tbl th.c-num,
table.tbl td.c-num {
  text-align: right;
}

table.tbl th.c-num .dt-column-header {
  flex-direction: row-reverse;
}

.dt-container .dt-info {
  padding: 0 !important;
}

.dt-container .pagination {
  margin: 0;
  gap: 4px;
}

.dt-container .page-link {
  border: 1px solid #cfcfcf;
  border-radius: 2px !important;
  color: var(--mavi-ink);
  font-size: .8125rem;
  font-weight: 600;
  padding: .45rem .8rem;
}

.dt-container .page-item.active .page-link {
  background: var(--mavi-ink);
  border-color: var(--mavi-ink);
  color: #fff;
}

.dt-container .page-item.disabled .page-link {
  color: #a8a8a8;
  background: #fff;
}

.dt-container .page-link:focus {
  box-shadow: none;
}

table.dataTable thead th .dt-column-order {
  opacity: .75;
}

.cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 40px;
  align-items: start;
}

.tbl-cos .c-chk {
  width: 1%;
  padding-right: 0;
}

.tbl-cos .c-total {
  font-weight: 700;
}

.tbl-cos tr.is-off .p-name,
.tbl-cos tr.is-off .c-num {
  color: #9a9a9a;
}

.order {
  position: sticky;
  top: 20px;
  border: 1px solid var(--mavi-line);
  border-top: 3px solid var(--mavi-ink);
  border-radius: 2px;
  background: #fff;
}

.order-head {
  padding: 16px 22px 14px;
  border-bottom: 1px solid var(--mavi-line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.order-head h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.375rem;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}

.order-head span {
  font-size: .8125rem;
  color: var(--mavi-muted);
}

.order-sum {
  padding: 16px 22px;
  background: var(--mavi-soft);
  border-bottom: 1px solid var(--mavi-line);
}

.order-sum div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}

.order-sum div + div {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid #dcdcdc;
  font-weight: 700;
}

.order-sum div + div b {
  font-family: var(--font-head);
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 700;
}

.order-body {
  padding: 18px 22px 22px;
}

.order-body .mb-f {
  margin-bottom: 14px;
}

.order-body textarea {
  resize: vertical;
  min-height: 78px;
}

.credit {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid #f0c9cc;
  border-left: 3px solid var(--mavi-red);
  background: #fdf2f3;
  color: #8f0610;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 11px 12px;
  margin-bottom: 14px;
}

.credit i {
  margin-top: 2px;
}

.btn-send {
  width: 100%;
  height: 52px;
  font-size: .9375rem;
}

.btn-send i {
  margin-left: 8px;
}

.empty {
  padding: 60px 0;
  text-align: center;
  color: var(--mavi-muted);
}

.modal-content {
  border-radius: 2px;
  border: 0;
}

.modal-sm-mavi .modal-body {
  padding: 26px 24px 8px;
  font-weight: 600;
}

.modal-sm-mavi .modal-footer {
  border: 0;
  padding: 12px 24px 22px;
  justify-content: flex-start;
}

.mp .modal-header {
  align-items: flex-start;
  gap: 24px;
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--mavi-line);
}

.mp-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 6px 0;
}

.mp-cod {
  font-size: .8125rem;
  color: var(--mavi-muted);
}

.mp-cod b {
  color: var(--mavi-ink);
  font-variant-numeric: tabular-nums;
}

.mp .modal-body {
  padding: 24px 28px 30px;
}

.mp-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.mp-main {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--mavi-line);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: #fff;
}

.mp-main img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.mp-main.is-empty img {
  width: 50%;
  opacity: .16;
  filter: grayscale(1);
}

.mp-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.mp-thumbs button {
  width: 74px;
  height: 74px;
  padding: 6px;
  border: 1px solid var(--mavi-line);
  border-radius: 2px;
  background: #fff;
}

.mp-thumbs button:hover {
  border-color: #9a9a9a;
}

.mp-thumbs button.is-on {
  border-color: var(--mavi-ink);
}

.mp-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.mp-buy {
  background: var(--mavi-soft);
  border: 1px solid var(--mavi-line);
  border-radius: 2px;
  padding: 20px 22px;
}

.mp-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 44px;
}

.mp-prices > div > span {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--mavi-muted);
  margin-bottom: 4px;
}

.mp-prices b {
  display: block;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.mp-prices .is-list {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--mavi-muted);
  padding-top: 12px;
}

.mp-prices .is-pret {
  font-family: var(--font-head);
  font-size: 2.125rem;
  font-weight: 700;
}

.mp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #dcdcdc;
}

.mp-actions .qty button {
  height: 44px;
  width: 38px;
}

.mp-actions .qty input {
  height: 44px;
  width: 60px;
}

.mp-actions .btn-mavi {
  height: 46px;
  min-width: 190px;
  padding: 0 1.2rem;
}

.mp-actions .btn-mavi i {
  margin-right: 8px;
}

.mp-actions .btn-ico {
  width: 46px;
  height: 46px;
  margin-left: 0;
}

.mp-note {
  margin-left: auto;
  font-size: .78rem;
  color: var(--mavi-muted);
}

.mp-h {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1;
  text-transform: uppercase;
  margin: 28px 0 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--mavi-line);
}

.mp-spec h4 {
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 16px 0 10px;
}

.mp-spec table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}

.mp-spec td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--mavi-line);
}

.mp-spec tr:nth-child(odd) td {
  background: #f7f7f7;
}

.mp-spec td:first-child {
  width: 40%;
  color: #555;
}

.mp-spec td:last-child {
  font-weight: 600;
}

.foot {
  background: var(--mavi-foot);
  color: #b9b9b9;
  font-size: .8125rem;
}

.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 40px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.foot b {
  color: #fff;
  font-weight: 600;
}

.foot ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin: 0;
  padding: 0;
}

.foot a {
  color: #b9b9b9;
}

.foot a:hover {
  color: #fff;
}

.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(420px, 44%) 1fr;
}

.login-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 44px 60px;
}

.login-form img {
  height: 52px;
  width: auto;
  align-self: flex-start;
}

.login-box {
  width: 100%;
  margin: auto 0;
  padding: 40px 0;
}

.login-box h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.5rem;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 28px;
}

.login-box .form-control {
  height: 48px;
}

.pass {
  position: relative;
}

.pass .form-control {
  padding-right: 48px;
}

.pass button {
  position: absolute;
  right: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border: 0;
  background: none;
  color: #777;
}

.pass button:hover {
  color: var(--mavi-ink);
}

.login-keep {
  font-size: .875rem;
  margin-bottom: 18px;
}

.login-keep .form-check-label {
  cursor: pointer;
}

.login-box .btn-mavi {
  width: 100%;
  height: 50px;
  font-size: .875rem;
  margin-top: 6px;
}

.login-rec {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--mavi-line);
}

.login-rec .lnk {
  font-size: .875rem;
}

.login-rec form {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.login-rec .form-control {
  height: 44px;
}

.login-rec .btn {
  height: 44px;
  white-space: nowrap;
}

.login-foot {
  font-size: .75rem;
  color: var(--mavi-muted);
}

.login-side {
  background: var(--mavi-bar);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px clamp(40px, 6vw, 110px);
  border-left: 6px solid var(--mavi-red);
}

.brands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 660px;
}

.brands div {
  background: #fff;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
}

.brands img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1399.98px) {
  .home-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
  }

  .hdr .wrap {
    grid-template-columns: 180px minmax(0, 1fr) auto;
    gap: 28px;
  }

  .mnav-link {
    padding: 0 14px;
  }

  .mnav-link > i:first-child {
    display: none;
  }

  .mnav-cat .mnav-link > i:first-child {
    display: inline-block;
  }

  .cart-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
  }
}

@media (max-width: 1199.98px) {
  .cart-grid {
    grid-template-columns: 1fr;
  }

  .order {
    position: static;
  }

  .home-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hsels {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .mega-pane {
    left: 310px;
    right: 20px;
    padding: 30px 26px;
  }

  .mega-links {
    column-width: 170px;
    column-gap: 20px;
  }

  .mnav-link {
    padding: 0 10px;
    font-size: .75rem;
    letter-spacing: .02em;
    gap: 6px;
  }

  .mnav-cat .mnav-link {
    padding: 0 14px;
  }

  .tbl-prod thead {
    display: none;
  }

  .tbl-prod,
  .tbl-prod tbody {
    display: block;
  }

  .tbl-prod tbody tr {
    display: grid;
    grid-template-columns: minmax(190px, 1.4fr) 1fr 1fr 1fr auto auto;
    gap: 10px 20px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid #cfcfcf;
  }

  .tbl-prod tbody tr:first-child {
    border-top: 1px solid #cfcfcf;
  }

  .tbl-prod tbody td {
    display: block;
    padding: 0;
    border: 0;
    width: auto !important;
    background: none !important;
    text-align: left !important;
  }

  .tbl-prod tbody td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: .6875rem;
    font-weight: 600;
    color: var(--mavi-muted);
    margin-bottom: 3px;
  }

  .tbl-prod .c-cod {
    grid-column: 1 / -1;
    font-size: .78rem;
    margin-bottom: -6px;
  }

  .tbl-prod .c-produs {
    grid-column: 1 / -1;
  }

  .tbl-prod .c-qty,
  .tbl-prod .c-act {
    align-self: center;
  }

  .tbl-prod .c-qty::before {
    display: none !important;
  }

  .tbl-prod tbody tr.child-row {
    display: block;
    padding: 12px;
    background: #fafafa;
  }
}

@media (max-width: 991.98px) {
  .wrap {
    padding: 0 16px;
  }

  .hdr .wrap {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    min-height: 0;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .hdr-logo img {
    height: 40px;
  }

  .hdr-burger {
    display: block;
    order: -1;
  }

  .hdr-search {
    grid-column: 1 / -1;
    order: 5;
    max-width: none;
  }

  .hdr-tools {
    gap: 22px;
    justify-self: end;
  }

  .hdr-tool .txt {
    display: none;
  }

  .mnav .wrap {
    padding: 0;
  }

  .mnav-list {
    display: none;
    flex-direction: column;
  }

  .mnav.is-open .mnav-list {
    display: flex;
  }

  .mnav-list > li,
  .mnav-list > li:last-child {
    display: block;
    border: 0;
    border-bottom: 1px solid #333;
    margin: 0;
  }

  .mnav-link {
    width: 100%;
    padding: 0 16px;
    font-size: .8125rem;
  }

  .mnav-link > i:first-child {
    display: inline-block;
    width: 18px;
  }

  .mnav-link .fa-chevron-down {
    margin-left: auto;
  }

  .mega {
    position: static;
    border-top: 0;
    box-shadow: none;
  }

  .mega > .wrap {
    padding: 0;
  }

  .mega-cats {
    width: auto;
    padding: 4px 0;
  }

  .mega-cat {
    padding: 10px 16px 10px 13px;
  }

  .mega-cats > li.is-on > .mega-cat > i:last-child {
    transform: rotate(90deg);
  }

  .mega-pane {
    position: static;
    border-left: 0;
    padding: 10px 16px 14px 46px;
  }

  .mega-pane h3 {
    display: none;
  }

  .mega-links {
    height: auto;
    columns: auto;
  }

  .mnav .dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100%;
    box-shadow: none;
    border: 0;
    border-radius: 0;
  }

  .banner {
    padding-top: 14px;
  }

  .banner .carousel-control-prev,
  .banner .carousel-control-next {
    display: none;
  }

  .home {
    padding-top: 24px;
  }

  .hcats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hcats a {
    padding: 8px 10px;
    gap: 8px;
    font-size: .8125rem;
  }

  .sect {
    padding: 24px 0 50px;
  }

  .sect-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .tbar {
    gap: 12px 18px;
  }

  .tbar-search {
    flex: 1 1 100%;
  }

  .tbar-right {
    margin-left: 0;
  }

  .tbl thead {
    display: none;
  }

  .tbl,
  .tbl tbody {
    display: block;
  }

  .tbl tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    padding: 16px 0;
    border-bottom: 1px solid #cfcfcf;
  }

  .tbl tbody tr:first-child {
    border-top: 1px solid #cfcfcf;
  }

  .tbl tbody td {
    display: block;
    padding: 0;
    border: 0;
    width: auto !important;
    background: none !important;
    text-align: left !important;
  }

  .tbl tbody td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: .6875rem;
    font-weight: 600;
    color: var(--mavi-muted);
    margin-bottom: 3px;
  }

  .tbl .c-cod {
    grid-column: 1 / -1;
    font-size: .78rem;
    margin-bottom: -8px;
  }

  .tbl .c-cod::before {
    display: none !important;
  }

  .tbl .c-produs,
  .tbl .c-stoc {
    grid-column: 1 / -1;
  }

  .tbl-prod .c-lista,
  .tbl-prod .c-pret,
  .tbl-prod .c-achiz {
    grid-column: auto;
  }

  .tbl-prod tbody tr {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .tbl-prod .c-qty {
    grid-column: 1 / 2;
    align-self: end;
  }

  .tbl-prod .c-qty::before {
    display: none !important;
  }

  .tbl-prod .c-act {
    grid-column: 2 / -1;
    align-self: end;
    display: flex;
    justify-content: flex-end;
  }

  .tbl-prod .c-act .btn-mavi {
    flex: 1;
    min-width: 0;
  }

  .tbl tbody tr.child-row {
    display: block;
    padding: 12px;
    background: #fafafa;
  }

  .tbl-cos tbody tr {
    grid-template-columns: 26px 1fr 1fr auto;
    align-items: center;
  }

  .tbl-cos .c-chk {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    padding-top: 2px;
  }

  .tbl-cos .c-produs {
    grid-column: 2 / -1;
    grid-row: 1;
  }

  .tbl-cos .c-qty {
    grid-column: 2 / 3;
  }

  .tbl-cos .c-qty::before,
  .tbl-cos .c-unit {
    display: none !important;
  }

  .tbl-cos .c-total {
    grid-column: 3 / 4;
    text-align: right !important;
  }

  .tbl-cos .c-total::before {
    display: none !important;
  }

  .tbl-cos .c-act {
    grid-column: 4;
  }

  .mp .modal-header {
    padding: 16px 16px 14px;
  }

  .mp .modal-body {
    padding: 16px 16px 24px;
  }

  .mp-title {
    font-size: 1.0625rem;
  }

  .mp-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mp-main {
    max-width: 300px;
    margin: 0 auto;
  }

  .mp-thumbs {
    justify-content: center;
  }

  .mp-actions .btn-mavi {
    flex: 1;
    min-width: 0;
  }

  .mp-note {
    flex: 1 1 100%;
    margin: 4px 0 0;
  }

  .foot .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .login {
    grid-template-columns: 1fr;
  }

  .login-form {
    padding: 28px 22px;
    min-height: 100vh;
    max-width: 460px;
  }

  .login-side {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .hsels {
    grid-template-columns: 1fr;
  }

  .tbl-prod tbody tr {
    grid-template-columns: 1fr 1fr;
  }

  .tbl-prod .c-achiz {
    grid-column: 1 / -1;
  }

  .tbl-prod .c-qty {
    grid-column: 1 / -1;
  }

  .tbl-prod .c-act {
    grid-column: 1 / -1;
  }

  .login-rec form {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
