﻿:root {
  --blue: #0c84d3;
  --blue-dark: #0063a5;
  --blue-soft: #e8f3fb;
  --green: #43c16d;
  --green-dark: #1f9d55;
  --yellow-soft: #fdf7d8;
  --pink-soft: #fdeaea;
  --red: #ff3100;
  --text: #222;
  --text-soft: #4a5563;
  --muted: #7b8794;
  --line: #e6e9ee;
  --bg: #f5f7fa;
  --card: #fff;
  --radius: 8px;
  --shadow: 0 4px 18px rgba(20, 40, 70, .08);
  --font: 'Roboto', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--blue-dark);
  text-decoration: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  color: #1d2a36;
}

.container {
  width: auto;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container:before,
.container:after {
  display: none;
  content: none;
}

.btn {
  border-radius: 5px;
  font-family: var(--font);
  font-weight: 500;
  box-shadow: none;
  transition: background-color .18s, border-color .18s, color .18s;
}

.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
}

.btn-default {
  background: #fff;
  border-color: var(--line);
  color: var(--text-soft);
}

.btn-default:hover {
  background: var(--blue-soft);
  border-color: var(--blue);
  color: var(--blue-dark);
}

.form-control {
  height: 40px;
  border-color: #dfe4ea;
  border-radius: 5px;
  box-shadow: none;
}

.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(12, 132, 211, .1);
}

select.form-control {
  padding-right: 30px;
}

/* Header */
.site-header {
  position: relative;
  z-index: 900;
}

.topbar {
  background: #22282f;
  color: #c9d2db;
  font-size: 12.5px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 38px;
}

.topbar a {
  color: #c9d2db;
}

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

.topbar__links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar__contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff !important;
  font-weight: 700;
  font-size: 13.5px;
}

.topbar__hours {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9fabb7;
}

.header-main {
  position: sticky;
  top: 0;
  z-index: 950;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}

.header-main.is-scrolled {
  box-shadow: 0 8px 30px rgba(20, 40, 70, .12);
}

.header-main__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 78px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: linear-gradient(135deg, #0c84d3, #0063a5);
  box-shadow: 0 6px 16px rgba(12, 132, 211, .28);
  flex: none;
}

.logo__mark svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  transform: rotate(180deg);
}

.logo__name {
  display: block;
  font-size: 21px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.3px;
  color: #1d2a36;
  white-space: nowrap;
}

.logo__name span {
  color: var(--blue);
}

.logo__tag {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  letter-spacing: .2px;
  color: var(--muted);
  white-space: nowrap;
}

.catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
}

.catalog-btn:hover,
.catalog-btn:focus {
  background: var(--blue-dark);
  color: #fff;
  outline: 0;
}

.catalog-btn .fa-angle-down {
  font-size: 12px;
  transition: transform .2s;
}

body.catalog-open .catalog-btn .fa-angle-down {
  transform: rotate(180deg);
}

.header-search {
  display: flex;
  align-items: center;
  height: 46px;
  flex: 1 1 300px;
  max-width: 560px;
}

#search.input-group {
  display: flex;
  align-items: center;
  width: 100%;
  height: 46px;
  margin: 0;
}

#search .form-control {
  height: 46px;
  padding: 0 16px;
  border: 1px solid #e1e6ec;
  border-right: 0;
  border-radius: 6px 0 0 6px;
  background: #f7f9fb;
  font-size: 14px;
  box-shadow: none;
}

#search .form-control:focus {
  background: #fff;
  border-color: var(--blue);
}

#search .input-group-btn {
  display: block;
  width: 52px;
  flex: none;
  font-size: 0;
}

#search .input-group-btn .btn {
  width: 52px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 0 6px 6px 0;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
}

#search .input-group-btn .btn:hover {
  background: var(--blue-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  flex: none;
}

.header-action {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  position: relative;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.header-action i {
  font-size: 20px;
  color: #37424e;
  transition: color .18s;
}

.header-action:hover,
.header-action:hover i {
  color: var(--blue);
  text-decoration: none;
}

.header-action__badge {
  position: absolute;
  top: -6px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  font-weight: 500;
}

.cart-widget {
  position: relative;
}

.cart-widget__btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.1;
  font-family: var(--font);
}

.cart-widget__btn:hover,
.cart-widget__btn:focus {
  color: var(--blue);
  outline: 0;
}

.cart-widget__icon {
  display: block;
  position: relative;
  height: 20px;
  font-size: 20px;
  line-height: 20px;
  color: #37424e;
}

.cart-widget__btn:hover .cart-widget__icon {
  color: var(--blue);
}

#cart-total {
  position: absolute;
  top: -8px;
  right: -15px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

.cart-widget__label {
  font-size: 11px;
}

.cart-widget .dropdown-menu {
  left: auto;
  right: 0;
  min-width: 320px;
  max-width: 94vw;
  padding: 0;
  border-color: var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cart-widget .dropdown-menu .table {
  margin: 0;
}

.cart-widget .dropdown-menu > li > div {
  padding: 12px;
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text-soft);
  font-size: 18px;
}

/* Mega menu */
.catalog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 890;
  background: rgba(12, 22, 33, .45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s;
}

body.catalog-open .catalog-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.catalog-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 945;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 22px 44px rgba(20, 40, 70, .16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .18s, transform .18s, visibility .18s;
}

body.catalog-open .catalog-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.catalog-menu__close {
  display: none;
}

.catalog-menu__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
  padding: 26px 20px 30px;
}

.catalog-menu__main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.catalog-menu__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue-soft);
  color: #1d2a36;
  font-size: 16px;
  font-weight: 700;
}

.catalog-menu__title:hover {
  color: var(--blue);
}

.catalog-menu__count {
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.catalog-menu__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.catalog-menu__card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.catalog-menu__card:hover {
  border-color: var(--blue);
  background: #fff;
}

.catalog-menu__card img {
  width: 64px;
  height: 54px;
  flex: none;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
}

.catalog-menu__card b {
  display: block;
  color: #1d2a36;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
}

.catalog-menu__card em {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.catalog-menu__list {
  list-style: none;
  padding: 6px 0 0;
  margin: 0;
}

.catalog-menu__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed #edf0f4;
  color: var(--text-soft);
  font-size: 14px;
}

.catalog-menu__list a:hover {
  color: var(--blue);
}

.catalog-menu__list a span {
  color: #9aa4ae;
  font-size: 12px;
}

.catalog-menu__promo {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 24px;
  border-radius: 10px;
  background: linear-gradient(140deg, #0c84d3, #0063a5);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.catalog-menu__promo img {
  position: absolute;
  right: -30px;
  bottom: -20px;
  width: 230px;
  opacity: .28;
  pointer-events: none;
}

.catalog-menu__promo b {
  position: relative;
  font-size: 19px;
  line-height: 1.25;
}

.catalog-menu__promo p {
  position: relative;
  margin: 8px 0 16px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .82);
}

.catalog-menu__promo .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .7);
  background: transparent;
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

.catalog-menu__promo .btn:hover {
  background: #fff;
  color: var(--blue-dark);
}

.catalog-menu__mobile-links {
  display: none;
}

/* Breadcrumbs */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding: 18px 0 14px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 12.5px;
  line-height: 1.5;
  list-style: none;
}

.breadcrumb > li {
  display: inline-flex;
  align-items: center;
  float: none;
  padding: 0;
  position: static;
  white-space: normal;
  text-shadow: none;
  color: var(--text-soft);
}

.breadcrumb > li:after {
  display: none;
}

.breadcrumb > li + li:before {
  content: '\203a';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  color: #b6c0ca;
  font-size: 16px;
  line-height: 1;
}

.breadcrumb a {
  color: var(--muted);
  font-size: 12.5px;
  transition: color .18s;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb > li:first-child a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
}

.breadcrumb > li:first-child a:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.breadcrumb > li:first-child i {
  font-size: 12px;
}

.breadcrumb > .active {
  max-width: 100%;
  color: #1d2a36;
  font-weight: 500;
}

/* Home */
.home {
  padding-bottom: 10px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  margin: 22px 0 16px;
}

.hero__main {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  border-radius: 10px;
  background-color: #061e32;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero__main:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 25, 43, .96) 0%, rgba(5, 25, 43, .82) 42%, rgba(5, 25, 43, .35) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 40px;
  max-width: 640px;
  color: #fff;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  margin-bottom: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: 12px;
  color: #dbe9f5;
}

.hero__title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 40px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.5px;
}

.hero__text {
  margin: 0 0 22px;
  max-width: 480px;
  color: rgba(255, 255, 255, .84);
  font-size: 14.5px;
  line-height: 1.6;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  background: #fff;
  color: var(--blue-dark) !important;
  font-size: 14px;
  font-weight: 700;
}

.hero__cta:hover {
  background: var(--blue-soft);
}

.hero__note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 16px;
  color: rgba(255, 255, 255, .72);
  font-size: 12.5px;
}

.hero__promo {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  padding: 30px 26px;
  border-radius: 10px;
  background: linear-gradient(150deg, #0c84d3, #0063a5);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero__promo:before {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -30px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
}

.hero__promo-img {
  position: absolute;
  right: -20px;
  bottom: -10px;
  width: 250px;
  opacity: .32;
  pointer-events: none;
}

.hero__promo span {
  position: relative;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, .8);
}

.hero__promo h2 {
  position: relative;
  margin: 10px 0 12px;
  color: #fff;
  font-size: 26px;
  line-height: 1.2;
}

.hero__promo p {
  position: relative;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  line-height: 1.55;
}

.hero__promo .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .8);
  background: transparent;
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

.hero__promo .btn:hover {
  background: #fff;
  color: var(--blue-dark);
}

.advantages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 36px;
}

.advantage {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.advantage__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 18px;
}

.advantage:nth-child(2) .advantage__icon {
  background: #fff4dc;
  color: #e09a06;
}

.advantage:nth-child(3) .advantage__icon {
  background: #e9f8ef;
  color: var(--green-dark);
}

.advantage:nth-child(4) .advantage__icon {
  background: #fdeaea;
  color: #e05b5b;
}

.advantage__title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1d2a36;
  line-height: 1.25;
}

.advantage__text {
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--muted);
}

.section {
  margin: 0 0 38px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-title {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
  color: #1d2a36;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

/* Category mosaic */
.cat-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 168px;
  gap: 14px;
}

.cat-tile {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: #1d2a36;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cat-tile:hover {
  color: #1d2a36;
}

.cat-tile--large {
  grid-column: span 2;
  grid-row: span 2;
}

.cat-tile--yellow {
  background: var(--yellow-soft);
}

.cat-tile--pink {
  background: var(--pink-soft);
}

.cat-tile--wide {
  grid-column: span 2;
  background: #eef3f8;
}

.cat-tile__title {
  position: relative;
  z-index: 2;
  max-width: 72%;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}

.cat-tile--large .cat-tile__title {
  font-size: 24px;
}

.cat-tile__count {
  position: relative;
  z-index: 2;
  margin-top: 5px;
  color: #5b7184;
  font-size: 12px;
}

.cat-tile__links {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 14px;
  max-width: 60%;
}

.cat-tile__links a {
  color: #2b6d99;
  font-size: 13px;
}

.cat-tile__links a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

.cat-tile__img {
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 54%;
  max-height: 80%;
  object-fit: contain;
  pointer-events: none;
}

.cat-tile--large .cat-tile__img {
  right: 4px;
  bottom: 4px;
  width: 52%;
  max-height: 74%;
}

.cat-tile--large .cat-tile__links {
  max-width: 48%;
}

.cat-tile--wide .cat-tile__img {
  width: 40%;
  right: 16px;
  bottom: 0;
  max-height: 92%;
}

.cat-tile__arrow {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--blue-dark);
  font-size: 12.5px;
  font-weight: 500;
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.p-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: box-shadow .2s, transform .2s;
}

.p-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.p-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 176px;
  padding: 12px;
  background: #fff;
}

.p-card__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.p-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px 14px 14px;
}

.p-card__rating {
  margin-bottom: 6px;
  color: #ffc107;
  font-size: 11px;
  letter-spacing: 1px;
  line-height: 1;
}

.p-card__rating .fa-star-o {
  color: #d7dce2;
}

.p-card__title {
  display: -webkit-box;
  overflow: hidden;
  min-height: 54px;
  margin-bottom: 8px;
  color: #1d2a36;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.p-card__title:hover {
  color: var(--blue);
}

.p-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11.5px;
}

.p-card__sku {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 10.5px;
  line-height: 1.5;
  white-space: nowrap;
}

.stock--in {
  background: #e9f8ef;
  color: #1f9d55;
}

.stock--out {
  background: #fff5e2;
  color: #c47b00;
}

.stock--neutral {
  background: #eef2f6;
  color: #5b6b7a;
}

.price-tax {
  color: var(--muted);
  font-size: 11.5px;
}

.price-request {
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}

.p-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.price-new {
  color: #1d2a36;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
}

.price-old {
  color: #9aa4ae;
  font-size: 13px;
  text-decoration: line-through;
}

.p-card__buy {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.p-card__buy .btn {
  flex: 1;
  height: 36px;
  padding: 0 8px;
  border: 0;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-size: 12.5px;
}

.p-card__buy .btn:hover {
  background: var(--blue-dark);
}

.p-card__buy .p-card__ask {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue-dark);
}

.p-card__buy .p-card__ask:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.qty {
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
  height: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.qty button {
  width: 26px;
  padding: 0;
  border: 0;
  background: #f7f9fb;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1;
}

.qty button:hover {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.qty input {
  width: 28px;
  padding: 0;
  border: 0;
  background: #fff;
  color: #1d2a36;
  font-size: 12px;
  text-align: center;
  -moz-appearance: textfield;
}

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

/* Brands */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #6b7684;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  text-align: center;
  padding: 8px;
}

.brand:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}

/* SEO block */
.seo-box {
  padding: 30px;
  margin-bottom: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.seo-box h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
}

.seo-box h3 {
  margin: 18px 0 8px;
  font-size: 17px;
}

.seo-box p {
  margin: 0 0 10px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.seo-box ul {
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

/* Catalog page */
.catalog-page {
  padding-bottom: 40px;
}

.catalog-head {
  margin: 4px 0 18px;
}

.catalog-title {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}

.catalog-intro {
  max-width: 900px;
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.6;
}

.catalog-subcats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--text-soft);
  font-size: 12.5px;
}

.cat-chip:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.cat-chip--active {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 500;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 278px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.catalog-sidebar {
  min-width: 0;
}

.catalog-sidebar #column-left {
  float: none;
  width: auto;
  min-height: 0;
  padding: 0;
  margin-bottom: 16px;
}

.catalog-sidebar #column-left .list-group {
  margin-bottom: 0;
}

.catalog-main {
  min-width: 0;
}

.panel {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.panel-default > .panel-heading {
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  background: #fff;
  color: #1d2a36;
  font-size: 14px;
  font-weight: 700;
}

.panel-body {
  padding: 14px 16px;
}

.panel-footer {
  border-top: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  background: #fff;
}

.list-group-item {
  border-color: #f0f2f5;
  color: var(--text-soft);
  font-size: 13px;
}

.list-group-item:first-child {
  border-radius: 0;
}

a.list-group-item {
  padding: 11px 16px;
  background: #fff;
}

a.list-group-item:hover {
  background: #f7fafc;
  color: var(--blue);
}

.catalog-sidebar .list-group {
  margin: 0;
}

.catalog-sidebar .list-group .list-group-item a {
  color: var(--text-soft);
}

.catalog-sidebar .list-group .list-group-item a:hover {
  color: var(--blue);
}

.sidebar-help {
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(150deg, #0c84d3, #0063a5);
  color: #fff;
}

.sidebar-help b {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.sidebar-help p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .8);
  font-size: 12px;
  line-height: 1.5;
}

.sidebar-help a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
}

.sidebar-help a:hover {
  text-decoration: underline;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.toolbar-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.catalog-toolbar .form-control {
  width: 220px;
  min-width: 0;
  height: 34px;
  flex: 0 0 220px;
  font-size: 12.5px;
}

.catalog-toolbar #input-limit {
  width: 90px;
  flex-basis: 90px;
}

.catalog-toolbar .toolbar-spacer {
  margin-left: auto;
}

.toolbar-count {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.view-switch {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.view-switch button {
  width: 36px;
  height: 34px;
  padding: 0;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  color: #8a96a3;
  font-size: 14px;
}

.view-switch button:last-child {
  border-right: 0;
}

.view-switch button.active,
.view-switch button:hover {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.catalog-grid .p-card__image {
  height: 160px;
}

.catalog-grid .p-card__buy {
  flex-wrap: wrap;
}

.catalog-grid .qty {
  flex: 1 0 100%;
  justify-content: space-between;
}

.catalog-grid .qty input {
  flex: 1;
}

.catalog-empty {
  padding: 50px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  color: var(--text-soft);
}

.catalog-empty i {
  display: block;
  margin-bottom: 12px;
  color: #c3ccd6;
  font-size: 38px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 26px 0 0;
}

.pagination > li > a,
.pagination > li > span {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 5px !important;
  background: #fff;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 34px;
  text-align: center;
}

.pagination > .active > a,
.pagination > .active > a:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.catalog-grid.is-list {
  grid-template-columns: 1fr;
}

.catalog-grid.is-list .p-card {
  flex-direction: row;
}

.catalog-grid.is-list .p-card__image {
  width: 200px;
  height: auto;
  flex: 0 0 200px;
  border-right: 1px solid var(--line);
}

.catalog-grid.is-list .p-card__body {
  padding: 16px 18px;
}

.catalog-grid.is-list .p-card__title {
  min-height: 0;
  -webkit-line-clamp: 2;
}

.catalog-grid.is-list .p-card__buy {
  max-width: 320px;
}

.catalog-grid.is-list .qty {
  flex: 0 0 auto;
}

.catalog-grid.is-list .qty input {
  flex: 0 0 28px;
}

.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.header-actions .dropdown-menu {
  right: 0;
  left: auto;
  min-width: 190px;
  border-color: var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-tags {
  color: var(--muted);
  font-size: 12.5px;
}

.product-tags a {
  color: var(--blue);
}

/* Product page */
.product-page {
  padding-bottom: 40px;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 30px;
  align-items: start;
  margin-bottom: 34px;
}

.product-gallery {
  min-width: 0;
}

.product-gallery__main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.product-gallery__main img {
  max-height: 420px;
  object-fit: contain;
}

.product-gallery__thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.product-gallery__thumbs a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.product-gallery__thumbs a:hover {
  border-color: var(--blue);
}

.product-gallery__thumbs img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-info {
  min-width: 0;
}

.product-info__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
}

.product-info__title {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.25;
}

.product-info__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #ffc107;
  font-size: 13px;
}

.product-info__rating a {
  color: var(--blue);
  font-size: 12px;
}

.product-info__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}

.product-info__price .price-new {
  font-size: 34px;
}

.product-info__price .price-old {
  font-size: 16px;
}

.product-info__buy {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 18px;
}

.product-info__buy .qty {
  height: 46px;
}

.product-info__buy .qty button {
  width: 36px;
  font-size: 16px;
}

.product-info__buy .qty input {
  width: 44px;
  font-size: 14px;
}

.product-info__buy .btn-primary {
  flex: 1;
  min-width: 180px;
  height: 46px;
  font-size: 15px;
}

.product-info__buy .btn-default {
  width: 46px;
  height: 46px;
  padding: 0;
  font-size: 16px;
}

.product-info__buy .product-info__ask {
  flex: 1;
  min-width: 180px;
  width: auto;
  padding: 0 18px;
  border-color: var(--line);
  background: #fff;
  color: var(--blue-dark);
  font-size: 14px;
}

.product-info__buy .product-info__ask:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.product-benefits {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-benefits div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 13px;
}

.product-benefits i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  line-height: 26px;
  text-align: center;
  flex: none;
}

.product-specs {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.product-specs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed #edf0f4;
  color: var(--text-soft);
  font-size: 13px;
}

.product-specs li span:first-child {
  color: var(--muted);
}

.product-tabs {
  margin-bottom: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.product-tabs .nav-tabs {
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}

.product-tabs .nav-tabs > li > a {
  padding: 14px 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--text-soft);
  font-size: 13.5px;
}

.product-tabs .nav-tabs > li.active > a,
.product-tabs .nav-tabs > li.active > a:hover {
  border: 0;
  border-bottom: 2px solid var(--blue);
  background: transparent;
  color: var(--blue-dark);
}

.product-tabs .tab-content {
  padding: 22px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.product-tabs .tab-content img {
  height: auto;
}

.related .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Alerts */
.alert {
  border-radius: 6px;
  font-size: 13px;
}

/* Footer */
.site-footer {
  margin-top: 20px;
  background: #2b3544;
  color: #c7d0da;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-top: 40px;
  padding-bottom: 30px;
}

.footer__brand .logo {
  margin-bottom: 14px;
}

.footer__brand .logo__name {
  color: #fff;
}

.footer__brand .logo__tag {
  color: #93a1af;
}

.footer__desc {
  max-width: 330px;
  margin: 0 0 16px;
  color: #aeb9c5;
  font-size: 13px;
  line-height: 1.6;
}

.footer__phone {
  display: block;
  margin-bottom: 6px;
  color: #fff !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.footer__contact {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  color: #aeb9c5;
  font-size: 12.5px;
  line-height: 1.5;
}

.footer__contact i {
  margin-top: 3px;
  color: #7d8b99;
}

.site-footer h4 {
  margin: 4px 0 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer ul li {
  margin-bottom: 9px;
}

.site-footer a {
  color: #aeb9c5;
  font-size: 13px;
}

.site-footer a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 16px;
  padding-bottom: 16px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #8f9ba8;
  font-size: 12px;
}

.footer__bottom a {
  font-size: 12px;
}

@media (min-width: 1200px) {
  .header-actions {
    height: 46px;
    align-items: flex-start;
  }

  .header-action,
  .cart-widget__btn {
    height: 46px;
    justify-content: flex-start;
    padding-top: 13px;
  }

  .header-actions > .dropdown {
    display: flex;
    align-items: flex-start;
    height: 46px;
  }

  .header-action__badge {
    top: 8px;
  }
}

/* Responsive */
@media (max-width: 1199px) {
  .header-main__inner {
    gap: 16px;
  }

  .logo__tag {
    display: none;
  }

  .header-actions {
    gap: 14px;
  }

  .header-action span:not(.header-action__badge),
  .cart-widget__label {
    display: none;
  }

  .header-action,
  .cart-widget__btn {
    justify-content: center;
  }

  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero__title {
    font-size: 34px;
  }

  .cat-mosaic {
    grid-auto-rows: 155px;
  }
}

@media (max-width: 991px) {
  .topbar {
    display: none;
  }

  .header-main__inner {
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
    min-height: 0;
  }

  .header-main {
    position: relative;
  }

  .catalog-btn {
    display: none;
  }

  .header-search {
    order: 5;
    flex: 1 0 100%;
    max-width: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions .header-action {
    display: none;
  }

  .cart-widget .dropdown-menu {
    right: 0;
    left: auto;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .catalog-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 330px;
    max-width: 88vw;
    overflow-y: auto;
    transform: translateX(-102%);
    border-top: 0;
    opacity: 1;
    visibility: visible;
    z-index: 960;
    box-shadow: none;
    transition: transform .25s ease, box-shadow .25s ease;
  }

  body.catalog-open .catalog-menu {
    transform: none;
    box-shadow: 18px 0 40px rgba(12, 22, 33, .2);
  }

  .catalog-menu__close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--text-soft);
    font-size: 15px;
  }

  .catalog-menu__inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 58px 20px 26px;
  }

  .catalog-menu__promo {
    min-height: 160px;
    order: 2;
  }

  .catalog-menu__main {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .catalog-menu__cards {
    grid-template-columns: 1fr;
  }

  .catalog-menu__mobile-links {
    display: block;
    padding: 0 20px 26px;
  }

  .catalog-menu__mobile-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text-soft);
    font-size: 14px;
  }

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

  .hero__main {
    min-height: 340px;
  }

  .hero__promo {
    min-height: 220px;
  }

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

  .cat-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 160px;
  }

  .cat-tile--large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .cat-tile--wide {
    grid-column: span 2;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    order: 2;
  }

  .catalog-main {
    order: 1;
  }

  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-gallery__main {
    min-height: 340px;
  }

  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
}

@media (max-width: 767px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .logo__mark {
    width: 40px;
    height: 40px;
    border-radius: 9px;
  }

  .logo__name {
    font-size: 18px;
  }

  .topbar__contacts {
    gap: 10px;
  }

  .topbar__phone {
    font-size: 12.5px;
  }

  .hero {
    margin-top: 14px;
  }

  .hero__main {
    min-height: 300px;
  }

  .hero__content {
    padding: 24px 20px;
  }

  .hero__title {
    font-size: 27px;
  }

  .hero__text {
    font-size: 13px;
  }

  .hero__note {
    display: none;
  }

  .hero__promo {
    min-height: 200px;
    padding: 22px 20px;
  }

  .hero__promo h2 {
    font-size: 22px;
  }

  .advantages {
    gap: 10px;
  }

  .advantage {
    align-items: flex-start;
    padding: 12px;
  }

  .advantage__icon {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .section-title {
    font-size: 21px;
  }

  .cat-mosaic {
    grid-auto-rows: auto;
  }

  .cat-tile {
    min-height: 150px;
  }

  .cat-tile--large {
    min-height: 190px;
  }

  .cat-tile__title {
    font-size: 17px;
  }

  .cat-tile--large .cat-tile__title {
    font-size: 21px;
  }

  .cat-tile__links {
    max-width: 74%;
  }

  .product-grid,
  .catalog-grid,
  .related .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .p-card__image {
    height: 140px;
    padding: 8px;
  }

  .p-card__body {
    padding: 10px;
  }

  .p-card__title {
    min-height: 50px;
    font-size: 12.5px;
  }

  .p-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .price-new {
    font-size: 17px;
  }

  .p-card__buy {
    flex-direction: column;
  }

  .p-card__buy .qty {
    width: 100%;
    justify-content: space-between;
  }

  .p-card__buy .qty input {
    flex: 1;
  }

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

  .brand {
    height: 58px;
    font-size: 14px;
  }

  .seo-box {
    padding: 20px;
  }

  .seo-box h2 {
    font-size: 20px;
  }

  .catalog-title {
    font-size: 25px;
  }

  .catalog-toolbar {
    align-items: stretch;
  }

  .catalog-toolbar .toolbar-spacer {
    display: none;
  }

  .catalog-toolbar .form-control {
    width: auto;
    flex: 1 1 140px;
  }

  .catalog-toolbar #input-limit {
    flex: 0 0 90px;
  }

  .catalog-sidebar #column-left.hidden-xs {
    display: block !important;
  }

  .toolbar-label {
    flex: 1 0 100%;
  }

  .product-info__title {
    font-size: 22px;
  }

  .product-info__price .price-new {
    font-size: 28px;
  }

  .product-info__buy .btn-primary {
    flex: 1 0 100%;
  }

  .product-tabs .tab-content {
    padding: 16px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 28px;
    padding-bottom: 22px;
  }

  .footer__brand {
    text-align: center;
  }

  .footer__brand .logo {
    justify-content: center;
  }

  .footer__desc {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .footer__phone {
    text-align: center;
  }

  .footer__contact {
    justify-content: center;
    text-align: center;
  }

  .footer__col {
    text-align: center;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
  }
}

@media (max-width: 479px) {
  .logo__name {
    font-size: 16px;
  }

  .logo__mark {
    width: 36px;
    height: 36px;
  }

  .header-actions {
    gap: 12px;
  }

  .hero__title {
    font-size: 23px;
  }

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

  .cat-mosaic {
    grid-template-columns: 1fr;
  }

  .cat-tile--large,
  .cat-tile--wide {
    grid-column: span 1;
  }

  .cat-tile__links {
    max-width: 100%;
  }

  .product-grid,
  .catalog-grid,
  .related .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .p-card__image {
    height: 118px;
    padding: 6px;
  }

  .p-card__body {
    padding: 8px;
  }

  .p-card__title {
    min-height: 44px;
    font-size: 11.5px;
    line-height: 1.3;
  }

  .p-card__meta {
    gap: 3px;
    font-size: 10.5px;
  }

  .p-card__price {
    gap: 5px;
  }

  .price-new {
    font-size: 15.5px;
  }

  .price-old {
    font-size: 11px;
  }

  .stock {
    padding: 1px 5px;
    font-size: 9.5px;
  }

  .p-card__buy {
    flex-direction: column;
    gap: 6px;
  }

  .p-card__buy .btn,
  .p-card__buy .p-card__ask {
    flex: 0 0 auto;
    width: 100%;
    height: 32px;
    font-size: 11.5px;
  }

  .p-card__buy .qty {
    width: 100%;
    height: 32px;
    flex: 0 0 auto;
    justify-content: space-between;
  }

  .p-card__buy .qty input {
    flex: 1;
    width: auto;
  }
}


