:root {
  --dd-red: #b22222;
  --dd-logo-red: #b02a2a;
  --dd-black: #2b2b2a;
  --dd-text: #232629;
  --dd-border: #d3cdcd;
  --dd-header-bg: #f8f8f8;
  --dd-light-bg: #f4f4f3;
  --dd-muted: #6b7280;
  --page: #ffffff;
  --soft: var(--dd-light-bg);
  --panel: #ffffff;
  --text: var(--dd-text);
  --muted: var(--dd-muted);
  --line: var(--dd-border);
  --line-strong: var(--dd-border);
  --accent: var(--dd-red);
  --accent-dark: #941a1a;
  --dark: var(--dd-black);
  --cart: var(--dd-black);
  --ok: #56b96e;
  --font: "Inter", Arial, Helvetica, sans-serif;
  --desktop-content: 1784px;
  --card-width: 328px;
  --card-height: 452px;
  --grid-gap: 36px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  background: var(--page);
  color: var(--text);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.45;
}

body {
  overflow-x: hidden;
  min-width: 320px;
  margin: 0;
  background: var(--page);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

main,
.site-topbar-inner,
.header-inner,
.footer-inner {
  width: min(var(--desktop-content), calc(100% - 136px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid #dde1e6;
  background: var(--dd-header-bg);
}

.site-topbar {
  border-bottom: 1px solid #eceff2;
  background: #fff;
}

.site-topbar-inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-topbar-left,
.site-topbar-right {
  display: flex;
  min-width: 0;
  align-items: center;
}

.site-topbar-right {
  flex: 1 1 auto;
  justify-content: flex-end;
}

.site-topbar-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #3b3f45;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.site-topbar-links a {
  color: inherit;
  font-weight: 500;
  transition: color 160ms ease;
}

.site-topbar-links a:hover {
  color: var(--accent);
}

.site-topbar-links a:focus {
  outline: none;
}

.site-topbar-links a:focus-visible {
  border-radius: 6px;
  outline: 2px solid rgba(178, 34, 34, 0.28);
  outline-offset: 3px;
}

.site-topbar-phone {
  color: var(--dark);
  font-weight: 650;
}

.header-inner {
  display: grid;
  min-height: 106px;
  grid-template-columns: 190px minmax(360px, 935px) minmax(500px, 1fr);
  align-items: center;
  gap: 34px;
}

.logo {
  display: block;
  width: 190px;
  height: 64px;
  flex: 0 0 auto;
  text-decoration: none;
}

.logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-search {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 935px;
}

.site-search input,
.catalog-toolbar input,
.promo-row input,
.checkout-block input,
.checkout-block select,
.checkout-block textarea,
.partner-form input,
.partner-form select,
.partner-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: #fff;
  color: var(--text);
  padding: 0 16px;
}

.site-search input {
  min-height: 58px;
  border-color: #9ca3af;
  border-radius: 34px;
  background: #fff;
  padding: 0 74px 0 26px;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 15px;
}

.search-placeholder-dynamic {
  position: absolute;
  top: 50%;
  left: 26px;
  max-width: calc(100% - 92px);
  overflow: hidden;
  color: #6b7280;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1;
  opacity: 1;
  pointer-events: none;
  text-overflow: ellipsis;
  transform: translateY(-50%);
  transition: opacity 220ms ease, transform 220ms ease;
  white-space: nowrap;
}

.site-search.has-search-value .search-placeholder-dynamic {
  opacity: 0;
  transform: translateY(-50%) translateY(4px);
}

.search-placeholder-dynamic.is-placeholder-changing {
  opacity: 0;
  transform: translateY(-50%) translateY(-4px);
}

.checkout-block textarea,
.partner-form textarea {
  min-height: 112px;
  padding: 14px 16px;
  resize: vertical;
}

.site-search-button {
  position: absolute;
  top: 0;
  right: 0;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: transparent;
}

.site-search-button::before {
  position: absolute;
  top: 18px;
  left: 17px;
  width: 17px;
  height: 17px;
  content: "";
  border: 2px solid #a7afb8;
  border-radius: 50%;
}

.site-search-button::after {
  position: absolute;
  top: 36px;
  left: 34px;
  width: 11px;
  height: 2px;
  content: "";
  background: #a7afb8;
  transform: rotate(45deg);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.site-city {
  position: relative;
  flex: 0 0 auto;
}

.site-city-button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--dark);
  padding: 0 7px;
  box-shadow: none;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  outline: none;
  white-space: nowrap;
}

.site-city-pin {
  display: inline-flex;
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.site-city-pin svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.site-city-caret {
  color: #4b5563;
  font-size: 9px;
  line-height: 1;
  transform: translateY(1px);
}

.site-city-button:hover,
.site-city.is-open .site-city-button {
  border-color: transparent;
  background: #f4f5f6;
  color: var(--accent-dark);
}

.site-city-button:focus {
  outline: none;
}

.site-city-button:focus-visible {
  outline: 2px solid rgba(178, 34, 34, 0.28);
  outline-offset: 2px;
}

.site-city-popover {
  position: fixed;
  z-index: 1000;
  top: var(--site-city-panel-top, 116px);
  left: 50%;
  width: min(1320px, calc(100vw - 64px));
  max-height: min(620px, calc(100dvh - var(--site-city-panel-top, 116px) - 24px));
  box-sizing: border-box;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #ded8d8;
  border-radius: 0 0 12px 12px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(35, 38, 41, 0.14);
  padding: 28px 30px 30px;
  transform: translateX(-50%);
}

.site-city-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid #e4dfdf;
  border-radius: 50%;
  background: #fff;
}

.site-city-close::before,
.site-city-close::after {
  position: absolute;
  top: 18px;
  left: 10px;
  width: 16px;
  height: 2px;
  content: "";
  background: #4b5563;
}

.site-city-close::before {
  transform: rotate(45deg);
}

.site-city-close::after {
  transform: rotate(-45deg);
}

.site-city-title {
  margin: 0;
  color: var(--dark);
  font-size: 24px;
  font-weight: 850;
  line-height: 1.2;
}

.site-city-text {
  margin: 8px 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.site-city-search {
  position: relative;
  margin-bottom: 22px;
}

.site-city-search-input {
  width: 100%;
  min-height: 56px;
  border: 1px solid #c9cdd3;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  padding: 0 22px 0 50px;
  font-size: 16px;
}

.site-city-search-input:focus {
  outline: none;
}

.site-city-search-input:focus-visible {
  border-color: rgba(178, 34, 34, 0.55);
  box-shadow: 0 0 0 3px rgba(178, 34, 34, 0.08);
}

.site-city-search-input::placeholder {
  color: #a2a8b0;
}

.site-city-search-icon {
  position: absolute;
  top: 50%;
  left: 22px;
  width: 16px;
  height: 16px;
  border: 2px solid #6b7280;
  border-radius: 50%;
  transform: translateY(-50%);
}

.site-city-search-icon::after {
  position: absolute;
  right: -7px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  content: "";
  background: #6b7280;
  transform: rotate(45deg);
}

.site-city-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px 24px;
}

.site-city-option {
  display: grid;
  min-width: 0;
  min-height: 48px;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 0;
  background: #fff;
  color: var(--dark);
  padding: 4px 0;
  text-align: left;
}

.site-city-option strong {
  display: block;
  color: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.site-city-option small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.site-city-radio {
  position: relative;
  width: 22px;
  height: 22px;
  border: 2px solid #c2c6cc;
  border-radius: 50%;
  background: #fff;
}

.site-city-option:hover {
  color: var(--accent-dark);
}

.site-city-option:hover .site-city-radio {
  border-color: rgba(178, 34, 34, 0.6);
}

.site-city-option.is-selected {
  color: var(--accent-dark);
}

.site-city-option.is-selected strong {
  font-weight: 900;
}

.site-city-option.is-selected .site-city-radio {
  border-color: var(--accent);
}

.site-city-option.is-selected .site-city-radio::after {
  position: absolute;
  inset: 4px;
  content: "";
  border-radius: 50%;
  background: var(--accent);
}

.site-city-empty {
  margin: 18px 0 0;
  border: 1px solid rgba(178, 34, 34, 0.22);
  border-radius: 8px;
  background: #fffafa;
  color: #4b5563;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.45;
}

.site-city-selected-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  border-top: 1px solid #ece8e8;
  color: var(--muted);
  padding-top: 16px;
  font-size: 13px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 0 24px;
  font-weight: 700;
  text-transform: none;
}

.button.cta {
  min-width: 200px;
  background: var(--accent);
  color: #fff;
}

.header-actions > .button.cta {
  width: 254px;
  min-width: 254px;
  min-height: 56px;
  border: 1px solid rgba(143, 26, 26, 0.25);
  border-radius: 41px;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.catalog-mega-toggle {
  display: inline-flex;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 12px;
  border: 1px solid var(--dd-border);
  border-radius: 999px;
  background: #fff;
  color: var(--dd-black);
  padding: 0 26px;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.catalog-mega-toggle:hover {
  border-color: #bdb7b7;
  background: #f8f8f8;
  color: var(--dd-black);
}

.catalog-mega-toggle.is-active {
  border-color: var(--dd-red);
  background: #fff;
  color: var(--dd-black);
}

.catalog-mega-burger {
  position: relative;
  display: block;
  width: 22px;
  height: 16px;
  color: currentColor;
}

.catalog-mega-burger::before,
.catalog-mega-burger::after,
.catalog-mega-burger span {
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: currentColor;
}

.catalog-mega-burger::before {
  top: 0;
}

.catalog-mega-burger span {
  top: 7px;
}

.catalog-mega-burger::after {
  top: 14px;
}

.catalog-mega-toggle.is-active .catalog-mega-burger {
  color: var(--dd-red);
}

.catalog-mega {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 60;
  border-top: 1px solid var(--dd-border);
  border-bottom: 1px solid var(--dd-border);
  background: #fff;
  box-shadow: 0 18px 48px rgba(43, 43, 42, 0.12);
}

.site-header {
  position: relative;
}

.catalog-mega[hidden] {
  display: none;
}

.catalog-mega-inner {
  display: grid;
  width: min(var(--desktop-content), calc(100% - 136px));
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  margin: 0 auto;
  padding: 28px 0 34px;
}

.catalog-mega-categories {
  display: grid;
  gap: 6px;
  border-right: 1px solid var(--dd-border);
  padding-right: 20px;
}

.catalog-mega-category {
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #4f555c;
  padding: 12px 14px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
}

.catalog-mega-category.is-active,
.catalog-mega-category:hover {
  background: var(--dd-light-bg);
  color: var(--dd-red);
}

.catalog-mega-content {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 24px 32px;
}

.catalog-mega-column {
  display: grid;
  align-content: start;
  gap: 9px;
}

.catalog-mega-column h3 {
  margin: 0 0 4px;
  color: var(--dd-black);
  font-size: 14px;
  font-weight: 700;
}

.catalog-mega-column a {
  color: #5b626a;
  font-size: 14px;
  line-height: 1.25;
}

.catalog-mega-column a:hover {
  color: var(--dd-red);
}

.button.cta:hover {
  background: var(--accent-dark);
}

.button.dark {
  background: #050505;
  color: #fff;
}

.button.outline {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--text);
}

.pagination-line .button.outline {
  width: 160px;
  min-height: 41px;
  border-radius: 34px;
  background: #f8f8f8;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.pagination-line .button.outline:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.button.full {
  width: 100%;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
  text-decoration: underline;
}

.header-action {
  position: relative;
  display: grid;
  width: 58px;
  min-width: 58px;
  min-height: 50px;
  align-content: center;
  justify-items: center;
  gap: 4px;
  border-radius: 12px;
  color: #75777b;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.header-action:hover,
.header-action.is-active {
  color: var(--accent);
}

.header-action:hover {
  background: #f6f4f4;
}

.header-action:focus {
  outline: none;
}

.header-action:focus-visible {
  outline: 2px solid rgba(178, 34, 34, 0.28);
  outline-offset: 3px;
}

.header-action-icon {
  display: flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
}

.header-action-icon svg {
  display: block;
  width: 26px;
  height: 26px;
  color: currentColor;
  fill: currentColor;
}

.header-action-label {
  color: currentColor;
  white-space: nowrap;
}

.header-action-badge {
  position: absolute;
  top: -4px;
  right: 7px;
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 0 4px;
}

.header-action-badge[hidden] {
  display: none;
}

.page-shell {
  padding: 34px 0 72px;
}

.hero-slider {
  position: relative;
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  aspect-ratio: 2048 / 744;
  overflow: hidden;
  background: #f4f4f3;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-dots {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: #d7d7d7;
  padding: 0;
}

.hero-dot.is-active {
  background: var(--accent);
}

.category-nav {
  width: 100vw;
  height: 72px;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  border-bottom: 1px solid #d3cdcd;
  background: #fff;
}

.category-nav-list {
  display: flex;
  width: min(var(--desktop-content), calc(100% - 136px));
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  overflow-x: auto;
  margin: 0 auto;
  padding: 0;
  scrollbar-width: none;
}

.category-nav-list::-webkit-scrollbar {
  display: none;
}

.category-nav-link {
  color: #2b2b2a;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  white-space: nowrap;
}

.category-nav-link:hover {
  color: #2b2b2a;
}

body[data-page="partners"] .category-nav-list {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  column-gap: 34px;
  justify-content: stretch;
  overflow: hidden;
}

body[data-page="partners"] .catalog-mega-toggle {
  justify-self: start;
}

.partners-sites-nav {
  display: flex;
  min-width: 0;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 3vw, 72px);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.partners-sites-nav::-webkit-scrollbar {
  display: none;
}

.category-menu {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  margin-right: calc((100vw - 100%) / -2);
  margin-left: calc((100vw - 100%) / -2);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.category-menu a {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  padding: 0 16px;
  text-align: center;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.category-menu a:hover {
  color: var(--accent);
}

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

.section-head h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.section-head a {
  color: var(--accent);
  font-weight: 700;
}

.compact-head {
  margin-top: 34px;
}

.catalog-showcase {
  padding: 54px 0 0;
}

.product-grid {
  display: grid;
  gap: var(--grid-gap);
  justify-content: center;
}

.home-grid,
.product-grid.compact {
  width: min(var(--desktop-content), calc(100vw - 136px));
  max-width: var(--desktop-content);
  grid-template-columns: repeat(5, var(--card-width));
  margin-right: auto;
  margin-left: auto;
}

.catalog-grid {
  width: 100%;
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, var(--card-width));
  justify-content: start;
}

.catalog-grid .product-card {
  z-index: 1;
}

.product-card {
  display: flex;
  min-width: 0;
  width: var(--card-width);
  height: var(--card-height);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(211, 205, 205, 0.8);
  border-radius: 20px;
  background: #fff;
  position: relative;
}

.product-card-favorite {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #9d9d9d;
  padding: 0;
}

.product-card-favorite:hover,
.product-card-favorite.is-active {
  color: var(--accent);
}

.product-card-favorite-icon {
  display: block;
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.product-image {
  position: relative;
  display: flex;
  flex: 0 0 230px;
  aspect-ratio: 304 / 230;
  height: 230px;
  min-height: 230px;
  align-items: center;
  justify-content: center;
  contain: layout paint;
  overflow: hidden;
  background: #fff;
  padding: 30px 30px 0;
}

.product-card-photo {
  display: block;
  flex: 0 0 auto;
  width: 268px;
  max-width: 100%;
  height: 200px;
  min-height: 200px;
  aspect-ratio: 268 / 200;
  object-fit: contain;
}

.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  color: #a0a6ac;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.product-card-image-placeholder {
  width: 268px;
  max-width: 100%;
  height: 200px;
  min-height: 200px;
  aspect-ratio: 268 / 200;
  padding: 18px;
}

.product-card-body {
  display: grid;
  flex: 1;
  grid-template-rows: auto auto 1fr auto;
  gap: 8px;
  padding: 16px 30px 25px;
}

.product-card h3 {
  margin: 0;
  color: #2b2b2a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
}

.product-meta {
  color: rgba(43, 43, 42, 0.5);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9ca1a7;
  font-size: 12px;
  font-weight: 500;
}

.rating::before {
  color: #ffd45c;
  content: "★";
  font-size: 16px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-price {
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
}

.product-card-cart {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: #2b2b2a;
  color: #fff;
  cursor: pointer;
}

.product-card-cart-icon {
  display: block;
  width: 24px;
  height: 24px;
  color: #fff;
  fill: currentColor;
}

.product-card-cart::before,
.product-card-cart::after {
  content: none;
}

.product-card-cart.in-cart {
  background: var(--accent);
}

.pagination-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 40px;
  margin: 45px 0 70px;
}

.pagination-line[hidden] {
  display: none;
}

.home-products-controls {
  display: flex;
}

.home-products-controls[hidden] {
  display: none;
}

.pager {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  color: #8d9399;
  font-size: 13px;
}

.home-products-pagination {
  display: inline-flex;
}

.pagination-pages {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
}

.pager-button {
  border: 0;
  background: transparent;
  color: #8d9399;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.pager-button.is-active,
.pager strong {
  color: var(--text);
  font-weight: 700;
}

.pager-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.home-empty-state {
  grid-column: 1 / -1;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}

.home-empty-state p {
  margin: 0;
  color: var(--muted);
}

.breadcrumbs {
  position: relative;
  z-index: 12;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
  color: #7c838a;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.3;
}

.breadcrumbs a,
.breadcrumb-link,
.breadcrumb-trigger {
  color: #59616a;
  text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumb-link:hover,
.breadcrumb-trigger:hover {
  color: #2b2b2a;
}

.breadcrumb-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.breadcrumb-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.breadcrumb-trigger[aria-expanded="true"] {
  color: #2b2b2a;
}

.breadcrumb-caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.breadcrumb-current {
  color: #9aa0a6;
}

.breadcrumb-separator {
  color: #b8bdc2;
}

.breadcrumb-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 30;
  display: grid;
  min-width: 210px;
  max-width: min(280px, calc(100vw - 32px));
  gap: 4px;
  border: 1px solid rgba(211, 205, 205, 0.72);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(43, 43, 42, 0.12);
  padding: 12px;
}

.breadcrumb-dropdown[hidden] {
  display: none;
}

.breadcrumb-dropdown a {
  display: block;
  border-radius: 8px;
  color: #4f555c;
  padding: 8px 10px;
  white-space: nowrap;
}

.breadcrumb-dropdown a:hover,
.breadcrumb-dropdown a.is-current {
  background: #f4f4f3;
  color: #2b2b2a;
}

.catalog-sidebar-toggle {
  position: relative;
  z-index: 2;
  margin-bottom: 22px;
  min-height: 48px;
  border-color: #e3dddd;
  border-radius: 999px;
  background: #fff;
  color: #2b2b2a;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
}

.catalog-sidebar-toggle:hover,
.catalog-sidebar-toggle:focus {
  border-color: #b22222;
  color: #b22222;
  outline: none;
}

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

.catalog-layout.is-sidebar-hidden {
  grid-template-columns: minmax(0, 1fr);
}

.catalog-layout.is-sidebar-hidden .filter-panel {
  display: none;
}

.catalog-layout.is-sidebar-hidden .catalog-content {
  grid-column: 1;
}

.catalog-layout.is-sidebar-hidden .catalog-grid {
  grid-template-columns: repeat(auto-fit, var(--card-width));
  justify-content: center;
}

.catalog-layout.is-category-menu-hidden {
  grid-template-columns: 260px minmax(0, 1fr);
}

.catalog-layout.is-category-menu-hidden .catalog-category-menu {
  display: none;
}

.filter-panel {
  grid-column: 1;
  position: relative;
  z-index: 3;
  background: #fff;
  border: 1px solid #e3dddd;
  border-radius: 22px;
  box-shadow: none;
  color: #2b2b2a;
  overflow: hidden;
}

.catalog-content {
  grid-column: 2;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.filter-panel .button.full {
  position: relative;
  z-index: 4;
}

.catalog-category-menu {
  margin: 0;
  border: 0;
  border-bottom: 1px solid #eee8e8;
  background: #fff;
  padding: 0 0 18px;
}

.catalog-category-menu:not(.is-open) {
  padding-bottom: 0;
}

.filter-section-toggle {
  display: flex;
  min-height: 56px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  margin: 0;
  background: #fff;
  color: #2b2b2a;
  padding: 16px 22px;
  text-align: left;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: none;
}

.catalog-category-heading {
  display: flex;
  min-height: 56px;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  border: 0;
  margin: 0;
  background: #fff;
  color: #2b2b2a;
  padding: 16px 22px 10px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
}

.filter-chevron {
  display: block;
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid #7b7b7b;
  border-bottom: 2px solid #7b7b7b;
  transform: rotate(45deg);
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.filter-section-toggle[aria-expanded="true"] .filter-chevron {
  border-color: #b22222;
  transform: rotate(225deg);
}

.filter-section-toggle:hover,
.filter-section-toggle:focus {
  color: #b22222;
  outline: none;
}

.filter-section-toggle:hover .filter-chevron,
.filter-section-toggle:focus .filter-chevron {
  border-color: #b22222;
}

.catalog-category-list {
  display: grid;
  gap: 12px;
  padding: 0 22px;
}

.catalog-category-list[hidden] {
  display: none;
}

.catalog-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.catalog-category-link {
  display: flex;
  min-width: 0;
  align-items: center;
  flex: 1 1 auto;
  gap: 12px;
  color: #4f5965;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.catalog-category-node.is-active .catalog-category-link {
  color: #b22222;
  font-weight: 800;
}

.catalog-category-mark {
  display: inline-flex;
  width: 24px;
  min-width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #8e949a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.catalog-category-mark:hover,
.catalog-category-mark:focus,
.catalog-category-node.is-open .catalog-category-mark,
.catalog-category-node.is-active .catalog-category-mark {
  color: #b22222;
  outline: none;
}

.catalog-subcategory-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  border: 0;
  background: #fff;
  padding: 0 0 0 24px;
}

.catalog-subcategory-list[hidden] {
  display: none;
}

.catalog-subcategory-link {
  border-radius: 0;
  color: #4f5965;
  padding: 0;
  font-size: 14px;
  line-height: 1.35;
}

.catalog-subcategory-link:hover,
.catalog-subcategory-link.is-active {
  background: transparent;
  color: #b22222;
}

.filter-divider {
  display: none;
}

.filter-title-row {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e3dddd;
  padding: 20px 22px;
}

.filter-title-row h2 {
  margin: 0;
  color: #2b2b2a;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: none;
}

.filter-title-row .text-button {
  color: #b22222;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration-color: rgba(178, 34, 34, 0.55);
  text-underline-offset: 3px;
}

.filter-title-row .text-button:hover {
  color: #8f1b1b;
  text-decoration-color: currentColor;
}

.filter-group {
  border-top: 0;
  border-bottom: 1px solid #eee8e8;
  padding: 0;
  background: #fff;
}

.filter-group [data-filter-section-body][hidden] {
  display: none;
}

.check-list {
  display: grid;
  gap: 11px;
  padding: 0 22px 18px;
}

.check-list label {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: #4f5965;
  font-size: 14px;
  line-height: 1.35;
}

.check-list input {
  position: relative;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  appearance: none;
  border: 1px solid #cfcaca;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.check-list input:checked {
  border-color: #b22222;
  background: #b22222;
}

.check-list input:checked::after {
  position: absolute;
  top: 1px;
  left: 4px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.check-list label:hover {
  color: #b22222;
}

.price-filter {
  padding: 0 22px 18px;
}

.price-filter-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.price-filter-field {
  display: flex;
  min-width: 0;
  height: 44px;
  align-items: center;
  gap: 8px;
  border: 1px solid #e3dddd;
  border-radius: 12px;
  background: #fff;
  color: #8a8a8a;
  padding: 0 12px;
  font-size: 14px;
  line-height: 1;
}

.price-bound-input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #2b2b2a;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  outline: none;
}

.price-filter-field:focus-within {
  border-color: #b22222;
}

.price-range-slider {
  position: relative;
  height: 34px;
  margin-top: 14px;
  cursor: pointer;
  touch-action: none;
  user-select: none;
}

.price-range-track {
  position: absolute;
  top: 16px;
  right: 0;
  left: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    #eee8e8 0%,
    #eee8e8 var(--price-start),
    #b22222 var(--price-start),
    #b22222 var(--price-end),
    #eee8e8 var(--price-end),
    #eee8e8 100%
  );
  pointer-events: none;
}

.price-range-input {
  position: absolute;
  top: 6px;
  left: 0;
  width: 100%;
  height: 24px;
  margin: 0;
  appearance: none;
  background: transparent;
  pointer-events: none;
}

.price-range-input-min {
  z-index: 2;
}

.price-range-input-max {
  z-index: 3;
}

.price-filter[data-price-active-side="min"] .price-range-input-min {
  z-index: 5;
}

.price-filter[data-price-active-side="max"] .price-range-input-max {
  z-index: 5;
}

.catalog-range-filter[data-range-active-side="min"] .price-range-input-min {
  z-index: 5;
}

.catalog-range-filter[data-range-active-side="max"] .price-range-input-max {
  z-index: 5;
}

.price-range-input::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
  pointer-events: none;
}

.price-range-input::-moz-range-track {
  height: 4px;
  background: transparent;
  pointer-events: none;
}

.price-range-input::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  appearance: none;
  border: 2px solid #b22222;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-7px);
}

.price-range-input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 2px solid #b22222;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  pointer-events: auto;
}

.price-range-input:focus {
  outline: none;
}

.price-range-input:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(178, 34, 34, 0.14);
}

.price-range-input:focus::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgba(178, 34, 34, 0.14);
}

.price-filter.is-price-static .price-range-slider {
  cursor: default;
}

.catalog-range-filter.is-range-static .price-range-slider {
  cursor: default;
}

.price-filter.is-price-static .price-range-input::-webkit-slider-thumb {
  border-color: #c8c0c0;
  cursor: default;
}

.catalog-range-filter.is-range-static .price-range-input::-webkit-slider-thumb {
  border-color: #c8c0c0;
  cursor: default;
}

.price-filter.is-price-static .price-range-input::-moz-range-thumb {
  border-color: #c8c0c0;
  cursor: default;
}

.catalog-range-filter.is-range-static .price-range-input::-moz-range-thumb {
  border-color: #c8c0c0;
  cursor: default;
}

.price-range-captions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #8a8a8a;
  font-size: 13px;
  line-height: 1.3;
}

.filter-show-button,
.filter-panel #showProducts {
  width: calc(100% - 44px);
  min-height: 50px;
  margin: 18px 22px 12px;
  border: 0;
  border-radius: 12px;
  background: #b22222;
  color: #fff;
  padding: 0 18px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  box-shadow: none;
}

.filter-show-button:hover,
.filter-panel #showProducts:hover {
  background: #8f1b1b;
}

.filter-result-count {
  margin: 0;
  color: #9a9a9a;
  padding: 0 22px 18px;
  font-size: 14px;
  line-height: 1.3;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.catalog-toolbar h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
}

.catalog-toolbar p {
  margin: 0;
  color: var(--muted);
}

.toolbar-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.catalog-toolbar select {
  min-width: 210px;
  height: 48px;
  border: 1px solid #e3dddd;
  border-radius: 14px;
  background: #fff;
  color: #2b2b2a;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: none;
  cursor: pointer;
}

.catalog-toolbar select:hover,
.catalog-toolbar select:focus {
  border-color: #b22222;
  outline: none;
}

.catalog-pagination {
  margin-top: 32px;
}

.empty-state {
  border: 1px solid var(--line);
  padding: 48px;
  text-align: center;
}

.catalog-content .empty-state {
  background: #fff;
  border: 1px solid #e3dddd;
  border-radius: 22px;
  box-shadow: none;
  color: #2b2b2a;
}

.catalog-content .empty-state h2 {
  margin: 0 0 10px;
  color: #2b2b2a;
}

.catalog-content .empty-state p {
  margin: 0 0 22px;
  color: #6f6866;
}

.product-page {
  padding-bottom: 40px;
  color: #2b2b2a;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 128px minmax(330px, 1.25fr) minmax(220px, 1fr) minmax(300px, 340px);
  grid-template-areas:
    "thumbs image info buy"
    "thumbs image key buy";
  gap: clamp(20px, 1.6vw, 28px);
  align-items: start;
}

.product-thumbs {
  grid-area: thumbs;
  display: grid;
  align-content: start;
  align-self: start;
  gap: 14px;
}

.gallery-thumb {
  display: flex;
  width: 128px;
  min-height: 132px;
  aspect-ratio: 1 / 1.08;
  align-items: center;
  justify-content: center;
  border: 1px solid #e8e8e6;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}

.gallery-thumb.is-active {
  border-color: #b22222;
}

.gallery-thumb-photo {
  width: 100%;
  height: 124px;
  object-fit: contain;
}

.gallery-thumb-placeholder {
  width: 100%;
  min-height: 124px;
  padding: 12px;
}

.product-main-image {
  display: flex;
  grid-area: image;
  min-height: 610px;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.product-main-photo {
  width: 100%;
  max-width: 650px;
  height: 610px;
  object-fit: contain;
}

.product-main-image-placeholder {
  width: min(100%, 650px);
  min-height: 610px;
  padding: 24px;
}

.product-info {
  grid-area: info;
  min-width: 0;
  padding-top: 10px;
}

.product-action-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.product-title-row {
  margin-bottom: 14px;
}

.product-info h1 {
  min-width: 0;
  margin: 0;
  color: #2b2b2a;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.12;
}

.favorite-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #fff;
  color: #5f6670;
  padding: 7px 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.favorite-toggle:hover,
.favorite-toggle.is-active {
  color: var(--accent);
}

.product-info-favorite {
  flex: 0 0 auto;
  color: #5f6670;
  font-size: 16px;
  line-height: 1.2;
}

.favorite-toggle-icon {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.product-brand-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 22px;
  color: #2b2b2a;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.product-brand-line a {
  color: #2b2b2a;
  text-decoration: none;
}

.product-brand-line a:hover {
  color: #b22222;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-meta-separator {
  color: #c4c4c0;
  font-weight: 500;
}

.product-article-line,
.product-rating-line {
  display: flex;
  min-height: 28px;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #5f6670;
  font-size: 14px;
  line-height: 1.35;
}

.product-article-line {
  margin-bottom: 10px;
}

.product-article-line strong {
  color: #2b2b2a;
  font-weight: 700;
}

.product-rating-line {
  margin-bottom: 0;
}

.product-key-panel {
  grid-area: key;
  min-width: 0;
}

.key-characteristics-card {
  margin-top: 28px;
  border-top: 1px solid #e8e8e6;
  padding-top: 22px;
}

.key-characteristics-card h2,
.documents-panel h2,
.product-characteristics-section h2,
.product-description-panel h2 {
  margin: 0;
  color: #2b2b2a;
  font-weight: 800;
  line-height: 1.2;
}

.key-characteristics-card h2 {
  margin-bottom: 14px;
  font-size: 18px;
}

.characteristic-list {
  display: grid;
  margin: 0;
}

.characteristic-list-row {
  display: grid;
  min-height: 46px;
  grid-template-columns: minmax(0, 1fr) minmax(112px, auto);
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #e8e8e6;
  padding: 10px 0;
}

.characteristic-list-row dt {
  min-width: 0;
  color: #5f6670;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.characteristic-list-row dd {
  min-width: 0;
  margin: 0;
  color: #2b2b2a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-align: right;
}

.characteristic-value-link {
  color: #2b2b2a;
  font-weight: 700;
  text-decoration: none;
}

.characteristic-value-link:hover {
  color: #b22222;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.characteristics-anchor-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  border: 0;
  background: transparent;
  color: #2b2b2a;
  padding: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.characteristics-anchor-link::after {
  content: "↓";
  color: #5f6670;
  font-size: 15px;
}

.copy-article-button {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  padding: 0;
}

.copy-article-button::before,
.copy-article-button::after {
  position: absolute;
  width: 10px;
  height: 12px;
  content: "";
  border: 2px solid #9ca1a7;
  border-radius: 2px;
}

.copy-article-button::before {
  top: 5px;
  left: 5px;
  background: #fff;
}

.copy-article-button::after {
  top: 2px;
  left: 9px;
  background: #fff;
}

.copy-article-status {
  color: #67c15e;
  font-size: 12px;
  font-weight: 500;
}

.product-rating-value {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.rating-star,
.rating-picker button {
  color: #ffd45c;
}

.rate-product-link {
  border: 0;
  background: transparent;
  color: #5f6670;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rating-picker {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 4px;
}

.rating-picker[hidden] {
  display: none;
}

.rating-picker button {
  border: 0;
  background: transparent;
  padding: 0 1px;
  font-size: 16px;
  line-height: 1;
}

.rating-picker button.is-selected {
  transform: translateY(-1px);
}

.characteristics-expand {
  display: inline-flex;
  min-width: 214px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 22px;
  border: 1px solid #e4dec3;
  border-radius: 999px;
  background: #fffdf7;
  color: #2b2b2a;
  padding: 0 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
}

.characteristics-expand:hover {
  border-color: #d6cfaa;
  background: #fffaf0;
}

.characteristics-expand-icon {
  display: inline-flex;
  min-width: 12px;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
}

.price-panel {
  border: 1px solid #e5e0d8;
  border-radius: 8px;
  background: #fff;
  padding: 30px;
  text-align: center;
}

.product-buy-column {
  grid-area: buy;
  min-width: 0;
}

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

.price-panel .price-main {
  text-align: left;
  color: #2b2b2a;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.product-quantity {
  display: grid;
  width: 126px;
  height: 42px;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #e5e0d8;
  border-radius: 8px;
  background: #fff;
}

.product-quantity button,
.product-quantity-value {
  display: inline-flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #2b2b2a;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.product-quantity button {
  color: #8f8f8f;
  cursor: pointer;
}

.product-quantity button:hover {
  color: #2b2b2a;
}

.qty-row {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  width: 96px;
  margin: 0;
  border: 1px solid var(--line);
}

.qty-row button,
.qty-row span {
  display: flex;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: #fff;
}

.product-buy-button {
  display: inline-flex;
  width: 100%;
  height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  background: #b22222;
  color: #fff;
  padding: 0 16px;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.product-buy-button:hover {
  background: #941a1a;
}

.product-buy-button.in-cart {
  background: var(--accent);
}

.button-cart-svg {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #fff;
  fill: currentColor;
}

.availability {
  margin: 18px 0 20px;
  color: #20a64a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.product-qr-block {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  margin: 18px auto 12px;
  text-align: center;
}

.qr-canvas {
  display: block;
  width: 142px;
  height: 142px;
  border: 0;
  background: #fff;
  image-rendering: pixelated;
  opacity: 0.9;
}

.copy-link {
  display: inline-flex;
  margin-top: 14px;
  border: 0;
  background: transparent;
  color: #5f6670;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.qr-status {
  min-height: 18px;
  width: 100%;
  margin: 8px 0 0;
  color: #5f6670;
  font-size: 12px;
  font-weight: 500;
}

.qr-download {
  display: block;
  margin-top: 6px;
  color: var(--accent);
  font-size: 12px;
  text-decoration: underline;
}

.qr-download[hidden] {
  display: none;
}

.documents-panel {
  margin-top: 20px;
  border: 1px solid #e5e0d8;
  border-radius: 8px;
  background: #fff;
  padding: 22px;
}

.documents-panel h2 {
  margin-bottom: 16px;
  font-size: 18px;
}

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

.document-row {
  display: grid;
  width: 100%;
  min-height: 60px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 14px;
  border: 1px solid #d8d8d4;
  border-radius: 999px;
  background: #fff;
  color: #2b2b2a;
  padding: 0 18px 0 20px;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
}

.document-row-placeholder {
  color: #6d737a;
}

.document-pdf-icon {
  position: relative;
  width: 22px;
  height: 26px;
  flex: 0 0 auto;
  border: 2px solid #9a9a9a;
  background: #fff;
}

.document-pdf-icon::before {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 9px;
  height: 9px;
  content: "";
  border-left: 2px solid #9a9a9a;
  border-bottom: 2px solid #9a9a9a;
  background: #fff;
}

.document-pdf-icon::after {
  position: absolute;
  left: 4px;
  bottom: 4px;
  content: attr(data-file-label);
  color: #9a9a9a;
  font-size: 6px;
  font-weight: 700;
  line-height: 1;
}

.document-title {
  min-width: 0;
  color: inherit;
  font-weight: 600;
  line-height: 1.3;
}

.document-download-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #2b2b2a;
}

.document-download-icon::before {
  position: absolute;
  top: 2px;
  left: 9px;
  width: 2px;
  height: 13px;
  content: "";
  background: currentColor;
}

.document-download-icon::after {
  position: absolute;
  top: 9px;
  left: 5px;
  width: 9px;
  height: 9px;
  content: "";
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.product-description-panel {
  width: 100%;
  margin-top: 58px;
}

.product-characteristics-section {
  margin-top: 58px;
  border-top: 1px solid #e8e8e6;
  padding-top: 28px;
  scroll-margin-top: 120px;
}

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

.product-characteristics-section h2,
.product-description-panel h2 {
  margin-bottom: 24px;
  font-size: 28px;
}

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

.additional-characteristic-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 30px;
}

.characteristic-group {
  min-width: 0;
}

.characteristic-group h3 {
  margin: 0 0 12px;
  color: #2b2b2a;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.product-description-content {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(320px, 1fr);
  gap: 56px;
  align-items: start;
}

.product-description-content--text-only {
  grid-template-columns: minmax(0, 1fr);
}

.product-description-copy {
  min-width: 0;
}

.product-description-content--text-only .product-description-copy,
.product-description-content--text-only .product-description-copy p {
  max-width: none;
}

.product-description-panel p {
  max-width: 760px;
  margin: 0 0 18px;
  color: #2b2b2a;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.product-description-panel p:last-child {
  margin-bottom: 0;
}

.product-description-media-list {
  display: grid;
  gap: 18px;
  align-content: start;
  min-width: 0;
}

.product-description-media {
  display: flex;
  min-height: 0;
  min-width: 0;
  align-items: center;
  justify-content: center;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.product-description-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-description-image-placeholder {
  display: flex;
  min-height: 320px;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.characteristics-collapse-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  border: 1px solid #d8d8d4;
  border-radius: 999px;
  background: #fff;
  color: #2b2b2a;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
}

.characteristics-collapse-button:hover {
  border-color: #b22222;
  color: #b22222;
}

.similar-section {
  margin-top: 58px;
}

.product-grid.compact.similar-grid {
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  justify-content: start;
  margin-right: 0;
  margin-left: 0;
}

.product-grid.compact.similar-grid .product-card {
  width: 100%;
  height: 420px;
  border-radius: 16px;
}

.product-grid.compact.similar-grid .product-card-favorite {
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
}

.product-grid.compact.similar-grid .product-card-favorite-icon {
  width: 21px;
  height: 21px;
}

.product-grid.compact.similar-grid .product-image {
  flex-basis: 208px;
  height: 208px;
  min-height: 208px;
  padding: 26px 24px 0;
}

.product-grid.compact.similar-grid .product-card-photo {
  width: 100%;
  height: 182px;
  min-height: 182px;
  aspect-ratio: 268 / 182;
}

.product-grid.compact.similar-grid .product-card-image-placeholder {
  width: 100%;
  height: 182px;
  min-height: 182px;
  aspect-ratio: 268 / 182;
}

.product-grid.compact.similar-grid .product-card-body {
  gap: 7px;
  padding: 16px 26px 22px;
}

.product-grid.compact.similar-grid .product-card h3 {
  max-height: 48px;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.12;
}

.product-grid.compact.similar-grid .product-meta {
  font-size: 11px;
  line-height: 1.35;
}

.product-grid.compact.similar-grid .rating {
  gap: 6px;
  font-size: 11px;
}

.product-grid.compact.similar-grid .card-price {
  font-size: 21px;
}

.product-grid.compact.similar-grid .product-card-cart {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  border-radius: 8px;
}

.product-grid.compact.similar-grid .product-card-cart-icon {
  width: 23px;
  height: 23px;
}

.checkout-page {
  display: grid;
  gap: 18px;
  font-family: Roboto, "Inter", Arial, Helvetica, sans-serif;
}

.checkout-block {
  border: 1px solid #ccc6c6;
  background: #fff;
  padding: 30px;
}

.checkout-head,
.checkout-section-head,
.cart-total-line,
.promo-row,
.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.checkout-head h1,
.checkout-block h2 {
  margin: 0 0 20px;
  color: #2b2a29;
  font-size: 40px;
  font-weight: 500;
}

.checkout-city {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 20px;
  color: #2b2a29;
  font-size: 30px;
  font-weight: 400;
}

.checkout-city-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: #000dff;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.checkout-city-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.project-list {
  display: grid;
  gap: 28px;
}

.project-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 120px 150px;
  gap: 24px;
  align-items: center;
}

.project-item-visual {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #b0b4ba;
  font-size: 12px;
  text-transform: uppercase;
}

.project-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.project-item-actions {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.project-item .qty-row {
  margin: 0;
}

.cart-total-line {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 28px;
}

.cart-total-line div {
  margin-right: auto;
  color: var(--muted);
  font-size: 14px;
}

.cart-block.is-empty .cart-total-line,
.cart-block.is-empty .promo-row {
  display: none;
}

.cart-block.is-empty .checkout-head .text-button {
  display: none;
}

.checkout-page.is-cart-empty .checkout-columns,
.checkout-page.is-cart-empty .checkout-comments,
.checkout-page.is-cart-empty .order-cost {
  display: none;
}

.promo-row {
  justify-content: flex-end;
  margin-top: 16px;
}

.promo-row input {
  max-width: 260px;
  border-style: dashed;
}

.checkout-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.delivery-option {
  position: relative;
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ccc6c6;
  border-radius: 5px;
  margin-bottom: 10px;
  padding: 18px 60px 18px 22px;
  color: #2b2a29;
}

.delivery-option.is-active {
  border-color: #00bd29;
}

.delivery-option strong,
.delivery-option small {
  display: block;
}

.delivery-option strong {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
}

.delivery-option small {
  margin-top: 10px;
  color: #9d9d9d;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
}

.delivery-option-text {
  min-width: 0;
}

.delivery-radio {
  position: absolute;
  width: 1px !important;
  min-width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  border: 0 !important;
  margin: -1px;
  overflow: hidden;
  padding: 0 !important;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.delivery-radio-control {
  position: absolute;
  top: 50%;
  right: 33px;
  width: 23px;
  height: 23px;
  border: 2px solid #ccc6c6;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
}

.delivery-radio-control::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  content: "";
  border-radius: 50%;
  background: #00bd29;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.delivery-radio:checked + .delivery-radio-control {
  border-color: #00bd29;
}

.delivery-radio:checked + .delivery-radio-control::after {
  opacity: 1;
}

.checkout-block label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: #a0a5aa;
}

.checkout-block .delivery-option {
  display: flex;
  gap: 0;
  margin-bottom: 10px;
  color: #2b2a29;
}

.order-cost {
  display: grid;
  gap: 16px;
  min-height: 448px;
  align-content: start;
}

.order-cost h2 {
  margin-bottom: 6px;
}

.summary-row {
  font-size: 22px;
}

.summary-row.total {
  font-size: 28px;
  font-weight: 700;
}

.order-cost-actions {
  justify-self: end;
  display: grid;
  width: min(390px, 100%);
  gap: 10px;
  margin-top: 6px;
}

.checkout-block .policy-row {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 12px;
  margin: 6px 0 0;
  color: #9d9d9d;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.25;
}

.checkout-block .policy-checkbox {
  width: 21px;
  min-width: 21px;
  height: 21px;
  min-height: 21px;
  flex: 0 0 21px;
  border: 1px solid #ccc6c6;
  border-radius: 2px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--accent);
}

.policy-row span {
  min-width: 0;
}

.policy-row a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.payment-status {
  min-height: 22px;
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
}

.payment-status.is-error {
  color: var(--accent);
}

.payment-status.is-ok {
  color: var(--ok);
}

.checkout-submit {
  justify-self: end;
  width: 202px;
  min-width: 0;
  min-height: 60px;
  border-radius: 5px;
  font-family: Roboto, "Inter", Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 500;
}

.delivery-page {
  max-width: 1280px;
  padding: 66px 0 86px;
}

.delivery-hero {
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
  padding: 22px 0 30px;
}

.delivery-hero h1 {
  margin: 0 0 14px;
  color: #2b2b2a;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.08;
}

.delivery-hero p {
  max-width: 780px;
  margin: 0;
  color: #6b7280;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.45;
}

.delivery-intro {
  max-width: 1040px;
  margin-bottom: 34px;
}

.delivery-intro p,
.delivery-content p,
.delivery-content li {
  color: #3f454b;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
}

.delivery-intro p,
.delivery-content p {
  margin: 0 0 16px;
}

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

.delivery-highlights article {
  border: 1px solid #e1dddd;
  background: #fafafa;
  padding: 22px 24px;
}

.delivery-highlights strong {
  display: block;
  margin-bottom: 10px;
  color: #2b2b2a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.28;
}

.delivery-highlights p {
  margin: 0;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.55;
}

.delivery-content {
  display: grid;
  gap: 0;
  max-width: 1120px;
}

.delivery-content article {
  border-top: 1px solid var(--line);
  padding: 34px 0 18px;
}

.delivery-content article:first-child {
  border-top: 0;
}

.delivery-content h2 {
  margin: 0 0 16px;
  color: #2b2b2a;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.delivery-content ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.delivery-content li {
  position: relative;
  padding-left: 24px;
}

.delivery-content li::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "—";
  color: #8d939a;
}

.about-page {
  padding-bottom: 96px;
}

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

.ecosystem-grid section {
  border: 1px solid #e1dddd;
  background: #fff;
  padding: 22px 24px;
}

.ecosystem-grid h3 {
  margin: 0 0 12px;
  color: #b22222;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.ecosystem-grid h3 a {
  text-decoration: none;
}

.ecosystem-grid h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ecosystem-grid p {
  margin: 0;
  color: #4f555c;
  font-size: 15px;
  line-height: 1.55;
}

.legal-page {
  padding-top: 34px;
}

.legal-shell {
  display: grid;
  gap: 24px;
}

.legal-shell > .section-head h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
}

.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.legal-tab {
  min-height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 0 18px;
  font-size: 13px;
  font-weight: 700;
}

.legal-tab.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.legal-panel {
  display: none;
  max-width: 1120px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 32px;
}

.legal-panel.is-active {
  display: block;
}

.legal-panel h1,
.legal-panel h2,
.legal-panel p {
  max-width: 980px;
}

.legal-panel h1 {
  margin: 0 0 22px;
  font-size: 28px;
  font-weight: 700;
}

.legal-panel h2 {
  margin: 28px 0 12px;
  font-size: 18px;
  font-weight: 700;
}

.legal-panel p {
  margin: 0 0 12px;
  color: #3f454b;
  font-size: 14px;
  line-height: 1.65;
}

.partners-page {
  width: min(1440px, calc(100% - 72px));
  padding: 0 0 72px;
}

.partners-hero {
  display: grid;
  grid-template-columns: minmax(560px, 0.86fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  min-height: 0;
  padding: 54px 0 60px;
}

.partners-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 18px;
}

.partners-hero-title {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--dd-black);
  font-size: clamp(48px, 4.25vw, 72px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.partners-hero-title span {
  display: block;
}

.partners-hero-copy > p {
  max-width: 580px;
  margin: 0 0 26px;
  color: #3f454b;
  font-size: 16px;
  line-height: 1.65;
}

.partners-hero-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 32px;
}

.partners-primary-cta,
.partners-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none;
}

.partners-primary-cta {
  min-height: 48px;
  border-radius: 10px;
  background: var(--dd-red);
  color: #fff;
  padding: 0 30px;
  font-size: 14px;
}

.partners-secondary-link {
  min-height: 24px;
  color: var(--dd-red);
  gap: 10px;
  font-size: 14px;
}

.partners-secondary-link::after {
  content: "→";
  font-size: 18px;
}

.partners-hero-benefits {
  display: grid;
  gap: 14px;
}

.partners-hero-benefits article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.partners-hero-benefits p {
  margin: 0;
  color: #3f454b;
  font-size: 14px;
  line-height: 1.5;
}

.partners-line-icon,
.partners-card-icon,
.partners-red-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.partners-line-icon {
  width: 36px;
  height: 36px;
  color: var(--dd-black);
}

.partners-line-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.partners-hero-visual {
  position: relative;
  display: grid;
  align-content: start;
  overflow: hidden;
  border: 1px solid #e6e1df;
  border-radius: 28px;
  background: linear-gradient(135deg, #fbfaf8 0%, #f2eee8 52%, #fff 100%);
  padding: 28px;
}

.partners-hero-visual::after {
  position: absolute;
  right: -70px;
  bottom: -120px;
  width: 360px;
  height: 620px;
  content: "";
  background: linear-gradient(90deg, rgba(208, 202, 194, 0.16), rgba(255,255,255,0.72));
  transform: skewX(-8deg);
}

.partners-dashboard-shell,
.partners-spec-card,
.partners-status-card,
.partners-pdf-card,
.partners-mini-card,
.partners-ddprofi-card,
.partners-request-aside,
.partner-form {
  position: relative;
  z-index: 1;
  border: 1px solid #e1dddd;
  border-radius: 18px;
  background: rgba(255,255,255,0.96);
  box-shadow: none;
}

.partners-dashboard-shell {
  display: grid;
  gap: 16px;
  min-height: 100%;
  padding: 22px;
}

.partners-dashboard-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: 18px;
  align-items: stretch;
}

.partners-dashboard-top > div:first-child {
  display: grid;
  align-content: center;
  border: 1px solid #ebe7e7;
  border-radius: 16px;
  background: #fff;
  padding: 18px;
}

.partners-dashboard-top span,
.partners-dashboard-top small {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.45;
}

.partners-dashboard-top strong {
  margin: 4px 0;
  color: var(--dd-black);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.16;
}

.partners-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.partners-dashboard-metrics article {
  display: grid;
  align-content: center;
  border: 1px solid #ebe7e7;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

.partners-dashboard-metrics strong {
  margin: 0 0 4px;
  font-size: 19px;
}

.partners-dashboard-metrics span {
  font-size: 11px;
}

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

.partners-tabs span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e1dddd;
  border-radius: 999px;
  color: #4f555c;
  font-size: 12px;
  font-weight: 700;
}

.partners-tabs .is-active {
  border-color: #ffb5b5;
  background: #fff7f7;
  color: var(--dd-red);
}

.partners-dashboard-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(230px, 0.7fr);
  gap: 16px;
}

.partners-dashboard-aside {
  display: grid;
  gap: 16px;
}

.partners-spec-card,
.partners-status-card,
.partners-pdf-card,
.partners-mini-card {
  padding: 16px;
}

.partners-spec-card h3,
.partners-status-card h3,
.partners-pdf-card h3,
.partners-mini-card h3 {
  margin: 0 0 12px;
  color: var(--dd-black);
  font-size: 15px;
  font-weight: 700;
}

.partners-spec-card table {
  width: 100%;
  border-collapse: collapse;
  color: #4f555c;
  font-size: 12.5px;
}

.partners-spec-card th,
.partners-spec-card td {
  border-bottom: 1px solid #ebe8e8;
  padding: 8px 4px;
  text-align: left;
}

.partners-status-card p,
.partners-position-list p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
  color: #4f555c;
  font-size: 13px;
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
}

.status-dot.yellow {
  background: #f8b92a;
}

.status-dot.blue {
  background: #8d8d87;
}

.status-dot.green {
  background: #35bc5c;
}

.partners-pdf-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.partners-pdf-card h3 {
  grid-column: 1 / -1;
}

.partners-qr {
  width: 74px;
  height: 74px;
  border: 8px solid #fff;
  background: repeating-linear-gradient(90deg, #111 0 6px, #fff 6px 12px), repeating-linear-gradient(0deg, rgba(0,0,0,0.65) 0 6px, transparent 6px 12px);
  background-blend-mode: multiply;
}

.partners-pdf-card a {
  color: var(--dd-red);
  font-size: 13px;
  font-weight: 700;
}

.partners-model-row {
  display: flex;
  gap: 14px;
  align-items: end;
}

.partners-model-row span {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: #f6f6f5;
}

.partners-plan {
  height: 82px;
  border: 1px solid #d8d5d5;
  background: linear-gradient(90deg, transparent 49%, #d8d5d5 50%, transparent 51%), linear-gradient(0deg, transparent 49%, #d8d5d5 50%, transparent 51%), repeating-linear-gradient(90deg, #fff 0 24px, #f2f2f1 25px 26px);
}

.partners-dashboard-bottom {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.2fr;
  gap: 16px;
}

.partners-product-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
}

.partners-product-dot.light {
  background: #e7c36a;
}

.partners-product-dot.tech {
  background: #2b2b2a;
}

.partners-product-dot.tile {
  background: #d2c8be;
}

.partners-hero-visual.is-feed {
  overflow: hidden;
  border-color: #e4dfdd;
  border-radius: 26px;
  background: #f7f5f2;
  padding: 14px;
}

.partners-hero-visual.is-feed::after {
  content: none;
}

.partner-account-preview {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 18px;
  background: #fff;
}

.partner-dashboard {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: 100%;
  border: 1px solid #e1dddd;
  border-radius: 20px;
  background: #fff;
  padding: 16px;
  color: var(--dd-black);
  box-shadow: 0 16px 40px rgba(43, 43, 42, 0.04);
}

.partner-dashboard__top {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.partner-dashboard__stats {
  display: contents;
}

.partner-dashboard__stat,
.partner-dashboard__projects,
.partner-dashboard__orders,
.partner-dashboard__stores {
  border: 1px solid #e1dddd;
  background: #fff;
}

.partner-dashboard__stat {
  display: grid;
  grid-template-rows: 28px 32px 16px;
  min-height: 100px;
  align-content: start;
  border-radius: 14px;
  padding: 14px;
}

.partner-dashboard__stat span,
.partner-dashboard__stat small {
  display: block;
  color: #8b8f94;
  font-size: 10.5px;
  line-height: 1.35;
}

.partner-dashboard__stat span {
  min-height: 30px;
  color: #3f454b;
  font-size: 11.5px;
}

.partner-dashboard__stat strong {
  display: block;
  margin: 0;
  color: var(--dd-black);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.partner-dashboard__create {
  display: inline-flex;
  min-height: 100px;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  border-radius: 14px;
  background: var(--dd-red);
  color: #fff;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.partner-dashboard__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 212px;
  gap: 12px;
  align-items: start;
}

.partner-dashboard__content {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.partner-dashboard__projects,
.partner-dashboard__orders,
.partner-dashboard__stores {
  min-width: 0;
  padding: 0;
}

.partner-dashboard__section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px 124px;
  gap: 8px;
  align-items: center;
  padding: 12px 14px 10px;
}

.partner-dashboard__section-head h3,
.partner-dashboard__stores h3 {
  margin: 0;
  color: var(--dd-black);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
}

.partner-dashboard__section-head span,
.partner-dashboard__section-head label {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid #e1dddd;
  border-radius: 8px;
  background: #fff;
  color: #3f454b;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 400;
}

.partner-dashboard__section-head label {
  position: relative;
  justify-content: space-between;
  color: #3f454b;
}

.partner-dashboard__section-head label::after {
  width: 12px;
  height: 12px;
  border: 2px solid #9aa0a6;
  border-radius: 50%;
  content: "";
  box-shadow: 5px 5px 0 -3px #9aa0a6;
}

.partner-dashboard__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #2b2b2a;
  font-size: 10px;
  line-height: 1.32;
}

.partner-dashboard__table th {
  border-top: 1px solid #e6e2e0;
  border-bottom: 1px solid #e6e2e0;
  background: #f8f7f6;
  color: #555b61;
  font-weight: 600;
}

.partner-dashboard__table th,
.partner-dashboard__table td {
  padding: 8px 8px;
  text-align: left;
  vertical-align: middle;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.partner-dashboard__table td {
  border-bottom: 1px solid #ece8e6;
}

.partner-dashboard__table th:nth-child(1),
.partner-dashboard__table td:nth-child(1) {
  width: 25%;
}

.partner-dashboard__table th:nth-child(2),
.partner-dashboard__table td:nth-child(2) {
  width: 12%;
}

.partner-dashboard__table th:nth-child(3),
.partner-dashboard__table td:nth-child(3) {
  width: 11%;
}

.partner-dashboard__table th:nth-child(4),
.partner-dashboard__table td:nth-child(4) {
  width: 12%;
}

.partner-dashboard__table th:nth-child(5),
.partner-dashboard__table td:nth-child(5) {
  width: 15%;
  text-align: right;
}

.partner-dashboard__table th:nth-child(6),
.partner-dashboard__table td:nth-child(6) {
  width: 13%;
}

.partner-dashboard__table th:nth-child(7),
.partner-dashboard__table td:nth-child(7) {
  width: 12%;
}

.partner-dashboard__table code {
  display: inline-flex;
  border: 1px solid #e3e0df;
  border-radius: 6px;
  background: #fbfaf9;
  color: #2b2b2a;
  padding: 3px 5px;
  font-family: inherit;
  font-size: 9.2px;
  white-space: nowrap;
}

.project-thumb {
  display: inline-block;
  width: 30px;
  height: 22px;
  margin-right: 6px;
  border-radius: 2px;
  background: linear-gradient(135deg, #d8c6b7, #f5eee6);
  vertical-align: middle;
}

.project-thumb.tone-light {
  background: linear-gradient(135deg, #f0dfcc, #fff7ed);
}

.project-thumb.tone-office {
  background: linear-gradient(135deg, #cbc3b8, #f3f0ea);
}

.project-thumb.tone-dark {
  background: linear-gradient(135deg, #2b2b2a, #a38f78);
}

.project-thumb.tone-home {
  background: linear-gradient(135deg, #bfa889, #f4e8d5);
}

.project-thumb.tone-green {
  background: linear-gradient(135deg, #8a9275, #eadfcf);
}

.partner-dashboard__status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #3f454b;
  white-space: nowrap;
}

.partner-dashboard__status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
}

.partner-dashboard__status.is-active::before {
  background: #50a768;
}

.partner-dashboard__status.is-done::before {
  background: var(--dd-red);
}

.partner-dashboard__table--orders {
  font-size: 11px;
}

.partner-dashboard__table--orders th,
.partner-dashboard__table--orders td {
  padding: 10px 14px;
  text-align: center;
}

.partner-dashboard__table--orders th:nth-child(1),
.partner-dashboard__table--orders td:nth-child(1),
.partner-dashboard__table--orders th:nth-child(2),
.partner-dashboard__table--orders td:nth-child(2),
.partner-dashboard__table--orders th:nth-child(3),
.partner-dashboard__table--orders td:nth-child(3),
.partner-dashboard__table--orders th:nth-child(4),
.partner-dashboard__table--orders td:nth-child(4) {
  width: 25%;
}

.partner-dashboard__stores {
  display: grid;
  gap: 7px;
  border-radius: 14px;
  padding: 14px;
}

.partner-dashboard__stores h3 {
  margin-bottom: 4px;
}

.partner-dashboard__store {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 50px;
  border: 1px solid #ebe7e5;
  border-radius: 10px;
  background: #fbfaf9;
  color: var(--dd-black);
  padding: 6px;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.partner-dashboard__store:hover {
  border-color: var(--dd-red);
  transform: translateY(-1px);
}

.partner-dashboard__store i {
  display: block;
  width: 54px;
  height: 36px;
  border-radius: 6px;
  background: linear-gradient(135deg, #d8d2cb, #f4f1ec);
}

.partner-dashboard__store span {
  display: grid;
  gap: 2px;
  color: var(--dd-black);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.1;
}

.partner-dashboard__store small {
  color: #8b8f94;
  font-size: 10px;
  font-weight: 400;
}

.store-tech {
  background: linear-gradient(135deg, #2b2b2a 0 42%, #8f7862 42% 62%, #efe8df 62%) !important;
}

.store-light {
  background: radial-gradient(circle at 58% 42%, #e8c36e 0 12%, transparent 13%), linear-gradient(135deg, #2b2b2a, #b49a7b 48%, #f5eee6) !important;
}

.store-sanitary {
  background: radial-gradient(circle at 56% 62%, #fff 0 28%, transparent 29%), linear-gradient(135deg, #48433f, #d9d2ca) !important;
}

.store-floor {
  background: repeating-linear-gradient(135deg, #a77b50 0 8px, #cfaa7d 8px 15px, #7d5c3d 15px 22px) !important;
}

.store-profile {
  background: linear-gradient(90deg, #e9e4dc 0 28%, #cfc7bd 28% 31%, #f7f4ef 31% 100%) !important;
}

.store-tile {
  background: linear-gradient(135deg, #2b2b2a, #6f6860 40%, #c9c0b5) !important;
}

.store-climate {
  background: linear-gradient(135deg, #e8e1d8 0 50%, #b7aea4 50%), linear-gradient(#fff, #fff) !important;
}

.store-socket {
  background: repeating-linear-gradient(90deg, #d8d3cc 0 13px, #f8f6f2 13px 26px) !important;
}

.store-heat {
  background: repeating-linear-gradient(90deg, #f4f0eb 0 8px, #a89f96 8px 11px, #f4f0eb 11px 20px) !important;
}

.partners-section,
.partners-ecosystem-section,
.partners-request-section {
  margin-top: 64px;
}

.partners-section h2,
.partners-ecosystem-section h2 {
  margin: 0 0 24px;
  color: var(--dd-black);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.partners-audience-grid,
.partners-benefit-grid,
.partners-steps-grid {
  display: grid;
  gap: 22px;
}

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

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

.partners-audience-grid article,
.partners-benefit-grid article,
.partners-steps-grid article {
  border: 1px solid #e1dddd;
  border-radius: 16px;
  background: #fff;
  padding: 26px;
  min-height: 100%;
}

.partners-audience-grid h3,
.partners-benefit-grid h3,
.partners-steps-grid h3 {
  margin: 14px 0 10px;
  color: var(--dd-black);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.partners-audience-grid p,
.partners-benefit-grid p,
.partners-steps-grid p,
.partners-ecosystem-copy p,
.partner-form p {
  margin: 0;
  color: #4f555c;
  font-size: 15px;
  line-height: 1.6;
}

.partners-card-icon {
  width: 38px;
  height: 38px;
  border: 1.6px solid #646a70;
  border-radius: 12px;
}

.partners-red-icon {
  width: 42px;
  height: 42px;
  border: 1.6px solid var(--dd-red);
  border-radius: 12px;
  color: var(--dd-red);
}

.partners-red-icon::before,
.partners-card-icon::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.partner-card__icon {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 22px;
}

.partner-card__icon img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

.partner-card__icon + h3 {
  margin-top: 0;
}

.partners-steps-grid {
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.partners-steps-grid article {
  position: relative;
}

.partners-steps-grid article:not(:last-child)::after {
  position: absolute;
  top: 42px;
  right: -17px;
  content: "→";
  color: #9aa0a6;
  font-size: 26px;
}

.partners-steps-grid span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffb5b5;
  border-radius: 50%;
  color: var(--dd-red);
  font-weight: 700;
}

.partners-ecosystem-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
  border: 1px solid #e1dddd;
  border-radius: 20px;
  background: #fff;
  padding: 30px;
}

.partners-ecosystem-section h2 {
  text-align: left;
}

.partners-ecosystem-copy p {
  max-width: 780px;
  margin-bottom: 22px;
}

.directions-section {
  display: block;
  margin-top: 72px;
}

.directions-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 34px;
  align-items: center;
  margin-bottom: 30px;
}

.directions-heading h2 {
  margin: 0;
  color: var(--dd-black);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.directions-heading__line {
  height: 1px;
  background: #d3cdcd;
}

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

.direction-card {
  position: relative;
  display: block;
  min-height: 176px;
  grid-column: span 4;
  overflow: hidden;
  border: 1px solid rgba(211, 205, 205, 0.72);
  border-radius: 18px;
  background: #f7f6f5;
  color: var(--dd-black);
  text-decoration: none;
  transform: translateY(0);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.direction-card--wide {
  grid-column: span 6;
}

.direction-card:hover {
  border-color: rgba(178, 34, 34, 0.36);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.direction-card__image,
.direction-card__overlay {
  position: absolute;
  inset: 0;
  display: block;
}

.direction-card__image {
  background-position: center;
  background-size: cover;
}

.direction-card__overlay {
  z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.82) 43%, rgba(255,255,255,0.14) 100%);
}

.direction-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: min(90%, 560px);
  min-height: inherit;
  flex-direction: column;
  justify-content: center;
  padding: 24px 30px;
}

.direction-card__content--right {
  max-width: min(62%, 560px);
  margin-left: auto;
}

.direction-card__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 62px;
  margin-bottom: 11px;
}

.direction-card__logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: 56px;
  object-fit: contain;
  object-position: left center;
}

.direction-card__text {
  display: block;
  max-width: 320px;
  color: #343a40;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.42;
}

.direction-card--tech .direction-card__image {
  background-image: url("assets/directions/direction-tech.png");
}

.direction-card--light .direction-card__image {
  background-image: url("assets/directions/direction-light.png");
  background-position: 58% center;
}

.direction-card--santehnika .direction-card__image {
  background-image: url("assets/directions/direction-santehnika.png");
  background-position: 58% center;
}

.direction-card--floor .direction-card__image {
  background-image: url("assets/directions/direction-floor.png");
  background-position: 42% center;
}

.direction-card--profiles .direction-card__image {
  background-image: url("assets/directions/direction-profiles.png");
  background-position: 58% center;
}

.direction-card--tile .direction-card__image {
  background-image: url("assets/directions/direction-tile.png");
}

.direction-card--climat .direction-card__image {
  background-image: url("assets/directions/direction-climat.png");
  background-position: 64% center;
}

.direction-card--rozetki .direction-card__image {
  background-image: url("assets/directions/direction-rozetki.png");
  background-position: 34% center;
}

.direction-card--radiators .direction-card__image {
  background-image: url("assets/directions/direction-radiators.png");
  background-position: 68% center;
}

.direction-card--floor .direction-card__overlay,
.direction-card--rozetki .direction-card__overlay {
  background: linear-gradient(90deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.18) 42%, rgba(255,255,255,0.94) 54%, rgba(255,255,255,0.97) 100%);
}

.direction-card--tile .direction-card__overlay {
  background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.68) 38%, rgba(255,255,255,0.08) 100%);
}

.direction-card--tech .direction-card__overlay {
  background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.7) 40%, rgba(255,255,255,0.04) 100%);
}

.direction-card--light .direction-card__overlay {
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.78) 38%, rgba(255,255,255,0.08) 100%);
}

.directions-profi-card {
  margin-top: 18px;
}

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

.ecosystem-logo-card {
  display: flex;
  min-height: 138px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e1dddd;
  border-radius: 22px;
  background: #fff;
  color: var(--dd-black);
  overflow: hidden;
  padding: 24px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ecosystem-logo-card:hover {
  border-color: var(--dd-red);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.ecosystem-logo-card img {
  display: block;
  width: 100%;
  height: 78px;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center center;
}

.ecosystem-logo-card--tech,
.ecosystem-logo-card--tile,
.ecosystem-logo-card--floor,
.ecosystem-logo-card--profiles {
  padding-right: 10px;
  padding-left: 10px;
}

.ecosystem-logo-card--tile {
  padding-right: 4px;
  padding-left: 4px;
}

.ecosystem-logo-card--floor {
  padding-right: 4px;
  padding-left: 4px;
}

.ecosystem-logo-card--profiles {
  padding-right: 4px;
  padding-left: 4px;
}

.ecosystem-logo-card--tech img {
  width: 100%;
  height: 96px;
  object-fit: contain;
  transform: translateY(1px);
}

.ecosystem-logo-card--tile img {
  width: 100%;
  height: 96px;
  object-fit: contain;
  transform: translateY(1px);
}

.ecosystem-logo-card--floor img {
  width: 100%;
  height: 96px;
  object-fit: contain;
  transform: translateY(1px);
}

.ecosystem-logo-card--profiles img {
  width: 100%;
  height: 96px;
  object-fit: contain;
  transform: translateY(1px);
}

.ecosystem-logo-placeholder {
  display: grid;
  height: 78px;
  align-content: center;
  justify-items: center;
  gap: 6px;
}

.ecosystem-logo-placeholder span {
  color: var(--dd-black);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.ecosystem-logo-placeholder small {
  color: var(--dd-red);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.partners-ddprofi-card {
  display: grid;
  align-content: start;
  padding: 28px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.partners-ddprofi-card:hover {
  border-color: var(--dd-red);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.ecosystem-profi-card__label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  border: 1px solid #ffb5b5;
  border-radius: 999px;
  color: var(--dd-red);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.partners-ddprofi-card h3 {
  margin: 0 0 18px;
  color: var(--dd-black);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.partners-ddprofi-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: #4f555c;
  font-size: 15px;
}

.partners-ddprofi-card li {
  position: relative;
  padding-left: 22px;
}

.partners-ddprofi-card li::before {
  position: absolute;
  left: 0;
  content: "□";
  color: #9aa0a6;
}

.ecosystem-profi-card__cta {
  color: var(--dd-red);
  font-weight: 700;
}

.partners-request-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: stretch;
}

.partner-form {
  padding: 30px;
}

.partner-form h2 {
  margin: 0 0 8px;
  color: var(--dd-black);
  font-size: 30px;
  font-weight: 700;
}

.partner-form > p {
  max-width: 760px;
  margin-bottom: 22px;
}

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

.partner-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
}

.partner-form input,
.partner-form select,
.partner-form textarea {
  border-radius: 8px;
  border-color: #d8d5d5;
}

.partner-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 48px;
  background-image:
    linear-gradient(45deg, transparent 50%, #6b7280 50%),
    linear-gradient(135deg, #6b7280 50%, transparent 50%);
  background-position:
    calc(100% - 24px) 50%,
    calc(100% - 18px) 50%;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
}

.partners-form-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 18px;
}

.partner-form .form-status {
  min-height: 20px;
  margin: 0;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
}

.partner-form .form-status.is-error {
  color: #B22222;
}

.partner-form .form-status.is-ok {
  color: #2f7a47;
}

.partner-submit {
  width: 292px;
  min-height: 54px;
  border-radius: 8px;
  white-space: nowrap;
}

.partners-form-footer small {
  max-width: 430px;
  color: #7b838c;
  font-size: 12px;
  line-height: 1.45;
}

.partners-form-footer a {
  color: var(--dd-red);
}

.partners-request-aside {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: 30px;
}

.partners-request-aside-head h2 {
  margin: 0;
  color: var(--dd-black);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
}

.partners-request-list {
  display: grid;
  gap: 18px;
}

.partner-benefit-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  align-items: flex-start;
  margin: 0;
  color: var(--dd-black);
}

.partner-benefit-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1.6px solid var(--dd-red);
  border-radius: 12px;
  color: var(--dd-red);
}

.partner-benefit-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.partner-benefit-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.partner-benefit-copy strong {
  color: var(--dd-black);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.partner-benefit-copy span {
  color: #5f6670;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.partners-request-note {
  margin-top: auto;
  border: 1px solid rgba(178, 34, 34, 0.18);
  border-radius: 16px;
  background: rgba(178, 34, 34, 0.04);
  padding: 18px;
}

.partners-request-note h3 {
  margin: 0;
  color: var(--dd-black);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.partners-request-note p {
  margin: 8px 0 0;
  color: #5f6670;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.muted {
  color: var(--muted);
}

.mobile-only {
  display: none;
}

.filter-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #2b2b2a;
  line-height: 1;
  font-size: 24px;
}

.dark-footer {
  margin-top: 0;
  background: var(--dark);
  color: #fff;
}

.footer-inner {
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 46px;
  color: #c5c5c5;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.footer-inner > a {
  color: #fff;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.partners-footer {
  margin-top: 24px;
  background: #242423;
}

.partners-footer-inner {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(260px, 1.1fr) minmax(170px, 0.55fr) minmax(460px, 1.65fr);
  gap: 48px;
  align-items: start;
  padding: 44px 0 50px;
}

.partners-footer h2,
.partners-footer h3,
.partners-footer p {
  margin: 0;
}

.partners-footer h2 {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.partners-footer h3 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.partners-footer-brand {
  display: grid;
  gap: 16px;
}

.partners-footer-brand p {
  max-width: 360px;
  color: #c9c9c9;
  font-size: 14px;
  line-height: 1.6;
}

.partners-footer-brand a {
  color: #fff;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.partners-footer nav {
  display: grid;
  gap: 10px;
  color: #c9c9c9;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.partners-footer nav a {
  color: #c9c9c9;
  line-height: 1.35;
  text-decoration: none;
}

.partners-footer-ecosystem {
  min-width: 0;
}

.partners-footer nav.partners-footer-ecosystem {
  gap: 16px;
}

.partners-footer-ecosystem-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 10px 28px;
}

.partners-footer-ecosystem-item {
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
  align-items: baseline;
  color: #c9c9c9;
  line-height: 1.35;
}

.partners-footer-ecosystem-item a {
  color: #c9c9c9;
  text-transform: none;
}

.partners-footer-ecosystem-item span {
  color: #c9c9c9;
}

.partners-footer nav a:hover,
.partners-footer-brand a:hover {
  color: #fff;
}

.partners-footer-ecosystem-item a:hover {
  color: #b22222;
}

.account-page {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 38px 0 76px;
}

.account-sidebar {
  position: sticky;
  top: 24px;
  border: 1px solid #e3dddd;
  border-radius: 20px;
  background: #fff;
  padding: 22px;
}

.account-sidebar-title {
  margin-bottom: 18px;
  color: var(--dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-menu {
  display: grid;
  gap: 6px;
}

.account-menu-link {
  display: flex;
  min-height: 46px;
  align-items: center;
  border-left: 3px solid transparent;
  color: #4b5563;
  padding: 0 14px;
  font-size: 16px;
  font-weight: 700;
}

.account-menu-link:hover,
.account-menu-link.is-active {
  border-left-color: var(--accent);
  background: #f8f5f4;
  color: var(--dark);
}

.account-logout-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--dark);
  padding: 0 16px;
  font-size: 13px;
  font-weight: 750;
}

.account-workspace {
  min-width: 0;
}

.account-hero {
  margin-bottom: 22px;
}

.account-hero h1,
.account-hero p {
  margin: 0;
}

.account-hero h1 {
  margin-top: 6px;
  color: var(--dark);
  font-size: 46px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

.account-hero p:not(.account-eyebrow) {
  max-width: 680px;
  margin-top: 12px;
  color: #5f6670;
  font-size: 18px;
  line-height: 1.5;
}

.account-eyebrow,
.account-section-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.account-summary-card {
  min-width: 0;
  border: 1px solid #e3dddd;
  border-radius: 18px;
  background: #fff;
  padding: 18px;
}

.account-summary-card.is-attention {
  border-color: rgba(178, 34, 34, 0.24);
  background: rgba(178, 34, 34, 0.05);
}

.account-summary-card span,
.account-summary-card small {
  display: block;
  color: #5f6670;
  font-size: 13px;
  line-height: 1.35;
}

.account-summary-card span {
  font-weight: 750;
}

.account-summary-card strong {
  display: block;
  margin-top: 10px;
  color: var(--dark);
  font-size: 31px;
  font-weight: 850;
  line-height: 1;
}

.account-summary-card.is-attention strong,
.account-summary-card:nth-child(3) strong {
  color: var(--accent);
}

.account-summary-card small {
  margin-top: 8px;
}

.account-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 380px);
  gap: 24px;
  align-items: start;
}

.account-main-column,
.account-side-column {
  display: grid;
  min-width: 0;
  gap: 24px;
}

.account-card {
  min-width: 0;
  border: 1px solid #e3dddd;
  border-radius: 20px;
  background: #fff;
  padding: 24px;
}

.account-card--promo {
  border-color: rgba(178, 34, 34, 0.28);
  background: #fffafa;
}

.account-card--address {
  padding-bottom: 20px;
}

.account-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.account-order-head-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.account-order-head-actions .account-action-link {
  min-height: 38px;
  padding-inline: 18px;
}

.account-card h2 {
  margin: 4px 0 0;
  color: var(--dark);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.18;
}

.account-order-products-head .account-section-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.3;
}

.account-order-products-head .account-section-title {
  margin: 0;
  color: var(--dark);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
}

.account-card-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.account-card-link,
.account-action-link,
.account-muted-action {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--dark);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.account-card-link:hover,
.account-action-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.account-action-link--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.account-action-link--primary:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
}

.account-action-link.as-button {
  cursor: pointer;
}

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

.account-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px 18px;
  align-items: center;
  border: 1px solid #ece8e8;
  border-radius: 16px;
  background: #fff;
  padding: 16px;
}

.account-row:first-child {
  padding-top: 0;
  padding: 16px;
}

.account-row-main {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.account-row-title {
  color: var(--dark);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.account-row-meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.account-row-detail {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  gap: 3px;
  justify-items: end;
  color: var(--dark);
  font-size: 18px;
  font-weight: 800;
}

.account-row > .account-row-actions {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.account-row-detail small,
.account-support-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.account-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.account-order-status-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  color: #5f6670;
  font-size: 13px;
  font-weight: 650;
}

.account-card--current-orders {
  border-color: rgba(178, 34, 34, 0.18);
}

.account-card--history {
  background: #fff;
}

.account-card--history .account-row {
  border-color: #eee9e9;
  background: #fff;
}

.account-card--history .account-row-title,
.account-card--history .account-row-detail {
  font-size: 15px;
}

.account-status {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.account-status.is-ready {
  background: #edf7ef;
  color: #256b3c;
}

.account-status.is-progress {
  background: #f7f1ef;
  color: var(--accent-dark);
}

.account-status.is-waiting {
  background: #fbf4e8;
  color: #94651d;
}

.account-status.is-muted {
  background: #f2f2f2;
  color: #6b7280;
}

.account-payment-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  max-width: min(360px, calc(100vw - 32px));
  border: 1px solid rgba(178, 34, 34, 0.22);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(43, 43, 42, 0.14);
  color: var(--dark);
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.account-payment-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.account-payment-notice[hidden] {
  display: none;
}

.account-card--repair {
  background: linear-gradient(180deg, #fff 0%, #fffafa 100%);
}

.repair-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.repair-card-head h2 {
  margin: 0;
}

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

.repair-metric {
  min-width: 0;
  border: 1px solid #ece8e8;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.repair-metric span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.repair-metric strong {
  display: block;
  margin-top: 7px;
  color: var(--dark);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.2;
}

.repair-metric.is-attention {
  border-color: rgba(178, 34, 34, 0.26);
  background: #fffafa;
}

.repair-metric.is-attention strong {
  color: var(--accent-dark);
}

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

.attention-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #ece8e8;
  border-radius: 14px;
  background: #fff;
  padding: 14px 16px;
}

.attention-item span {
  min-width: 0;
  color: var(--dark);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

.attention-item.is-attention {
  border-color: rgba(178, 34, 34, 0.24);
  background: #fffafa;
}

.promocode-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px dashed rgba(178, 34, 34, 0.45);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.promocode-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.promocode-panel strong,
.promocode-input {
  color: var(--dark);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.promocode-input {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 4px 0;
  outline: none;
  text-transform: uppercase;
}

.promocode-input:focus {
  box-shadow: inset 0 -2px 0 rgba(178, 34, 34, 0.45);
}

.promocode-discount {
  color: var(--accent);
  font-size: 34px;
  font-weight: 850;
  line-height: 1;
}

.promocode-conditions {
  margin: 12px 0 14px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.45;
}

.promocode-list {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.promocode-option {
  display: flex;
  min-height: 74px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border: 1px solid #e3dddd;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
}

.promocode-option.is-active {
  border-color: rgba(178, 34, 34, 0.46);
}

.promocode-option__top,
.promocode-option__bottom,
.promocode-option__actions {
  display: flex;
  align-items: center;
}

.promocode-option__top,
.promocode-option__bottom {
  justify-content: space-between;
  gap: 12px;
}

.promocode-option__actions {
  flex: 0 0 auto;
  gap: 8px;
}

.promocode-option__code {
  min-width: 0;
  color: var(--dark);
  font-size: 15px;
  font-weight: 780;
  letter-spacing: 0.04em;
}

.promocode-option__discount {
  display: inline-flex;
  min-width: 42px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f7f1ef;
  color: var(--accent-dark);
  padding: 0 10px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.promocode-option__delete {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.promocode-option__delete:hover {
  border-color: rgba(178, 34, 34, 0.16);
  color: var(--accent-dark);
}

.promocode-option__state,
.promocode-option__copy {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 12px;
  font-weight: 750;
}

.promocode-option__state {
  color: var(--accent);
}

.promocode-option__state.is-active {
  color: #256b3c;
}

.promocode-option__copy {
  color: var(--accent);
}

.promocode-option__state:hover,
.promocode-option__copy:hover {
  color: var(--accent-dark);
}

.promocode-empty {
  margin: 0;
  border: 1px solid #e3dddd;
  border-radius: 14px;
  background: #fff;
  color: var(--muted);
  padding: 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.promocode-message {
  min-height: 18px;
  margin: 10px 0 0;
  color: #256b3c;
  font-size: 12px;
  font-weight: 750;
}

.promocode-message.is-error {
  color: var(--accent-dark);
}

.account-primary-button {
  min-height: 44px;
  width: 100%;
  border-color: var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  padding: 0 20px;
}

.account-primary-button.is-copied {
  border-color: #256b3c;
  background: #256b3c;
}

.account-secondary-button {
  min-height: 44px;
  width: 100%;
  border-color: rgba(178, 34, 34, 0.28);
  border-radius: 999px;
  background: #fff;
  color: var(--accent-dark);
  padding: 0 20px;
}

.account-secondary-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.account-details {
  display: grid;
  gap: 14px;
  margin: 0;
}

.account-brief-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.account-brief-list div {
  min-width: 0;
}

.account-brief-list dt {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.account-brief-list dd {
  margin: 0;
  color: var(--dark);
  font-size: 16px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.account-card--brief-compact {
  padding: 18px 20px;
  background: #fbfbfa;
}

.account-card--brief-compact .account-section-kicker {
  margin-bottom: 8px;
}

.account-brief-compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.account-brief-compact p {
  min-width: 0;
  margin: 0;
  color: #5f6670;
  font-size: 14px;
  line-height: 1.55;
}

.account-brief-compact strong {
  color: var(--dark);
  font-weight: 800;
}

.account-brief-compact span {
  color: #b8b0b0;
  padding: 0 4px;
}

.account-details--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 20px;
}

.account-details div,
.account-details-row span {
  min-width: 0;
}

.account-details dt {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.account-details dd {
  margin: 0;
  color: var(--dark);
  font-size: 16px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.account-details-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.account-verification {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.account-verification span {
  border: 1px solid #e7e2e2;
  border-radius: 999px;
  color: #4b5563;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 750;
}

.account-service-card h2 {
  margin: 4px 0 0;
  color: var(--dark);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.18;
}

.account-service-card p {
  margin: 12px 0 16px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.5;
}

.account-service-card small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.account-card--completion {
  background: linear-gradient(135deg, #fff 0%, #fff8f8 100%);
}

.primary-account-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(43, 43, 42, 0.04);
}

.primary-account-card::before {
  position: absolute;
  inset: 24px auto 24px 0;
  width: 4px;
  content: "";
  border-radius: 0 999px 999px 0;
  background: var(--accent);
}

.primary-account-card__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 24px;
  align-items: center;
}

.primary-account-card h2 {
  margin-top: 8px;
  font-size: 28px;
}

.primary-account-card p:not(.account-section-kicker) {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.55;
}

.primary-account-card .account-service-actions {
  margin-top: 20px;
}

.primary-account-card .account-primary-button,
.primary-account-card .account-secondary-button {
  min-height: 50px;
  padding: 0 24px;
}

.account-project-flow {
  display: grid;
  gap: 10px;
}

.account-project-flow span {
  position: relative;
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(178, 34, 34, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-project-flow span:not(:last-child)::after {
  position: absolute;
  bottom: -12px;
  left: 50%;
  content: "↓";
  color: rgba(178, 34, 34, 0.48);
  font-size: 13px;
  transform: translateX(-50%);
}

.account-card--manager {
  background: #fbfbfa;
}

.account-manager-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-manager-head h2 {
  margin: 0;
}

.account-manager-head span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border: 1px solid rgba(37, 107, 60, 0.22);
  border-radius: 999px;
  background: #edf7ef;
  color: #256b3c;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.account-service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-service-actions .button {
  width: auto;
  min-width: 0;
}

.account-card--manager .account-service-actions {
  flex-wrap: nowrap;
}

.account-card--manager .account-card-link {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

.account-callback-open {
  overflow: hidden;
}

.account-callback-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(35, 38, 41, 0.42);
  padding: 24px;
}

.account-callback-overlay[hidden] {
  display: none;
}

.account-callback-dialog {
  position: relative;
  width: min(100%, 520px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 26px;
  box-shadow: 0 24px 70px rgba(35, 38, 41, 0.2);
}

.account-callback-dialog h2 {
  margin: 0;
  color: var(--dark);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.18;
}

.account-callback-dialog p {
  margin: 10px 0 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.5;
}

.account-callback-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.account-callback-close::before,
.account-callback-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: #6b7280;
}

.account-callback-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.account-callback-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.account-callback-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.account-callback-form label:not(.account-callback-consent) {
  display: grid;
  gap: 7px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 650;
}

.account-callback-form input:not([type="checkbox"]),
.account-callback-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--dark);
  padding: 12px 14px;
  font-size: 14px;
}

.account-callback-form textarea {
  resize: vertical;
}

.account-callback-consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.45;
}

.account-callback-consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.account-callback-consent a {
  color: var(--accent-dark);
  font-weight: 750;
}

.account-callback-status {
  min-height: 20px;
  margin: 0;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}

.account-callback-status.is-error {
  color: #B22222;
}

.account-callback-success {
  display: grid;
  gap: 14px;
}

.account-callback-success[hidden] {
  display: none;
}

.account-card--ecosystem .account-card-head {
  margin-bottom: 16px;
}

.ecosystem-title {
  max-width: 320px;
}

.ecosystem-title-accent {
  color: var(--accent);
}

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

.ecosystem-links a {
  position: relative;
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border: 1px solid #e3dddd;
  border-radius: 12px;
  background: #fff;
  color: var(--dark);
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
  text-align: left;
}

.ecosystem-link-icon,
.account-shop-card__icon {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
  overflow: visible;
  padding: 0;
  mix-blend-mode: multiply;
}

.ecosystem-links a span {
  min-width: 0;
}

.ecosystem-links a:hover {
  border-color: rgba(178, 34, 34, 0.35);
  background: #fffafa;
  color: var(--accent);
}

.quick-actions {
  display: grid;
  gap: 10px;
}

.quick-actions a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e7e2e2;
  border-radius: 8px;
  background: #fff;
  color: var(--dark);
  padding: 0 14px;
  font-size: 14px;
  font-weight: 800;
}

.quick-actions a::after {
  content: "→";
  color: var(--accent);
  font-size: 16px;
}

.account-muted-action {
  border-color: transparent;
  background: #f6f3f1;
  color: #94651d;
}

.auth-page {
  display: grid;
  min-height: calc(100vh - 240px);
  place-items: start center;
  padding: 52px 0 76px;
}

.auth-card {
  width: min(520px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 30px;
}

.auth-card h1,
.auth-card p {
  margin: 0;
}

.auth-card h1 {
  color: var(--dark);
  font-size: 34px;
  font-weight: 850;
  line-height: 1.08;
}

.auth-card > p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.form-field {
  display: grid;
  gap: 7px;
  color: var(--dark);
  font-size: 13px;
  font-weight: 800;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: #fff;
  color: var(--text);
  padding: 0 14px;
  font-weight: 500;
}

.form-field textarea {
  min-height: 96px;
  padding-top: 12px;
  resize: vertical;
}

.auth-policy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.4;
}

.auth-policy a,
.auth-links a {
  color: var(--accent-dark);
  font-weight: 800;
}

.dd-captcha {
  width: 100%;
  max-width: 100%;
  min-height: 100px;
  margin: 16px 0;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  color: #4b5563;
  font-size: 14px;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 750;
}

.form-status.is-error {
  color: #B22222;
}

.form-status.is-ok {
  color: #2f7a47;
}

.account-auth-required {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(178, 34, 34, 0.22);
  border-radius: 8px;
  background: #fffafa;
  padding: 24px;
}

.account-auth-required h2,
.account-auth-required p {
  margin: 0;
}

.account-auth-required h2 {
  color: var(--dark);
  font-size: 26px;
}

.account-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-page--single .account-dashboard {
  display: block;
}

.account-wide-card {
  display: grid;
  gap: 18px;
}

.account-list-table {
  display: grid;
  gap: 10px;
}

.account-order-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.1fr) minmax(130px, 0.8fr) minmax(150px, 0.9fr) minmax(120px, 0.7fr) 168px;
  gap: 16px;
  align-items: center;
  border: 1px solid #ece8e8;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.account-order-row strong {
  color: var(--dark);
}

.account-order-row span,
.account-order-row small {
  display: block;
  color: #4b5563;
  font-size: 13px;
}

.account-order-row small {
  margin-top: 3px;
  color: var(--muted);
}

.account-order-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  white-space: nowrap;
}

.account-order-actions .account-action-link {
  min-height: 32px;
  padding: 0 11px;
  font-size: 12px;
}

.account-order-detail-grid,
.account-profile-grid,
.account-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.account-order-detail-grid > .account-card > h2 {
  margin: 0 0 18px;
  line-height: 1.22;
}

.account-order-detail-grid > .account-service-card > h2 {
  margin-top: 4px;
}

.account-order-detail-grid .account-service-card p {
  margin-top: 0;
  line-height: 1.45;
}

.account-profile-grid .account-card:first-child,
.account-support-grid .account-card:first-child {
  grid-column: 1 / -1;
}

.account-info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.account-info-list div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 12px;
  border-top: 1px solid #ece8e8;
  padding-top: 12px;
}

.account-info-list div:first-child {
  border-top: 0;
  padding-top: 0;
}

.account-info-list dt,
.account-info-list dd {
  margin: 0;
}

.account-info-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.account-info-list dd {
  color: var(--dark);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.account-item-list {
  display: grid;
  gap: 12px;
}

.account-empty-state,
.account-profile-message {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.account-profile-message {
  min-height: 18px;
  margin-top: 12px;
  color: #256b3c;
}

.account-small-card {
  border: 1px solid #ece8e8;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.account-small-card.is-default {
  border-color: rgba(178, 34, 34, 0.34);
  background: #fffafa;
}

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

.account-small-card h3,
.account-small-card p {
  margin: 0;
}

.account-small-card h3 {
  color: var(--dark);
  font-size: 17px;
  font-weight: 850;
}

.account-small-card p {
  margin-top: 7px;
  color: #4b5563;
  font-size: 14px;
}

.account-small-card__badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  background: rgba(178, 34, 34, 0.08);
  color: var(--accent-dark);
  padding: 0 10px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.account-small-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.account-small-card__actions button {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--dark);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 750;
}

.account-small-card__actions button:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

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

.account-profile-form label {
  display: grid;
  gap: 7px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
}

.account-profile-form input {
  width: 100%;
  height: 50px;
  border: 1px solid #d8d2d2;
  border-radius: 12px;
  background: #fff;
  color: var(--dark);
  padding: 0 15px;
  font: inherit;
}

.account-profile-form .account-inline-form__status,
.account-profile-form .account-inline-form__actions {
  grid-column: 1 / -1;
}

.account-profile-form input:focus,
.account-inline-form input:focus,
.account-inline-form select:focus,
.account-inline-form textarea:focus {
  border-color: rgba(178, 34, 34, 0.55);
  outline: none;
  box-shadow: 0 0 0 3px rgba(178, 34, 34, 0.08);
}

.account-service-form,
.account-settings-grid {
  display: grid;
  gap: 18px;
}

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

.account-form-grid[hidden],
[data-organization-fields][hidden],
[data-docs-address-field][hidden] {
  display: none !important;
}

.account-form-grid label,
.account-service-form label {
  display: grid;
  gap: 7px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 750;
}

.account-form-grid input,
.account-form-grid select,
.account-form-grid textarea,
.account-service-form input,
.account-service-form select,
.account-service-form textarea {
  width: 100%;
  border: 1px solid #d8d2d2;
  border-radius: 12px;
  background: #fff;
  color: var(--dark);
  padding: 0 15px;
  font: inherit;
}

.account-form-grid input,
.account-form-grid select,
.account-service-form input,
.account-service-form select {
  height: 50px;
}

.account-form-grid input.field-error,
.account-service-form input.field-error,
.organization-field input.field-error {
  border-color: #B22222;
}

.field-message {
  min-height: 16px;
  color: #B22222;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.account-form-grid textarea,
.account-service-form textarea {
  min-height: 112px;
  padding: 14px 15px;
  resize: vertical;
}

.account-form-grid small {
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.organization-edo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.account-form-grid--organization,
.account-form-grid--bank {
  align-items: start;
  grid-auto-rows: minmax(82px, auto);
}

.account-form-grid--organization label,
.account-form-grid--bank label,
.organization-edo-grid .organization-field {
  grid-template-rows: auto 50px minmax(16px, auto);
  align-content: start;
  min-width: 0;
}

.organization-field {
  display: grid;
  gap: 10px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.organization-field input,
.organization-field select {
  width: 100%;
  height: 50px;
  border: 1px solid #d8d2d2;
  border-radius: 12px;
  background: #fff;
  color: var(--dark);
  padding: 0 15px;
  font: inherit;
}

.organization-field small {
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.organization-summary-card {
  border: 1px solid #E5DEDA;
  border-radius: 28px;
  background: #fff;
  padding: 32px;
}

.organization-summary-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.organization-summary-header h2 {
  margin: 0;
  color: var(--dark);
  font-size: 34px;
  font-weight: 850;
  line-height: 1.15;
}

.organization-summary-header p:last-child {
  margin: 10px 0 0;
  color: #5f6670;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
}

.organization-summary-badge {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(178, 34, 34, 0.2);
  border-radius: 999px;
  background: rgba(178, 34, 34, 0.06);
  color: var(--accent);
  padding: 0 16px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.organization-summary-section {
  display: grid;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid #eee9e9;
}

.organization-summary-section + .organization-summary-section {
  margin-top: 24px;
}

.organization-summary-section h3 {
  margin: 0;
  color: var(--dark);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.25;
}

.organization-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 32px;
}

.organization-summary-item {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.organization-summary-item span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.organization-summary-item strong {
  color: var(--dark);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.organization-summary-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.organization-summary-status {
  flex: 1 1 220px;
}

.account-form-grid__wide {
  grid-column: 1 / -1;
}

.account-form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.account-radio-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.account-radio-group--compact {
  max-width: 420px;
}

.account-radio-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--dark);
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
}

.account-radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.account-radio-card.is-selected,
.account-radio-card:has(input:checked) {
  border-color: rgba(178, 34, 34, 0.55);
  color: var(--accent-dark);
}

.account-checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.35;
}

.account-checkbox-field input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.account-info-note {
  color: #4b5563;
  line-height: 1.4;
}

.account-status.is-invoice {
  background: #f7f2ec;
  color: #8a531a;
}

.account-modal-open {
  overflow: hidden;
}

.account-edit-overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  overflow-y: auto;
  background: rgba(43, 43, 42, 0.28);
  padding: 24px;
}

.account-edit-dialog {
  position: relative;
  width: min(100%, 640px);
  border: 1px solid #e5deda;
  border-radius: 20px;
  background: #fff;
  padding: 34px;
}

.account-edit-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.account-edit-close::before,
.account-edit-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: #6b7280;
}

.account-edit-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.account-edit-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.account-edit-dialog .account-inline-form {
  margin: 0;
  border: 0;
  background: #fff;
  padding: 0;
}

.account-inline-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  border: 1px solid #e3dddd;
  border-radius: 18px;
  background: #faf8f8;
  padding: 22px;
}

.account-inline-form h3 {
  margin: 0;
  color: var(--dark);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.15;
}

.account-inline-form label {
  display: grid;
  gap: 7px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
}

.account-inline-form input,
.account-inline-form select,
.account-inline-form textarea {
  width: 100%;
  border: 1px solid #d8d2d2;
  border-radius: 12px;
  background: #fff;
  color: var(--dark);
  padding: 0 15px;
  font-size: 15px;
  font: inherit;
}

.account-inline-form input,
.account-inline-form select {
  height: 50px;
}

.account-inline-form textarea {
  min-height: 96px;
  padding-top: 14px;
  padding-bottom: 14px;
  resize: vertical;
}

.account-inline-form input:focus,
.account-inline-form select:focus,
.account-inline-form textarea:focus {
  border-color: rgba(178, 34, 34, 0.55);
  outline: none;
  box-shadow: 0 0 0 3px rgba(178, 34, 34, 0.08);
}

.account-inline-form__checkbox {
  display: flex;
  gap: 10px;
  align-items: center;
}

.account-inline-form__checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.account-inline-form__status {
  min-height: 18px;
  margin: 0;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 750;
}

.account-inline-form__status.is-error {
  color: #B22222;
}

.account-inline-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-inline-form__actions .button {
  width: auto;
  min-height: 46px;
}

.account-danger-action {
  min-height: 46px;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  padding: 0 8px;
  font-size: 13px;
  font-weight: 800;
}

.account-card-link:focus:not(:focus-visible),
.account-small-card__actions button:focus:not(:focus-visible),
.account-inline-form__actions button:focus:not(:focus-visible),
.account-edit-close:focus:not(:focus-visible),
.account-danger-action:focus:not(:focus-visible) {
  outline: none;
}

.account-card-link:focus-visible,
.account-small-card__actions button:focus-visible,
.account-profile-form input:focus-visible,
.account-inline-form input:focus-visible,
.account-inline-form textarea:focus-visible,
.account-inline-form select:focus-visible,
.account-inline-form__actions button:focus-visible,
.account-edit-close:focus-visible,
.account-danger-action:focus-visible {
  outline: 2px solid rgba(178, 34, 34, 0.38);
  outline-offset: 2px;
}

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

.order-product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px 110px 120px;
  gap: 12px;
  align-items: center;
  border-top: 1px solid #ece8e8;
  padding-top: 12px;
}

.order-product-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.order-product-row strong,
.order-product-row span {
  color: var(--dark);
  font-size: 14px;
}

.order-product-row small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

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

.recent-grid .product-card {
  width: 100%;
  height: auto;
  min-height: 520px;
}

.recent-grid .product-image {
  height: 260px;
  min-height: 260px;
  padding: 24px 24px 0;
}

.recent-grid .product-card-photo,
.recent-grid .product-card-image-placeholder {
  width: 100%;
  max-width: 268px;
}

.recent-grid .product-card-body {
  padding: 18px 24px 24px;
}

.recent-grid .product-card h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 44px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 22px;
  font-weight: 800;
}

.recent-grid .product-meta {
  font-size: 15px;
}

.recent-grid .rating {
  font-size: 15px;
}

.recent-grid .card-price {
  font-size: 28px;
  font-weight: 900;
}

.recent-card {
  display: grid;
  min-height: 160px;
  align-content: space-between;
  border: 1px solid #ece8e8;
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.recent-card h3,
.recent-card p {
  margin: 0;
}

.recent-card h3 {
  color: var(--dark);
  font-size: 16px;
  font-weight: 850;
}

.recent-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1200px) {
  .recent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 190px minmax(240px, 1fr);
  }

  .site-topbar-links {
    gap: 16px;
    font-size: 12px;
  }

  .site-city-popover {
    width: min(100% - 40px, 980px);
  }

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

  .header-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-bottom: 14px;
  }

  .product-detail-grid {
    grid-template-columns: 110px minmax(0, 1fr) minmax(300px, 340px);
    grid-template-areas:
      "thumbs image buy"
      "info info buy"
      "key key buy";
  }

  .product-main-image {
    min-height: 520px;
  }

  .product-main-photo,
  .product-main-image-placeholder {
    height: 520px;
    min-height: 520px;
  }

  .product-info {
    padding-top: 0;
  }

  .product-characteristics-grid,
  .additional-characteristic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-description-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .delivery-highlights {
    grid-template-columns: 1fr;
  }

  .delivery-content {
    max-width: none;
  }

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

  .partners-page {
    width: min(100% - 40px, 1280px);
  }

  .partners-hero,
  .partners-ecosystem-section,
  .partners-request-section {
    grid-template-columns: 1fr;
  }

  .partners-hero {
    min-height: 0;
  }

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

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

  .direction-card__content {
    max-width: min(84%, 460px);
    padding: 22px;
  }

  .direction-card__content--right {
    max-width: min(66%, 460px);
  }

  .direction-card__logo-wrap {
    height: 58px;
  }

  .direction-card__logo {
    height: 52px;
  }

  .partners-dashboard-top,
  .partners-dashboard-main,
  .partners-dashboard-bottom,
  .partners-footer-inner {
    grid-template-columns: 1fr;
  }

  .catalog-mega-inner {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .catalog-mega-content {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }
}

@media (max-width: 1700px) {
  .home-grid,
  .product-grid.compact {
    width: min(1420px, calc(100vw - 64px));
    grid-template-columns: repeat(4, var(--card-width));
  }

  .catalog-layout.is-sidebar-hidden .catalog-grid {
    grid-template-columns: repeat(4, var(--card-width));
  }
}

@media (max-width: 1555px) {
  .home-grid,
  .product-grid.compact {
    width: min(1056px, calc(100vw - 64px));
    grid-template-columns: repeat(3, var(--card-width));
  }

  .catalog-layout.is-sidebar-hidden .catalog-grid {
    grid-template-columns: repeat(3, var(--card-width));
  }
}

@media (max-width: 1300px) {
  .home-grid,
  .catalog-grid,
  .product-grid.compact {
    width: min(1056px, calc(100vw - 64px));
    grid-template-columns: repeat(3, var(--card-width));
  }

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

  .catalog-content {
    grid-column: 1;
  }

  .catalog-layout.is-sidebar-hidden .catalog-grid {
    grid-template-columns: repeat(3, var(--card-width));
  }
}

@media (max-width: 900px) {
  main,
  .site-topbar-inner,
  .header-inner,
  .footer-inner {
    width: min(100% - 32px, 1320px);
  }

  .product-detail-grid {
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-areas:
      "thumbs image"
      "info info"
      "buy buy"
      "key key";
  }

  .product-buy-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 20px;
  }

  .documents-panel {
    margin-top: 0;
  }

  .price-panel {
    padding: 28px;
  }

  .site-city-popover {
    width: min(100% - 32px, 760px);
    padding: 24px;
  }

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

  .account-order-row,
  .account-order-detail-grid,
  .account-profile-grid,
  .account-support-grid {
    grid-template-columns: 1fr;
  }

  .account-order-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    white-space: normal;
  }

  .order-product-row {
    grid-template-columns: minmax(0, 1fr) 56px 90px 100px;
  }

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

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

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

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

  .filter-panel {
    position: fixed;
    z-index: 20;
    inset: 0 auto 0 0;
    width: min(360px, 92vw);
    overflow: auto;
    border: 1px solid #e3dddd;
    border-left: 0;
    border-radius: 0 22px 22px 0;
    padding: 0 0 24px;
    transform: translateX(-104%);
    transition: transform 0.18s ease;
  }

  .filter-panel .filter-title-row {
    padding-right: 64px;
  }

  .filters-open .filter-panel {
    transform: translateX(0);
  }

  .partner-sidebar {
    border-left: 0;
    padding-left: 0;
  }

  .partners-dashboard-metrics,
  .partners-dashboard-bottom,
  .partners-tabs,
  .partners-steps-grid,
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .partners-steps-grid article:not(:last-child)::after {
    content: none;
  }

  .partners-form-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .direction-card,
  .direction-card--wide {
    min-height: 168px;
    grid-column: span 1;
  }

  .direction-card--tech,
  .direction-card--light,
  .direction-card--santehnika,
  .direction-card--floor,
  .direction-card--rozetki,
  .direction-card--radiators {
    grid-column: span 2;
  }

  .direction-card__content {
    max-width: min(88%, 500px);
  }

  .direction-card__content--right {
    max-width: min(68%, 500px);
  }

  .direction-card__logo-wrap {
    height: 58px;
  }

  .direction-card__logo {
    height: 52px;
  }

  .home-grid,
  .catalog-grid,
  .product-grid.compact {
    width: min(692px, calc(100vw - 32px));
    grid-template-columns: repeat(2, var(--card-width));
  }

  .catalog-layout.is-sidebar-hidden .filter-panel {
    display: block;
  }

  .catalog-layout.is-sidebar-hidden .catalog-grid {
    grid-template-columns: repeat(2, var(--card-width));
  }

  .catalog-mega-inner {
    width: min(100% - 32px, 1320px);
    grid-template-columns: 1fr;
  }

  .catalog-mega-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--dd-border);
    padding-right: 0;
    padding-bottom: 18px;
  }

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

@media (max-width: 680px) {
  .site-topbar-inner {
    min-height: 34px;
  }

  .header-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 14px 0;
  }

  .catalog-mega-toggle {
    width: auto;
  }

  .header-actions {
    grid-column: auto;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
  }

  .site-city {
    width: auto;
  }

  .site-city-button {
    width: auto;
    min-height: 32px;
    padding: 0 4px;
    font-size: 13px;
  }

  .site-city-popover {
    top: auto;
    right: 16px;
    bottom: 16px;
    left: 16px;
    width: auto;
    max-height: calc(100dvh - 32px);
    border-radius: 18px;
    padding: 56px 20px 24px;
    transform: none;
  }

  .site-city-close {
    display: block;
  }

  .site-city-title {
    font-size: 22px;
  }

  .site-city-text {
    font-size: 14px;
  }

  .site-city-list,
  .account-info-list div,
  .order-product-row {
    grid-template-columns: 1fr;
  }

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

  .account-form-grid,
  .account-radio-group,
  .organization-summary-grid,
  .organization-edo-grid {
    grid-template-columns: 1fr;
  }

  .organization-summary-card {
    border-radius: 22px;
    padding: 22px;
  }

  .organization-summary-header {
    display: grid;
    gap: 14px;
  }

  .organization-summary-header h2 {
    font-size: 28px;
  }

  .organization-summary-actions {
    display: grid;
  }

  .organization-summary-actions .button,
  .organization-summary-actions .account-danger-action {
    width: 100%;
  }

  .account-form-actions {
    display: grid;
  }

  .account-form-actions .button {
    width: 100%;
  }

  .account-edit-overlay {
    align-items: end;
    padding: 16px;
  }

  .account-edit-dialog {
    width: 100%;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    border-radius: 18px;
    padding: 28px 20px 20px;
  }

  .account-inline-form__actions {
    display: grid;
  }

  .account-inline-form__actions .button,
  .account-danger-action {
    width: 100%;
  }

  .button.cta {
    min-width: 150px;
  }

  .header-actions > .button.cta {
    width: 100%;
    min-width: 0;
    min-height: 48px;
  }

  .category-menu,
  .service-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .category-nav-list {
    justify-content: flex-start;
    width: calc(100% - 32px);
    padding: 0;
  }

  .partners-page {
    width: min(100% - 32px, 1280px);
  }

  .partners-hero {
    padding-top: 34px;
  }

  .partners-hero-title {
    font-size: 34px;
    letter-spacing: -0.02em;
  }

  .partners-hero-copy > p {
    font-size: 15px;
  }

  .directions-heading {
    gap: 18px;
    margin-bottom: 22px;
  }

  .directions-heading h2 {
    font-size: 28px;
  }

  .directions-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .direction-card,
  .direction-card--wide,
  .direction-card--tech,
  .direction-card--light,
  .direction-card--santehnika,
  .direction-card--radiators {
    min-height: 162px;
    grid-column: span 1;
  }

  .direction-card__content,
  .direction-card__content--right {
    max-width: 88%;
    margin-left: 0;
    padding: 20px;
  }

  .direction-card__logo-wrap {
    height: 54px;
    margin-bottom: 10px;
  }

  .direction-card__logo {
    height: 48px;
  }

  .direction-card__text {
    max-width: 260px;
    font-size: 15px;
  }

  .partners-audience-grid,
  .partners-benefit-grid,
  .partners-dashboard-metrics,
  .partners-dashboard-main,
  .partners-dashboard-bottom,
  .partners-tabs,
    .ecosystem-logo-grid,
  .partners-steps-grid,
    .form-grid {
    grid-template-columns: 1fr;
  }

  .partners-hero-visual,
  .partners-dashboard-shell,
  .partners-ecosystem-section,
  .partners-request-aside,
  .partner-form {
    border-radius: 16px;
    padding: 20px;
  }

  .partners-section h2,
  .partners-ecosystem-section h2 {
    font-size: 26px;
    text-align: left;
  }

  .partners-form-footer,
  .partners-hero-actions {
    align-items: stretch;
  }

  .partners-primary-cta,
  .partner-submit {
    width: 100%;
  }

  .product-card {
    width: min(var(--card-width), 100%);
  }

  .project-item {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar-controls {
    width: 100%;
  }

  .catalog-toolbar select {
    width: 100%;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "thumbs"
      "info"
      "buy"
      "key";
    gap: 20px;
  }

  .product-main-image {
    min-height: 320px;
  }

  .product-main-photo,
  .product-main-image-placeholder {
    height: 320px;
    min-height: 320px;
  }

  .product-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .gallery-thumb {
    width: 82px;
    min-width: 82px;
    min-height: 82px;
    aspect-ratio: 1;
  }

  .gallery-thumb-photo,
  .gallery-thumb-placeholder {
    height: 76px;
    min-height: 76px;
  }

  .product-action-row {
    justify-content: flex-start;
  }

  .product-info h1 {
    font-size: 26px;
  }

  .product-buy-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .documents-panel {
    margin-top: 0;
  }

  .price-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .price-panel .price-main {
    font-size: 34px;
  }

  .product-quantity {
    width: 148px;
    height: 46px;
  }

  .product-buy-button {
    height: 58px;
  }

  .qr-canvas {
    width: 142px;
    height: 142px;
  }

  .product-characteristics-grid,
  .additional-characteristic-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .characteristic-list-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .characteristic-list-row dd {
    text-align: left;
  }

  .breadcrumb-item {
    position: static;
  }

  .breadcrumb-dropdown {
    left: 16px;
    right: 16px;
    width: auto;
    min-width: 0;
    max-width: calc(100vw - 32px);
  }

  .breadcrumb-dropdown a {
    white-space: normal;
  }

  .catalog-mega-categories,
  .catalog-mega-content {
    grid-template-columns: 1fr;
  }

  .delivery-page {
    padding-top: 34px;
    padding-bottom: 54px;
  }

  .delivery-hero {
    padding-top: 12px;
  }

  .delivery-hero h1 {
    font-size: 36px;
  }

  .delivery-hero p {
    font-size: 18px;
  }

  .delivery-intro p,
  .delivery-content p,
  .delivery-content li {
    font-size: 16px;
  }

  .delivery-content h2 {
    font-size: 24px;
  }

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

  .checkout-head,
  .checkout-section-head,
  .cart-total-line,
  .promo-row,
  .summary-row,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner nav {
    gap: 18px;
  }

  .partners-footer-ecosystem-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .home-grid,
  .catalog-grid,
  .product-grid.compact {
    width: min(328px, calc(100vw - 32px));
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog-layout.is-sidebar-hidden .catalog-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1180px) {
  .product-grid.compact.similar-grid {
    max-width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .product-grid.compact.similar-grid {
    width: min(100%, calc(100vw - 32px));
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .product-grid.compact.similar-grid {
    width: min(328px, calc(100vw - 32px));
    max-width: 328px;
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1180px) {
  .partner-dashboard__top,
  .partner-dashboard__main {
    grid-template-columns: 1fr;
  }

  .partner-dashboard__create {
    width: 100%;
  }

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

  .partner-dashboard__stores h3 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .partner-dashboard__stats,
  .partner-dashboard__stores {
    grid-template-columns: 1fr;
  }

  .partner-dashboard__section-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .partners-hero-visual.is-feed,
  .partner-dashboard {
    padding: 14px;
  }

  .partner-account-preview {
    border-radius: 14px;
  }

  .partner-dashboard__projects,
  .partner-dashboard__orders {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .partner-dashboard__table {
    min-width: 650px;
  }

  .partner-dashboard__table--orders {
    min-width: 520px;
  }
}

@media (max-width: 1180px) {
  .account-page {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .account-sidebar {
    min-width: 0;
    position: static;
  }

  .account-menu {
    display: flex;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .account-menu-link {
    flex: 0 0 auto;
    border-bottom: 3px solid transparent;
    border-left: 0;
    white-space: nowrap;
  }

  .account-menu-link:hover,
  .account-menu-link.is-active {
    border-bottom-color: var(--accent);
    border-left-color: transparent;
  }
}

@media (max-width: 900px) {
  .account-hero,
  .account-dashboard {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .account-hero h1 {
    font-size: 34px;
  }

  .primary-account-card__content {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-project-flow {
    display: none;
  }

  .account-row {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }

  .account-row-main,
  .account-row > .account-status,
  .account-row-detail,
  .account-row > .account-action-link,
  .account-row > .account-row-actions {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
  }

  .account-row-detail {
    justify-items: start;
  }

  .account-row-actions {
    justify-content: flex-start;
  }

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

@media (max-width: 680px) {
  .account-page {
    width: min(100% - 32px, var(--desktop-content));
    padding-top: 22px;
    padding-bottom: 44px;
  }

  .account-card,
  .account-sidebar {
    padding: 16px;
  }

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

  .primary-account-card {
    padding: 24px 20px;
  }

  .primary-account-card h2 {
    font-size: 24px;
  }

  .account-card-head {
    display: grid;
    gap: 10px;
  }

  .account-order-head-actions {
    align-items: stretch;
  }

  .account-order-head-actions .account-action-link {
    width: 100%;
  }

  .repair-card-head {
    display: grid;
    gap: 12px;
  }

  .account-card-link,
  .account-action-link,
  .account-muted-action {
    width: fit-content;
  }

  .account-payment-notice {
    right: 16px;
    bottom: 16px;
  }

  .repair-metrics,
  .account-brief-list,
  .account-details--compact,
  .promocode-panel,
  .account-details-row,
  .recent-grid {
    grid-template-columns: 1fr;
  }

  .attention-item {
    grid-template-columns: 1fr;
  }

  .account-service-actions {
    display: grid;
  }

  .ecosystem-links {
    grid-template-columns: 1fr;
  }

  .recent-grid .product-card {
    min-height: 480px;
  }

  .recent-grid .product-image {
    height: 220px;
    min-height: 220px;
  }

  .recent-grid .product-card h3 {
    font-size: 20px;
  }
}

/* Final DD cart */
.cart-page {
  width: min(var(--desktop-content), calc(100% - 136px));
  padding: 52px 0 86px;
  background: #fafafa;
  font-family: var(--font);
}

.cart-hero {
  max-width: 840px;
  margin: 0 0 30px;
}

.cart-hero h1 {
  margin: 0;
  color: var(--dark);
  font-size: clamp(44px, 3vw, 52px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.04;
}

.cart-hero p {
  margin: 14px 0 0;
  color: #5f6670;
  font-size: 18px;
  line-height: 1.55;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: start;
}

.cart-main,
.cart-aside {
  min-width: 0;
}

.cart-main {
  display: grid;
  gap: 22px;
}

.checkout-block.cart-card,
.checkout-block.cart-summary {
  border: 1px solid #e3dddd;
  border-radius: 22px;
  background: #fff;
  padding: 28px;
  box-shadow: none;
}

.checkout-block.cart-summary {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 18px;
  min-height: auto;
  box-shadow: 0 14px 40px rgba(43, 43, 42, 0.04);
}

.checkout-head,
.checkout-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin: 0 0 22px;
}

.checkout-head h2,
.checkout-section-head h2,
.checkout-block.cart-card h2,
.checkout-block.cart-summary h2 {
  margin: 0;
  color: var(--dark);
  font-size: 24px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.15;
}

.checkout-section-head p {
  margin: 6px 0 0;
  color: #5f6670;
  font-size: 14px;
}

.cart-card-eyebrow {
  display: block;
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-clear-button,
.cart-product__remove,
.checkout-city-change,
.cart-promo-link {
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.cart-clear-button,
.checkout-city-change,
.cart-promo-link {
  padding: 0;
}

.cart-clear-button:hover,
.cart-product__remove:hover,
.checkout-city-change:hover,
.cart-promo-link:hover {
  color: var(--accent-dark);
}

.project-list {
  display: grid;
  gap: 0;
}

.project-item.cart-product {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) minmax(156px, auto) minmax(126px, auto);
  gap: 22px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid #eee9e9;
}

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

.project-item.cart-product:last-child {
  padding-bottom: 0;
}

.cart-product__image {
  display: flex;
  width: 132px;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #eee9e9;
  border-radius: 18px;
  background: linear-gradient(135deg, #f6f3f1, #fff);
}

.cart-product__photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cart-product__placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

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

.cart-product__content h3 {
  margin: 0;
  color: var(--dark);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.cart-product__meta,
.cart-product__stock {
  margin: 8px 0 0;
  color: #5f6670;
  font-size: 14px;
  line-height: 1.4;
}

.cart-product__stock {
  color: #3f464f;
}

.cart-product__remove {
  margin-top: 14px;
  padding: 0;
}

.cart-product__controls {
  display: grid;
  justify-items: start;
}

.cart-qty {
  display: grid;
  grid-template-columns: 52px 56px 52px;
  align-items: center;
  overflow: hidden;
  width: 160px;
  min-height: 54px;
  border: 1px solid #cdc7c7;
  border-radius: 999px;
  background: #fff;
}

.cart-qty button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 52px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--dark);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  outline: none;
  pointer-events: auto;
  transition: background 140ms ease, color 140ms ease;
}

.cart-qty button:hover {
  background: #f4f4f3;
}

.cart-qty button:active {
  background: #ece8e8;
  color: #111;
}

.cart-qty button:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(43, 43, 42, 0.18);
}

.cart-qty button:disabled {
  color: #c2c6cc;
  cursor: default;
  background: transparent;
}

.cart-qty span {
  display: inline-flex;
  min-width: 56px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #eee9e9;
  border-left: 1px solid #eee9e9;
  color: var(--dark);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.cart-product__sum {
  display: grid;
  gap: 4px;
  justify-items: end;
  text-align: right;
}

.cart-product__sum span {
  color: #8b929c;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.cart-product__sum strong {
  color: var(--dark);
  font-size: 20px;
  font-weight: 900;
}

.cart-block.is-empty .cart-clear-button {
  display: none;
}

.checkout-page.is-cart-empty .cart-delivery,
.checkout-page.is-cart-empty .cart-checkout,
.checkout-page.is-cart-empty .cart-comment,
.checkout-page.is-cart-empty .cart-support-grid,
.checkout-page.is-cart-empty .cart-aside {
  display: none;
}

.cart-page .empty-state {
  padding: 28px;
  border: 1px dashed #d8d2d2;
  border-radius: 18px;
  background: #fff;
}

.cart-page .empty-state h2 {
  margin: 0 0 8px;
}

.cart-page .empty-state p {
  margin: 0 0 18px;
  color: #5f6670;
}

.checkout-city {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  color: #5f6670;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.checkout-city-muted,
.checkout-city-separator {
  color: #5f6670;
}

.checkout-city [data-site-city-label] {
  color: var(--dark);
  font-weight: 800;
}

.delivery-option {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 0;
  margin: 0 0 12px;
  padding: 18px 62px 18px 18px;
  border: 1px solid #e3dddd;
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}

.checkout-block.cart-delivery .delivery-option {
  display: grid;
  gap: 18px;
  margin-bottom: 12px;
  color: var(--dark);
}

.delivery-option:last-of-type {
  margin-bottom: 0;
}

.delivery-option.is-active {
  border-color: #9ca3af;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(43, 43, 42, 0.12);
}

.delivery-option-text {
  display: grid;
  gap: 4px;
}

.delivery-option-text strong {
  color: var(--dark);
  font-size: 16px;
  font-weight: 850;
}

.delivery-option.is-active .delivery-option-text strong {
  font-weight: 900;
}

.delivery-option-text small,
.delivery-option-price,
.cart-note {
  color: #5f6670;
  font-size: 13px;
  line-height: 1.4;
}

.delivery-option-price {
  font-weight: 750;
  text-align: right;
}

.delivery-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.delivery-radio-control {
  position: absolute;
  top: 50%;
  right: 24px;
  display: block;
  width: 20px;
  height: 20px;
  border: 1.5px solid #b8bec6;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.delivery-radio-control::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dark);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transform-origin: center;
  transition: opacity 160ms ease, transform 160ms ease;
}

.delivery-radio-control.is-active,
.delivery-option.is-active .delivery-radio-control,
.delivery-radio:checked + .delivery-radio-control {
  border-color: #6f7780;
}

.delivery-radio-control.is-active::after,
.delivery-option.is-active .delivery-radio-control::after,
.delivery-radio:checked + .delivery-radio-control::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.cart-note {
  margin: 16px 0 0;
}

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

.cart-form-grid label {
  display: grid;
  gap: 8px;
  margin: 0;
  color: #7a7f87;
  font-size: 14px;
  font-weight: 750;
}

.cart-form-grid input,
.cart-promo input,
.cart-comment textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #d8d2d2;
  border-radius: 12px;
  background: #fff;
  color: var(--dark);
  font-size: 15px;
  outline: none;
}

.cart-form-grid input,
.cart-promo input {
  height: 52px;
  padding: 0 16px;
}

.cart-promo input {
  min-width: 0;
  padding-inline: 10px;
  font-size: 15px;
}

.cart-promo input::placeholder {
  color: #8f969f;
  font-size: 15px;
  opacity: 1;
}

.cart-form-grid input:focus,
.cart-promo input:focus,
.cart-comment textarea:focus {
  border-color: rgba(178, 34, 34, 0.5);
  box-shadow: 0 0 0 3px rgba(178, 34, 34, 0.08);
}

.cart-address {
  margin-top: 22px;
}

.cart-address h3,
.cart-promo h3 {
  margin: 0 0 12px;
  color: var(--dark);
  font-size: 16px;
  font-weight: 850;
}

.cart-form-grid--address {
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
}

.checkout-account-panel {
  display: grid;
  gap: 22px;
}

.checkout-choice-section {
  display: grid;
  gap: 12px;
}

.checkout-choice-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.checkout-choice-head h3 {
  margin: 0;
  color: var(--dark);
  font-size: 16px;
  font-weight: 850;
}

.cart-inline-action {
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  padding: 0;
}

.cart-inline-action:hover {
  color: var(--accent-dark);
}

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

.checkout-choice-card {
  display: grid;
  gap: 5px;
  min-width: 0;
  min-height: 112px;
  align-content: start;
  border: 1px solid #e3dddd;
  border-radius: 14px;
  background: #fff;
  color: #5f6670;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  line-height: 1.35;
  padding: 14px;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.checkout-choice-card:hover {
  border-color: #c9c3c3;
}

.checkout-choice-card.is-selected {
  border-color: #6f7780;
  box-shadow: 0 0 0 1px rgba(43, 43, 42, 0.12);
}

.checkout-choice-card:focus-visible,
.cart-inline-action:focus-visible {
  outline: 2px solid rgba(178, 34, 34, 0.24);
  outline-offset: 3px;
}

.checkout-choice-card__header {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.checkout-choice-card__badges {
  display: inline-flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.checkout-choice-card__title {
  min-width: 0;
  color: var(--dark);
  font-size: 15px;
  font-weight: 850;
}

.checkout-choice-badge {
  flex: 0 0 auto;
  border: 1px solid rgba(178, 34, 34, 0.18);
  border-radius: 999px;
  background: rgba(178, 34, 34, 0.06);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 5px 9px;
  white-space: nowrap;
}

.checkout-choice-badge--type {
  border-color: #d8d2d2;
  background: #f7f7f6;
  color: var(--dark);
}

.checkout-choice-empty {
  margin: 0;
  border: 1px dashed #d8d2d2;
  border-radius: 14px;
  color: #5f6670;
  font-size: 14px;
  padding: 14px;
}

.checkout-inline-form {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #eee9e9;
  border-radius: 14px;
  background: #fbfbfb;
}

.checkout-inline-form[hidden] {
  display: none;
}

.checkout-inline-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.checkout-recipient-status {
  min-height: 18px;
  margin: 14px 0 0;
  color: #5f6670;
  font-size: 13px;
  font-weight: 650;
}

.checkout-recipient-status.is-ok {
  color: #1f7a4d;
}

.checkout-recipient-status.is-error {
  color: var(--accent);
}

.checkout-payer {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.checkout-payer h3 {
  margin: 0;
  color: var(--dark);
  font-size: 16px;
  font-weight: 850;
}

.checkout-payer-options {
  display: grid;
  gap: 8px;
}

.checkout-payer-card {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
  border: 1px solid #e3dddd;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 10px 12px;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.checkout-payer-card[hidden] {
  display: none;
}

.checkout-payer-card:hover {
  border-color: #c9c3c3;
}

.checkout-payer-card.is-selected {
  border-color: #bdb6b6;
  box-shadow: 0 0 0 1px rgba(43, 43, 42, 0.08);
}

.checkout-payer-card.is-disabled {
  cursor: not-allowed;
  background: #fafafa;
  opacity: 0.72;
}

.checkout-payer-card input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--accent);
  cursor: inherit;
}

.checkout-payer-card span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.checkout-payer-card strong {
  color: var(--dark);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.25;
}

.checkout-payer-card small {
  color: #6f7780;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.checkout-organization-state {
  display: grid;
  gap: 8px;
  min-height: 0;
}

.checkout-payer-note,
.checkout-organization-warning p {
  margin: 0;
  color: #6f7780;
  font-size: 13px;
  line-height: 1.4;
}

.checkout-organization-warning {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  border: 1px dashed #d8d2d2;
  border-radius: 12px;
  background: #fbfbfb;
  padding: 10px 12px;
}

.checkout-organization-warning .button {
  min-height: 34px;
  padding: 8px 12px;
  font-size: 13px;
}

.checkout-organization-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  border: 1px solid #e3dddd;
  border-radius: 12px;
  background: #fbfbfb;
  color: #5f6670;
  font-size: 13px;
  line-height: 1.35;
  padding: 10px 12px;
}

.checkout-organization-summary span {
  border: 1px solid #d8d2d2;
  border-radius: 999px;
  background: #fff;
  color: var(--dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 5px 8px;
}

.checkout-organization-summary strong {
  color: var(--dark);
  font-size: 14px;
  font-weight: 750;
}

.checkout-organization-summary small {
  color: #6f7780;
  font-size: 13px;
}

.cart-comment p {
  margin: 8px 0 16px;
  color: #5f6670;
  font-size: 14px;
}

.cart-comment textarea {
  min-height: 128px;
  max-height: 140px;
  padding: 16px;
  resize: vertical;
}

.cart-support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 22px;
}

.cart-service-card {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.cart-service-mark {
  display: block;
  width: 46px;
  height: 6px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #2b2b2a;
}

.cart-service-card p,
.cart-project-card p {
  margin: 12px 0 18px;
  color: #5f6670;
  font-size: 15px;
  line-height: 1.55;
}

.cart-service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}

.cart-service-card li {
  padding: 8px 12px;
  border: 1px solid #e3dddd;
  border-radius: 14px;
  background: #fff;
  color: var(--dark);
  font-size: 13px;
  font-weight: 750;
}

.cart-service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cart-service-actions .button,
.cart-project-card .button {
  min-height: 46px;
  border-radius: 14px;
  padding-inline: 18px;
}

.cart-service-actions .button:first-child {
  border-color: #cfc8c8;
  background: #f7f7f6;
  color: var(--dark);
}

.cart-service-actions .button:hover,
.cart-project-card .button:hover,
.cart-promo-row .button:hover {
  border-color: #b9b1b1;
  background: #f7f7f6;
}

.cart-service-status,
.cart-project-status,
.cart-promo-status {
  min-height: 18px;
  margin: 12px 0 0;
  color: #5f6670;
  font-size: 13px;
  line-height: 1.4;
}

.cart-service-card .cart-service-status,
.cart-project-card .cart-project-status,
.cart-promo .cart-promo-status {
  margin: 12px 0 0;
}

.cart-project-card .cart-project-status {
  min-height: 16px;
  margin-top: 8px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

.cart-service-status.is-ok,
.cart-project-status.is-ok,
.cart-promo-status.is-ok {
  color: #2f7a47;
}

.cart-project-status.is-error,
.cart-promo-status.is-error {
  color: var(--accent);
}

.cart-project-upload {
  display: grid;
  gap: 12px;
  position: relative;
}

.cart-project-file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  max-width: 1px;
  min-width: 0;
  height: 1px;
  min-height: 0;
  margin: -1px;
  border: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

.cart-project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cart-project-file {
  margin: 0;
  border: 1px solid #e3dddd;
  border-radius: 14px;
  background: #fafafa;
  color: var(--dark);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  word-break: break-word;
}

.cart-project-card .cart-project-file {
  margin: 0;
}

.cart-summary .summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  color: #5f6670;
  font-size: 15px;
}

.cart-summary .summary-row strong {
  color: var(--dark);
  font-weight: 850;
  text-align: right;
}

.cart-summary .summary-row.total {
  padding-top: 18px;
  border-top: 1px solid #ece8e8;
  color: var(--dark);
  font-size: 18px;
  font-weight: 850;
}

.cart-summary .summary-row.total strong {
  color: var(--accent);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.05;
}

.cart-promo {
  padding: 18px;
  border: 1px solid #e3dddd;
  border-radius: 18px;
  background: #fff;
}

.cart-promo.is-applied {
  border-color: #d8cccc;
  background: #fff;
}

.cart-promo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.cart-promo-row .button {
  min-height: 52px;
  border-radius: 14px;
  padding-inline: 12px;
}

.cart-promo-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.cart-promo-list:empty {
  display: none;
}

.cart-promo-card {
  display: grid;
  gap: 8px;
  border: 1px solid #e3dddd;
  border-radius: 14px;
  background: #fafafa;
  padding: 12px;
}

.cart-promo-card.is-active {
  border-color: #d8cccc;
  box-shadow: none;
}

.cart-promo-card__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  align-items: center;
  min-height: 0;
  border: 0;
  background: transparent;
  color: var(--dark);
  padding: 0;
  text-align: left;
}

.cart-promo-card__main span {
  min-width: 0;
  color: #6b7280;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
}

.cart-promo-card__main strong {
  color: var(--dark);
  font-size: 16px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.cart-promo-card small {
  color: #5f6670;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

.cart-promo-card__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.cart-promo-reset {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  padding: 0;
}

.cart-promo-reset:hover {
  color: #8f1f1f;
}

.cart-promo-reset:focus-visible {
  outline: 2px solid rgba(178, 34, 34, 0.24);
  outline-offset: 3px;
}

.cart-promo p {
  margin: 12px 0 8px;
  color: #5f6670;
  font-size: 13px;
}

.cart-promo-offer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.cart-promo-offer strong {
  color: var(--dark);
  font-weight: 850;
  letter-spacing: 0;
}

.cart-promo-status {
  margin-bottom: 0;
}

.order-cost-actions {
  display: grid;
  gap: 14px;
  width: 100%;
  justify-self: stretch;
  margin-top: 0;
}

.checkout-block .policy-row.cart-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0;
  color: #5f6670;
  font-size: 12.5px;
  line-height: 1.45;
}

.checkout-block .policy-checkbox {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.cart-consent a {
  color: var(--accent);
  font-weight: 700;
}

.payment-status {
  min-height: 18px;
  margin: 0;
  color: #5f6670;
  font-size: 13px;
  line-height: 1.4;
}

.payment-status.is-error {
  color: var(--accent);
}

.payment-status.is-ok {
  color: #2f7a47;
}

.checkout-submit {
  width: 100%;
  min-height: 56px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 850;
}

.checkout-submit-wrap {
  display: block;
  width: 100%;
}

.checkout-submit:disabled,
.checkout-submit[aria-disabled="true"] {
  background: #d7d2ce;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.78;
}

.checkout-submit:disabled {
  pointer-events: none;
}

@media (max-width: 1180px) {
  .cart-page {
    width: min(100% - 48px, var(--desktop-content));
  }

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

  .checkout-block.cart-summary {
    position: static;
  }

  .project-item.cart-product {
    grid-template-columns: 120px minmax(0, 1fr) minmax(150px, auto);
  }

  .cart-product__sum {
    grid-column: 2 / 4;
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .cart-page {
    width: min(100% - 32px, var(--desktop-content));
    padding: 34px 0 56px;
  }

  .cart-hero h1 {
    font-size: 40px;
  }

  .cart-hero p {
    font-size: 16px;
  }

  .checkout-block.cart-card,
  .checkout-block.cart-summary {
    padding: 20px;
    border-radius: 18px;
  }

  .checkout-head,
  .checkout-section-head {
    display: grid;
    gap: 12px;
  }

  .project-item.cart-product {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cart-product__image {
    width: 100%;
    max-width: 220px;
  }

  .cart-product__controls,
  .cart-product__sum {
    justify-items: start;
    text-align: left;
  }

  .cart-product__sum {
    grid-column: auto;
  }

  .delivery-option {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-right: 58px;
  }

  .delivery-option-price {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
  }

  .delivery-radio-control {
    right: 20px;
  }

  .cart-form-grid,
  .cart-form-grid--address,
  .checkout-choice-list,
  .cart-support-grid,
  .cart-promo-row {
    grid-template-columns: 1fr;
  }

  .checkout-choice-head,
  .checkout-inline-form__actions {
    display: grid;
    justify-items: start;
  }

  .checkout-choice-card__header {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .cart-service-actions {
    display: grid;
  }

  .cart-project-actions {
    display: grid;
  }

  .cart-service-actions .button,
  .cart-project-card .button,
  .cart-promo-row .button,
  .checkout-inline-form .button {
    width: 100%;
  }

  .cart-summary .summary-row.total strong {
    font-size: 28px;
  }
}
