@charset "UTF-8";
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: #374151;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.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: flex-end;
  min-height: 34px;
  padding-top: 4px;
  padding-bottom: 4px;
}
.header .header__container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  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;
  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 {
  background-color: rgb(100%, 70%, 10%);
  color: #111827;
}
.header .catalog-menu__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background-color: #ffffff;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.1);
  list-style: none;
  min-width: 220px;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
}
.header .catalog-menu__dropdown a {
  display: block;
  padding: 11px 16px;
  color: #374151;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.header .catalog-menu__dropdown a:hover {
  background-color: #f7f7f7;
  color: #111827;
}
.header .catalog-menu:hover .catalog-menu__dropdown {
  display: block;
}
.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__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__profile {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.header .header__profile:hover {
  color: #ffaa00;
}
.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: 991px) {
  .header .header__container {
    gap: 12px;
    height: auto;
    min-height: 64px;
    padding-top: 10px;
    padding-bottom: 10px;
    flex-wrap: wrap;
  }
  .header .search-form {
    order: 5;
    width: 100%;
  }
}
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: 420px;
  margin: 0 16px;
  padding: 28px 24px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.region-modal__title {
  font-size: 1.35rem;
  color: #111827;
  margin-bottom: 10px;
}
.region-modal__text {
  font-size: 0.95rem;
  line-height: 1.45;
  color: #374151;
  margin-bottom: 22px;
}
.region-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.region-modal__btn {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #ffaa00;
  border-radius: 4px;
  background-color: #ffffff;
  color: #111827;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.region-modal__btn:hover, .region-modal__btn:focus-visible {
  background-color: #ffaa00;
  outline: none;
}

.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 {
  min-height: 40vh;
}

.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;
  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: 140px;
  padding: 1.25rem;
  text-decoration: none;
  color: #111827;
  background: linear-gradient(160deg, #fff8eb 0%, #ffffff 55%, #f3f4f6 100%);
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.category-card:hover {
  border-color: #ffaa00;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.category-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}
.category-card__meta {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: #6b7280;
}

.promo-deals {
  margin-bottom: 60px;
  padding: 40px 0;
  background-color: #f7f7f7;
}

.promo-deals__wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
@media (max-width: 768px) {
  .promo-deals__wrapper {
    grid-template-columns: 1fr;
  }
}

.promo-deals__item {
  position: relative;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.promo-deals__item .product-card {
  border: none;
  border-radius: 0;
  height: 100%;
}
.promo-deals__item .product-card__image-container {
  min-height: 180px;
}

.promo-deals__ribbon {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background-color: #e11d48;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
}

.promo-deals__countdown {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(26, 26, 26, 0.85);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  max-width: 55%;
  text-align: right;
}

.catalog-page {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.catalog-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.catalog-page__title {
  margin-bottom: 28px;
  text-align: left;
}

.catalog-filters-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  margin-bottom: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.catalog-filters-toggle:hover {
  border-color: #ffaa00;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #eceff3;
  border-radius: 12px;
}

.sidebar-block__title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #111827;
}

.price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.price-inputs input {
  width: 100%;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: #111827;
  outline: none;
}
.price-inputs input:focus {
  border-color: rgb(92%, 61.3333333333%, 0%);
}
.price-inputs input::placeholder {
  color: #9ca3af;
}

.attr-filter {
  padding-top: 4px;
  border-top: 1px solid #f0f0f0;
}

.attr-filter__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
}

.attr-filter__option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  color: #374151;
  cursor: pointer;
}
.attr-filter__option input {
  margin-top: 2px;
  accent-color: #ffaa00;
}

.btn-apply-filters {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 8px;
  background-color: #ffaa00;
  color: #111827;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.btn-apply-filters:hover {
  background-color: rgb(84%, 56%, 0%);
}

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

@media (max-width: 991px) {
  .catalog-filters-toggle {
    display: inline-flex;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .catalog-sidebar {
    position: static;
    display: none;
  }
  .catalog-sidebar.is-open {
    display: flex;
  }
}
/* Сетки: главная и каталог */
.products-grid,
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(0.75rem, 2vw, 1.5rem);
  padding: clamp(0.75rem, 3vw, 2rem) 0;
  box-sizing: border-box;
  container-type: inline-size;
}
@media (min-width: 1024px) {
  .products-grid,
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.products-empty,
.products-error {
  grid-column: 1/-1;
  text-align: center;
  padding: 2rem 1rem;
  color: #6b7280;
  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%;
  aspect-ratio: 1/1;
  background-color: #f9fafb;
}
.product-card__img, .product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  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;
}

@container (min-width: 240px) {
  .product-card__footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  .product-card__btn {
    width: auto;
    min-width: 120px;
  }
}
.site-footer {
  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;
}

.auth {
  max-width: 440px;
  margin: 0 auto 48px;
  padding: 28px 24px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}
.auth__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.auth__tab {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background-color: #f7f7f7;
  color: #374151;
  font-size: 15px;
  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%;
  padding: 12px 14px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  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__submit {
  margin-top: 8px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 4px;
  background-color: #111827;
  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(11.5238095238%, 16.268907563%, 26.4369747899%);
}
.auth-form__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.auth-session {
  max-width: 440px;
  margin: 0 auto 48px;
  padding: 28px 24px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  text-align: center;
}
.auth-session__text {
  margin-bottom: 20px;
  font-size: 16px;
  color: #374151;
}
.auth-session__logout {
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  background-color: #ffaa00;
  color: #111827;
  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__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: #f7f7f7;
  min-height: 100vh;
}

.seller-topbar {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}
.seller-topbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.seller-topbar__logo img {
  height: 42px;
  width: auto;
}
.seller-topbar__title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-right: auto;
}
.seller-topbar__meta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.seller-topbar__user {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}
.seller-topbar__link, .seller-topbar__logout {
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  cursor: pointer;
  text-decoration: none;
}
.seller-topbar__link:hover, .seller-topbar__logout:hover {
  color: #ffaa00;
}

.seller-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px 48px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
}

.seller-sidebar {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  padding: 12px;
  height: fit-content;
}

.seller-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.seller-nav__item {
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  cursor: pointer;
}
.seller-nav__item:hover, .seller-nav__item.is-active {
  background-color: #ffaa00;
}

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

.seller-panel {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  padding: 24px;
}
.seller-panel__title {
  font-size: 1.6rem;
  color: #111827;
  margin-bottom: 8px;
}
.seller-panel__lead {
  color: #374151;
  margin-bottom: 20px;
}

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

.seller-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.seller-stat {
  background-color: #f7f7f7;
  border-radius: 8px;
  padding: 18px;
}
.seller-stat__label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}
.seller-stat__value {
  font-size: 1.6rem;
  font-weight: 800;
  color: #111827;
}

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

.seller-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.seller-table th,
.seller-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid #ececec;
  vertical-align: top;
}
.seller-table th {
  background-color: #f7f7f7;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

.seller-status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  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: 4px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
  background-color: #ffaa00;
  color: #111827;
}
.seller-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.seller-btn--ghost {
  background-color: #ffffff;
  border: 1px solid #d9d9d9;
}

.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: 12px;
  font-weight: 700;
  color: #111827;
}
.seller-city__empty {
  color: #888888;
  font-size: 13px;
}

.seller-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.seller-field span {
  font-size: 11px;
  color: #777777;
}
.seller-field input {
  width: 100%;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  padding: 7px 8px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .seller-layout {
    grid-template-columns: 1fr;
  }
  .seller-stats {
    grid-template-columns: 1fr;
  }
  .seller-nav {
    flex-direction: row;
    overflow-x: auto;
  }
}
