:root {
  --pink: #ec2488;
  --pink-dark: #d71979;
  --text: #222;
  --muted: #777;
  --line: #ececec;
  --bg: #f7f7f7;
  --shadow: 0 6px 18px rgba(0, 0, 0, .08);
  --site-width: 1348px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, "Nunito Sans", Arial, sans-serif;
  line-height: 1.35;
}

body.company-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #2c2c2c;
}

body.company-page .site-header,
body.company-page .page-main {
  background: #fff;
}

body.company-page .page-main {
  flex: 1 0 auto;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

body.is-scrolled .topbar {
  display: none;
}

body.is-scrolled {
  padding-top: 84px;
}

body.is-scrolled .site-header {
  position: fixed;
  left: 0;
  right: 0;
}

.topbar,
.mainbar,
.section,
.benefits,
.promo-row,
.footer-grid {
  width: min(100%, var(--site-width));
  margin: 0 auto;
}

.topbar {
  height: 46px;
  display: grid;
  grid-template-columns: 170px 1fr auto 92px;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.city::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 7px;
  vertical-align: -2px;
  background: url("/assets/location-pin.png") center / contain no-repeat;
}

.topnav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
}

.topnav a.active {
  color: var(--pink);
}

.topnav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.topnav-dropdown::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 300px;
  height: 74px;
  pointer-events: none;
  transform: translateX(-50%);
}

.topnav-dropdown:hover::before,
.topnav-dropdown:focus-within::before {
  pointer-events: auto;
}

.topnav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topnav-dropdown__trigger::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid currentColor;
  color: var(--pink);
  transform: translateY(1px);
}

.topnav-dropdown:hover .topnav-dropdown__trigger,
.topnav-dropdown:focus-within .topnav-dropdown__trigger {
  color: var(--pink);
}

.topnav-dropdown__menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 74px);
  z-index: 50;
  width: 300px;
  display: grid;
  padding: 14px 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.topnav-dropdown__menu a {
  display: block;
  padding: 9px 28px;
  color: #282828;
  font-size: 16px;
  line-height: 1.35;
  white-space: nowrap;
}

.topnav-dropdown__menu a:hover,
.topnav-dropdown__menu a:focus {
  color: var(--pink);
}

.topnav-dropdown:hover .topnav-dropdown__menu,
.topnav-dropdown:focus-within .topnav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.phone { font-weight: 800; }

.messenger-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
}

.messenger-links a {
  width: 31px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity .16s ease, transform .16s ease;
}

.messenger-links a:hover,
.messenger-links a:focus {
  opacity: .78;
  transform: translateY(-1px);
}

.messenger-links img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.mainbar {
  min-height: 84px;
  display: grid;
  grid-template-columns: 194px 148px minmax(320px, 1fr) 270px;
  align-items: center;
  gap: 32px;
}

.logo img {
  display: block;
  width: 194px;
  height: auto;
}

.catalog-button {
  height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 7px;
  background: var(--pink);
  color: #fff;
  font-weight: 800;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .06);
}

.catalog-icon,
.catalog-icon::before,
.catalog-icon::after {
  display: block;
  width: 15px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.catalog-icon { position: relative; }
.catalog-icon::before,
.catalog-icon::after { content: ""; position: absolute; left: 0; }
.catalog-icon::before { top: -5px; }
.catalog-icon::after { top: 5px; }

.search {
  height: 47px;
  display: flex;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 7px;
  background: #fff;
}

.search input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 0 17px;
  outline: none;
  color: #444;
}

.search input::placeholder { color: #aaa; }

.search button {
  width: 52px;
  border: 0;
  background: transparent;
  color: #111;
}

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
  font-size: 13px;
}

.actions a {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #111;
}

.actions a.active {
  color: var(--pink);
}

.actions svg { width: 25px; height: 25px; }

.favorite-count,
.cart-count {
  position: absolute;
  top: -8px;
  right: 18px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.favorite-count[hidden],
.cart-count[hidden] {
  display: none;
}

.mobile-burger { display: none; }

.hero {
  position: relative;
  max-width: var(--site-width);
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}

.hero-track {
  position: relative;
  aspect-ratio: 1348 / 460;
  overflow: hidden;
  border-radius: 0 0 4px 4px;
  background: #f6f6f6;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  pointer-events: auto;
}

.hero-slide picture,
.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide img {
  object-fit: cover;
  object-position: center;
}

.hero-dots {
  position: absolute;
  z-index: 3;
  right: 180px;
  bottom: 40px;
  display: flex;
  gap: 14px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
  cursor: pointer;
}

.hero-dots .active { background: var(--pink); }

.hero-arrow {
  position: absolute;
  z-index: 3;
  right: 57px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #777;
  font-size: 31px;
  line-height: 1;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.hero-arrow--left { right: 111px; }

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 30px 0 34px;
  background: transparent;
}

.benefits article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: start;
}

.benefits img {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: contain;
}

.benefits h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
}

.benefits p {
  margin: 0;
  color: #565656;
  font-size: 15px;
  line-height: 1.55;
}

.benefits a { color: var(--pink); }

.section {
  padding: 56px 0 0;
}

.section h1,
.section h2 {
  margin: 0 0 30px;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 600;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  position: relative;
  display: block;
  min-height: 168px;
  padding: 32px 134px 24px 30px;
  overflow: hidden;
  color: inherit;
  background:
    linear-gradient(115deg, rgba(255, 211, 229, .8), rgba(255, 252, 236, .95) 52%, #fff);
  box-shadow: 0 2px 13px rgba(0, 0, 0, .04);
}

.category-card h3 {
  margin: 0 0 13px;
  font-size: 24px;
  line-height: 1.23;
  font-weight: 800;
}

.category-card p {
  margin: 0;
  color: #707070;
  font-size: 14px;
  line-height: 1.55;
}

.category-card img {
  position: absolute;
  right: 25px;
  top: 27px;
  width: 98px;
  height: 98px;
  object-fit: contain;
}

.promo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 38px;
}

.promo-row article,
.promo-row a {
  min-height: 290px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  border-radius: 9px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .42);
}

.section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.section-head h2 { margin: 0; }
.section-head > a { color: var(--pink); font-weight: 700; }

.tiny-arrow {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: #777 !important;
  font-size: 28px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, .05);
}

.tabs {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.tabs button {
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  background: #fff;
  color: #555;
  font-weight: 700;
}

.tabs .active {
  background: var(--pink);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  min-height: 385px;
  padding: 20px 20px 22px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, .04);
}

.badge {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 5px;
  background: #ff5871;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 14px;
}

.product-card h3 {
  min-height: 58px;
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
}

.product-card p {
  margin: 0 0 14px;
  color: #777;
  font-size: 14px;
}

.product-card button {
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: var(--pink);
  color: #fff;
  font-weight: 800;
}

.sale-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, .04);
}

.sale-card img {
  width: 100%;
  border-radius: 9px;
}

.sale-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.sale-card p {
  margin: 0;
  color: #666;
  font-size: 17px;
}

.about {
  padding-bottom: 60px;
}

.about p {
  max-width: 850px;
  margin: 0;
  color: #626262;
  font-size: 17px;
}

.page-main {
  padding: 0 0 64px;
  background: #fff;
}

.breadcrumbs {
  width: min(100%, var(--site-width));
  margin: 0 auto;
  padding: 29px 0 13px;
  display: flex;
  gap: 9px;
  color: #999;
  font-size: 13px;
}

.breadcrumbs a { color: #999; }

.page-title {
  width: min(100%, var(--site-width));
  margin: 0 auto;
  padding: 0 0 30px;
}

.page-title h1 {
  margin: 0;
  font-size: 38px;
  line-height: 1.16;
  font-weight: 600;
}

.company-layout {
  width: min(100%, var(--site-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 39px;
}

.company-sidebar {
  display: grid;
  align-content: start;
}

.company-sidebar a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid #eee;
  background: #fafafa;
  color: #333;
  font-size: 15px;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}

.company-sidebar a:first-child {
  border-radius: 8px 8px 0 0;
}

.company-sidebar a:last-child {
  border-radius: 0 0 8px 8px;
  border-bottom: 0;
}

.company-sidebar a.active {
  background: var(--pink);
  color: #fff;
  font-weight: 700;
}

.company-content {
  max-width: 910px;
  color: #444;
  font-size: 16px;
  line-height: 1.72;
}

.company-content p,
.company-content ul,
.company-content table {
  margin: 0 0 18px;
}

.company-content h2,
.company-content h3 {
  margin: 28px 0 13px;
  color: #222;
  line-height: 1.25;
}

.company-content h2 { font-size: 24px; }
.company-content h3 { font-size: 20px; }

.company-content ul {
  padding-left: 22px;
}

.company-content li {
  margin: 0 0 8px;
}

.company-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.company-content td,
.company-content th {
  padding: 13px 16px;
  border: 1px solid #ececec;
  vertical-align: top;
}

.company-content th {
  background: #fafafa;
  text-align: left;
  font-weight: 700;
}

.company-content td:first-child {
  width: 230px;
  color: #666;
  background: #fafafa;
  font-weight: 600;
}

.info-box {
  padding: 20px 24px;
  margin: 0 0 20px;
  border-radius: 8px;
  background: #fafafa;
  border-left: 4px solid var(--pink);
}

.delivery-table {
  font-size: 14px;
  line-height: 1.45;
}

.delivery-table th {
  color: #222;
}

.blog-list {
  width: min(100%, var(--site-width));
  margin: 0 auto 54px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
}

.blog-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.blog-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 370 / 224;
  border-radius: 8px;
  background: #f1f1f1;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .25s ease;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.03);
}

.blog-card__body {
  padding-top: 18px;
}

.blog-card__title {
  display: block;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  color: #222;
}

.blog-card__title:hover {
  color: var(--pink);
}

.blog-card__meta {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 11px;
  color: #888;
  font-size: 14px;
}

.blog-card__meta span + span::before {
  content: "/";
  margin-right: 11px;
  color: #cfcfcf;
}

.article-title {
  padding-bottom: 28px;
}

.article-detail {
  width: min(100%, 920px);
  margin: 0 auto 64px;
}

.article-hero-image {
  overflow: hidden;
  margin: 0 0 34px;
  border-radius: 8px;
  background: #f1f1f1;
}

.article-hero-image img {
  width: 100%;
  max-height: 620px;
  display: block;
  object-fit: cover;
}

.article-content {
  color: #3f3f3f;
  font-size: 16px;
  line-height: 1.72;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 28px 0 14px;
  color: #222;
  line-height: 1.25;
}

.article-content h1 { font-size: 30px; }
.article-content h2 { font-size: 24px; }
.article-content h3 { font-size: 20px; }

.article-content p,
.article-content ul,
.article-content ol,
.article-content table {
  margin: 0 0 18px;
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
}

.article-content li {
  margin: 0 0 8px;
}

.article-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 24px 0;
  border-radius: 8px;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.article-content td,
.article-content th {
  padding: 12px 14px;
  border: 1px solid #ececec;
  vertical-align: top;
}

.article-content th {
  background: #fafafa;
  text-align: left;
}

.article-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 0 20px;
  border-radius: 7px;
  border: 1px solid #e2e2e2;
  color: #333;
  font-weight: 600;
  background: #fff;
}

.article-back::before {
  content: "←";
  margin-right: 9px;
}

.article-back:hover {
  color: var(--pink);
  border-color: var(--pink);
}

.contacts-section {
  width: min(100%, var(--site-width));
  margin: 0 auto;
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(340px, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.contacts-details {
  display: grid;
  gap: 24px;
}

.contacts-map {
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #ececec;
  background: #f4f4f4;
}

.contacts-map iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
}

.contacts-intro {
  max-width: 840px;
  padding: 0 0 26px;
}

.contacts-intro p {
  margin: 0;
  color: #666;
  font-size: 16px;
  line-height: 1.7;
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.stores-grid--single {
  max-width: 620px;
  grid-template-columns: minmax(0, 1fr);
}

.stores-grid--single .store-card {
  min-height: 0;
}

.store-card {
  min-height: 310px;
  padding: 28px 28px 26px;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fff;
}

.store-card h3 {
  margin: 0 0 15px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
}

.store-card p,
.store-card a {
  display: block;
  margin: 0 0 11px;
  font-size: 15px;
  line-height: 1.5;
}

.store-card__address {
  min-height: 45px;
  color: #555;
}

.store-card__mail {
  color: var(--pink);
}

.store-card__metro {
  color: #777;
}

.store-card__metro::before {
  content: "M";
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-right: 8px;
  border-radius: 50%;
  background: #22a653;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.store-card__hours {
  color: #777;
}

.store-card__phone {
  color: #222;
  font-weight: 700;
}

.catalog-main {
  background: #fff;
}

.catalog-layout {
  width: min(100%, var(--site-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 26px;
}

.catalog-title {
  padding-bottom: 24px;
}

.catalog-aside {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 22px;
}

.catalog-tree {
  overflow: hidden;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fff;
}

.catalog-tree.is-loading {
  min-height: 164px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 15px;
}

.catalog-tree.is-loading a {
  display: none;
}

.catalog-tree.is-loading::before {
  content: "Загружаем разделы...";
}

.catalog-tree a {
  min-height: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 13px 16px 13px calc(18px + var(--level, 0) * 14px);
  border-bottom: 1px solid #f0f0f0;
  color: #333;
  font-size: 15px;
  line-height: 1.3;
}

.catalog-tree > a:last-child,
.catalog-tree__item:last-child > a {
  border-bottom: 0;
}

.catalog-tree__children a {
  min-height: 42px;
  font-size: 14px;
  color: #555;
}

.catalog-tree a:hover {
  color: var(--pink);
}

.catalog-tree a.active {
  background: var(--pink);
  color: #fff;
  font-weight: 700;
}

.catalog-tree b {
  color: #aaa;
  font-size: 12px;
  font-weight: 700;
}

.catalog-tree a.active b {
  color: rgba(255, 255, 255, .78);
}

.catalog-filter {
  padding: 20px 20px 22px;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fafafa;
}

.catalog-filter__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.catalog-filter h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
}

.catalog-filter__head button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #999;
  font-size: 13px;
}

.catalog-filter fieldset {
  margin: 0;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid #e8e8e8;
}

.catalog-filter legend {
  padding: 0 0 11px;
  color: #222;
  font-size: 15px;
  font-weight: 700;
}

.range-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.range-row label {
  min-width: 0;
  height: 42px;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  border: 1px solid #e1e1e1;
  border-radius: 7px;
  background: #fff;
}

.range-row span {
  padding-left: 10px;
  color: #999;
  font-size: 13px;
}

.range-row input {
  min-width: 0;
  width: 100%;
  border: 0;
  padding: 0 8px 0 0;
  outline: none;
  background: transparent;
  color: #333;
}

.range-line {
  height: 4px;
  margin-top: 16px;
  border-radius: 99px;
  background: #e2e2e2;
}

.range-line span {
  display: block;
  width: 72%;
  height: 100%;
  margin-left: 12%;
  border-radius: inherit;
  background: var(--pink);
}

.check-row {
  min-height: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #555;
  font-size: 14px;
}

.check-row input {
  width: 17px;
  height: 17px;
  accent-color: var(--pink);
}

.catalog-filter__submit {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 7px;
  background: var(--pink);
  color: #fff;
  font-weight: 800;
}

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

.catalog-description {
  margin: 0 0 22px;
  padding: 20px 24px;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fafafa;
}

.catalog-description p {
  max-width: 780px;
  margin: 0;
  color: #666;
  font-size: 15px;
  line-height: 1.65;
}

.catalog-toolbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  padding: 11px 16px;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fff;
}

.catalog-count {
  color: #777;
  font-size: 14px;
}

.catalog-sort {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #777;
  font-size: 14px;
}

.catalog-sort select {
  height: 38px;
  min-width: 182px;
  border: 1px solid #e1e1e1;
  border-radius: 7px;
  padding: 0 34px 0 13px;
  background: #fafafa;
  color: #333;
  outline: none;
}

.catalog-view {
  display: flex;
  gap: 5px;
}

.catalog-view button {
  width: 38px;
  height: 38px;
  display: grid;
  gap: 3px;
  place-content: center;
  border: 1px solid #e3e3e3;
  border-radius: 7px;
  background: #fff;
  color: #aaa;
}

.catalog-view button.active {
  border-color: var(--pink);
  background: var(--pink);
  color: #fff;
}

.catalog-view span {
  display: block;
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
}

.catalog-view [data-view="grid"] {
  grid-template-columns: repeat(2, 6px);
}

.catalog-view [data-view="grid"] span {
  width: 6px;
  height: 6px;
}

.catalog-view [data-view="compact"] span {
  width: 17px;
}

.catalog-view [data-view="list"] span {
  width: 20px;
  height: 5px;
}

.catalog-products {
  display: grid;
  gap: 18px;
}

.catalog-products.is-loading .catalog-product {
  display: none;
}

.catalog-products.is-loading::before {
  content: "Загружаем товары...";
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ececec;
  border-radius: 8px;
  color: #777;
  font-size: 15px;
  background: #fff;
}

.catalog-load-more {
  grid-column: 1 / -1;
  min-height: 48px;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  background: #fff;
  color: var(--pink);
  font-size: 15px;
  font-weight: 800;
}

.catalog-load-more:hover {
  border-color: var(--pink);
  background: #fff7fb;
}

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

.catalog-product {
  position: relative;
  min-width: 0;
  display: grid;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.catalog-product:hover {
  border-color: #e5e5e5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .07);
}

.catalog-product__badges {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
}

.catalog-product__badges span {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 5px;
  background: #ff5871;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.catalog-product__image {
  height: 188px;
  display: grid;
  place-items: center;
  padding: 25px 18px 10px;
}

.catalog-product__image img {
  max-width: 100%;
  max-height: 142px;
  display: block;
  object-fit: contain;
}

.catalog-product__body {
  padding: 0 16px 16px;
}

.catalog-product__title {
  display: block;
  min-height: 62px;
  color: #222;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.catalog-product__title:hover {
  color: var(--pink);
}

.catalog-product__meta {
  margin-top: 9px;
  color: #aaa;
  font-size: 12px;
}

.catalog-product__text {
  display: none;
  margin: 12px 0 0;
  color: #666;
  font-size: 14px;
  line-height: 1.55;
}

.catalog-product__price {
  margin-top: 15px;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 800;
}

.catalog-product__auth-price {
  margin-top: 6px;
  color: #777;
  font-size: 12px;
  line-height: 1.35;
}

.catalog-product__auth-price strong {
  color: var(--pink);
  font-size: 13px;
}

.catalog-product__status {
  margin-top: 8px;
  color: #28a14a;
  font-size: 13px;
}

.catalog-product__actions {
  display: grid;
  grid-template-columns: 36px 44px 36px minmax(96px, 1fr) 38px;
  gap: 6px;
  align-items: center;
  padding: 0 16px 16px;
}

.catalog-products.view-grid .catalog-product__actions {
  grid-template-columns: minmax(0, 1fr) 38px;
}

.catalog-products.view-grid .catalog-product__actions .qty-button,
.catalog-products.view-grid .catalog-product__actions input {
  display: none;
}

.catalog-product__actions input {
  width: 44px;
  height: 36px;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  text-align: center;
  outline: none;
}

.home-offers-grid {
  margin-top: 4px;
}

.home-offers-empty {
  grid-column: 1 / -1;
}

.qty-button,
.icon-button {
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  background: #fff;
  color: #666;
  padding: 0;
}

.icon-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.icon-button.is-active {
  border-color: var(--pink);
  background: #fff0f7;
  color: var(--pink);
}

.buy-button {
  height: 36px;
  border: 0;
  border-radius: 6px;
  background: var(--pink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.buy-button.is-active {
  background: #222;
}

.cart-open {
  overflow: hidden;
}

.cart-modal[hidden] {
  display: none;
}

.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  justify-content: end;
}

.cart-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 16, .44);
}

.cart-drawer {
  position: relative;
  width: min(100vw, 430px);
  height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #fff;
  box-shadow: -10px 0 32px rgba(0, 0, 0, .18);
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.cart-drawer__close {
  width: 38px;
  height: 38px;
  border: 1px solid #e4e4e4;
  border-radius: 7px;
  background: #fff;
  color: #333;
  font-size: 28px;
  line-height: 1;
}

.cart-drawer__body {
  min-height: 0;
  overflow: auto;
  padding: 18px 18px 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #eeeeee;
}

.cart-item:first-child {
  padding-top: 0;
}

.cart-item__image {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid #eeeeee;
  border-radius: 7px;
  background: #fafafa;
}

.cart-item__image img {
  max-width: 68px;
  max-height: 68px;
  object-fit: contain;
}

.cart-item__content {
  min-width: 0;
}

.cart-item__title {
  display: block;
  color: #222;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.cart-item__price {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 800;
}

.cart-item__controls {
  display: grid;
  grid-template-columns: 34px 44px 34px minmax(78px, 1fr);
  gap: 6px;
  margin-top: 11px;
}

.cart-item__controls button,
.cart-item__controls input {
  height: 34px;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  background: #fff;
  text-align: center;
}

.cart-item__remove {
  padding: 0 10px;
  color: #777;
  font-size: 12px;
  font-weight: 700;
}

.cart-empty {
  min-height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.cart-empty h3 {
  margin: 0;
  font-size: 22px;
}

.cart-empty p {
  max-width: 270px;
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.55;
}

.cart-button,
.cart-checkout {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: var(--pink);
  color: #fff;
  font-weight: 800;
}

.cart-button {
  margin-top: 8px;
  padding: 0 18px;
}

.cart-drawer__footer {
  padding: 18px 24px 24px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 14px;
}

.cart-summary span {
  color: #666;
}

.cart-summary strong {
  font-size: 20px;
}

.cart-checkout {
  width: 100%;
}

.cart-checkout-form {
  display: grid;
  gap: 12px;
}

.cart-checkout-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cart-checkout-form label {
  display: grid;
  gap: 6px;
  color: #333;
  font-size: 12px;
  font-weight: 800;
}

.cart-checkout-form__wide {
  grid-column: 1 / -1;
}

.cart-checkout-form input,
.cart-checkout-form select,
.cart-checkout-form textarea {
  width: 100%;
  border: 1px solid #dedede;
  border-radius: 7px;
  background: #fff;
  color: #222;
  font: inherit;
  outline: none;
}

.cart-checkout-form input,
.cart-checkout-form select {
  height: 40px;
  padding: 0 11px;
}

.cart-checkout-form textarea {
  min-height: 70px;
  padding: 10px 11px;
  resize: vertical;
}

.cart-checkout-form input:focus,
.cart-checkout-form select:focus,
.cart-checkout-form textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(236, 36, 136, .12);
}

.cart-checkout:disabled,
.buy-button:disabled {
  background: #eeeeee;
  color: #999999;
  cursor: default;
}

.cart-checkout-message {
  min-height: 18px;
  margin: -2px 0 0;
  color: #b42318;
  font-size: 13px;
  line-height: 1.35;
}

.cart-checkout-message[data-type="success"] {
  color: #147a3a;
}

.catalog-products.view-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-products.view-compact .catalog-product {
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: center;
}

.catalog-products.view-compact .catalog-product__image {
  height: 154px;
  padding: 18px 14px;
}

.catalog-products.view-compact .catalog-product__image img {
  max-height: 112px;
}

.catalog-products.view-compact .catalog-product__body {
  padding: 20px 18px 10px 0;
}

.catalog-products.view-compact .catalog-product__title {
  min-height: 0;
}

.catalog-products.view-compact .catalog-product__actions {
  grid-column: 2;
  padding: 0 18px 20px 0;
}

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

.catalog-products.view-list .catalog-product {
  grid-template-columns: 184px minmax(0, 1fr) 246px;
  align-items: center;
}

.catalog-products.view-list .catalog-product__image {
  height: 172px;
  padding: 22px 18px;
}

.catalog-products.view-list .catalog-product__image img {
  max-height: 132px;
}

.catalog-products.view-list .catalog-product__body {
  padding: 24px 18px 24px 0;
}

.catalog-products.view-list .catalog-product__title {
  min-height: 0;
  font-size: 16px;
}

.catalog-products.view-list .catalog-product__text {
  display: block;
}

.catalog-products.view-list .catalog-product__actions {
  grid-template-columns: 36px 44px 36px;
  padding: 24px 20px;
}

.catalog-products.view-list .buy-button {
  grid-column: 1 / 4;
}

.catalog-products.view-list .icon-button {
  grid-column: 1 / 4;
  width: 38px;
}

.product-main {
  background: #fff;
}

.product-detail {
  width: min(100%, var(--site-width));
  margin: 0 auto;
}

.product-detail__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 27px;
}

.product-detail__head h1 {
  margin: 0;
  font-size: 38px;
  line-height: 1.16;
  font-weight: 600;
}

.product-detail__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px 18px;
  padding-top: 4px;
  color: #777;
  font-size: 13px;
}

.product-detail__sku {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid #ececec;
  border-radius: 7px;
  background: #fafafa;
  color: #666;
  font-weight: 700;
}

.product-detail__grid {
  display: grid;
  grid-template-columns: 456px minmax(0, 1fr) 292px;
  gap: 28px;
  align-items: start;
}

.product-gallery,
.product-info,
.product-buy,
.product-tabs,
.product-related {
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fff;
}

.product-gallery {
  position: relative;
  padding: 26px;
}

.product-gallery__labels {
  position: absolute;
  left: 22px;
  top: 22px;
  z-index: 2;
}

.product-gallery__labels span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 5px;
  background: #ff5871;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.product-gallery__main {
  min-height: 384px;
  display: grid;
  place-items: center;
  background: #fff;
}

.product-gallery__main img {
  max-width: 86%;
  max-height: 310px;
  object-fit: contain;
}

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

.product-gallery__thumbs button {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 1px solid #e4e4e4;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.product-gallery__thumbs button.active {
  border-color: var(--pink);
}

.product-gallery__thumbs button:focus-visible,
.product-tabs__nav button:focus-visible {
  outline: 2px solid rgba(236, 36, 136, .35);
  outline-offset: 2px;
}

.product-gallery__thumbs img {
  max-width: 48px;
  max-height: 52px;
  object-fit: contain;
}

.product-info {
  padding: 27px 28px;
}

.product-info__notice {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 6px;
  background: #eef9f1;
  color: #27a148;
  font-size: 13px;
  font-weight: 700;
}

.product-info__text {
  margin: 20px 0 0;
  color: #555;
  font-size: 15px;
  line-height: 1.68;
}

.product-info__links {
  display: flex;
  gap: 18px;
  margin-top: 22px;
  color: var(--pink);
  font-size: 14px;
  font-weight: 700;
}

.product-props {
  display: grid;
  margin: 24px 0 0;
}

.product-props div {
  display: grid;
  grid-template-columns: minmax(140px, .55fr) minmax(0, 1fr);
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.product-props dt,
.product-props dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.product-props dt {
  color: #888;
}

.product-props dd {
  color: #333;
  font-weight: 600;
}

.product-buy {
  position: sticky;
  top: 104px;
  padding: 26px 24px;
}

.product-buy__price {
  margin-bottom: 7px;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
}

.product-buy__auth-price {
  margin: 0 0 9px;
  color: #777;
  font-size: 13px;
  line-height: 1.45;
}

.product-buy__auth-price strong {
  color: var(--pink);
  font-size: 15px;
}

.product-buy__status {
  margin-bottom: 20px;
  color: #27a148;
  font-size: 14px;
}

.product-buy__qty {
  display: grid;
  grid-template-columns: 44px 56px 44px;
  gap: 7px;
  margin-bottom: 12px;
}

.product-buy__qty input {
  width: 56px;
  height: 42px;
  border: 1px solid #e1e1e1;
  border-radius: 7px;
  text-align: center;
  outline: none;
}

.product-buy__qty .qty-button {
  height: 42px;
}

.product-buy__cart,
.product-buy__oneclick {
  width: 100%;
  height: 46px;
  font-size: 15px;
}

.product-buy__oneclick {
  border: 1px solid var(--pink);
  border-radius: 7px;
  background: #fff;
  color: var(--pink);
  font-weight: 800;
}

.product-buy__quick-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 9px;
  align-items: center;
  margin-top: 10px;
}

.product-buy__quick-actions .icon-button {
  width: 46px;
  height: 46px;
  border-radius: 7px;
}

.product-buy__delivery {
  margin-top: 21px;
  padding-top: 18px;
  border-top: 1px solid #eeeeee;
}

.product-buy__delivery p {
  margin: 0 0 13px;
  font-size: 14px;
  line-height: 1.45;
}

.product-buy__delivery strong,
.product-buy__delivery span {
  display: block;
}

.product-buy__delivery span {
  color: #777;
}

.product-tabs {
  margin-top: 34px;
}

.product-tabs__nav {
  display: flex;
  gap: 2px;
  padding: 0 24px;
  border-bottom: 1px solid #eeeeee;
}

.product-tabs__nav button {
  min-height: 58px;
  padding: 0 18px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #555;
  font-weight: 700;
  cursor: pointer;
}

.product-tabs__nav button.active {
  border-bottom-color: var(--pink);
  color: #222;
}

.product-tabs__panel {
  padding: 26px 28px 30px;
}

.product-tabs__panel[hidden] {
  display: none;
}

.product-tabs__panel h2,
.product-related h2 {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 600;
}

.product-tabs__panel p {
  max-width: 790px;
  margin: 0;
  color: #555;
  font-size: 16px;
  line-height: 1.7;
}

.product-related {
  margin-top: 34px;
  padding: 26px 28px 30px;
}

.product-related .section-head {
  margin-bottom: 20px;
}

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

.product-related .catalog-product__actions {
  grid-template-columns: minmax(0, 1fr) 38px;
}

.auth-main {
  background: #fff;
}

.auth-layout {
  width: min(100%, var(--site-width));
  margin: 0 auto 70px;
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(280px, 1fr);
  gap: 32px;
  align-items: start;
}

.auth-layout--compact {
  grid-template-columns: minmax(0, 520px) minmax(280px, 1fr);
}

.auth-layout--account {
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
}

.auth-layout--account .auth-card {
  order: 2;
}

.auth-layout--account .auth-side {
  order: 1;
}

.auth-card {
  padding: 34px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, .04);
}

.auth-card__head {
  margin-bottom: 24px;
}

.auth-eyebrow {
  color: var(--pink);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-card h1 {
  margin: 6px 0 0;
  font-size: 36px;
  line-height: 1.15;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-form label:not(.auth-check) {
  display: grid;
  gap: 8px;
  color: #333;
  font-weight: 700;
}

.auth-form input[type="text"],
.auth-form input[type="tel"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  height: 50px;
  border: 1px solid #ddd;
  border-radius: 7px;
  padding: 0 15px;
  color: #222;
  background: #fff;
  outline: none;
}

.auth-form input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(236, 36, 136, .12);
}

.auth-form__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
}

.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #666;
  font-size: 14px;
  line-height: 1.45;
}

.auth-check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--pink);
}

.auth-submit {
  height: 52px;
  border: 0;
  border-radius: 7px;
  background: var(--pink);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.auth-submit:hover {
  background: var(--pink-dark);
}

.auth-submit:active {
  transform: translateY(1px);
}

.auth-message {
  min-height: 20px;
  margin: -2px 0 0;
  color: #b42318;
  font-size: 14px;
  line-height: 1.4;
}

.auth-message[data-type="success"] {
  color: #147a3a;
}

.auth-card a,
.auth-form__row a {
  color: var(--pink);
  font-weight: 700;
}

.auth-card__footer {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #666;
}

.auth-side {
  padding: 30px;
  border: 1px solid #f7d6e4;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff0f6, #fff);
}

.auth-side h2 {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 1.2;
}

.auth-side ul {
  margin: 0 0 20px;
  padding-left: 20px;
  color: #555;
  line-height: 1.65;
}

.auth-side li {
  margin: 0 0 8px;
}

.auth-side a {
  color: var(--pink);
  font-weight: 800;
}

.auth-layout--account .auth-side {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.account-menu {
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.account-menu a,
.account-menu button {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 8px 0;
  background: transparent;
  color: #222;
  text-align: left;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
}

.account-menu a:hover,
.account-menu button:hover,
.account-menu .active {
  background: transparent;
  color: var(--pink);
}

.personal-profile {
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
}

.personal-password {
  margin-top: 20px;
}

.personal-profile h2 {
  margin: 0;
  padding: 24px 26px 0;
  font-size: 20px;
  line-height: 1.25;
}

.personal-profile__form {
  padding: 24px 26px 26px;
}

.personal-profile__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.personal-profile__form label {
  display: grid;
  align-content: start;
  gap: 8px;
  color: #333;
  font-size: 14px;
  font-weight: 700;
}

.personal-profile__form label span b {
  color: var(--pink);
}

.personal-profile__form input {
  width: 100%;
  height: 50px;
  border: 1px solid #ddd;
  border-radius: 7px;
  padding: 0 15px;
  background: #fff;
  color: #222;
  outline: none;
  font: inherit;
}

.personal-profile__form input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(236, 36, 136, .12);
}

.personal-profile__form small {
  color: #777;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.personal-profile__footer {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding-top: 6px;
}

.personal-profile__footer .account-button {
  min-width: 220px;
}

.personal-profile__footer .account-button:disabled {
  background: #f3f3f3;
  color: #aaa;
  cursor: default;
  transform: none;
}

.personal-profile__footer .auth-message {
  margin: 0;
}

.personal-orders {
  display: grid;
  gap: 20px;
}

.orders-filter {
  padding: 18px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
}

.orders-filter__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.orders-filter__field {
  display: grid;
  gap: 8px;
  color: #555;
  font-size: 13px;
  font-weight: 700;
}

.orders-filter__field select {
  width: 100%;
  height: 46px;
  border: 1px solid #ddd;
  border-radius: 7px;
  padding: 0 38px 0 14px;
  background:
    linear-gradient(45deg, transparent 50%, #999 50%) calc(100% - 18px) 20px / 6px 6px no-repeat,
    linear-gradient(135deg, #999 50%, transparent 50%) calc(100% - 13px) 20px / 6px 6px no-repeat,
    #fff;
  color: #222;
  font: inherit;
  font-weight: 700;
  outline: none;
  appearance: none;
}

.orders-filter__field select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(236, 36, 136, .12);
}

.orders-filter__submit {
  min-width: 118px;
  height: 46px;
  padding: 0 20px;
}

.orders-empty {
  padding: 16px 18px;
  border: 1px solid #b8e6c7;
  border-radius: 8px;
  background: #ecfbf0;
  color: #147a3a;
  font-size: 15px;
  font-weight: 700;
}

.orders-empty--error {
  border-color: #f2b8b5;
  background: #fff1f0;
  color: #b42318;
}

.account-orders-list {
  display: grid;
  gap: 14px;
}

.account-order-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  background: #fff;
}

.account-order-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.account-order-card__head h2 {
  margin: 0 0 4px;
  color: #222;
  font-size: 20px;
  line-height: 1.2;
}

.account-order-card__head span,
.account-order-card__updated {
  color: #777;
  font-size: 13px;
  font-weight: 700;
}

.account-order-badge {
  flex: 0 0 auto;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-order-badge--success {
  background: #e7f8ec;
  color: #147a3a;
}

.account-order-badge--warning {
  background: #fff6dc;
  color: #8a5d00;
}

.account-order-badge--danger {
  background: #fff0f0;
  color: #b42318;
}

.account-order-tracker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.account-order-tracker span {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 6px;
  color: #999;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.account-order-tracker span::before {
  content: "";
  position: absolute;
  left: 14px;
  right: -8px;
  top: 7px;
  height: 2px;
  background: #e6e6e6;
}

.account-order-tracker span:last-child::before {
  display: none;
}

.account-order-tracker b {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  border: 2px solid #dddddd;
  border-radius: 50%;
  background: #fff;
}

.account-order-tracker .is-active {
  color: #222;
}

.account-order-tracker .is-active::before {
  background: #f5a4ca;
}

.account-order-tracker .is-active b {
  border-color: var(--pink);
  background: var(--pink);
}

.account-order-tracker--canceled {
  grid-template-columns: 1fr;
}

.account-order-tracker--canceled span::before {
  display: none;
}

.account-order-tracker .is-canceled {
  color: #b42318;
}

.account-order-tracker .is-canceled b {
  border-color: #b42318;
  background: #b42318;
}

.account-order-card__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.account-order-card__meta div {
  min-width: 0;
  padding: 12px;
  border-radius: 8px;
  background: #fafafa;
}

.account-order-card__meta span {
  display: block;
  margin-bottom: 5px;
  color: #777;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-order-card__meta strong {
  color: #222;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.account-order-card__items {
  display: grid;
  gap: 8px;
}

.account-order-card__items div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid #eeeeee;
  color: #333;
  font-size: 14px;
}

.account-order-card__items strong {
  flex: 0 0 auto;
}

.account-order-card__updated {
  margin: 0;
}

.personal-favorites {
  display: grid;
  gap: 18px;
}

.favorites-empty {
  padding: 16px 18px;
  border: 1px solid #b8e6c7;
  border-radius: 8px;
  background: #ecfbf0;
  color: #147a3a;
  font-size: 15px;
  font-weight: 700;
}

.favorites-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.favorite-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
}

.favorite-card__image {
  height: 176px;
  display: grid;
  place-items: center;
  padding: 22px;
  background: #fafafa;
}

.favorite-card__image img {
  max-width: 100%;
  max-height: 132px;
  display: block;
  object-fit: contain;
}

.favorite-card__body {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 12px;
  padding: 16px;
}

.favorite-card__title {
  min-height: 42px;
  color: #222;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}

.favorite-card__title:hover {
  color: var(--pink);
}

.favorite-card__price {
  font-size: 19px;
  line-height: 1.2;
  font-weight: 800;
}

.favorite-card__actions {
  align-self: end;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: center;
}

.favorite-card__buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
}

.favorite-card__remove {
  cursor: pointer;
}

.account-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.account-summary div {
  min-width: 0;
  padding: 16px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fafafa;
}

.account-summary span {
  display: block;
  margin-bottom: 8px;
  color: #777;
  font-size: 13px;
}

.account-summary strong {
  display: block;
  overflow-wrap: anywhere;
  color: #202020;
  font-size: 16px;
}

.account-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, auto);
  gap: 12px;
  margin-bottom: 26px;
}

.account-button {
  display: inline-grid;
  min-height: 52px;
  place-items: center;
  border: 0;
  border-radius: 7px;
  padding: 0 18px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.auth-card .account-button.auth-submit {
  color: #fff;
}

.account-button--secondary {
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #333;
}

.auth-card .account-button--secondary {
  color: #333;
}

.account-section {
  padding: 20px 0 0;
  border-top: 1px solid #eee;
}

.account-section + .account-section {
  margin-top: 20px;
}

.account-section h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.account-section p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

.footer {
  padding: 48px 0 54px;
  background: #2c2c2c;
  color: #cfcfcf;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
  gap: 42px;
}

.footer-logo {
  width: 170px;
  display: block;
  margin-bottom: 18px;
}

.footer h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 17px;
}

.footer a,
.footer p {
  display: block;
  margin: 0 0 10px;
  color: #cfcfcf;
  font-size: 14px;
}

.scroll-top {
  position: fixed;
  right: 35px;
  bottom: 26px;
  z-index: 25;
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-size: 25px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.bottom-panel { display: none; }

@media (max-width: 760px) {
  body { padding-bottom: 66px; background: #f8f8f8; }

  .topbar { display: none; }

  .auth-layout {
    width: calc(100% - 36px);
    margin-bottom: 42px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .auth-layout--account .auth-card,
  .auth-layout--account .auth-side {
    order: initial;
  }

  .auth-card {
    padding: 24px 20px;
    border-radius: 8px;
  }

  .auth-card h1 {
    font-size: 30px;
  }

  .auth-side {
    padding: 22px;
    border-radius: 8px;
  }

  .auth-side h2 {
    font-size: 22px;
  }

  .account-summary {
    grid-template-columns: 1fr;
  }

  .account-actions {
    grid-template-columns: 1fr;
  }

  .personal-profile h2 {
    padding: 20px 18px 0;
  }

  .personal-profile__form {
    grid-template-columns: 1fr;
    padding: 20px 18px;
    gap: 16px;
  }

  .personal-profile__footer {
    align-items: stretch;
  }

  .personal-profile__footer .account-button {
    width: 100%;
    min-width: 0;
  }

  .orders-filter {
    padding: 14px;
  }

  .orders-filter__row {
    grid-template-columns: 1fr;
  }

  .orders-filter__submit {
    width: 100%;
  }

  .account-order-card {
    padding: 14px;
  }

  .account-order-card__head {
    display: grid;
  }

  .account-order-card__meta {
    grid-template-columns: 1fr;
  }

  .account-order-tracker {
    grid-template-columns: 1fr;
  }

  .account-order-tracker span {
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
  }

  .account-order-tracker span::before {
    left: 7px;
    right: auto;
    top: 18px;
    bottom: -8px;
    width: 2px;
    height: auto;
  }

  .account-order-card__items div {
    display: grid;
  }

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

  .favorite-card__image {
    height: 154px;
  }

  .mainbar {
    min-height: 61px;
    padding: 0 18px;
    grid-template-columns: 27px 1fr repeat(3, 28px);
    gap: 18px;
  }

  .mobile-burger {
    display: grid;
    gap: 5px;
    border: 0;
    padding: 0;
    background: transparent;
  }

  .mobile-burger span {
    width: 20px;
    height: 2px;
    background: #171717;
  }

  .logo img { width: 143px; }

  .catalog-button { display: none; }

  .search { display: contents; }

  .search input { display: none; }

  .search button {
    grid-column: 3;
    width: 28px;
    height: 28px;
    padding: 0;
  }

  .actions {
    grid-column: 4 / 6;
    display: flex;
    gap: 20px;
  }

  .actions a { display: block; }
  .actions a:first-child { display: none; }
  .actions span { display: none; }

  .favorite-count,
  .cart-count {
    top: -7px;
    right: -8px;
  }

  .hero-track {
    aspect-ratio: 736 / 506;
  }

  .hero-slide img {
    object-position: center top;
  }

  .hero-dots {
    left: 50%;
    right: auto;
    bottom: 18px;
    transform: translateX(-50%);
    gap: 13px;
  }

  .hero-arrow { display: none; }

  .benefits {
    padding: 25px 18px 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }

  .benefits article { grid-template-columns: 58px 1fr; }
  .benefits article:nth-child(n+3) { display: none; }
  .benefits h3 { font-size: 16px; }
  .benefits p { font-size: 15px; }

  .section,
  .breadcrumbs,
  .page-title,
  .company-layout,
  .catalog-layout,
  .product-detail,
  .contacts-section,
  .blog-list,
  .article-detail,
  .promo-row,
  .footer-grid {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .section { padding-top: 48px; }
  .section h1, .section h2 { font-size: 30px; margin-bottom: 26px; }

  .page-main { padding-bottom: 40px; }
  .breadcrumbs { padding-top: 24px; }
  .page-title { padding-bottom: 22px; }
  .page-title h1 { font-size: 30px; }
  .article-detail {
    margin-bottom: 44px;
  }
  .article-hero-image {
    margin-bottom: 24px;
  }
  .article-content {
    font-size: 15px;
    line-height: 1.65;
  }
  .article-content h1 { font-size: 24px; }
  .article-content h2 { font-size: 21px; }
  .article-content h3 { font-size: 18px; }
  .article-content table,
  .article-content tbody,
  .article-content tr,
  .article-content td,
  .article-content th {
    display: block;
    width: 100%;
  }
  .company-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .company-sidebar {
    overflow-x: auto;
    display: flex;
    gap: 8px;
    padding-bottom: 4px;
  }
  .company-sidebar a {
    min-height: 40px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 8px;
    white-space: nowrap;
  }
  .company-sidebar a:first-child,
  .company-sidebar a:last-child {
    border-radius: 8px;
  }
  .company-content {
    font-size: 15px;
    line-height: 1.65;
  }
  .catalog-aside {
    gap: 16px;
  }
  .catalog-tree {
    display: flex;
    overflow-x: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    gap: 8px;
    padding-bottom: 2px;
  }
  .catalog-tree a {
    min-height: 40px;
    flex: 0 0 auto;
    display: flex;
    border: 0;
    border-radius: 8px;
    background: #f4f4f4;
    white-space: nowrap;
  }
  .catalog-tree b {
    display: none;
  }
  .catalog-filter {
    padding: 18px;
  }
  .catalog-description {
    padding: 18px;
  }
  .catalog-toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }
  .catalog-sort {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }
  .catalog-sort select {
    min-width: 0;
    width: 190px;
  }
  .catalog-view {
    width: 100%;
  }
  .catalog-products.view-grid,
  .catalog-products.view-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .catalog-products.view-grid .catalog-product__image,
  .catalog-products.view-compact .catalog-product__image {
    height: 150px;
    padding: 22px 14px 8px;
  }
  .catalog-products.view-grid .catalog-product__image img,
  .catalog-products.view-compact .catalog-product__image img {
    max-height: 112px;
  }
  .catalog-products.view-grid .catalog-product__body,
  .catalog-products.view-compact .catalog-product__body {
    padding: 0 14px 14px;
  }
  .catalog-product__title {
    min-height: 63px;
    font-size: 14px;
  }
  .catalog-product__actions,
  .catalog-products.view-compact .catalog-product__actions {
    grid-template-columns: 32px 38px 32px 1fr;
    padding: 0 14px 14px;
  }
  .catalog-products.view-grid .catalog-product__actions,
  .product-related .catalog-products.view-grid .catalog-product__actions {
    grid-template-columns: 1fr;
  }
  .catalog-product__actions input {
    width: 38px;
  }
  .catalog-product__actions .icon-button {
    display: none;
  }
  .catalog-product__price {
    font-size: 17px;
  }
  .catalog-products.view-compact .catalog-product {
    grid-template-columns: 1fr;
  }
  .catalog-products.view-compact .catalog-product__actions {
    grid-column: auto;
  }
  .catalog-products.view-list .catalog-product {
    grid-template-columns: 112px minmax(0, 1fr);
  }
  .catalog-products.view-list .catalog-product__image {
    height: 132px;
    padding: 18px 12px;
  }
  .catalog-products.view-list .catalog-product__image img {
    max-height: 92px;
  }
  .catalog-products.view-list .catalog-product__body {
    padding: 18px 14px 8px 0;
  }
  .catalog-products.view-list .catalog-product__text {
    display: none;
  }
  .catalog-products.view-list .catalog-product__actions {
    grid-column: 1 / 3;
    grid-template-columns: 32px 38px 32px minmax(0, 1fr);
    padding: 0 14px 14px;
  }
  .catalog-products.view-list .buy-button,
  .catalog-products.view-list .icon-button {
    grid-column: auto;
  }
  .product-detail__head {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 22px;
  }
  .product-detail__head h1 {
    font-size: 30px;
  }
  .product-detail__meta {
    justify-content: flex-start;
    padding-top: 0;
  }
  .product-detail__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .product-gallery,
  .product-info,
  .product-buy,
  .product-tabs,
  .product-related {
    border-radius: 8px;
  }
  .product-gallery {
    padding: 20px;
  }
  .product-gallery__main {
    min-height: 268px;
  }
  .product-gallery__main img {
    max-height: 220px;
  }
  .product-gallery__thumbs button {
    width: 58px;
    height: 58px;
  }
  .product-info {
    padding: 22px;
  }
  .product-props div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .product-buy {
    position: static;
    padding: 22px;
  }
  .product-buy__price {
    font-size: 28px;
  }
  .product-buy__qty {
    grid-template-columns: 44px 56px 44px;
  }
  .product-tabs {
    margin-top: 24px;
  }
  .product-tabs__nav {
    overflow-x: auto;
    padding: 0 12px;
  }
  .product-tabs__nav button {
    flex: 0 0 auto;
    min-height: 50px;
  }
  .product-tabs__panel {
    padding: 22px;
  }
  .product-tabs__panel h2,
  .product-related h2 {
    font-size: 24px;
  }
  .product-related {
    margin-top: 24px;
    padding: 22px;
  }
  .product-related .catalog-products.view-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .company-content table,
  .company-content tbody,
  .company-content tr,
  .company-content td,
  .company-content th {
    display: block;
    width: 100%;
  }
  .company-content td:first-child {
    width: 100%;
  }

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

  .blog-card__body {
    padding-top: 14px;
  }

  .blog-card__title {
    font-size: 16px;
  }

  .contacts-map {
    min-height: 328px;
    margin-left: -18px;
    margin-right: -18px;
    border-radius: 0;
  }

  .contacts-map iframe {
    height: 328px;
  }

  .contacts-intro {
    padding: 34px 0 22px;
  }

  .contacts-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contacts-map {
    order: -1;
  }

  .stores-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .store-card {
    min-height: 0;
    padding: 24px;
  }

  .store-card__address {
    min-height: 0;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .category-card {
    min-height: 132px;
    padding: 24px 122px 22px 24px;
  }

  .category-card h3 { font-size: 23px; }
  .category-card img { width: 90px; height: 90px; right: 22px; top: 18px; }

  .promo-row {
    grid-template-columns: repeat(4, 230px);
    gap: 14px;
    overflow-x: auto;
  }

  .promo-row article {
    min-height: 216px;
    font-size: 17px;
    border-radius: 8px;
  }

  .section-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .tabs {
    width: 100%;
    overflow-x: auto;
    margin-left: 0;
  }

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

  .product-card {
    min-height: 315px;
    padding: 16px;
  }

  .product-card img { height: 150px; }

  .sale-card { grid-template-columns: 1fr; }

  .footer { padding-bottom: 82px; }
  .footer-grid { grid-template-columns: 1fr; }

  .scroll-top {
    right: 16px;
    bottom: 82px;
  }

  .bottom-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    height: 64px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    background: #fff;
    box-shadow: 0 -3px 18px rgba(0, 0, 0, .08);
  }

  .bottom-panel a {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 4px;
    color: #555;
    font-size: 11px;
  }

  .bottom-panel svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.8;
  }

  .bottom-panel .active { color: var(--pink); }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .topbar, .mainbar, .section, .benefits, .promo-row, .contacts-section, .footer-grid {
    width: calc(100% - 48px);
  }

  .favorites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .breadcrumbs, .page-title, .company-layout, .catalog-layout, .product-detail, .blog-list, .article-detail, .auth-layout {
    width: calc(100% - 48px);
  }
  .auth-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr);
    gap: 24px;
  }
  .auth-card {
    padding: 28px;
  }
  .auth-card h1 {
    font-size: 32px;
  }
  .catalog-layout {
    grid-template-columns: 238px minmax(0, 1fr);
    gap: 24px;
  }
  .catalog-products.view-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .catalog-products.view-list .catalog-product {
    grid-template-columns: 150px minmax(0, 1fr);
  }
  .catalog-products.view-list .catalog-product__actions {
    grid-column: 1 / 3;
    grid-template-columns: 36px 44px 36px minmax(110px, 1fr) 38px;
    padding-top: 0;
  }
  .catalog-products.view-list .buy-button,
  .catalog-products.view-list .icon-button {
    grid-column: auto;
  }
  .product-detail__grid {
    grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
    gap: 22px;
  }
  .product-gallery__main {
    min-height: 320px;
  }
  .product-buy {
    position: static;
    grid-column: 1 / 3;
  }
  .product-related .catalog-products.view-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .blog-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mainbar {
    grid-template-columns: 180px 130px 1fr 230px;
    gap: 18px;
  }
  .topnav { gap: 18px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .stores-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.admin-page {
  min-height: 100vh;
  background: #f6f7f9;
  color: #161616;
  font-family: Inter, "Nunito Sans", Arial, sans-serif;
}

.admin-page button,
.admin-page input,
.admin-page select,
.admin-page textarea {
  font: inherit;
}

.admin-page svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-root {
  min-height: 100vh;
}

.admin-login[hidden],
.admin-shell[hidden],
.admin-drawer[hidden] {
  display: none;
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background: #fff;
}

.admin-login__logo {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.admin-login__logo img {
  width: 188px;
  height: auto;
  display: block;
}

.admin-login__logo span,
.admin-sidebar__brand span {
  color: #8a8a8a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-login__card {
  width: min(100%, 430px);
  margin: 0;
  display: grid;
  gap: 18px;
  padding: 34px 34px 32px;
  border: 1px solid #ededed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 56px rgba(22, 22, 22, .08);
}

.admin-login__card h1 {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1.12;
}

.admin-login__card p {
  margin: 0;
  color: #6f6f6f;
  font-size: 15px;
  line-height: 1.55;
}

.admin-login__card label,
.admin-field,
.admin-toolbar label {
  display: grid;
  gap: 8px;
  color: #4c4c4c;
  font-size: 13px;
  font-weight: 800;
}

.admin-login__card input,
.admin-field input,
.admin-field select,
.admin-field textarea,
.admin-toolbar select,
.admin-search input {
  width: 100%;
  border: 1px solid #dedede;
  border-radius: 8px;
  background: #fff;
  color: #161616;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.admin-login__card input,
.admin-field input,
.admin-field select,
.admin-toolbar select,
.admin-search input {
  height: 46px;
  padding: 0 14px;
}

.admin-field textarea {
  min-height: 108px;
  resize: vertical;
  padding: 12px 14px;
}

.admin-image-field {
  grid-column: 1 / -1;
}

.admin-image-uploader {
  min-width: 0;
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
  border: 1px dashed #d6d6d6;
  border-radius: 8px;
  padding: 12px;
  background: #fafafa;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.admin-image-field.is-dragover .admin-image-uploader {
  border-color: var(--pink);
  background: #fff7fb;
  box-shadow: 0 0 0 3px rgba(236, 36, 136, .1);
}

.admin-image-uploader__preview {
  min-height: 110px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  background: #fff;
  color: #999;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.admin-image-uploader__preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.admin-image-uploader__body {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 9px;
}

.admin-image-uploader__body strong {
  color: #222;
  font-size: 14px;
  line-height: 1.3;
}

.admin-image-uploader__body p {
  margin: 0;
  color: #777;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.admin-image-uploader__body small {
  color: #777;
  font-size: 12px;
  line-height: 1.45;
}

.admin-image-uploader__button {
  width: max-content;
  min-height: 38px;
  padding: 0 14px;
}

.admin-image-uploader__button input {
  display: none;
}

.admin-permissions-field {
  grid-column: 1 / -1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  padding: 14px;
}

.admin-permissions-field legend {
  padding: 0 6px;
  color: #4c4c4c;
  font-size: 13px;
  font-weight: 900;
}

.admin-permissions-field label {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  font-size: 13px;
  font-weight: 800;
}

.admin-permissions-field input {
  width: 16px;
  height: 16px;
  accent-color: var(--pink);
}

.admin-login__card input:focus,
.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus,
.admin-toolbar select:focus,
.admin-search input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(236, 36, 136, .12);
}

.admin-form-message {
  min-height: 20px;
  color: #c4342e;
  font-size: 14px;
  font-weight: 700;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
}

.admin-device-block {
  display: none;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-right: 1px solid #e7e7e7;
  background: #fff;
}

.admin-sidebar__brand {
  min-height: 94px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 18px 24px;
  border-bottom: 1px solid #eeeeee;
}

.admin-sidebar__brand img {
  width: 160px;
  height: auto;
  display: block;
}

.admin-nav {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 22px 14px;
}

.admin-nav button,
.admin-sidebar__foot a,
.admin-sidebar__foot button {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 8px;
  padding: 0 13px;
  background: transparent;
  color: #3d3d3d;
  text-align: left;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}

.admin-nav button:hover,
.admin-nav button.active,
.admin-sidebar__foot a:hover,
.admin-sidebar__foot button:hover {
  background: #fff0f6;
  color: var(--pink);
}

.admin-sidebar__foot {
  display: grid;
  gap: 6px;
  padding: 16px 14px 20px;
  border-top: 1px solid #eeeeee;
}

.admin-sidebar__foot button {
  width: 100%;
}

.admin-workspace {
  min-width: 0;
  display: grid;
  grid-template-rows: 74px 1fr;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 26px;
  border-bottom: 1px solid #e7e7e7;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
}

.admin-menu-toggle.admin-icon-button {
  display: none;
}

.admin-search {
  min-width: 0;
  position: relative;
}

.admin-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  color: #777;
  transform: translateY(-50%);
}

.admin-search input {
  padding-left: 44px;
  font-size: 14px;
}

.admin-profile {
  min-width: 190px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 10px;
}

.admin-profile > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.admin-profile strong,
.admin-profile small {
  display: block;
}

.admin-profile strong {
  color: #222;
  font-size: 14px;
  line-height: 1.2;
}

.admin-profile small {
  margin-top: 2px;
  color: #777;
  font-size: 12px;
}

.admin-content {
  min-width: 0;
  padding: 26px;
}

.admin-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 20px;
}

.admin-page-head h1 {
  margin: 0 0 4px;
  font-size: 34px;
  line-height: 1.12;
}

.admin-page-head p {
  margin: 0;
  color: #777;
  font-size: 14px;
  font-weight: 700;
}

.admin-button,
.admin-icon-button {
  border: 0;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

.admin-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  padding: 0 18px;
  color: #222;
  background: #f1f1f1;
  font-size: 14px;
  font-weight: 900;
}

.admin-button--primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(236, 36, 136, .22);
}

.admin-button--ghost {
  min-height: 38px;
  border: 1px solid #eeeeee;
  background: #fff;
  box-shadow: none;
}

.admin-button:hover {
  transform: translateY(-1px);
}

.admin-button--primary:hover {
  background: var(--pink-dark);
}

.admin-icon-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #f5f5f5;
  color: #555;
}

.admin-icon-button:hover {
  background: #fff0f6;
  color: var(--pink);
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.admin-metric,
.admin-panel,
.admin-main-panel,
.admin-detail {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(18, 18, 18, .035);
}

.admin-metric {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
}

.admin-metric span,
.admin-metric small,
.admin-panel__head span,
.admin-table td span,
.admin-detail span,
.admin-blog-row span {
  color: #777;
}

.admin-metric span,
.admin-metric small {
  font-size: 13px;
  font-weight: 800;
}

.admin-metric strong {
  color: #151515;
  font-size: 27px;
  line-height: 1.1;
}

.admin-metric small {
  color: #22863a;
}

.admin-metric small.is-negative {
  color: #c4342e;
}

.admin-orders-layout {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 338px;
  gap: 18px;
  align-items: start;
}

.admin-main-panel {
  min-width: 0;
  padding: 18px;
}

.admin-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, .8fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

.admin-panel {
  min-width: 0;
  padding: 18px;
}

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

.admin-panel__head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.admin-panel__hint {
  margin: -6px 0 14px;
  color: #777;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.admin-panel__head select {
  height: 36px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0 10px;
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 800;
}

.admin-panel--status {
  display: grid;
  gap: 10px;
  align-content: center;
}

.admin-panel--chart {
  min-height: 0;
}

.admin-panel--status div,
.admin-detail__row,
.admin-detail__total div,
.admin-channel-list div,
.admin-ranked-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-bars {
  height: 230px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.admin-bars--orders {
  height: 190px;
  max-width: 680px;
}

.admin-bars__item {
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  justify-items: center;
  gap: 8px;
}

.admin-bars__item strong {
  max-width: 100%;
  color: #222;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-bars__item span {
  width: 100%;
  max-width: 42px;
  align-self: end;
  border-radius: 8px 8px 0 0;
}

.admin-bars__item small {
  max-width: 100%;
  color: #777;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-status-overview {
  display: grid;
  gap: 10px;
}

.admin-status-overview button {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 8px;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  color: #222;
  cursor: pointer;
  text-align: left;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.admin-status-overview button:hover {
  border-color: #f2a7cd;
  transform: translateY(-1px);
}

.admin-status-overview button.is-active {
  border-color: #ee87bb;
  background: #fff7fb;
}

.admin-status-overview span {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.admin-status-overview b {
  color: #333;
  font-size: 13px;
  line-height: 1.25;
}

.admin-status-overview strong {
  flex: 0 0 auto;
  color: #151515;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.admin-status-overview small {
  color: #777;
  font-size: 12px;
  font-weight: 800;
}

.admin-status-overview i {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), #f7bdd8);
}

.admin-access-panel {
  min-width: 0;
  margin-bottom: 18px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(18, 18, 18, .035);
}

.admin-access-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-access-card {
  min-width: 0;
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  padding: 14px;
  background: #fafafa;
}

.admin-access-card > div:first-child {
  min-width: 0;
}

.admin-access-card strong,
.admin-access-card b {
  color: #222;
  font-size: 14px;
  line-height: 1.3;
}

.admin-access-card span {
  display: block;
  margin-top: 3px;
  color: #777;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-access-card .admin-access-password {
  display: inline-flex;
  width: max-content;
  margin: 0;
  border-radius: 999px;
  padding: 5px 8px;
  background: #f1f1f1;
  color: #666;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.admin-permission-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-permission-chips span {
  margin: 0;
  border-radius: 999px;
  padding: 5px 8px;
  background: #fff;
  color: #555;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.admin-home-layout {
  display: grid;
  grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
  gap: 18px;
  align-items: start;
}

.admin-home-tabs {
  display: grid;
  gap: 10px;
}

.admin-home-tabs button {
  display: grid;
  gap: 5px;
  border: 1px solid #ececec;
  border-radius: 8px;
  padding: 14px;
  background: #fafafa;
  text-align: left;
  cursor: pointer;
}

.admin-home-tabs button.is-active {
  border-color: rgba(236, 36, 136, .32);
  background: #fff3f9;
}

.admin-home-tabs strong,
.admin-home-products strong,
.admin-products-picker strong {
  color: #222;
  font-size: 14px;
  line-height: 1.35;
}

.admin-home-tabs span,
.admin-home-products span,
.admin-products-picker small {
  color: #777;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.admin-home-products {
  display: grid;
  gap: 10px;
}

.admin-home-products > div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  padding: 10px;
  background: #fafafa;
}

.admin-home-products > div.is-selected {
  border-color: rgba(236, 36, 136, .32);
  background: #fff8fb;
}

.admin-home-products img,
.admin-products-picker img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}

.admin-home-products b {
  border-radius: 999px;
  padding: 6px 9px;
  background: #f1f1f1;
  color: #666;
  font-size: 11px;
  white-space: nowrap;
}

.admin-home-products .is-selected b {
  background: var(--pink);
  color: #fff;
}

.admin-products-picker {
  display: grid;
  gap: 10px;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  padding: 14px;
}

.admin-products-picker legend {
  padding: 0 6px;
  color: #555;
  font-size: 13px;
  font-weight: 900;
}

.admin-products-picker label {
  display: grid;
  grid-template-columns: 18px 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  cursor: pointer;
}

.admin-products-picker span {
  display: grid;
  gap: 3px;
}

.admin-seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 16px;
  margin-bottom: 16px;
}

.admin-seo-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.admin-seo-preview {
  display: grid;
  gap: 8px;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  padding: 14px;
  background: #fafafa;
}

.admin-seo-preview strong {
  color: #222;
  font-size: 15px;
  line-height: 1.35;
}

.admin-seo-preview p {
  margin: 0;
  color: #777;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.admin-stats-filter {
  margin-bottom: 16px;
}

.admin-stats-filter label {
  max-width: 320px;
  display: grid;
  gap: 8px;
  color: #4c4c4c;
  font-size: 13px;
  font-weight: 900;
}

.admin-stats-filter select {
  height: 44px;
  border: 1px solid #dddddd;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: #222;
  font-size: 14px;
  font-weight: 900;
}

.admin-sync-chip {
  display: inline-flex;
  max-width: 150px;
  border-radius: 999px;
  padding: 6px 9px;
  background: #f1f1f1;
  color: #555;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-table--seo-products td:nth-child(2),
.admin-table--seo-products td:nth-child(3),
.admin-table--seo-products td:nth-child(4) {
  max-width: 260px;
  color: #555;
  font-size: 12px;
  line-height: 1.35;
}

.admin-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  margin: 0 -4px 14px;
  padding: 0 4px 2px;
}

.admin-tabs button {
  min-height: 38px;
  flex: 0 0 auto;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0 12px;
  background: transparent;
  color: #555;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.admin-tabs button.active {
  border-color: var(--pink);
  color: var(--pink);
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-toolbar label {
  min-width: 220px;
}

.admin-toolbar select,
.admin-field select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #999 50%) calc(100% - 18px) 20px / 6px 6px no-repeat,
    linear-gradient(135deg, #999 50%, transparent 50%) calc(100% - 13px) 20px / 6px 6px no-repeat,
    #fff;
}

.admin-table-wrap {
  min-width: 0;
  overflow-x: auto;
  border: 1px solid #ececec;
  border-radius: 8px;
}

.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
}

.admin-table--products {
  min-width: 900px;
}

.admin-table th,
.admin-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #eeeeee;
  color: #333;
  text-align: left;
  font-size: 14px;
  line-height: 1.35;
  vertical-align: middle;
}

.admin-table th {
  color: #777;
  background: #fbfbfb;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-table tbody tr {
  cursor: default;
}

.admin-table tbody tr:hover,
.admin-table tbody tr.is-selected {
  background: #fff7fb;
}

.admin-table td b,
.admin-table td strong {
  display: block;
  color: #222;
  font-weight: 900;
}

.admin-table td:first-child strong {
  color: var(--pink);
}

.admin-table td .admin-icon-button {
  width: 34px;
  height: 34px;
}

.admin-product-cell {
  min-width: 260px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.admin-product-cell img {
  width: 48px;
  height: 48px;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  padding: 5px;
  object-fit: contain;
  background: #fafafa;
}

.admin-badge {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.admin-badge--success {
  background: #e8f7eb;
  color: #22863a;
}

.admin-badge--warning {
  background: #fff3d6;
  color: #a66a00;
}

.admin-badge--danger {
  background: #ffe7e5;
  color: #c4342e;
}

.admin-badge--neutral {
  background: #eeeeee;
  color: #555;
}

.admin-status-select {
  width: min(100%, 180px);
  height: 36px;
  border: 1px solid #dedede;
  border-radius: 8px;
  padding: 0 34px 0 11px;
  background:
    linear-gradient(45deg, transparent 50%, #999 50%) calc(100% - 17px) 15px / 6px 6px no-repeat,
    linear-gradient(135deg, #999 50%, transparent 50%) calc(100% - 12px) 15px / 6px 6px no-repeat,
    #fff;
  color: #222;
  font-size: 13px;
  font-weight: 800;
  outline: none;
  appearance: none;
}

.admin-status-select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(236, 36, 136, .12);
}

.admin-order-tracker {
  display: grid;
  gap: 0;
  margin-top: 12px;
}

.admin-order-track-step {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 0 0 14px;
}

.admin-order-track-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 34px;
  bottom: 0;
  width: 2px;
  border-radius: 999px;
  background: #e6e6e6;
}

.admin-order-track-step.is-active:not(:last-child)::after {
  background: #f3a4ca;
}

.admin-order-track-marker {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid #dddddd;
  border-radius: 50%;
  background: #fff;
  color: #9a9a9a;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.admin-detail .admin-order-track-marker {
  display: grid;
  margin-top: 0;
  padding: 0;
  line-height: 1;
}

.admin-order-track-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 7px 10px 9px;
  border-radius: 8px;
}

.admin-detail .admin-order-track-copy {
  display: grid;
  margin-top: 0;
}

.admin-order-track-copy strong {
  color: #777;
  font-size: 13px;
  line-height: 1.25;
}

.admin-order-track-copy em {
  color: #888;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
}

.admin-order-track-step.is-active .admin-order-track-marker {
  border-color: var(--pink);
  background: var(--pink);
  color: #fff;
}

.admin-order-track-step.is-active .admin-order-track-copy strong {
  color: #222;
}

.admin-order-track-step.is-current .admin-order-track-copy {
  background: #fff4fa;
}

.admin-order-track-step.is-current .admin-order-track-copy em {
  color: #555;
}

.admin-order-track-step.is-canceled .admin-order-track-marker {
  border-color: #b42318;
  background: #b42318;
  color: #fff;
}

.admin-order-track-step.is-canceled .admin-order-track-copy {
  background: #fff5f4;
}

.admin-detail {
  position: sticky;
  top: 92px;
  overflow: hidden;
}

.admin-detail__head,
.admin-detail__block,
.admin-detail__total {
  padding: 18px;
  border-bottom: 1px solid #eeeeee;
}

.admin-detail__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-detail h2,
.admin-detail h3 {
  margin: 0;
}

.admin-detail h2 {
  font-size: 19px;
}

.admin-detail h3 {
  margin-bottom: 9px;
  color: #777;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-detail strong {
  display: block;
  color: #222;
  font-size: 14px;
  line-height: 1.45;
}

.admin-detail span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.45;
}

.admin-current-status {
  display: grid;
  gap: 5px;
  margin-bottom: 6px;
  border: 1px solid #f3d3e4;
  border-radius: 8px;
  padding: 12px;
  background: #fff7fb;
}

.admin-current-status span,
.admin-detail span.admin-detail__muted {
  margin-top: 0;
  color: #777;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-current-status strong {
  color: #151515;
  font-size: 18px;
  line-height: 1.2;
}

.admin-current-status p {
  margin: 0;
  color: #5f5f5f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.admin-detail span.admin-detail__muted {
  margin-top: 12px;
  text-transform: none;
}

.admin-order-items {
  display: grid;
  gap: 10px;
}

.admin-order-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.admin-order-item img {
  width: 46px;
  height: 46px;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  padding: 4px;
  object-fit: contain;
  background: #fafafa;
}

.admin-order-item b {
  color: #222;
  font-size: 13px;
}

.admin-detail__total {
  display: grid;
  gap: 8px;
}

.admin-detail__total div:last-child {
  padding-top: 8px;
  border-top: 1px solid #eeeeee;
}

.admin-detail > .admin-button {
  width: calc(100% - 36px);
  margin: 18px;
}

.admin-analytics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-ranked-list,
.admin-channel-list {
  display: grid;
  gap: 12px;
}

.admin-ranked-list div,
.admin-channel-list div {
  min-height: 42px;
  border-bottom: 1px solid #eeeeee;
}

.admin-ranked-list div:last-child,
.admin-channel-list div:last-child {
  border-bottom: 0;
}

.admin-ranked-list b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff0f6;
  color: var(--pink);
  font-size: 13px;
}

.admin-ranked-list span {
  min-width: 0;
  flex: 1;
  color: #333;
  font-size: 14px;
  font-weight: 800;
}

.admin-sync-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-sync-status,
.admin-sync-endpoints,
.admin-sync-actions {
  display: grid;
  gap: 12px;
}

.admin-sync-status div,
.admin-sync-endpoints div {
  display: grid;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eeeeee;
}

.admin-sync-status div:last-child,
.admin-sync-endpoints div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-sync-status span,
.admin-sync-endpoints span {
  color: #777;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-sync-status strong {
  color: #222;
  font-size: 15px;
}

.admin-sync-endpoints code {
  width: 100%;
  overflow-x: auto;
  border-radius: 8px;
  padding: 10px 12px;
  background: #f7f7f7;
  color: #222;
  font-size: 13px;
}

.admin-sync-actions .admin-button {
  width: 100%;
}

.admin-blog-list {
  display: grid;
  gap: 12px;
}

.admin-blog-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto 38px;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  background: #fff;
}

.admin-blog-row img {
  width: 96px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
  background: #f5f5f5;
}

.admin-blog-row h2 {
  margin: 0 0 5px;
  color: #222;
  font-size: 17px;
}

.admin-blog-row p {
  margin: 0 0 6px;
  color: #555;
  font-size: 14px;
  line-height: 1.45;
}

.admin-blog-row span {
  font-size: 13px;
  font-weight: 800;
}

.admin-drawer__backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(12, 12, 12, .38);
}

.admin-drawer__panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 61;
  width: min(100%, 520px);
  overflow-y: auto;
  background: #fff;
  box-shadow: -18px 0 44px rgba(0, 0, 0, .16);
}

.admin-drawer__head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px;
  border-bottom: 1px solid #eeeeee;
  background: #fff;
}

.admin-drawer__head h2 {
  margin: 0;
  font-size: 23px;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
}

.admin-field--wide,
.admin-form .admin-button {
  grid-column: 1 / -1;
}

.admin-empty {
  min-height: 92px;
  display: grid;
  place-items: center;
  color: #777;
  font-size: 15px;
  font-weight: 800;
}

.admin-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  max-width: min(360px, calc(100vw - 44px));
  padding: 13px 16px;
  border-radius: 8px;
  background: #222;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
}

.admin-toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1320px) {
  .admin-shell {
    grid-template-columns: 214px minmax(0, 1fr);
  }

  .admin-topbar {
    grid-template-columns: auto minmax(220px, 1fr) auto;
  }

  .admin-topbar .admin-menu-toggle {
    display: none;
  }

  .admin-orders-layout,
  .admin-panel-grid,
  .admin-analytics,
  .admin-home-layout,
  .admin-seo-layout {
    grid-template-columns: 1fr;
  }

  .admin-detail {
    position: static;
  }

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

@media (max-width: 1024px) {
  .admin-shell {
    display: block;
    min-height: 100vh;
  }

  .admin-shell[hidden] {
    display: none;
  }

  .admin-sidebar,
  .admin-workspace {
    display: none;
  }

  .admin-device-block {
    min-height: 100vh;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 16px;
    padding: 28px;
    background: #fff;
    text-align: center;
  }

  .admin-device-block svg {
    width: 64px;
    height: 64px;
    color: var(--pink);
  }

  .admin-device-block h1 {
    margin: 0;
    color: #151515;
    font-size: 30px;
    line-height: 1.15;
  }

  .admin-device-block p {
    max-width: 420px;
    margin: 0;
    color: #666;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
  }
}

@media (max-width: 760px) {
  .admin-page {
    padding-bottom: 0;
  }

  .admin-login {
    padding: 18px;
  }

  .admin-login__card {
    width: 100%;
    margin: 0;
    padding: 24px 20px;
  }

  .admin-login__card h1 {
    font-size: 28px;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-workspace {
    grid-template-rows: auto 1fr;
  }

  .admin-topbar {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px 14px;
  }

  .admin-topbar .admin-menu-toggle {
    display: none;
  }

  .admin-topbar > .admin-button,
  .admin-profile {
    display: none;
  }

  .admin-content {
    padding: 18px;
  }

  .admin-page-head {
    align-items: flex-start;
  }

  .admin-page-head h1 {
    font-size: 29px;
  }

  .admin-metrics,
  .admin-orders-layout,
  .admin-panel-grid,
  .admin-analytics,
  .admin-access-grid,
  .admin-seo-layout {
    grid-template-columns: 1fr;
  }

  .admin-main-panel,
  .admin-panel,
  .admin-detail {
    border-radius: 8px;
  }

  .admin-bars {
    height: 180px;
    gap: 9px;
  }

  .admin-bars--orders {
    height: 160px;
  }

  .admin-bars__item strong,
  .admin-bars__item small {
    font-size: 10px;
  }

  .admin-status-overview span {
    align-items: center;
  }

  .admin-status-overview strong {
    font-size: 19px;
  }

  .admin-toolbar label {
    min-width: 100%;
  }

  .admin-table--orders {
    min-width: 0;
  }

  .admin-table--orders th:nth-child(2),
  .admin-table--orders td:nth-child(2),
  .admin-table--orders th:nth-child(5),
  .admin-table--orders td:nth-child(5),
  .admin-table--orders th:nth-child(6),
  .admin-table--orders td:nth-child(6),
  .admin-table--orders th:nth-child(8),
  .admin-table--orders td:nth-child(8) {
    display: none;
  }

  .admin-table--orders th,
  .admin-table--orders td {
    padding: 12px 10px;
    font-size: 12px;
  }

  .admin-blog-row {
    grid-template-columns: 70px minmax(0, 1fr) 34px;
    align-items: start;
    gap: 10px;
    padding: 12px;
  }

  .admin-blog-row img {
    width: 70px;
    height: 56px;
  }

  .admin-blog-row h2 {
    font-size: 15px;
    line-height: 1.2;
  }

  .admin-blog-row p,
  .admin-blog-row span {
    font-size: 12px;
  }

  .admin-blog-row .admin-badge {
    grid-column: 2;
    justify-self: start;
  }

  .admin-blog-row .admin-icon-button {
    grid-column: 3;
    grid-row: 1;
  }

  .admin-drawer__panel {
    width: 100%;
  }

  .admin-form {
    grid-template-columns: 1fr;
  }

  .admin-permissions-field {
    grid-template-columns: 1fr;
  }

  .admin-image-uploader {
    grid-template-columns: 1fr;
  }

  .admin-image-uploader__preview {
    min-height: 170px;
  }
}
