@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/outfit/Outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/outfit/Outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  font-family: Outfit, system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  color: #111827;
  background: #f9fafb;
  --accent: #465fff;
  --accent-dark: #3641f5;
  --surface: #fff;
  --muted: #667085;
  --border: #e4e7ec;
  --shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.1), 0px 2px 4px -2px rgba(16, 24, 40, 0.06);
  --dark: #111827;
}

* { box-sizing: border-box; }
html {
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
body {
  margin: 0;
  background: #f9fafb;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  width: 100%;
  max-width: 100%;
  min-height: 100%;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }

.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;
}

.media-lazy {
  position: relative;
  display: block;
  overflow: hidden;
  background: #e8edf3;
}
.media-lazy__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-lazy__preloader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(110deg, #e4e9f0 8%, #f7f9fb 18%, #e4e9f0 33%);
  background-size: 200% 100%;
}
.media-lazy__preloader::after {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid rgba(16, 24, 40, .12);
  border-top-color: var(--accent, #465fff);
  opacity: 0;
}
.media-lazy:not(.is-loading) .media-lazy__preloader {
  opacity: 0;
  visibility: hidden;
  animation: none;
  transition: opacity .2s ease, visibility 0s linear .2s;
}
.media-lazy:not(.is-loading) .media-lazy__preloader::after {
  animation: none;
}
html.media-lazy-ready .media-lazy.is-loading.is-inview .media-lazy__preloader {
  animation: media-lazy-shimmer 1.15s linear infinite;
}
html.media-lazy-ready .media-lazy.is-loading.is-inview .media-lazy__preloader::after {
  opacity: 1;
  animation: media-lazy-spin .7s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  html.media-lazy-ready .media-lazy.is-loading.is-inview .media-lazy__preloader,
  html.media-lazy-ready .media-lazy.is-loading.is-inview .media-lazy__preloader::after {
    animation: none;
    opacity: 1;
  }
}
@keyframes media-lazy-shimmer {
  to { background-position: -200% 0; }
}
@keyframes media-lazy-spin {
  to { transform: rotate(360deg); }
}

.product-card__lazy,
.product-detail__lazy,
.category-card__lazy,
.news-card__lazy {
  width: 100%;
}
.product-card__lazy,
.product-detail__lazy {
  aspect-ratio: 3 / 4;
  background: #f2f4f7;
}
.product-detail__lazy {
  display: block;
}
.product-detail__gallery-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 20px;
}
.product-detail__gallery-track {
  display: flex;
  width: 100%;
  will-change: transform;
}
.product-detail__gallery-slide {
  flex: 0 0 100%;
  min-width: 100%;
}
.product-detail__gallery-slide .product-detail__lazy,
.product-detail__gallery-slide .product-detail__image {
  border-radius: 20px;
}
.product-card__lazy .product-card__image,
.product-detail__lazy .product-detail__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}
.category-card__lazy {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background: #f3f5f8;
}
.category-card__lazy .media-lazy__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border-radius: inherit;
}
.news-card__lazy {
  height: 100%;
}
.news-card__lazy .media-lazy__img {
  aspect-ratio: 16 / 10;
  height: auto;
}
.promo-card__lazy {
  width: 100%;
  height: 100%;
}
.promo-card__lazy .media-lazy__img {
  aspect-ratio: 16 / 10;
  height: auto;
}
.cart-row__lazy {
  width: 88px;
  flex-shrink: 0;
  border-radius: 12px;
  aspect-ratio: 3 / 4;
  background: #f2f4f7;
}
.cart-row__lazy .cart-row__image {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
}
.product-detail__thumb.media-lazy {
  display: block;
  width: 72px;
  height: 96px;
  flex: 0 0 72px;
  background: #f2f4f7;
}
.product-detail__thumb .media-lazy__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.page__content {
  flex: 1;
  padding-bottom: 48px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.container {
  width: min(1180px, calc(100% - 32px));
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
}
.inline-form { display: inline; }

.site-sticky {
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header {
  position: relative;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; gap: 16px; padding: 16px 0; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 1.125rem; font-weight: 700; flex-shrink: 0; }
.logo__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.logo__mark-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.main-nav { display: flex; gap: 14px; }
.main-nav__link { color: var(--muted); }
.main-nav__link:hover { color: #111827; font-weight: 600; }
.search { display: flex; align-items: center; gap: 8px; background: #f9fafb; border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; }
.search--desktop { flex: 0 1 200px; width: 200px; max-width: 100%; min-width: 0; }
.search__input { border: 0; background: transparent; width: 100%; outline: none; min-width: 0; }
.header-phone {
  color: #111827;
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
}
.header-phone:hover { color: var(--accent); }
.header-contacts {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: .35rem .45rem;
  flex-shrink: 0;
  line-height: 1.25;
  min-width: 0;
  max-width: 100%;
}
.header-contacts__sep {
  color: var(--muted);
  font-size: .75rem;
  line-height: 1;
  user-select: none;
}
.header-contacts__hours {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .01em;
  white-space: nowrap;
}
.header-contacts--mobile {
  display: none;
  align-items: baseline;
  justify-content: flex-start;
}
.header-contacts--mobile .header-contacts__hours {
  font-size: .8125rem;
}
.header-toolbar { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions__auth--desktop {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-icon-btn--favorites {
  width: 40px;
  height: 40px;
  border-radius: 999px;
}
.header-burger,
.header-icon-btn[data-search-toggle],
.header-search-panel,
.header-nav-panel,
.header-actions__auth-mobile,
.main-nav--mobile { display: none; }
.header-icon {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
  margin: 0;
}
.header-icon--heart {
  width: 18px;
  height: 18px;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  opacity: .9;
}
.search__icon { color: var(--muted); }
.header-burger {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.header-burger__line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  color: #111827;
  transition: transform .2s ease, opacity .2s ease;
}
.header-burger.is-active .header-burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header-burger.is-active .header-burger__line:nth-child(2) { opacity: 0; }
.header-burger.is-active .header-burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.header-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: #111827;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  line-height: 0;
  text-decoration: none;
}
.header-icon-btn.is-active {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: var(--accent);
}
.header-icon-btn--cart {
  width: auto;
  min-width: 40px;
  height: 40px;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
  line-height: 1;
}
.header-icon-btn__label {
  font-size: .875rem;
  font-weight: 600;
  line-height: 1;
}
.header-icon-btn__badge {
  background: var(--accent);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: .75rem;
  line-height: 1.2;
  color: #fff;
}
.header-icon-btn--favorites .header-icon-btn__badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .6875rem;
  font-weight: 700;
  line-height: 1;
  box-sizing: border-box;
}
.header-icon-btn__badge[hidden] {
  display: none !important;
}
.header-search-panel {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 12px 0;
}
.header-search-panel.is-open { display: block; }
.header-search-panel .search { width: 100%; }
.header-nav-panel {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 12px 0 16px;
}
.header-nav-panel.is-open { display: block; }
.header-nav-panel.is-open .main-nav--mobile { display: flex; }
.main-nav--mobile { flex-direction: column; gap: 4px; }
.main-nav--mobile .main-nav__link {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #f2f4f7;
}

.hero {
  margin: 24px 0 0;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #c4782a;
  line-height: 0;
}
.hero__media,
.hero__media img {
  display: block;
  width: 100%;
  height: auto;
}
.hero__media img {
  object-fit: cover;
  object-position: center;
  aspect-ratio: 1024 / 278;
}

.promo-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.promo-filters__item { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); color: #344054; text-decoration: none; font-size: .875rem; }
.promo-filters__item.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.promo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.promo-card { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: #fff; }
.promo-card__media { display: block; position: relative; aspect-ratio: 16/10; background: #f2f4f7; }
.promo-card__media img { width: 100%; height: 100%; object-fit: cover; }
.promo-card__placeholder { display: grid; place-items: center; height: 100%; padding: 24px; text-align: center; color: #667085; }
.promo-card__badge { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff; padding: 6px 10px; border-radius: 999px; font-size: .75rem; }
.promo-card__badge--ended { background: #667085; }
.promo-card__badge--future { background: #0284c7; }
.promo-card__body { padding: 16px; }
.promo-card__title { margin: 0 0 8px; font-size: 1.125rem; }
.promo-card__title a { color: inherit; text-decoration: none; }
.promo-card__text { margin: 0 0 10px; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.promo-card__meta { margin: 0; color: #475467; font-size: .8125rem; }

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.news-grid--home { margin-top: 0; }
.news-card { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: #fff; display: flex; flex-direction: column; height: 100%; }
.news-card__media { display: block; position: relative; aspect-ratio: 16/10; background: #f2f4f7; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__placeholder { display: grid; place-items: center; height: 100%; padding: 24px; text-align: center; color: #667085; font-size: .9375rem; }
.news-card__body { padding: 16px; display: grid; gap: 8px; flex: 1; }
.news-card__date { color: var(--muted); font-size: .8125rem; }
.news-card__title { margin: 0; font-size: 1.0625rem; line-height: 1.35; }
.news-card__title a { color: inherit; text-decoration: none; }
.news-card__title a:hover { color: var(--accent); }
.news-card__text { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.5; flex: 1; }
.news-card__link { color: var(--accent); font-size: .875rem; font-weight: 600; text-decoration: none; }
.news-card__link:hover { text-decoration: underline; }
.home-news .section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.home-news .section__link { color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
.home-news .section__link:hover { text-decoration: underline; }
.news-article { max-width: 820px; margin: 0 auto; }
.news-article__media { border-radius: 18px; overflow: hidden; margin-bottom: 24px; background: #f2f4f7; }
.news-article__media img { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
.news-article__head { margin-bottom: 24px; }
.news-article__date { display: block; color: var(--muted); font-size: .875rem; margin-bottom: 8px; }
.news-article__excerpt { margin: 12px 0 0; color: #475467; font-size: 1.0625rem; line-height: 1.6; }
.news-article__content { line-height: 1.7; }

.promo-detail { display: grid; gap: 28px; }
.promo-detail__head { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: 24px; align-items: start; }
.promo-detail__image { width: 100%; border-radius: 18px; object-fit: cover; aspect-ratio: 16/10; }
.promo-detail__status { display: inline-block; margin-bottom: 10px; padding: 6px 10px; border-radius: 999px; font-size: .75rem; background: #ecfdf5; color: #047857; }
.promo-detail__status--ended { background: #f2f4f7; color: #667085; }
.promo-detail__status--future { background: #eff6ff; color: #0369a1; }
.promo-detail__description { color: #475467; line-height: 1.6; }
.promo-detail__discount { font-weight: 600; color: #101828; }

.h-scroll {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

@media (max-width: 900px) {
  .site-sticky {
    overflow-x: hidden;
    max-width: 100%;
  }
  .container,
  main {
    overflow-x: hidden;
    max-width: 100%;
  }
  .hero {
    margin: 4px 0 12px;
    border-radius: 14px;
  }
  .hero + .section { margin-top: 12px; }
  .section:has(.categories-grid) { margin-bottom: 12px; }
  .section:has(.categories-grid) + .home-showcase { margin-top: 12px; }
  .section,
  .home-showcase,
  .home-showcase__tabs,
  .home-showcase__panels,
  .home-showcase__panel,
  .home-news {
    overflow-x: hidden;
    max-width: 100%;
  }
  .home-showcase__panel,
  .home-news,
  .product-carousel__viewport {
    contain: inline-size;
  }
  .home-showcase .products-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0 12px;
    contain: inline-size layout;
  }
  .home-showcase .products-grid::-webkit-scrollbar { display: none; }
  .home-showcase .products-grid > .product-card {
    flex: 0 0 calc((100% - 16px) / 2);
    max-width: none;
    min-width: 0;
    scroll-snap-align: start;
  }
  .home-showcase .products-grid > .product-card,
  .home-news .news-grid--home > .news-card,
  .product-carousel__slide {
    flex-shrink: 0;
  }
  .home-news .news-grid--home {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0 12px;
    contain: inline-size layout;
  }
  .home-news .news-grid--home::-webkit-scrollbar { display: none; }
  .home-news .news-grid--home > .news-card {
    flex: 0 0 calc((100% - 16px) / 2);
    min-width: 0;
    scroll-snap-align: start;
  }
  .promo-grid { grid-template-columns: 1fr; }
  .news-grid:not(.news-grid--home) { grid-template-columns: 1fr; }
  .promo-detail__head { grid-template-columns: 1fr; }
}
.breadcrumbs { display: flex; gap: 8px; flex-wrap: wrap; color: var(--muted); margin: 6px 0; font-size: .875rem; }
.breadcrumb-back-link {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: .9375rem;
  font-weight: 600;
}
.breadcrumb-back-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: #344054;
  font-size: 1rem;
  line-height: 1;
}
.breadcrumb-back-link:hover { color: #111827; }
.breadcrumb-back-link:hover .breadcrumb-back-link__icon {
  border-color: #cbd5e1;
  color: #111827;
}
.page-title { margin: 0 0 8px; font-size: 2rem; }
.page-subtitle { color: var(--muted); margin-top: 0; }
.catalog-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.upload-banner { padding: 12px 18px; border-radius: 12px; background: #f2f7ff; color: var(--accent-dark); font-weight: 600; }
.section { margin: 32px 0; max-width: 100%; min-width: 0; }
.section__head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 16px; }
.section__title { margin: 0; font-size: 1.5rem; }
.section__subtitle { margin: 4px 0 0; color: var(--muted); }

.home-showcase { margin-top: 28px; max-width: 100%; min-width: 0; }
.home-showcase__tabs,
.home-showcase__panels,
.home-showcase__panel {
  max-width: 100%;
  min-width: 0;
}
.home-showcase__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.home-showcase__tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px 2px 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.home-showcase__tab:hover { color: #111827; }
.home-showcase__tab.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.home-showcase__panel[hidden] { display: none; }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.category-chip { display: inline-flex; align-items: center; justify-content: center; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border); background: #fff; }
.category-chip--active { border-color: var(--accent); color: var(--accent-dark); font-weight: 600; }
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}
.category-card--active { border-color: var(--accent); }
.category-card h3,
.category-card__title { margin: 0; font-size: 1.25rem; font-weight: 700; }

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 16px;
  padding: 8px 12px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.catalog-toolbar__meta {
  margin: 0;
  font-size: .8125rem;
  color: var(--muted);
  white-space: nowrap;
}
.catalog-toolbar__controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
}
.catalog-toolbar select {
  min-width: 140px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font-size: .8125rem;
  line-height: 1.2;
}
.catalog-collection-bar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 10px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.catalog-collection-bar__label {
  margin: 6px 0 0;
  font-size: .8125rem;
  font-weight: 600;
  color: #344054;
  white-space: nowrap;
}
.catalog-collection-bar__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.catalog-collection-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.catalog-collection-bar__link:hover {
  border-color: #d0d5dd;
  color: #111827;
}
.catalog-collection-bar__link.is-active {
  border-color: var(--accent);
  background: #fffbeb;
  color: var(--accent-dark);
  font-weight: 600;
}
.catalog-collection-bar__count {
  color: #667085;
  font-size: .75rem;
  font-weight: 600;
}
.catalog-collection-bar__link.is-active .catalog-collection-bar__count {
  color: var(--accent-dark);
}
.catalog-category__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.catalog-category__head .page-title {
  margin: 0;
}
.catalog-category__layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.catalog-category__layout.is-loading {
  opacity: .55;
  pointer-events: none;
}
.catalog-category__layout--no-filters {
  grid-template-columns: minmax(0, 1fr);
}
.catalog-category__main {
  min-width: 0;
}
.catalog-filters {
  position: sticky;
  top: 88px;
}
.catalog-filters__form {
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.catalog-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.catalog-filters__head-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.catalog-filters__close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.catalog-filters-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-weight: 600;
  font-size: .875rem;
  cursor: pointer;
  flex-shrink: 0;
}
.catalog-filters-toggle-bar {
  display: none;
  justify-content: center;
  margin: 0 0 10px;
}
.catalog-filters-toggle--mobile {
  display: none;
}
.catalog-filters-toggle--desktop {
  display: inline-flex;
}
.catalog-filters-toggle__badge {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}
.catalog-filters-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 105;
  padding: 0;
  border: 0;
  background: rgba(16, 24, 40, .45);
  cursor: pointer;
}
.catalog-filters-backdrop:not([hidden]) {
  display: block;
}
body.catalog-filters-scroll-lock {
  overflow: hidden;
}
.catalog-filters__title {
  margin: 0;
  font-size: .9375rem;
  font-weight: 700;
}
.catalog-filters__reset {
  font-size: .8125rem;
  color: var(--accent);
  text-decoration: none;
}
.catalog-filters__reset:hover {
  text-decoration: underline;
}
.catalog-filters__group + .catalog-filters__group {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.catalog-filters__group-title {
  margin: 0 0 8px;
  font-size: .8125rem;
  font-weight: 700;
  color: #344054;
}
.catalog-filters__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  max-height: 180px;
  overflow: auto;
}
.catalog-filters__option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: start;
  font-size: .8125rem;
  color: #344054;
  cursor: pointer;
}
.catalog-filters__option input {
  margin-top: 2px;
}
.catalog-filters__option-label {
  line-height: 1.35;
}
.catalog-filters__option-count {
  color: var(--muted);
  font-size: .75rem;
}
.catalog-filters__utility--mobile {
  display: none;
}
.catalog-filters__sort-controls {
  display: grid;
  gap: 8px;
}
.catalog-filters__sort-controls select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-size: .8125rem;
}
.catalog-filters__footer--mobile {
  display: none;
}
.catalog-filters__apply {
  width: 100%;
  min-height: 44px;
  font-size: .875rem;
}
.catalog-filters__reset--footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: #344054;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.catalog-filters__reset--footer:hover {
  text-decoration: none;
  border-color: #cbd5e1;
}
.category-description {
  margin: 32px 0 8px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
}
.home-seo { margin-top: 8px; }
.category-description__title {
  margin: 0 0 12px;
  font-size: 1.375rem;
}
.category-description__text {
  margin: 0 0 12px;
  color: #475467;
  line-height: 1.65;
  font-size: .9375rem;
}
.category-description__text:last-child {
  margin-bottom: 0;
}

.products-grid {
  display: grid;
  /* auto-fit collapses empty tracks so 1–2 cards don’t leave huge blank columns */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
  justify-content: start;
}
.products-grid > .product-card {
  width: 100%;
  max-width: 360px;
  justify-self: start;
}
.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.product-card__media-wrap { position: relative; }
.product-card__media { position: relative; border: 0; padding: 0; background: transparent; cursor: pointer; display: block; }
.product-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
  background: #f2f4f7;
  display: block;
}
.product-card__lazy {
  display: block;
  overflow: hidden;
}
@media (max-width: 900px) {
  .product-card__lazy--desktop-only {
    display: none !important;
  }
}
@media (min-width: 901px) {
  .product-card__lazy--mobile-lcp {
    display: none !important;
  }
}
.product-card__badge { position: absolute; padding: 4px 8px; border-radius: 999px; font-size: .75rem; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.product-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  max-width: calc(100% - 64px);
}
.product-card__top-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  max-width: calc(100% - 24px);
}
.product-card__top-actions .product-card__badge {
  position: static;
}
.product-card__badge--discount { position: static; background: var(--accent); color: #fff; }
.product-card__badge--new {
  top: auto;
  bottom: 12px;
  right: 12px;
  left: auto;
  z-index: 2;
  background: #facc15;
  color: #713f12;
  box-shadow: 0 2px 8px rgba(113, 63, 18, .12);
}
.product-card__badge--muted { top: auto; bottom: 12px; left: 12px; background: #6b7280; color: #fff; }
.product-card__badge--viewed { background: #344054; color: #fff; }
.product-card--promo { border-color: #fde68a; }

.product-promo {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  font-size: .875rem;
  line-height: 1.35;
}
.product-promo--compact {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: .8125rem;
}
.product-promo__row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.product-promo__label {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 999px;
  background: #facc15;
  color: #713f12;
  font-weight: 700;
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.2;
}
.product-promo__link {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #44403c;
  font-weight: 600;
  text-decoration: none;
}
.product-promo__link:hover { color: #1c1917; text-decoration: underline; }
.product-promo__discount {
  flex-shrink: 0;
  color: #dc2626;
  font-weight: 700;
  font-size: .9375rem;
}
.product-promo__ends {
  color: #78716c;
  font-size: .8125rem;
  padding-left: 2px;
}
.product-detail .product-promo { margin: 8px 0 0; }
.product-card__body { padding: 16px; display: grid; gap: 8px; flex: 1; }
.product-card__category { color: var(--muted); font-size: .75rem; text-transform: uppercase; }
.product-card__title { font-size: 1.05rem; font-weight: 700; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; }
.product-card__variant {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.35;
}
.product-card__sku { margin-top: -2px; }
.product-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-top: 2px;
  color: #475467;
  font-size: .8125rem;
  line-height: 1.2;
}
.product-card .product-rating {
  margin-top: -2px;
}
.product-detail__rating {
  margin-top: 6px;
  font-size: .875rem;
}
.product-rating__stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.product-rating__star {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
  line-height: 1;
  font-size: 1.05em;
}
.product-rating__star-empty {
  color: #d0d5dd;
}
.product-rating__star-fill {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  color: #f5a524;
  white-space: nowrap;
}
.product-rating__value {
  font-weight: 700;
  color: #101828;
}
.product-rating__count {
  color: var(--muted);
}
.product-rating__count--link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  font: inherit;
}
.product-rating__count--link:hover {
  color: var(--accent-dark, #1d4ed8);
}

.product-reviews {
  display: grid;
  gap: 20px;
}
.product-reviews__toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.product-reviews__title {
  margin: 0 0 4px;
  font-size: 1.25rem;
}
.product-reviews__lead {
  margin: 0;
  color: var(--muted);
  font-size: .875rem;
}
.product-reviews__form-wrap {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f9fafb;
}
.product-reviews__form {
  display: grid;
  gap: 16px;
  max-width: 720px;
}
.product-reviews__field {
  display: grid;
  gap: 6px;
  font-size: .875rem;
  color: var(--muted);
}
.product-reviews__field em {
  color: var(--accent);
  font-style: normal;
}
.product-reviews__field input,
.product-reviews__field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color: #101828;
  background: #fff;
}
.product-reviews__field textarea {
  resize: vertical;
  min-height: 120px;
}
.product-reviews__hint {
  margin: 0;
  color: var(--muted);
  font-size: .8125rem;
}
.product-reviews__media-list {
  margin: 0;
  padding-left: 18px;
  color: #344054;
  font-size: .8125rem;
}
.product-reviews__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.product-reviews__message {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: .875rem;
}
.product-reviews__message.is-success { background: #ecfdf5; color: #047857; }
.product-reviews__message.is-error { background: #fef2f2; color: #b91c1c; }
.product-reviews__auth {
  display: grid;
  gap: 12px;
  justify-items: start;
}
.product-reviews__auth p { margin: 0; color: #475467; }

.review-stars {
  display: inline-flex;
  gap: 4px;
}
.review-stars__btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: #d0d5dd;
  cursor: pointer;
}
.review-stars__btn.is-active,
.review-stars__btn:hover {
  color: #f5a524;
}

.product-reviews__list {
  display: grid;
  gap: 16px;
}
.review-card {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}
.review-card__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.review-card__author {
  font-weight: 700;
  color: #101828;
}
.review-card__date {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: .8125rem;
}
.review-card__title {
  margin: 12px 0 6px;
  font-size: 1rem;
}
.review-card__body {
  margin: 0;
  color: #344054;
  line-height: 1.6;
  white-space: pre-wrap;
}
.review-card__media {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.review-card__media-btn {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #f2f4f7;
  cursor: pointer;
  line-height: 0;
}
.review-card__media-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.review-card__image,
.review-card__video {
  width: 120px;
  height: 120px;
  object-fit: cover;
  display: block;
  background: #f2f4f7;
}
.review-card__media-btn--video .review-card__video {
  width: 200px;
  height: 120px;
  object-fit: cover;
  background: #111827;
}
.review-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.25rem;
  background: rgba(16, 24, 40, .35);
  pointer-events: none;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
}
.media-lightbox[hidden] { display: none; }
.media-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(16, 24, 40, .72);
  cursor: pointer;
}
.media-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(90vh, 900px);
  display: grid;
  gap: 12px;
}
.media-lightbox__close {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #101828;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .18);
}
.media-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #101828;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .18);
}
.media-lightbox__nav--prev { left: -8px; }
.media-lightbox__nav--next { right: -8px; }
.media-lightbox__nav[hidden] { display: none; }
.media-lightbox__counter {
  text-align: center;
  color: #fff;
  font-size: .875rem;
}
.media-lightbox__error {
  margin: 0;
  padding: 24px;
  color: #fff;
  text-align: center;
}
.media-lightbox__figure {
  margin: 0;
  display: grid;
  place-items: center;
  background: #0b1220;
  border-radius: 16px;
  overflow: hidden;
  min-height: 240px;
  touch-action: pan-y;
}
.media-lightbox__image,
.media-lightbox__video {
  display: block;
  max-width: 100%;
  max-height: min(82vh, 860px);
  width: auto;
  height: auto;
  background: #000;
}
.media-lightbox__video {
  width: 100%;
}

.product-card__description {
    color: var(--muted);
    font-size: .875rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: calc(1.4em * 2);
    word-break: break-word;
    margin: 0;
}
.product-card__footer { margin-top: auto; display: grid; gap: 12px; }
.product-card__prices { display: flex; gap: 8px; align-items: baseline; }
.product-card__price { font-size: 1.125rem; font-weight: 700; }
.product-card__old-price { color: var(--muted); text-decoration: line-through; font-size: .875rem; }
.product-card--promo .product-card__old-price { color: #dc2626; }
.product-card__delivery { margin: 6px 0 0; color: var(--muted); font-size: .8125rem; line-height: 1.3; }
.product-card__delivery strong { color: var(--accent); font-weight: 800; }
.product-card__delivery-days { color: var(--muted); }
.product-card__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.product-card__buy-form {
  display: flex;
  gap: 8px;
  align-items: stretch;
  width: 100%;
}
.product-card__quantity {
  height: 40px;
  flex: 0 0 auto;
}
.product-card__quantity .quantity-stepper__btn {
  width: 36px;
}
.product-card__quantity .quantity-stepper__input {
  width: 44px;
}
.product-card__buy-btn {
  flex: 1;
  min-width: 96px;
}

.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; margin-top: 24px; align-items: start; }
.product-detail__gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
  min-width: 0;
  width: 100%;
}
.product-detail__stage {
  position: relative;
  line-height: 0;
  flex-shrink: 0;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
  border-radius: 20px;
}
.product-detail__zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  touch-action: pan-y;
  overflow: hidden;
  border-radius: 20px;
}
.product-detail__zoom:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 20px;
}
.product-detail__image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
  background: #f2f4f7;
  display: block;
}
.product-detail__badge { position: absolute; top: 16px; left: 16px; background: var(--accent); color: #fff; padding: 6px 10px; border-radius: 999px; z-index: 2; }
.product-detail__nav,
.product-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  color: #111827;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.product-detail__nav--prev,
.product-carousel__nav--prev { left: 12px; }
.product-detail__nav--next,
.product-carousel__nav--next { right: 12px; }
.product-detail__nav:hover,
.product-carousel__nav:hover { border-color: var(--accent); color: var(--accent); }
.product-detail__nav {
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease, border-color .15s ease, color .15s ease;
}
.product-carousel__nav:disabled {
  opacity: .35;
  cursor: default;
  box-shadow: none;
}
.slider-nav__icon {
  width: 28px;
  height: 28px;
  display: block;
}
.product-detail__thumbs {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  flex-shrink: 0;
  height: auto;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}
.product-detail__thumb {
  flex: 0 0 72px;
  width: 72px;
  height: auto;
  display: block;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}
.product-detail__thumb img {
  width: 72px;
  height: 96px;
  aspect-ratio: 3/4;
  object-fit: contain;
  object-position: center;
  background: #f2f4f7;
}
.product-detail__thumb.is-active,
.product-detail__thumb:hover {
  border-color: var(--accent);
}
.product-detail__category {
  display: inline-block;
  color: var(--accent);
  text-transform: uppercase;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
}
a.product-detail__category:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}
.product-detail__title { margin: 8px 0; font-size: 2rem; }
.product-detail__sku { color: var(--muted); margin-top: 8px; }

.product-sku {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.4;
}
.product-sku__label { flex-shrink: 0; }
.product-sku__value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: #344054;
  word-break: break-all;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: #667085;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.copy-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.copy-btn.is-copied {
  border-color: #15803d;
  background: #ecfdf3;
  color: #15803d;
}
.copy-btn__icon {
  width: 15px;
  height: 15px;
  display: block;
}

.variant-picker { margin: 20px 0; }
.variant-picker + .variant-picker { margin-top: 12px; }
.variant-picker__label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: #344054;
}
.variant-picker__options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.variant-chip { padding: 10px 14px; border-radius: 999px; border: 1px solid var(--border); background: #fff; }
.variant-chip--active { border-color: var(--accent); background: #f2f7ff; }
.variant-chip--disabled { opacity: .5; pointer-events: none; }
.product-detail__prices { display: flex; gap: 12px; align-items: baseline; }
.product-detail__price { font-size: 1.75rem; font-weight: 700; }
.product-detail__old-price { color: var(--muted); text-decoration: line-through; }
.product-detail__info:has(.product-promo) .product-detail__old-price { color: #dc2626; }
.product-detail__props {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
}
.product-detail__prop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 12px;
  align-items: end;
  font-size: .9375rem;
  line-height: 1.35;
}
.product-detail__prop dt {
  margin: 0;
  color: var(--muted);
  border-bottom: 1px dotted rgba(152, 162, 179, .7);
  padding-bottom: 2px;
}
.product-detail__prop dd {
  margin: 0;
  color: #101828;
  font-weight: 500;
  text-align: right;
  border-bottom: 1px dotted transparent;
  padding-bottom: 2px;
}
.product-detail__actions { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin-top: 0; }
.product-detail__buy-btn {
  height: 44px;
  padding-top: 0;
  padding-bottom: 0;
  box-sizing: border-box;
  gap: 8px;
}
.product-detail__buy-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.product-detail__buy-btn-icon-svg {
  width: 18px;
  height: 18px;
  display: block;
}
.product-detail__buy-btn-text--mobile {
  display: none;
}
.product-detail__buy-btn.is-in-cart .product-detail__buy-btn-icon {
  display: none;
}
.quantity-field { display: grid; gap: 6px; }
.quantity-field__label { font-size: .875rem; color: var(--muted); }
.quantity-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  height: 44px;
}
.quantity-stepper__btn {
  width: 44px;
  border: 0;
  background: #f9fafb;
  color: #111827;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.quantity-stepper__btn:hover:not(:disabled) { background: #f2f7ff; color: var(--accent); }
.quantity-stepper__btn:disabled { opacity: .4; cursor: default; }
.quantity-stepper__input {
  width: 56px;
  border: 0;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-weight: 600;
  background: #fff;
  -moz-appearance: textfield;
}
.quantity-stepper__input::-webkit-outer-spin-button,
.quantity-stepper__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.quantity-stepper__input:disabled { background: #f9fafb; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; font-weight: 600; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }
.product-card__buy-btn.is-in-cart,
.product-card__buy-btn.is-in-cart:disabled,
.product-detail__actions .btn.is-in-cart,
.product-detail__actions .btn.is-in-cart:disabled {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
  opacity: 1;
  cursor: pointer;
}
.product-card__buy-btn.is-in-cart:hover,
.product-detail__actions .btn.is-in-cart:hover { background: #15803d; }
.product-card__buy-btn.is-loading,
.product-detail__actions .btn.is-loading { opacity: .7; pointer-events: none; }
.btn--ghost { background: #fff; border-color: var(--border); color: #111827; }
.btn--secondary { background: #f2f4f7; border-color: #e4e7ec; color: #475467; }
.btn--secondary:hover { background: #e4e7ec; color: #344054; }
.btn--sm { padding: 8px 12px; font-size: .875rem; }

.checkout, .catalog-page { padding-top: 8px; }
.checkout-form label { display: grid; gap: 6px; margin-bottom: 12px; }
.checkout-form input, .checkout-form textarea, .checkout-form select { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.checkout-form__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.checkout-panel { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.shipping-options { display: grid; gap: 10px; margin: 16px 0; }
.shipping-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.shipping-option:has(input:checked) {
  border-color: var(--accent);
  background: #f8faff;
  box-shadow: 0 0 0 1px rgba(70, 95, 255, .12);
}
.shipping-option input {
  margin-top: 4px;
  flex-shrink: 0;
}
.shipping-option__content {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.shipping-option__name {
  font-size: .9375rem;
  color: #111827;
}
.shipping-option__description {
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.4;
}
.shipping-option__meta {
  color: var(--accent);
  font-style: normal;
  font-size: .875rem;
  font-weight: 600;
}
.checkout-summary { margin-top: 16px; display: grid; gap: 8px; }
.checkout-summary__hint { color: var(--muted); font-size: .875rem; }

.cart-page { padding-top: 8px; }
.cart-page__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin-bottom: 20px;
}
.cart-page__title { margin: 0; }
.cart-page__count {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
}
.cart-page__divider {
  height: 1px;
  margin: 28px 0 24px;
  background: var(--border);
}
.cart-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  grid-template-areas:
    "items summary"
    "checkout summary";
  gap: 24px;
  align-items: start;
}
.cart-page__items {
  grid-area: items;
  min-width: 0;
}
.cart-page__checkout {
  grid-area: checkout;
  min-width: 0;
}
.cart-summary--checkout {
  grid-area: summary;
  position: sticky;
  top: 96px;
}

.cart-empty {
  padding: 36px 16px 40px;
  text-align: center;
}
.cart-empty__icon {
  display: inline-grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #eef2f6;
  color: #98a2b3;
}
.cart-empty__icon-svg {
  width: 34px;
  height: 34px;
}
.cart-empty__title {
  margin: 0 0 10px;
  font-size: 1.375rem;
  font-weight: 700;
  color: #111827;
}
.cart-empty__text {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}
.cart-empty__text a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}

.cart-table {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cart-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.cart-row:last-child { border-bottom: 0; }
.cart-row.is-loading {
  opacity: .55;
  pointer-events: none;
}
.cart-row__image-link { display: block; }
.cart-row__image {
  width: 88px;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  background: #f2f4f7;
}
.cart-row__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title aside"
    "meta aside"
    "remove aside";
  column-gap: 24px;
  row-gap: 6px;
  align-items: start;
  min-width: 0;
}
.cart-row__title {
  grid-area: title;
  display: -webkit-box;
  overflow: hidden;
  color: #111827;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  text-decoration: none;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.cart-row__title:hover { color: var(--accent); }
.cart-row__meta {
  grid-area: meta;
  margin: 0;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.35;
}
.cart-row__aside {
  grid-area: aside;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  min-width: 148px;
}
.cart-row__prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}
.cart-row__sum {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
}
.cart-row__old-price {
  color: var(--muted);
  text-decoration: line-through;
  font-size: .875rem;
}
.cart-row__old-price--promo { color: #dc2626; }
.cart-row__unit {
  color: var(--muted);
  font-size: .8125rem;
}
.cart-row__qty { margin: 0; }
.quantity-stepper--cart {
  height: 36px;
}
.quantity-stepper--cart .quantity-stepper__btn {
  width: 34px;
}
.quantity-stepper--cart .quantity-stepper__input {
  width: 42px;
  flex: 0 0 42px;
}
.cart-row__remove {
  grid-area: remove;
  margin: 4px 0 0;
}
.cart-row__remove-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}
.cart-row__remove-link:hover {
  color: #b91c1c;
  text-decoration: underline;
}

.cart-summary {
  position: sticky;
  top: 88px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.cart-summary__title {
  margin: 0 0 16px;
  font-size: 1.25rem;
}
.cart-summary__rows {
  display: grid;
  gap: 10px;
  margin: 0 0 12px;
}
.cart-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}
.cart-summary__row dt {
  margin: 0;
  color: var(--muted);
  font-size: .9375rem;
}
.cart-summary__row dd {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}
.cart-summary__row--total {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.cart-summary__row--total dt {
  color: #111827;
  font-size: 1rem;
  font-weight: 700;
}
.cart-summary__row--total dd {
  font-size: 1.5rem;
}
.cart-summary__price {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.cart-summary__old-price {
  color: #dc2626;
  text-decoration: line-through;
  font-size: .9375rem;
  font-weight: 500;
}
.cart-summary__hint {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.45;
}
.cart-summary__checkout {
  width: 100%;
  min-height: 48px;
  font-size: 1rem;
}
.cart-summary__continue {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
}
.cart-summary__continue:hover { text-decoration: underline; }

.cart-summary__checkout-link {
  display: none;
  margin-top: 12px;
  color: var(--accent);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}
.cart-summary__checkout-link:hover { text-decoration: underline; }

.cart-checkout {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 22px 24px;
  box-shadow: var(--shadow);
}
.cart-checkout__title {
  margin: 0 0 20px;
  font-size: 1.375rem;
}
.cart-checkout__section + .cart-checkout__section {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.cart-checkout__section-title {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}
.cart-checkout__grid {
  display: grid;
  gap: 12px;
}
.cart-checkout__grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cart-checkout__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cart-checkout__field {
  display: grid;
  gap: 6px;
  margin: 0;
}
.cart-checkout__label {
  font-size: .875rem;
  font-weight: 600;
  color: #344054;
}
.cart-checkout__required {
  color: #dc2626;
}
.cart-checkout__form label.cart-checkout__field {
  margin-bottom: 0;
}
.cart-checkout__form .cart-checkout__section > .cart-checkout__field {
  margin-top: 12px;
}
.cart-checkout__shipping {
  margin: 0;
}
.cart-checkout__empty {
  margin: 0;
  color: var(--muted);
  font-size: .9375rem;
}
.cart-checkout__login-hint {
  margin: 18px 0 0;
}
.cart-checkout__submit--mobile {
  display: none;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.cart-checkout__submit-btn {
  width: 100%;
  min-height: 50px;
  font-size: 1rem;
}

.simple-checkout {
  width: 100%;
  max-width: none;
  display: grid;
  gap: 18px;
}
.simple-checkout__guest {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f8fafc;
}
.simple-checkout__guest-text {
  margin: 0;
  color: #475467;
  font-size: .9375rem;
}
.simple-checkout__guest-text a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.simple-checkout__guest-text a:hover { text-decoration: underline; }
.simple-checkout__items,
.simple-checkout__form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.simple-checkout__items {
  padding: 20px 20px 8px;
}
.simple-checkout__form {
  padding: 20px;
}
.simple-checkout__title {
  margin: 0 0 4px;
  font-size: 1.375rem;
}
.simple-checkout__count {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .9375rem;
}
.simple-checkout__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.simple-checkout__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.simple-checkout__item:first-child { border-top: 0; }
.simple-checkout__item.is-loading {
  opacity: .55;
  pointer-events: none;
}
.simple-checkout__item-image {
  width: 56px;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  object-fit: contain;
  object-position: center;
  background: #f2f4f7;
}
.simple-checkout__item-body {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.simple-checkout__item-title {
  color: #111827;
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
}
.simple-checkout__item-title:hover { color: var(--accent); }
.simple-checkout__item-meta {
  color: var(--muted);
  font-size: .8125rem;
}
.simple-checkout__item-side {
  display: grid;
  justify-items: end;
  gap: 8px;
}
.simple-checkout__item-price {
  font-size: .9375rem;
  color: #111827;
}
.simple-checkout__item-remove-btn {
  border: 0;
  background: transparent;
  color: #98a2b3;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.simple-checkout__item-remove-btn:hover { color: #dc2626; }
.simple-checkout__block + .simple-checkout__block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.simple-checkout__block-title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
}
.simple-checkout__fields {
  display: grid;
  gap: 12px;
}
.simple-checkout__fields--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.simple-checkout__fields--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.simple-checkout__field {
  display: grid;
  gap: 6px;
  margin: 0;
}
.simple-checkout__label {
  font-size: .875rem;
  font-weight: 600;
  color: #344054;
}
.simple-checkout__required { color: #dc2626; }
.simple-checkout__field--city { position: relative; }
.simple-checkout__city-wrap { position: relative; }
.simple-checkout__city-suggestions {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 220px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.simple-checkout__city-suggestion {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.simple-checkout__city-suggestion:hover,
.simple-checkout__city-suggestion:focus,
.simple-checkout__city-suggestion.is-active {
  background: #f8faff;
}
.simple-checkout__hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .875rem;
}
.simple-checkout__hint--cdek {
  color: var(--accent);
  font-weight: 600;
}

.cdek-pvz-picker {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.simple-checkout__field.simple-checkout__field--terms,
.checkout-form label.simple-checkout__field--terms {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  margin-bottom: 20px;
  font-size: .875rem;
  line-height: 1.5;
  color: #475467;
}
.simple-checkout__field--terms > span {
  flex: 1;
  min-width: 0;
}
.checkout-form label.simple-checkout__field--terms input[type="checkbox"] {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0.125rem 0 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  accent-color: var(--accent);
}
.simple-checkout__field--terms a {
  color: var(--accent);
}
.simple-checkout__field--terms + .simple-checkout__field--terms {
  margin-top: 0;
}
.payment-options {
  display: grid;
  gap: 10px;
}
.payment-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.payment-option:has(input:checked) {
  border-color: var(--accent);
  background: #f8faff;
  box-shadow: 0 0 0 1px rgba(70, 95, 255, .12);
}
.payment-option[hidden] { display: none; }
.payment-option input { margin-top: 4px; flex-shrink: 0; }
.payment-option__content { display: grid; gap: 4px; }
.payment-option__name { font-size: .9375rem; color: #111827; }
.payment-option__description {
  color: var(--muted);
  font-size: .875rem;
}
.simple-checkout__footer {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.simple-checkout__totals {
  margin: 0 0 14px;
  width: 100%;
}
.simple-checkout__total-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
  font-size: .9375rem;
}
.simple-checkout__total-row--grand {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  font-size: 1.0625rem;
  font-weight: 700;
}
.simple-checkout__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.simple-checkout__submit,
.simple-checkout__continue {
  width: fit-content;
  min-width: 220px;
  max-width: 100%;
  min-height: 40px;
  padding: 10px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .9375rem;
  text-decoration: none;
}
.simple-checkout__continue {
  margin: 0;
}
.quantity-stepper--compact .quantity-stepper__input {
  width: 42px;
  min-height: 32px;
  font-size: .875rem;
}
.quantity-stepper--compact .quantity-stepper__btn {
  width: 32px;
  min-height: 32px;
}

.empty-state, .state { padding: 24px; text-align: center; color: var(--muted); }
.error, .flash--error { color: #b91c1c; }
.flash { padding: 12px 16px; border-radius: 12px; margin: 12px 0; }
.flash--success { background: #ecfdf5; color: #047857; }
.flash--error { background: #fef2f2; }

.account-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 28px; }

.account-page { padding-top: 8px; }
.account-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 8px;
}
.account-sidebar {
  position: sticky;
  top: 88px;
  padding: 20px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.account-sidebar__greeting {
  margin: 0 0 16px;
  color: #344054;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.4;
}
.account-sidebar__nav {
  display: grid;
  gap: 4px;
}
.account-sidebar__link {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #475467;
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.account-sidebar__link:hover {
  background: #f8fafc;
  color: #111827;
}
.account-sidebar__link.is-active {
  background: #fff7ed;
  color: var(--accent);
  font-weight: 600;
}
.account-sidebar__footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 10px;
}
.account-sidebar__extra {
  color: var(--accent);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
}
.account-sidebar__extra:hover { text-decoration: underline; }
.account-sidebar__logout {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: .875rem;
  cursor: pointer;
  text-align: left;
}
.account-sidebar__logout:hover { color: #b91c1c; }
.account-content {
  min-width: 0;
  padding: 4px 0 24px;
}
.account-content .page-title {
  margin-top: 0;
}
.account-empty {
  margin: 0 0 16px;
  color: var(--muted);
}
.account-orders {
  display: grid;
  gap: 16px;
}
.account-order {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.account-order__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 14px;
}
.account-order__head-main {
  display: grid;
  gap: 4px;
}
.account-order__title {
  margin: 0;
  font-size: 1.0625rem;
}
.account-order__title a {
  color: inherit;
  text-decoration: none;
}
.account-order__title a:hover {
  color: var(--accent);
}
.account-order__date {
  color: var(--muted);
  font-size: .875rem;
}
.account-order__open {
  flex-shrink: 0;
}
.account-order__meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 12px;
}
.account-order__meta dt {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.account-order__meta dd {
  margin: 0;
  font-size: .9375rem;
}
.account-order__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff7ed;
  color: var(--accent);
  font-size: .8125rem;
  font-weight: 600;
}
.account-order__badge--large {
  padding: 6px 12px;
  font-size: .875rem;
}
.account-order__delivery {
  margin: 0 0 14px;
  color: #475467;
  font-size: .875rem;
  line-height: 1.5;
}
.account-order__delivery-label {
  color: var(--muted);
}
.account-order__lines {
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
  display: grid;
  gap: 12px;
}
.account-order__lines--detail {
  margin-bottom: 16px;
}
.account-order-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}
.account-order-line__image-link {
  display: block;
}
.account-order-line__lazy,
.account-order-line__lazy .account-order-line__img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
}
.account-order-line__img {
  object-fit: contain;
  object-position: center;
  background: #f2f4f7;
}
.account-order-line__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.account-order-line__title {
  margin: 0;
  color: #111827;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}
a.account-order-line__title:hover {
  color: var(--accent);
}
.account-order-line__meta {
  margin: 0;
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.4;
}
.account-order-line__price {
  font-size: .9375rem;
  white-space: nowrap;
}
.account-order-detail {
  display: grid;
  gap: 16px;
}
.account-order-detail__toolbar {
  margin-bottom: 4px;
}
.account-order-detail__back {
  color: var(--accent);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
}
.account-order-detail__back:hover {
  text-decoration: underline;
}
.account-order-detail__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.account-order-detail__label {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.account-order-detail__number {
  margin: 0;
  font-size: 1.375rem;
}
.account-order-detail__date {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .875rem;
}
.account-order-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.account-order-detail__panel {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.account-order-detail__panel-title {
  margin: 0 0 14px;
  font-size: 1rem;
}
.account-order-detail__facts {
  display: grid;
  gap: 10px;
  margin: 0;
}
.account-order-detail__facts dt {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.account-order-detail__facts dd {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.45;
}
.account-order-detail__notes {
  margin: 0;
  color: #475467;
  line-height: 1.5;
  white-space: pre-wrap;
}
.account-order-detail__totals {
  margin: 0;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  display: grid;
  gap: 8px;
}
.account-order-detail__totals div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: .9375rem;
}
.account-order-detail__totals dt,
.account-order-detail__totals dd {
  margin: 0;
}
.account-order-detail__totals-grand {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 1.0625rem;
  font-weight: 700;
}
.account-form {
  max-width: 480px;
  display: grid;
  gap: 14px;
}
.account-form__field {
  display: grid;
  gap: 6px;
  margin: 0;
}
.account-form__label {
  font-size: .875rem;
  font-weight: 600;
  color: #344054;
}
.account-form__hint {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.5;
}
.account-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  font-size: .9375rem;
  line-height: 1.5;
  color: #475467;
}
.account-form__checkbox input {
  margin-top: 3px;
  flex-shrink: 0;
}
.account-form__field textarea {
  width: 100%;
  min-height: 96px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  resize: vertical;
}
.account-form--subscriptions {
  max-width: 560px;
}
.account-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.account-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 148px;
  padding: 20px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  color: #111827;
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.account-tile:hover {
  transform: translateY(-2px);
  border-color: #fdba74;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .08);
}
.account-tile__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #fff7ed;
  color: var(--accent);
}
.account-icon {
  width: 28px;
  height: 28px;
  display: block;
}
.account-tile__label {
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.product-detail__buy-row {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 10px 4px;
  align-items: end;
  justify-content: start;
  margin-top: 20px;
}
.product-detail__actions--buy-row {
  display: contents;
}
.product-detail__buy-row .quantity-field {
  grid-column: 1;
  width: max-content;
  max-width: 100%;
  justify-self: start;
}
.product-detail__buy-row .quantity-stepper {
  width: max-content;
  max-width: 100%;
}
.product-detail__buy-row .quantity-stepper__input {
  width: 48px;
  flex: 0 0 48px;
}
.product-detail__buy-row .product-detail__buy-btn {
  grid-column: 2;
}
.product-detail__buy-row .favorite-btn--detail {
  grid-column: 3;
}

.favorite-btn {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  line-height: 0;
}
.favorite-btn__control {
  appearance: none;
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  background: #fff;
  color: #667085;
  cursor: pointer;
  font: inherit;
  line-height: 0;
  box-sizing: border-box;
  transition: color .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.favorite-btn__glyph {
  width: 18px;
  height: 18px;
  display: block;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  opacity: .75;
}
.favorite-btn__text {
  line-height: 1.2;
}
.favorite-btn.is-active .favorite-btn__control {
  color: #e11d48;
  border-color: #fecdd3;
  background: #fff1f2;
}
.favorite-btn.is-active .favorite-btn__glyph {
  opacity: 1;
}
.favorite-btn.is-loading .favorite-btn__control {
  opacity: .65;
  pointer-events: none;
}

.favorite-btn--card {
  position: static;
  z-index: 1;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.favorite-btn--card .favorite-btn__control {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .16);
  background: rgba(255, 255, 255, .97);
}
.favorite-btn--card .favorite-btn__glyph {
  width: 16px;
  height: 16px;
}
.favorite-btn--card .favorite-btn__control:hover {
  border-color: #fda4af;
  color: #e11d48;
}

.favorite-btn--detail {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}
.favorite-btn--detail .favorite-btn__control {
  width: 44px;
  height: 44px;
  min-height: 0;
  padding: 0;
  border-radius: 12px;
}
.favorite-btn--detail .favorite-btn__glyph {
  width: 20px;
  height: 20px;
}
.favorite-btn--detail .favorite-btn__control:hover {
  border-color: #fda4af;
  color: #e11d48;
}
.favorite-btn--detail.is-active .favorite-btn__control {
  color: #e11d48;
}

.toast-stack {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  position: relative;
  padding: 14px 36px 14px 16px;
  border-radius: 14px;
  background: #111827;
  color: #f9fafb;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .28);
  animation: toast-in .2s ease;
}
.toast--warning { background: #7c2d12; }
.toast__text { margin: 0; font-size: .9rem; line-height: 1.4; }
.toast__actions { display: flex; gap: 12px; margin-top: 10px; }
.toast__link { color: #fde68a; font-weight: 600; text-decoration: underline; }
.toast__close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  opacity: .8;
}
.toast.is-leaving { opacity: 0; transform: translateY(8px); transition: .25s ease; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .toast-stack { left: 16px; right: 16px; width: auto; }
  .product-detail__buy-btn:not(.is-in-cart) .product-detail__buy-btn-text--desktop {
    display: none;
  }
  .product-detail__buy-btn:not(.is-in-cart) .product-detail__buy-btn-text--mobile {
    display: inline;
  }
}

.pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 24px; }
.site-footer { margin-top: auto; padding: 40px 0; background: #fff; border-top: 1px solid var(--border); }
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  align-items: start;
  justify-items: start;
}
.site-footer ul { margin: 0; padding-left: 18px; }
.site-footer__contacts {
  min-width: 0;
  display: grid;
  gap: 6px;
  justify-self: start;
  text-align: left;
  width: 100%;
  max-width: 320px;
}
.site-footer__contacts h3 { margin: 0 0 4px; }
.site-footer__phone { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.4; }
.site-footer__phone a { color: inherit; text-decoration: none; }
.site-footer__phone a:hover { color: var(--accent); }
.site-footer__phone-sep {
  color: var(--muted);
  font-weight: 400;
}
.site-footer__hours {
  color: var(--muted);
  font-size: .875rem;
  font-weight: 500;
  line-height: inherit;
}
.site-footer__contacts > p:has(.site-footer__contact-link) { margin: 0; }
.site-footer__contact-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.site-footer__contact-link:hover { color: var(--accent-dark, #b45309); }
.site-footer__social-wrap {
  margin-top: 14px;
  width: 100%;
  text-align: left;
}
.site-footer__social-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-align: left;
}
.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  padding-left: 0;
  list-style: none;
  justify-content: flex-start;
}
.site-footer ul.site-footer__social {
  padding-left: 0;
}
.site-footer__social-link {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .1);
}
.site-footer__social-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 24, 40, .14);
}
.site-footer__social-icon {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 24px;
}
.feedback-modal[hidden] { display: none; }
body.is-modal-open { overflow: hidden; }
.feedback-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(16, 24, 40, .72);
  cursor: pointer;
}
.feedback-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
  padding: 28px 24px 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(16, 24, 40, .24);
}
.feedback-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #101828;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.feedback-modal__title {
  margin: 0 0 8px;
  font-size: 1.375rem;
}
.feedback-modal__lead {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.5;
}

.feedback-form { display: grid; gap: 14px; }
.feedback-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.feedback-form__field { display: grid; gap: 6px; font-size: .875rem; color: var(--muted); }
.feedback-form__field em { color: var(--accent); font-style: normal; }
.feedback-form__field input,
.feedback-form__field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: .875rem;
}
.feedback-form__field textarea { resize: vertical; min-height: 120px; }
.feedback-form__privacy {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: .8125rem;
  color: var(--muted);
  line-height: 1.4;
}
.feedback-form__privacy input { margin-top: 3px; flex-shrink: 0; }
.feedback-form__actions { display: flex; gap: 12px; }
.feedback-form__message { margin: 0; padding: 12px 14px; border-radius: 10px; font-size: .875rem; }
.feedback-form__message.is-success { background: #ecfdf5; color: #047857; }
.feedback-form__message.is-error { background: #fef2f2; color: #b91c1c; }

.smart-captcha-wrap { margin: 12px 0 20px; }
.simple-checkout__footer .smart-captcha-wrap {
  margin: 12px 0 24px;
  width: 100%;
}
.smart-captcha-wrap .smart-captcha,
.smart-captcha-wrap .smart-captcha-slot { min-height: 100px; }
.smart-captcha__error {
  margin: 8px 0 0;
  color: #b91c1c;
  font-size: .8125rem;
}

@media (min-width: 640px) {
  .feedback-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feedback-form__grid .feedback-form__field:first-child { grid-column: 1 / -1; }
}

.product-tabs {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: #f9fafb;
}
.product-tabs__tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.product-tabs__tab:hover { color: #111827; }
.product-tabs__tab.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: #fff;
}
.product-tabs__panels { padding: 20px 18px 24px; min-height: 72px; }
.product-tabs__panel[hidden] { display: none; }
.product-tabs__content,
.page-content {
  color: #344054;
  line-height: 1.6;
  white-space: normal;
}
.product-tabs__content p,
.page-content p { margin: 0 0 12px; }
.product-tabs__content p:last-child,
.page-content p:last-child { margin-bottom: 0; }

.page-content--requisites table {
  width: 100%;
  max-width: 720px;
  margin: 16px 0 0;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.page-content--requisites table th,
.page-content--requisites table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  font-weight: 400;
}
.page-content--requisites table tr:last-child th,
.page-content--requisites table tr:last-child td {
  border-bottom: 0;
}
.page-content--requisites table th {
  width: 42%;
  color: var(--muted);
  background: #f9fafb;
  font-weight: 600;
}
.page-content--requisites table td {
  color: #111827;
  word-break: break-word;
}

@media (max-width: 560px) {
  .page-content--requisites table,
  .page-content--requisites table tbody,
  .page-content--requisites table tr,
  .page-content--requisites table th,
  .page-content--requisites table td {
    display: block;
    width: 100%;
  }
  .page-content--requisites table th {
    padding-bottom: 4px;
    border-bottom: 0;
  }
  .page-content--requisites table td {
    padding-top: 0;
  }
  .page-content--requisites table tr {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
  }
  .page-content--requisites table tr:last-child {
    border-bottom: 0;
  }
}

.product-detail__delivery {
  margin: 20px 0 0;
  padding: 18px 20px 20px;
  background: linear-gradient(180deg, #f8faff 0%, #fff 55%);
  border: 1px dashed #94a3b8;
  border-radius: 16px;
  box-shadow: var(--shadow);
  font-size: .9375rem;
  line-height: 1.35;
}
.product-detail__delivery-head {
  display: grid;
  gap: 6px;
}
.product-detail__delivery-title {
  margin: 0;
  font-size: .9375rem;
  font-weight: 700;
  color: #101828;
}
.product-detail__delivery-quote {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}
.product-detail__delivery-price {
  color: var(--accent);
  font-size: 1.125rem;
  font-weight: 700;
}
.product-detail__delivery-days {
  color: var(--muted);
  font-size: .9375rem;
  font-weight: 400;
}
.product-detail__delivery.is-loading {
  opacity: .85;
  pointer-events: none;
}
.product-detail__delivery-city {
  margin-top: 16px;
  max-width: none;
}
.product-detail__delivery-city .quantity-field__label {
  font-size: .9375rem;
  font-weight: 700;
  color: #101828;
}
.product-detail__delivery-field {
  position: relative;
}
.product-detail__delivery-input {
  width: 100%;
  height: 48px;
  padding: 12px 14px;
  border: 2px solid #94a3b8;
  border-radius: 12px;
  background: #fff;
  color: #101828;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.product-detail__delivery-input::placeholder {
  color: #98a2b3;
  font-weight: 400;
}
.product-detail__delivery-input:hover {
  border-color: #64748b;
  background: #fff;
}
.product-detail__delivery-input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(70, 95, 255, .16);
}
.product-detail__delivery-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 30;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}
.product-detail__delivery-suggestion {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: #111827;
  font: inherit;
  font-size: .9375rem;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}
.product-detail__delivery-suggestion:hover,
.product-detail__delivery-suggestion.is-active {
  background: #f2f4f7;
  color: var(--accent-dark);
}
.product-detail__delivery-hint {
  margin: 0;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.35;
}
.product-detail__delivery-summary {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #cbd5e1;
}
.product-detail__props--delivery-summary {
  margin: 0;
  gap: 10px;
}
.product-detail__props--delivery-summary .product-detail__prop {
  font-size: .9375rem;
}
.product-detail__prop--total dt {
  color: #101828;
  font-weight: 600;
}
.product-detail__prop--total dd {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.125rem;
}
.product-detail__delivery-total-price {
  color: var(--accent);
}
.product-detail__delivery-disclaimer {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fdf2f8;
  border: 1px solid #fbcfe8;
  color: #9d174d;
  font-size: .875rem;
  line-height: 1.45;
}
.page-content h2,
.page-content h3,
.product-tabs__content h2,
.product-tabs__content h3 {
  margin: 0 0 12px;
  line-height: 1.3;
}
.page-content ul,
.page-content ol,
.product-tabs__content ul,
.product-tabs__content ol {
  margin: 0 0 12px 1.25rem;
  padding: 0;
}
.page-content a,
.product-tabs__content a {
  color: var(--accent);
  text-decoration: underline;
}
.page-content blockquote,
.product-tabs__content blockquote {
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--border);
  color: var(--muted);
}
.page-content img,
.page-content .rich-content-image,
.product-tabs__content img,
.product-tabs__content .rich-content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px 0;
  border-radius: 10px;
}
.page-content img[data-align="left"],
.page-content .rich-content-image--left,
.product-tabs__content img[data-align="left"],
.product-tabs__content .rich-content-image--left {
  margin-left: 0;
  margin-right: auto;
}
.page-content img[data-align="center"],
.page-content .rich-content-image--center,
.product-tabs__content img[data-align="center"],
.product-tabs__content .rich-content-image--center {
  margin-left: auto;
  margin-right: auto;
}
.page-content img[data-align="right"],
.page-content .rich-content-image--right,
.product-tabs__content img[data-align="right"],
.product-tabs__content .rich-content-image--right {
  margin-left: auto;
  margin-right: 0;
}

.product-question__title {
  margin: 0 0 8px;
  font-size: 1.25rem;
}
.product-question__lead {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.5;
}
.product-question__form { display: grid; gap: 16px; max-width: 720px; }
.product-question__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.product-question__field { display: grid; gap: 6px; font-size: .875rem; color: var(--muted); }
.product-question__field em { color: var(--accent); font-style: normal; }
.product-question__field input,
.product-question__field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: #111827;
  font: inherit;
}
.product-question__field textarea { resize: vertical; min-height: 120px; }
.product-question__privacy {
  display: flex;
  gap: 10px;
  align-items: start;
  font-size: .875rem;
  color: #344054;
}
.product-question__privacy input { margin-top: 3px; }
.product-question__hint { margin: 0; color: var(--muted); font-size: .8125rem; }
.product-question__actions { display: flex; gap: 12px; }
.product-question__message { margin: 0; padding: 12px 14px; border-radius: 10px; font-size: .875rem; }
.product-question__message.is-success { background: #ecfdf5; color: #047857; }
.product-question__message.is-error { background: #fef2f2; color: #b91c1c; }

@media (max-width: 900px) {
  .product-question__grid { grid-template-columns: 1fr; }
}

.product-carousel {
  position: relative;
  max-width: 100%;
  min-width: 0;
}
.product-carousel__viewport {
  container-type: inline-size;
  container-name: product-carousel;
  overflow: hidden;
  min-width: 0;
  width: 100%;
}
.product-carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 0 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}
.product-carousel__track::-webkit-scrollbar { display: none; }
.product-carousel__slide {
  flex: 0 0 calc((100cqi - 48px) / 4);
  min-width: 0;
  scroll-snap-align: start;
}
.product-carousel__slide .product-card {
  height: 100%;
  width: 100%;
  max-width: none;
}

@media (max-width: 768px) {
  .site-header__inner {
    flex-wrap: nowrap;
    gap: 10px;
    padding: 10px 0;
  }
  .header-burger,
  .header-icon-btn[data-search-toggle],
  .header-actions__auth-mobile { display: inline-flex; }
  .main-nav--desktop,
  .search--desktop,
  .header-actions__auth--desktop,
  .header-contacts:not(.header-contacts--mobile) { display: none; }
  .header-toolbar { margin-left: auto; }
  .logo { font-size: 1rem; gap: 8px; flex-shrink: 0; }
  .logo__text { white-space: nowrap; }
  .header-icon-btn--cart {
    width: 40px;
    min-width: 40px;
    padding: 0;
    border-radius: 10px;
    background: #fff;
    border-color: var(--border);
    color: #111827;
  }
  .header-icon-btn__label { display: none; }
  .header-icon-btn__badge,
  .header-icon-btn--favorites .header-icon-btn__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }
  .header-contacts--mobile {
    display: flex;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f2f4f7;
  }
}

@media (max-width: 900px) {
  .account-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .account-sidebar {
    position: static;
  }
  .account-order__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .account-order-detail__grid {
    grid-template-columns: 1fr;
  }
  .account-order-line {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .account-order-line__price {
    grid-column: 2;
  }
  .account-order-line__lazy,
  .account-order-line__lazy .account-order-line__img {
    width: 56px;
    height: 56px;
  }
  .account-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-detail, .checkout-form__grid, .cart-page__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "items"
      "summary"
      "checkout";
  }
  .cart-summary--checkout {
    position: static;
  }
  .cart-summary__checkout {
    display: none;
  }
  .cart-summary__checkout-link {
    display: block;
  }
  .cart-checkout__submit--mobile {
    display: block;
  }
  .simple-checkout__fields--3,
  .simple-checkout__fields--2 {
    grid-template-columns: 1fr;
  }
  .product-detail__category {
    letter-spacing: 0.028em;
    line-height: 1.05;
    margin-bottom: 0;
  }
  .product-detail__title {
    line-height: 1.05;
    margin: 6px 0;
  }
  .product-detail__gallery--nav-hidden .product-detail__nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-50%) scale(0.92);
  }
  .cart-row {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }
  .cart-row__main {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "meta"
      "aside"
      "remove";
    row-gap: 8px;
  }
  .cart-row__aside {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    width: 100%;
  }
  .cart-row__prices {
    align-items: flex-start;
    text-align: left;
  }
  .cart-row__sum {
    font-size: 1.125rem;
  }
  .cart-row__remove {
    margin: 0;
  }
  .cart-summary { position: static; }
  .product-carousel__slide { flex-basis: calc((100cqi - 16px) / 2); }
  .product-carousel__viewport { overflow: hidden; }
  .product-carousel__track {
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    padding: 4px 0 12px;
    contain: inline-size layout;
  }
  .product-carousel__nav { display: none; }
  .categories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .catalog-category__layout { grid-template-columns: 1fr; }
  .catalog-filters-toggle-bar { display: flex; }
  .catalog-filters-toggle--mobile { display: inline-flex; }
  .catalog-filters-toggle--desktop { display: none; }
  .catalog-filters__close { display: inline-flex; }
  .catalog-filters {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(calc(100vw - 40px), 360px);
    z-index: 110;
    overflow: hidden;
    padding: 12px 12px 24px;
    background: #f9fafb;
    box-shadow: 0 12px 40px rgba(16, 24, 40, .18);
  }
  .catalog-filters.is-open {
    display: flex;
    flex-direction: column;
  }
  .catalog-filters__form {
    min-height: 100%;
    border-radius: 0;
    border: 0;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding-bottom: 0;
  }
  .catalog-filters__body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-bottom: 12px;
  }
  .catalog-filters__head .catalog-filters__reset {
    display: none;
  }
  .catalog-filters__footer--mobile {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-top: auto;
    padding: 12px 0 0;
    border-top: 1px solid var(--border);
    background: #f9fafb;
    position: sticky;
    bottom: 0;
  }
  .catalog-filters__apply {
    flex: 1;
  }
  .catalog-filters__list {
    max-height: none;
  }
  .catalog-toolbar__controls {
    display: none;
  }
  .catalog-toolbar {
    gap: 10px;
  }
  .catalog-toolbar__meta {
    flex: 1;
    min-width: 0;
  }
  .catalog-collection-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 10px 10px;
  }
  .catalog-collection-bar__label {
    margin: 0;
    width: 100%;
    text-align: center;
    font-size: .75rem;
  }
  .catalog-collection-bar__links {
    flex: unset;
    justify-content: center;
    gap: 6px;
  }

  .breadcrumbs--desktop { display: none; }
  .breadcrumb-back-link { display: inline-flex; }

  .product-tabs__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    border-bottom: 1px solid var(--border);
    background: #f9fafb;
  }
  .product-tabs__tab {
    margin-bottom: 0;
    padding: 11px 10px;
    font-size: .8125rem;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
  }
  .product-tabs__tab.is-active {
    color: var(--accent);
    border-color: var(--accent);
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--accent);
  }
}

@media (max-width: 560px) {
  .product-carousel__slide { flex-basis: 85cqi; }
  .home-showcase .products-grid > .product-card { flex-basis: 85cqi; }
  .home-news .news-grid--home > .news-card { flex-basis: 85cqi; }
  .categories-grid { gap: 12px; }
  .category-card { padding: 12px; gap: 10px; }
  .category-card__lazy { border-radius: 12px; }
  .category-card h3,
  .category-card__title { font-size: 1rem; }
}
