@charset "UTF-8";
:root {
  --color-primary: #ffaa00;
  --brand-primary: #ffaa00;
  --brand-secondary: #1f3a5f;
  --bg-surface: #f7f7f7;
  --text-primary: #111827;
  --color-dark: #111827;
  --color-text: #374151;
  --color-bg: #ffffff;
  --color-bg-light: #f7f7f7;
  --color-border: #e5e7eb;
  --color-muted: #6b7280;
  --color-on-primary: #111827;
  --color-promo-bg: rgb(100%, 97.3333333333%, 92%);
  --layout-max-width: 1200px;
  --layout-gutter: 15px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 20px;
  --space-xl: 32px;
  --radius: 8px;
  --radius-lg: 12px;
  --control-height: 44px;
  --catalog-sidebar-width: 280px;
  --catalog-gap: 32px;
  --product-image-max-height: 200px;
  --header-sticky-offset: 88px;
  --font-xs: 12px;
  --font-sm: 14px;
  --font-title: 1.15rem;
  --breakpoint-card: 640px;
  --breakpoint-catalog: 991px;
  --shadow-card: 0 8px 24px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: var(--layout-max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--layout-gutter);
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.06);
  z-index: 1000;
}
.header .header__top-bar {
  background-color: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}
.header .header__top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding-top: 4px;
  padding-bottom: 4px;
}
.header .header__container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 16px;
  height: 72px;
}
.header .header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 44px;
  border: none;
  outline: none;
  box-shadow: none;
}
.header .header__logo img {
  display: block;
  height: 100%;
  width: auto;
  object-fit: contain;
}
.header .catalog-menu {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
  height: 100%;
  flex-shrink: 0;
}
.header .catalog-menu__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  background-color: #ffaa00;
  color: #111827;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.header .catalog-menu__btn:hover, .header .catalog-menu__btn[aria-expanded=true] {
  background-color: rgb(100%, 70%, 10%);
  color: #111827;
}
.header .catalog-menu__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
  min-width: 280px;
  max-height: min(70vh, 520px);
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.1);
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}
.header .catalog-menu__list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  min-width: 280px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
}
.header .catalog-menu__pane {
  min-width: 260px;
  max-width: 360px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  padding: 6px 0;
  border-left: 1px solid var(--color-border);
  background-color: #f7f7f7;
}
.header .catalog-menu__pane[hidden] {
  display: none;
}
.header .catalog-menu__sublist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.header .catalog-menu__sublist .catalog-menu__sublist {
  padding-left: 12px;
}
.header .catalog-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  border: none;
  background: none;
  color: #374151;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.header .catalog-menu__link:hover {
  background-color: #f7f7f7;
  color: #111827;
}
.header .catalog-menu__name {
  min-width: 0;
}
.header .catalog-menu__item.is-active > .catalog-menu__link {
  background-color: #f7f7f7;
  color: #111827;
}
.header .catalog-menu__chevron {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  color: var(--color-muted);
}
.header .catalog-menu.is-open .catalog-menu__dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.header .search-form {
  display: flex;
  align-items: stretch;
  flex-grow: 1;
  height: 44px;
  min-width: 0;
}
.header .search-form__input {
  flex: 1;
  height: 100%;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-right: none;
  border-radius: 8px 0 0 8px;
  background-color: #ffffff;
  color: #111827;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  outline: none;
  transition: border-color 0.2s ease;
}
.header .search-form__input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}
.header .search-form__input:focus {
  border-color: rgb(92%, 61.3333333333%, 0%);
}
.header .search-form__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 18px;
  background-color: #ffaa00;
  color: #111827;
  border: 1px solid #ffaa00;
  border-radius: 0 8px 8px 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.header .search-form__btn:hover {
  background-color: rgb(84%, 56%, 0%);
  border-color: rgb(84%, 56%, 0%);
}
.header .header__icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  gap: 8px;
  color: #111827;
  text-decoration: none;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.header .header__icon-btn:hover {
  color: #ffaa00;
}
.header .header__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.header .header__phone {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.header .header__phone:hover {
  color: #ffaa00;
}
.header .header__region {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  color: #6b7280;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.header .header__region:hover {
  color: #111827;
}
.header .header__accounts {
  display: flex;
  align-items: center;
  gap: 16px;
  width: auto;
  flex-wrap: nowrap;
  flex-shrink: 0;
  margin-right: auto;
}
.header .header__sellers,
.header .header__profile {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 32px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.header .header__sellers:hover,
.header .header__profile:hover {
  color: #111827;
}
.header .header__container .header__sellers,
.header .header__container .header__profile {
  min-height: 44px;
  color: #111827;
}
.header .header__container .header__sellers:hover,
.header .header__container .header__profile:hover {
  color: #ffaa00;
}
.header .header__top-bar .header__profile,
.header .header__top-bar .header__sellers {
  min-height: 32px;
  color: #6b7280;
}
.header .header__top-bar .header__profile:hover,
.header .header__top-bar .header__sellers:hover {
  color: #111827;
}
.header .header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  width: auto;
  flex-shrink: 0;
}
.header .header__menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: var(--control-height);
  min-height: var(--control-height);
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-bg);
  color: var(--color-dark);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.header .header__mobile-menu {
  display: none;
}
.header .cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.header .cart-btn:hover {
  color: #ffaa00;
}
.header .cart-btn__count {
  position: absolute;
  top: -9px;
  right: -11px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background-color: #ffaa00;
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  border-radius: 50%;
}

@media (max-width: 1024px) {
  .header .header__top-bar-inner {
    justify-content: flex-end;
  }
  .header .header__accounts {
    display: none;
  }
  .header .header__container {
    position: relative;
    gap: 10px;
    height: auto;
    min-height: 64px;
    padding-top: 10px;
    padding-bottom: 10px;
    flex-wrap: wrap;
  }
  .header .header__icon-btn-text {
    display: none;
  }
  .header .header__phone .header__icon,
  .header .header__messenger {
    display: inline-flex;
  }
  .header .header__menu-toggle {
    display: inline-flex;
  }
  .header .header__mobile-menu {
    position: absolute;
    top: 100%;
    right: var(--layout-gutter);
    z-index: 30;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: auto;
    min-width: 220px;
    padding: 12px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
  }
  .header .header__mobile-menu:not([hidden]) {
    display: flex;
  }
  .header .header__mobile-menu .header__sellers,
  .header .header__mobile-menu .header__profile,
  .header .header__mobile-menu .header__phone {
    display: flex;
    align-items: center;
    min-height: var(--control-height);
    padding: 0 12px;
    color: var(--color-dark);
    white-space: nowrap;
  }
  .header .search-form {
    order: 5;
    width: 100%;
  }
  .header .cart-btn {
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  .header .header__container {
    gap: 8px;
    min-height: 56px;
  }
  .header .catalog-menu__btn {
    padding: 0 12px;
  }
  .header .header__actions {
    gap: 6px;
  }
  .header .header__icon-btn {
    min-width: 44px;
    min-height: 44px;
    padding: 0;
  }
  .header .cart-btn__count {
    top: -4px;
    right: -2px;
  }
}
body.region-modal-open {
  overflow: hidden;
}

.region-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.region-modal.is-open {
  display: flex;
}
.region-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
}
.region-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  max-height: min(90vh, 800px);
  margin: 0 12px;
  padding: 20px 16px 16px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.region-modal__search input {
  width: 100%;
  min-height: 48px;
  margin-bottom: 14px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font: inherit;
}
.region-modal__list {
  overflow: auto;
  min-height: 0;
  padding-right: 4px;
}
.region-modal__group {
  margin-bottom: 16px;
}
.region-modal__group-title {
  margin: 0 0 8px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #374151;
}
.region-modal__empty {
  color: #374151;
  font-size: 0.95rem;
}
.region-modal__title {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.35;
  color: #111827;
  margin-bottom: 16px;
}
.region-modal__text {
  font-size: 0.95rem;
  line-height: 1.45;
  color: #374151;
  margin-bottom: 22px;
}
.region-modal__actions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px;
}
.region-modal__btn {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 2px solid #ffaa00;
  border-radius: 6px;
  background-color: #ffffff;
  color: #111827;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.region-modal__btn:hover, .region-modal__btn:focus-visible, .region-modal__btn.is-current {
  background-color: #ffaa00;
  outline: none;
}
.region-modal__btn.is-hidden,
.region-modal__btn[hidden] {
  display: none;
}
.product-card__delivery {
  margin: 0;
  padding: 6px 8px;
  border-radius: 6px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
}
.product-delivery-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.35;
}

.products-section {
  margin-bottom: 60px;
}
.products-section.products-section--sale {
  background-color: #f7f7f7;
  padding: 40px 0;
}

.section-title {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 36px;
  position: relative;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #111827;
}

.main-content,
.main,
.products-section.catalog-page {
  flex: 1 0 auto;
}

.promo {
  background: none;
  padding: 24px 0 48px;
  margin-bottom: 24px;
  color: #ffffff;
}
.promo .promo__container {
  background-color: #111827;
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45));
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  padding: clamp(48px, 8vw, 100px) clamp(20px, 4vw, 40px);
}
.promo .promo__content {
  max-width: 600px;
}
.promo .promo__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}
.promo .promo__subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 28px;
  color: #f7f7f7;
}
.promo .promo__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--control-height);
  background-color: #ffaa00;
  color: #1a1a1a;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}
.promo .promo__btn:hover {
  background-color: #ffbb33;
}

.categories-promoted {
  margin-bottom: 48px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.75rem, 2vw, 1.25rem);
}
@media (max-width: 991px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }
}

.category-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: #111827;
  background: linear-gradient(160deg, #fff8eb 0%, #ffffff 55%, #f3f4f6 100%);
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.category-card:hover {
  border-color: #ffaa00;
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.category-card__media {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--color-bg-light);
}
.category-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-card__title {
  padding: 0.85rem 1.25rem 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}
.category-card__meta {
  margin-top: 0.35rem;
  padding: 0 1.25rem 1.1rem;
  font-size: 0.85rem;
  color: #6b7280;
}

.promo-deals {
  margin-bottom: var(--space-xl);
  padding: var(--space-xl) 0;
  background-color: var(--color-promo-bg);
}
.promo-deals__container {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.promo-deals__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.promo-deals__title {
  margin: 0;
}
.promo-deals__all {
  display: inline-flex;
  align-items: center;
  min-height: var(--control-height);
  padding: 0 var(--space-md);
  border-radius: var(--radius);
  background-color: var(--color-primary);
  color: var(--color-on-primary);
  font-size: var(--font-sm);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.promo-deals__all:hover, .promo-deals__all:focus-visible {
  background-color: var(--color-dark);
  color: var(--color-bg);
}
.promo-deals__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: var(--catalog-gap);
  align-items: stretch;
}
.promo-deals__banner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: 100%;
  padding: var(--space-xl);
  background-color: var(--color-dark);
  color: var(--color-bg);
  border-radius: var(--radius-lg);
}
.promo-deals__banner-kicker {
  font-size: var(--font-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.promo-deals__banner-title {
  margin: var(--space-sm) 0;
  font-size: var(--font-title);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-bg);
}
.promo-deals__banner-text {
  margin: 0;
  font-size: var(--font-sm);
  color: var(--color-bg-light);
}
.promo-deals__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
  align-content: center;
  min-width: 0;
}
.promo-deals__cards .products-empty,
.promo-deals__cards .products-error {
  grid-column: 1/-1;
}
.promo-deals__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
}
.promo-deals__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--product-image-max-height);
  background-color: var(--color-bg-light);
}
.promo-deals__image {
  display: block;
  width: 100%;
  height: var(--product-image-max-height);
  object-fit: contain;
}
.promo-deals__badges {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.promo-deals__badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius);
  background-color: var(--color-primary);
  color: var(--color-on-primary);
  font-size: var(--font-xs);
  font-weight: 700;
  line-height: 1;
}
.promo-deals__badge--hit {
  background-color: var(--color-dark);
  color: #ffffff;
}
.promo-deals__badge--stock {
  background-color: #dc2626;
  color: #ffffff;
}
.promo-deals__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-md);
  flex: 1;
}
.promo-deals__name a {
  color: inherit;
  text-decoration: none;
}
.promo-deals__prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-sm);
}
.promo-deals__price {
  font-size: var(--font-title);
  font-weight: 700;
  color: var(--color-dark);
}
.promo-deals__price-old {
  font-size: var(--font-sm);
  color: var(--color-muted);
  text-decoration: line-through;
}
.promo-deals__scarcity {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.promo-deals__scarcity-text {
  margin: 0;
  font-size: var(--font-xs);
  color: var(--color-muted);
}
.promo-deals__bar {
  display: block;
  width: 100%;
  height: var(--space-xs);
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--color-border);
}
.promo-deals__bar-fill {
  display: block;
  height: 100%;
  width: calc(var(--promo-fill, 40) * 1%);
  background-color: var(--color-primary);
}
.promo-deals__action {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--control-height);
  border: none;
  border-radius: var(--radius);
  background-color: var(--color-primary);
  color: var(--color-on-primary);
  font-family: inherit;
  font-size: var(--font-sm);
  font-weight: 500;
  cursor: pointer;
}
.promo-deals__action:hover, .promo-deals__action:focus-visible {
  background-color: var(--color-dark);
  color: var(--color-bg);
}
.promo-deals__action:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 991px) {
  .promo-deals__layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .promo-deals__banner {
    flex-direction: row;
    align-items: center;
    min-height: 0;
    padding: var(--space-md) var(--space-lg);
  }
  .promo-deals__banner-title {
    margin: var(--space-xs) 0;
  }
}
@media (max-width: 640px) {
  .promo-deals__cards {
    grid-template-columns: minmax(0, 1fr);
  }
}
.hero-slider .promo__container {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.hero-slider .promo__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero-slider .promo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.hero-slider .promo__btn {
  min-height: var(--control-height);
  padding: 0 22px;
  border: 2px solid transparent;
}
.hero-slider .promo__btn--outline {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
.hero-slider .promo__btn--outline:hover, .hero-slider .promo__btn--outline:focus-visible {
  background-color: #ffffff;
  color: #111827;
}

.hero-slider__slides {
  position: relative;
}

.hero-slider__slide {
  display: none;
  animation: hero-fade 0.45s ease;
}
.hero-slider__slide.is-active {
  display: block;
}

.hero-slider__slide--warehouse .promo__content {
  max-width: 640px;
}

.hero-slider__media {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(17, 24, 39, 0.82) 12%, rgba(17, 24, 39, 0.35) 58%, rgba(255, 170, 0, 0.18) 100%), repeating-linear-gradient(-18deg, rgba(255, 255, 255, 0.03) 0 12px, transparent 12px 24px);
}

.hero-slider__dots {
  position: absolute;
  right: clamp(16px, 3vw, 32px);
  bottom: 16px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.hero-slider__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}
.hero-slider__dot.is-active, .hero-slider__dot:hover {
  background: var(--color-primary);
}

@keyframes hero-fade {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}
.estimate-lead {
  margin: 0 0 var(--space-xl);
}

.estimate-lead__zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  min-height: 180px;
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  background-color: var(--color-bg);
  cursor: pointer;
  transition: all 0.3s ease;
}
.estimate-lead__zone:hover, .estimate-lead__zone.is-dragover {
  border-color: var(--color-primary);
  background-color: var(--color-promo-bg);
  transform: scale(1.01);
}

.estimate-lead__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background-color: var(--color-promo-bg);
  color: var(--color-dark);
}

.estimate-lead__title {
  margin: 0;
  font-size: var(--font-title);
  font-weight: 700;
  color: var(--color-dark);
}

.estimate-lead__text {
  margin: 0;
  max-width: 720px;
  font-size: var(--font-sm);
  line-height: 1.5;
  color: var(--color-text);
}

.estimate-lead__hint {
  margin: 0;
  font-size: var(--font-xs);
  color: var(--color-muted);
}

.estimate-lead__status {
  margin: var(--space-sm) 0 0;
  min-height: 1.2em;
  font-size: var(--font-sm);
  color: var(--color-muted);
}
.estimate-lead__status.is-success {
  color: #047857;
}
.estimate-lead__status.is-error {
  color: #b91c1c;
}

.estimate-lead__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.estimate-lead__file {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.home-benefits {
  margin: 0 0 var(--space-xl);
}

.section-lead {
  margin: 0 0 var(--space-md);
  max-width: 720px;
  font-size: var(--font-sm);
  line-height: 1.5;
  color: var(--color-text);
}

.home-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.home-benefits__item {
  padding: var(--space-lg);
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.home-benefits__item h3 {
  margin: 0 0 var(--space-xs);
  font-size: var(--font-sm);
  font-weight: 700;
  color: var(--color-dark);
}

.home-benefits__item p {
  margin: 0;
  font-size: var(--font-sm);
  line-height: 1.5;
  color: var(--color-text);
}

@media (max-width: 991px) {
  .home-benefits__grid {
    grid-template-columns: 1fr;
  }
  .hero-slider .promo__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-slider .promo__btn {
    width: 100%;
  }
}
.catalog-page {
  padding-top: var(--space-md);
  padding-bottom: var(--space-xl);
}

.catalog-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-xs);
}

.catalog-page__title {
  margin-bottom: var(--space-xl);
  text-align: left;
}

.catalog-filters-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  height: var(--control-height);
  padding: 0 var(--space-md);
  margin-bottom: var(--space-xl);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-dark);
  font-family: inherit;
  font-size: var(--font-sm);
  font-weight: 500;
  cursor: pointer;
}
.catalog-filters-toggle:hover {
  border-color: var(--color-primary);
}

.catalog-layout {
  display: grid;
  grid-template-columns: var(--catalog-sidebar-width) minmax(0, 1fr);
  gap: var(--catalog-gap);
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: var(--header-sticky-offset);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.sidebar-block__title {
  margin: 0 0 var(--space-sm);
  font-size: var(--font-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-dark);
}

.price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs);
}
.price-inputs input {
  width: 100%;
  height: var(--control-height);
  padding: 0 var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: var(--font-sm);
  font-weight: 400;
  color: var(--color-dark);
  outline: none;
}
.price-inputs input:focus {
  border-color: var(--color-primary);
}
.price-inputs input::placeholder {
  color: var(--color-muted);
}

.attr-filter {
  padding-top: var(--space-xs);
  border-top: 1px solid var(--color-border);
}

.attr-filter__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  max-height: calc(var(--product-image-max-height) + var(--space-lg));
  overflow-y: auto;
}

.attr-filter__option {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  font-size: var(--font-sm);
  font-weight: 400;
  color: var(--color-text);
  cursor: pointer;
}
.attr-filter__option input {
  margin-top: 2px;
  accent-color: var(--color-primary);
}

.btn-apply-filters {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--control-height);
  border: none;
  border-radius: var(--radius);
  background-color: var(--color-primary);
  color: var(--color-dark);
  font-family: inherit;
  font-size: var(--font-sm);
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.btn-apply-filters:hover {
  filter: brightness(0.92);
}

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

.catalog-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.catalog-nav__list--nested {
  margin: var(--space-xs) 0 var(--space-xs) var(--space-sm);
  padding-left: var(--space-sm);
  border-left: 1px solid var(--color-border);
}

.catalog-nav__empty {
  font-size: var(--font-sm);
  color: var(--color-muted);
}

.catalog-nav__link {
  display: block;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius);
  color: var(--color-text);
  font-size: var(--font-sm);
  font-weight: 400;
  text-decoration: none;
}
.catalog-nav__link:hover {
  background: var(--color-bg-light);
  color: var(--color-dark);
}
.catalog-nav__link.is-active {
  background: color-mix(in srgb, var(--color-primary) 16%, transparent);
  color: var(--color-dark);
  font-weight: 600;
}

.catalog-group__title {
  grid-column: 1/-1;
  margin: 0;
  font-size: var(--font-title);
  font-weight: 600;
  color: var(--color-dark);
}

.catalog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding: 16px 0;
}

.catalog-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--control-height);
  min-height: var(--control-height);
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  font-family: inherit;
  font-size: var(--font-sm);
  font-weight: 500;
  cursor: pointer;
}
.catalog-pagination__btn:hover:not(.is-active):not(.disabled) {
  background: var(--color-bg-light);
}
.catalog-pagination__btn.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  cursor: default;
}
.catalog-pagination__btn.is-active:hover {
  background: var(--color-primary);
  color: #ffffff;
}
.catalog-pagination__btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.catalog-pagination__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--control-height);
  min-height: var(--control-height);
  color: var(--color-muted);
  font-size: var(--font-sm);
}

@media (max-width: 639px) {
  .catalog-pagination__btn {
    min-width: 44px;
    min-height: 44px;
  }
}
@media (max-width: 991px) {
  .catalog-filters-toggle {
    display: inline-flex;
  }
  .catalog-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
  }
  .catalog-sidebar {
    position: static;
    display: none;
  }
  .catalog-sidebar.is-open {
    display: flex;
  }
}
.catalog-banner {
  grid-column: 1/-1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  background: #111827;
  color: #f7f7f7;
  border-radius: 12px;
  border-left: 6px solid #ffaa00;
}
.catalog-banner__kicker {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffaa00;
}
.catalog-banner__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}
.catalog-banner__text {
  margin: 0;
  color: #d1d5db;
}
.catalog-banner__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  padding: 0 14px;
  background: #ffaa00;
  color: #111827;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .catalog-banner {
    padding: 16px;
  }
}
/* Сетки: главная и каталог */
.products-grid,
.catalog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--catalog-gap);
  min-width: 0;
}
@media (min-width: 768px) {
  .products-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .products-grid,
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.products-grid,
.catalog-grid {
  padding: var(--space-md) 0;
  box-sizing: border-box;
}

.products-empty,
.products-error {
  grid-column: 1/-1;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  color: var(--color-muted);
  font-size: 1rem;
}

.products-error {
  color: #c53030;
}

/* Карточка товара */
.product-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.product-card:has(.product-card__btn:hover, .product-card__btn:focus-visible) {
  border-color: #ff6b00;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  border-color: #ff6b00;
}
.product-card__link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.product-card__image-container, .product-card__image {
  display: block;
  width: 100%;
  height: var(--product-image-max-height);
  max-height: var(--product-image-max-height);
  overflow: hidden;
  background-color: var(--color-bg-light);
}
.product-card__img, .product-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: var(--product-image-max-height);
  object-fit: contain;
  padding: var(--space-xs);
  box-sizing: border-box;
}
.product-card__content {
  padding: clamp(0.75rem, 1.5vw, 1.25rem) clamp(0.75rem, 1.5vw, 1.25rem) 0;
  display: flex;
  flex-direction: column;
}
.product-card__category {
  font-size: 0.7rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}
.product-card__title {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 600;
  color: #1f2937;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.product-card__description {
  font-size: 0.8rem;
  color: #4b5563;
  line-height: 1.4;
  margin: 0 0 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__variants {
  margin: 0.25rem clamp(0.75rem, 1.5vw, 1.25rem) 0.75rem;
}
.product-card__variants-title {
  display: block;
  font-size: 0.7rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}
.product-card__variants-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.product-card__footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem clamp(0.75rem, 1.5vw, 1.25rem) clamp(0.75rem, 1.5vw, 1.25rem);
  border-top: 1px dashed #e5e7eb;
  margin-top: auto;
}
.product-card__price-box {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
}
.product-card__price {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 800;
  color: #111827;
}
.product-card__old-price {
  font-size: 0.9rem;
  color: #999;
  text-decoration: line-through;
}
.product-card__old-price.is-hidden {
  display: none;
}
.product-card__unit {
  font-size: 0.75rem;
  color: #6b7280;
}
.product-card__stock {
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0;
}
.product-card__btn {
  background-color: #ff6b00;
  color: #ffffff;
  border: none;
  width: 100%;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.product-card__btn:hover:not(:disabled) {
  background-color: #e05e00;
}
.product-card__btn:focus-visible {
  outline: 3px solid rgba(255, 107, 0, 0.4);
}
.product-card__btn:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
}
.product-card__btn.is-added {
  background-color: #22c55e;
  pointer-events: none;
}
.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  background-color: #e11d48;
  color: #ffffff;
  padding: 4px 8px;
  font-weight: bold;
  font-size: 0.85rem;
  border-radius: 4px;
}

.stock-status {
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0;
}
.stock-status--available {
  color: #2f855a;
}
.stock-status--order {
  color: #c53030;
}

.variant-select {
  width: 100%;
  padding: 6px 12px;
  font-size: 0.85rem;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background-color: #f3f4f6;
  color: #374151;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease;
}
.variant-select:focus {
  border-color: #ff6b00;
}

@media (max-width: 768px) {
  .product-card:hover {
    transform: none;
  }
}
@media (min-width: 640px) {
  .product-card__footer {
    flex-direction: column;
    align-items: stretch;
  }
  .product-card__btn {
    width: 100%;
    min-width: 0;
  }
}
.site-footer {
  margin-top: auto;
  background-color: #111827;
  color: #f7f7f7;
  padding: 40px 0;
}
.site-footer .footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.site-footer .footer__title {
  font-size: 1.15rem;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}
.site-footer .footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer .footer__list li {
  margin-bottom: 12px;
}
.site-footer .footer__link,
.site-footer .footer__text {
  color: #f7f7f7;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease-in-out;
}
.site-footer .footer__link:hover {
  color: #ffaa00;
}

.btn-chat-lead {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: var(--control-height);
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #111827;
  border-radius: 4px;
  background: #ffffff;
  color: #111827;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-chat-lead:hover:not(:disabled) {
  background: #111827;
  color: #ffffff;
}
.btn-chat-lead:focus-visible {
  outline: 3px solid rgba(17, 24, 39, 0.25);
  outline-offset: 2px;
}
.btn-chat-lead:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-chat-lead.is-error {
  border-color: #c53030;
  color: #c53030;
  background: #ffffff;
}
.btn-chat-lead__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.btn-chat-lead--icon {
  padding: 10px 12px;
}

.product-page__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
}

.product-page-b {
  max-width: 360px;
  background: #ff6b00;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}
.product-page-b:hover:not(:disabled) {
  background: #e05e00;
}
.product-page-b:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

.product-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.promo-deals__chat-lead {
  margin-top: 8px;
}

.product-logistics-banner {
  margin-top: 16px;
  padding: 14px 16px;
  background: #1a1a1a;
  color: #f7f7f7;
  border-radius: 8px;
  border-top: 3px solid #ffaa00;
}
.product-logistics-banner__title {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}
.product-logistics-banner__text {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #d1d5db;
}

.product-attrs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 24px;
}
.product-attrs__group {
  padding: 12px 0 0;
  border-top: 1px solid #e2e8f0;
}
.product-attrs__title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #718096;
}
.product-attrs__list {
  margin: 0;
  display: grid;
  gap: 8px;
}
.product-attrs__row {
  display: grid;
  grid-template-columns: minmax(120px, 40%) 1fr;
  gap: 12px;
  font-size: 14px;
  line-height: 1.45;
}
.product-attrs dt {
  margin: 0;
  color: #718096;
}
.product-attrs dd {
  margin: 0;
  color: #2d3748;
  font-weight: 600;
}

.auth {
  max-width: 560px;
  margin: 0 auto 48px;
  padding: 28px 24px;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.auth__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.auth__tab {
  flex: 1 1 140px;
  min-height: var(--control-height);
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: #f7f7f7;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.auth__tab:hover {
  border-color: rgb(90%, 60%, 0%);
}
.auth__tab--active {
  background-color: #ffaa00;
  border-color: #ffaa00;
  color: #111827;
}
.auth__panel {
  display: none;
}
.auth__panel--active {
  display: block;
}

.auth-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.4;
}
.auth-alert--error {
  background-color: #fff5f5;
  border: 1px solid #feb2b2;
  color: #c53030;
}
.auth-alert--success {
  background-color: #f0fff4;
  border: 1px solid #9ae6b4;
  color: #276749;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .auth-form__row {
    grid-template-columns: 1fr;
  }
}
.auth-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-form__label {
  font-size: 13px;
  font-weight: 600;
  color: #555555;
}
.auth-form__input {
  width: 100%;
  min-height: var(--control-height);
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 15px;
  color: #374151;
  background-color: #ffffff;
  transition: border-color 0.2s ease;
}
.auth-form__input:focus {
  outline: none;
  border-color: #ffaa00;
}
.auth-form__check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--control-height);
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}
.auth-form__check input {
  width: 20px;
  height: 20px;
}
.auth-form__submit {
  margin-top: 8px;
  width: 100%;
  min-height: var(--control-height);
  padding: 14px 16px;
  border: none;
  border-radius: var(--radius);
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.auth-form__submit:hover:not(:disabled) {
  background-color: rgb(100%, 70%, 10%);
}
.auth-form__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.auth-session {
  max-width: 560px;
  margin: 0 auto 48px;
  padding: 28px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-align: center;
}
.auth-session__text {
  margin-bottom: 20px;
  font-size: 16px;
  color: #374151;
}
.auth-session__logout {
  min-height: var(--control-height);
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius);
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.auth-session__logout:hover {
  background-color: rgb(100%, 70%, 10%);
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .page-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }
}

.breadcrumbs {
  margin-top: 16px;
  margin-bottom: 16px;
}
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumbs__item {
  font-size: 0.875rem;
  color: #888888;
}
.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
  color: #cccccc;
}
.breadcrumbs__item--current {
  color: #374151;
  pointer-events: none;
}
.breadcrumbs__link {
  color: #888888;
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumbs__link:hover {
  color: #ffaa00;
}

.cart {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 30px;
  align-items: start;
}
@media (max-width: 1024px) {
  .cart {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.cart__goods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart__summary {
  position: sticky;
  top: 20px;
}
.cart__empty {
  text-align: center;
  padding: 60px 20px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}
.cart__empty-text {
  font-size: 1.25rem;
  color: #666666;
  margin-bottom: 20px;
}
.cart__empty-btn {
  display: inline-block;
  background-color: #111827;
  color: #ffffff;
  padding: 12px 28px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}
.cart__empty-btn:hover {
  background-color: #ffaa00;
  color: #1a1a1a;
}

.cart-item {
  display: flex;
  gap: 20px;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 20px;
  transition: box-shadow 0.2s ease;
}
.cart-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
@media (max-width: 640px) {
  .cart-item {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }
}
.cart-item__image-wrapper {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media (max-width: 640px) {
  .cart-item__image-wrapper {
    width: 80px;
    height: 80px;
  }
}
.cart-item__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.cart-item__details {
  display: flex;
  flex-grow: 1;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 900px) {
  .cart-item__details {
    flex-direction: column;
    gap: 16px;
  }
}
.cart-item__info {
  max-width: 400px;
}
.cart-item__title {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 8px 0;
}
.cart-item__link {
  color: #1a1a1a;
  text-decoration: none;
}
.cart-item__link:hover {
  color: #ffaa00;
}
.cart-item__meta {
  font-size: 0.815rem;
  color: #888888;
}
.cart-item__chat-lead {
  margin-top: 10px;
  max-width: 280px;
}
.cart-item__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  gap: 20px;
}
@media (max-width: 640px) {
  .cart-item__actions {
    width: 100%;
  }
}
.cart-item__price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 100px;
}
@media (max-width: 900px) {
  .cart-item__price-block {
    align-items: flex-start;
  }
}
.cart-item__price-current {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
}
.cart-item__price-per-unit {
  font-size: 0.815rem;
  color: #888888;
  margin-top: 2px;
}
.cart-item__remove-btn {
  background: none;
  border: none;
  color: #aaaaaa;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.1s ease;
}
.cart-item__remove-btn:hover {
  color: #e11d48;
  transform: scale(1.05);
}

.quantity-picker {
  display: flex;
  align-items: center;
  border: 1px solid #cccccc;
  border-radius: 4px;
  overflow: hidden;
  background-color: #ffffff;
  height: 38px;
}
.quantity-picker__btn {
  background: none;
  border: none;
  width: 36px;
  height: 100%;
  font-size: 1.2rem;
  font-weight: 400;
  cursor: pointer;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}
.quantity-picker__btn:hover {
  background-color: #f0f0f0;
}
.quantity-picker__btn:active {
  background-color: #e5e5e5;
}
.quantity-picker__input {
  width: 44px;
  height: 100%;
  border: none;
  border-left: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  appearance: textfield;
  -moz-appearance: textfield;
}
.quantity-picker__input::-webkit-outer-spin-button, .quantity-picker__input::-webkit-inner-spin-button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}
.quantity-picker__input:focus {
  outline: none;
  background-color: #fafafa;
}

.summary-card {
  background-color: #f7f7f7;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 24px;
}
.summary-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5e5;
}
.summary-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.summary-card__item {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: #555555;
}
.summary-card__value {
  font-weight: 600;
  color: #1a1a1a;
}
.summary-card__value--discount {
  color: #22c55e;
}
.summary-card__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 16px;
  margin-bottom: 24px;
  border-top: 1px dashed #cccccc;
}
.summary-card__total-label {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
}
.summary-card__total-value {
  font-size: 1.625rem;
  font-weight: 800;
  color: #1a1a1a;
}
.summary-card__checkout-btn {
  display: block;
  width: 100%;
  background-color: #ffaa00;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 4px;
  box-sizing: border-box;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
.summary-card__checkout-btn:hover {
  background-color: rgb(90%, 60%, 0%);
}
.summary-card__checkout-btn:active {
  transform: scale(0.98);
}

.seller-body {
  background-color: var(--color-bg-light);
  min-height: 100vh;
}

.seller-topbar {
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 20;
}
.seller-topbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
@media (min-width: 640px) {
  .seller-topbar__inner {
    padding: 12px 32px;
  }
}
.seller-topbar__logo img {
  height: 42px;
  width: auto;
}
.seller-topbar__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark);
  margin-right: auto;
}
.seller-topbar__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.seller-topbar__user {
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--color-text);
}
.seller-topbar__link, .seller-topbar__logout {
  border: none;
  background: none;
  min-height: var(--control-height);
  font-size: var(--font-sm);
  font-weight: 700;
  color: var(--color-dark);
  cursor: pointer;
  text-decoration: none;
}
.seller-topbar__link:hover, .seller-topbar__logout:hover {
  color: var(--color-primary);
}

.seller-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--control-height);
  min-width: var(--control-height);
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-bg);
  color: var(--color-dark);
  font-size: var(--font-sm);
  font-weight: 700;
  cursor: pointer;
}
@media (min-width: 900px) {
  .seller-menu-toggle {
    display: none;
  }
}

.seller-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  max-width: 1280px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .seller-layout {
    flex-direction: row;
    align-items: flex-start;
  }
}

.seller-sidebar {
  display: none;
  width: 100%;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 12px;
  height: fit-content;
}
.seller-sidebar.is-open {
  display: block;
}
@media (min-width: 900px) {
  .seller-sidebar {
    display: block;
    width: 240px;
    flex-shrink: 0;
  }
}

.seller-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.seller-nav__item {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: none;
  min-height: var(--control-height);
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  cursor: pointer;
}
.seller-nav__item:hover, .seller-nav__item.is-active {
  background-color: var(--color-primary);
  color: #ffffff;
}

.seller-main {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.seller-panel {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
}
.seller-panel[hidden] {
  display: none;
}
.seller-panel__title {
  font-size: 1.6rem;
  color: var(--color-dark);
  margin-bottom: 8px;
}
.seller-panel__lead {
  color: var(--color-text);
  margin-bottom: 20px;
}

.seller-alert {
  margin-bottom: 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  background-color: #fff5f5;
  border: 1px solid #feb2b2;
  color: #c53030;
}

.seller-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}
@media (min-width: 640px) {
  .seller-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.seller-stat {
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px;
}
.seller-stat__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}
.seller-stat__value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-dark);
}

.seller-profile-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  max-width: 560px;
}

.seller-table-wrap {
  overflow-x: auto;
}

.seller-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-sm);
}
.seller-table th,
.seller-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.seller-table th {
  background-color: var(--color-bg-light);
  font-weight: 700;
  color: var(--color-dark);
  white-space: nowrap;
}

.seller-status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: var(--radius);
  font-size: var(--font-xs);
  font-weight: 700;
}
.seller-status--new {
  background-color: #fff4d6;
  color: #8a5a00;
}
.seller-status--confirmed {
  background-color: #e6f3ff;
  color: #1d4f91;
}
.seller-status--shipped, .seller-status--delivered {
  background-color: #e9f8ee;
  color: #1f7a3f;
}

.seller-btn {
  border: none;
  border-radius: var(--radius);
  min-height: var(--control-height);
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  background-color: var(--brand-primary);
  color: #ffffff;
}
.seller-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.seller-btn--ghost {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-dark);
}

.seller-payout {
  font-weight: 700;
  white-space: nowrap;
}

.seller-city {
  min-width: 210px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.seller-city__label {
  font-size: var(--font-xs);
  font-weight: 700;
  color: var(--color-dark);
}
.seller-city__empty {
  color: var(--color-muted);
  font-size: 13px;
}

.seller-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.seller-field span {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
}
.seller-field__hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--color-muted);
}
.seller-field input,
.seller-field select,
.seller-field textarea {
  width: 100%;
  min-height: var(--control-height);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 15px;
  color: var(--color-text);
  background-color: var(--color-bg);
}
.seller-field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.45;
}
.seller-field input[readonly] {
  background-color: var(--color-bg-light);
}
.seller-field--check {
  flex-direction: row;
  align-items: center;
  min-height: var(--control-height);
  gap: 10px;
}
.seller-field--check input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  padding: 0;
}
.seller-field--check span {
  color: var(--color-dark);
}

.seller-chat-stub {
  margin-bottom: 20px;
  padding: 16px;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-bg-light);
  color: var(--color-muted);
  font-size: var(--font-sm);
}

.seller-import__mapping[hidden],
.seller-import__result[hidden] {
  display: none;
}

.seller-import__subtitle {
  font-size: 1.15rem;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.seller-import__status {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-light);
  color: var(--color-text);
  font-size: var(--font-sm);
}
.seller-import__status[hidden] {
  display: none;
}
.seller-import__status.is-error {
  background-color: #fff5f5;
  border-color: #feb2b2;
  color: #c53030;
}
.seller-import__status.is-success {
  background-color: #e9f8ee;
  border-color: #9ae6b4;
  color: #1f7a3f;
}

.seller-import__result {
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid #9ae6b4;
  background-color: #e9f8ee;
  color: #1f7a3f;
  font-weight: 700;
}

.seller-import__loader {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--control-height);
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-bg-light);
  color: var(--color-dark);
  font-weight: 700;
}
.seller-import__loader[hidden] {
  display: none;
}

.seller-import__spinner {
  width: 22px;
  height: 22px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: seller-spin 0.8s linear infinite;
}

@keyframes seller-spin {
  to {
    transform: rotate(360deg);
  }
}
.seller-dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 180px;
  padding: 28px 20px;
  text-align: center;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  background-color: var(--color-bg);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.seller-dropzone input[type=file] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.seller-dropzone:hover, .seller-dropzone.is-dragover {
  border-color: var(--color-primary);
  background-color: var(--color-promo-bg);
}
.seller-dropzone__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
}
.seller-dropzone__hint {
  color: var(--color-muted);
  font-size: var(--font-sm);
}
.seller-dropzone__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--control-height);
  min-width: 160px;
  padding: 0 18px;
  border-radius: var(--radius);
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
}

.seller-map-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
@media (min-width: 900px) {
  .seller-map-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.seller-map-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-bg);
}
.seller-map-card__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-dark);
}
.seller-map-card select {
  width: 100%;
  min-height: var(--control-height);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 15px;
  color: var(--color-text);
  background-color: var(--color-bg);
}

.seller-preview-wrap {
  overflow-x: auto;
  margin-bottom: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.seller-preview {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-sm);
}
.seller-preview th,
.seller-preview td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}
.seller-preview th {
  background-color: var(--color-bg-light);
  font-weight: 700;
  color: var(--color-dark);
}

.seller-ones {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
}

.seller-ones__credentials {
  width: 100%;
  min-height: 140px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-dark);
  background-color: var(--color-bg-light);
  resize: vertical;
}

.seller-listing-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 28px;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-bg-light);
  max-width: 720px;
}
.seller-listing-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.seller-listing-form__attrs {
  display: grid;
  gap: 16px;
  padding: 12px 0 0;
  border-top: 1px dashed var(--color-border);
}
.seller-listing-form__attrs[hidden] {
  display: none;
}
.seller-listing-form__attrs-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-muted, #718096);
}
@media (min-width: 640px) {
  .seller-listing-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.lsi-hints {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.lsi-hints__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
}
.lsi-hints__lead {
  margin: 0;
  font-size: var(--font-xs);
  line-height: 1.4;
  color: var(--color-muted);
}
.lsi-hints__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lsi-hints__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 4px 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background-color: #e5e7eb;
  color: var(--color-dark);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.16s ease;
}
.lsi-hints__tag:hover {
  transform: translateY(-1px);
}
.lsi-hints__tag.is-matched {
  background-color: #16a34a;
  border-color: #15803d;
  color: #ffffff;
}
.lsi-hints__tag.is-matched::before {
  content: "✓";
  font-size: 12px;
  font-weight: 800;
}
.lsi-hints--mini {
  margin-top: 6px;
  gap: 6px;
}
.lsi-hints--mini .lsi-hints__title {
  font-size: 13px;
}
.lsi-hints--mini .lsi-hints__tag {
  min-height: 28px;
  padding: 2px 10px;
  font-size: 12px;
}
.lsi-hints__draft {
  width: 100%;
  margin-top: 10px;
  min-height: 72px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.4;
  resize: vertical;
}

@media (max-width: 899px) {
  .seller-map-cards {
    grid-template-columns: 1fr;
  }
  .seller-map-card,
  .seller-dropzone__btn,
  .seller-ones .seller-btn {
    min-height: var(--control-height);
  }
}
.seller-wallet {
  margin: 0 0 20px;
  padding: 16px 18px;
  background: #111827;
  color: #f7f7f7;
  border-radius: 12px;
  border-left: 6px solid var(--color-primary);
}
.seller-wallet__row {
  margin: 0 0 8px;
  font-size: 15px;
}
.seller-wallet__warn {
  margin: 8px 0;
  color: #fbbf24;
  font-weight: 600;
}
.seller-wallet__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.seller-main--solo {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}

.cabinet-search {
  flex: 1;
  max-width: 420px;
  min-width: 180px;
  display: flex;
  height: 40px;
}
.cabinet-search .search-form__input {
  flex: 1;
  border: 1px solid var(--color-border);
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 0 12px;
}
.cabinet-search .search-form__btn {
  border: none;
  background: var(--brand-primary);
  color: #111;
  font-weight: 700;
  padding: 0 12px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}
.cabinet-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0 0 16px;
  color: var(--color-muted);
  font-size: var(--font-sm);
}
.cabinet-crumbs a {
  color: var(--brand-secondary);
  text-decoration: none;
}
.cabinet-crumbs__sep {
  opacity: 0.6;
}
.cabinet-empty,
.cabinet-error,
.cabinet-success {
  background: var(--bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  color: var(--text-primary);
}
.cabinet-empty__art {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), #ffe08a);
}
.cabinet-empty__title,
.cabinet-error h2,
.cabinet-success h1 {
  margin-bottom: 8px;
}
.cabinet-empty__text,
.cabinet-error p,
.cabinet-success p {
  margin-bottom: 16px;
  color: var(--color-muted);
}
.cabinet-skel {
  display: grid;
  gap: 12px;
}
.cabinet-skel__card {
  height: 88px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #eee, #f7f7f7, #eee);
  background-size: 200% 100%;
  animation: cabinet-skel 1.2s ease-in-out infinite;
}
@keyframes cabinet-skel {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.cabinet-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  background: var(--text-primary);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.cabinet-toast[hidden] {
  display: none;
}
.cabinet-list {
  display: grid;
  gap: 12px;
}
.cabinet-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px;
}
.cabinet-card__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.cabinet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.cabinet-map {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: var(--radius);
  background: var(--bg-surface);
}
.cabinet-offline {
  background: #fff7e0;
  border: 1px solid #f3d48a;
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 16px;
}
.cabinet-role {
  position: relative;
}
.cabinet-role select {
  min-height: 36px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 4px 8px;
  background: var(--color-bg);
  color: var(--text-primary);
}
.forbidden-page,
.not-found-page,
.onboarding-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background: var(--bg-surface);
  color: var(--text-primary);
}
.forbidden-page__card,
.not-found-page__card,
.onboarding-page__card {
  max-width: 520px;
  width: 100%;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.seller-import-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.seller-import-sources .seller-btn.is-active {
  box-shadow: 0 0 0 2px var(--brand-primary);
}
.seller-import__alt {
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: var(--font-sm);
}
.seller-link-btn {
  border: none;
  padding: 0;
  background: none;
  color: var(--brand-primary);
  font-weight: 700;
  cursor: pointer;
}
.onboarding-page__note {
  margin-top: 24px;
}

.seller-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.seller-modal[hidden] {
  display: none;
}
.seller-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.seller-modal__card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(90vh, 800px);
  overflow: auto;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.seller-modal__card--wide {
  width: min(960px, 100%);
}
.seller-modal__title {
  margin: 0 0 16px;
  font-size: 1.2rem;
}
.seller-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.seller-import-errors__input {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 6px 8px;
}

.reviews {
  margin: 32px 0 48px;
}
.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.reviews-summary__score {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 2rem;
  color: var(--text-primary);
}
.reviews-summary__star,
.reviews-stars__item.is-on,
.reviews-stars--input label {
  color: var(--brand-primary);
}
.reviews-write-btn {
  background: var(--brand-primary);
  color: #111;
}
.reviews-hint {
  color: var(--color-muted);
  font-size: var(--font-sm);
  margin: 0;
}
.reviews-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.reviews-filters__btn {
  min-height: 36px;
  border: 1px solid var(--color-border);
  background: var(--bg-surface);
  border-radius: 999px;
  padding: 0 12px;
  cursor: pointer;
}
.reviews-filters__btn.is-active {
  background: var(--brand-secondary);
  color: #fff;
  border-color: var(--brand-secondary);
}
.reviews-list {
  display: grid;
  gap: 12px;
}
.reviews-card {
  background: var(--brand-secondary);
  color: #f3f4f6;
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-card);
}
.reviews-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.reviews-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-primary);
  color: #111;
  font-weight: 700;
}
.reviews-card__name {
  margin: 0;
  font-weight: 700;
}
.reviews-card__meta,
.reviews-empty {
  margin: 0;
  color: #d1d5db;
  font-size: var(--font-sm);
}
.reviews-card__title {
  margin: 0 0 6px;
  font-size: 1rem;
}
.reviews-card__text {
  margin: 0 0 10px;
  line-height: 1.45;
}
.reviews-badge {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #6b7280;
  color: #fff;
  font-size: var(--font-xs);
}
.reviews-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.reviews-photos__item img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  border-radius: var(--radius);
}
.reviews-photos__more,
.reviews-link {
  border: 0;
  background: none;
  color: var(--brand-primary);
  font-weight: 700;
  cursor: pointer;
}
.reviews-reply {
  margin-top: 12px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}
.reviews-reply__label {
  margin: 0 0 4px;
  font-weight: 700;
}
.reviews-stars--input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}
.reviews-stars--input input {
  display: none;
}
.reviews-stars--input label {
  font-size: 28px;
  cursor: pointer;
  color: #9ca3af;
}
.reviews-stars--input input:checked ~ label,
.reviews-stars--input label:hover,
.reviews-stars--input label:hover ~ label {
  color: var(--brand-primary);
}
.reviews-form__previews {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.reviews-form__preview {
  font-size: var(--font-xs);
  background: var(--bg-surface);
  border-radius: var(--radius);
  padding: 4px 8px;
}
.reviews--seller .reviews-summary__score strong {
  font-size: 2.4rem;
}
