:root {
  --blue: #0057c8;
  --blue-dark: #0044a7;
  --blue-deep: #003f9f;
  --blue-soft: #eef6ff;
  --red: #ff315e;
  --ink: #101828;
  --muted: #5e6a7d;
  --soft: #f7faff;
  --line: #d9e3f2;
  --line-light: #e7edf6;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(0, 55, 130, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--white);
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: 0;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

.icon-sprite {
  display: none;
}

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

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

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

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line-light);
}

.header-main {
  display: grid;
  grid-template-columns: 184px 128px minmax(320px, 1fr) auto auto auto;
  gap: 24px;
  align-items: center;
  min-width: 0;
  padding-top: 24px;
  padding-bottom: 22px;
}

.brand {
  display: inline-flex;
  width: max-content;
  flex-direction: column;
  justify-content: center;
  color: var(--blue);
  font-weight: 900;
  line-height: 0.86;
}

.brand-main {
  font-size: 43px;
  letter-spacing: 0;
}

.brand-sub {
  margin-top: 4px;
  font-size: 18px;
  letter-spacing: 0;
}

.brand-logo-image {
  display: block;
  width: auto;
  max-width: 176px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}


.catalog-button {
  display: inline-flex;
  min-height: 52px;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  color: var(--white);
  background: var(--blue);
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0, 87, 200, 0.18);
}

.catalog-button:hover,
.catalog-button:focus-visible,
.slider-button:hover,
.slider-button:focus-visible,
.product-bottom button:hover,
.product-bottom button:focus-visible,
.newsletter-field button:hover,
.newsletter-field button:focus-visible {
  background: var(--blue-dark);
}

.catalog-button .icon {
  width: 20px;
  height: 20px;
}

.search-panel {
  display: grid;
  min-height: 52px;
  min-width: 0;
  grid-template-columns: 1fr 48px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #cbd7e9;
  border-radius: 8px;
  background: var(--white);
}

.search-panel input {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 18px;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
}

.search-panel input::placeholder {
  color: #8d98aa;
}

.search-panel button {
  display: grid;
  height: 50px;
  place-items: center;
  color: #1b2740;
  border: 0;
  background: transparent;
}

.search-panel button:hover,
.search-panel button:focus-visible {
  color: var(--blue);
}

.phone-block {
  display: grid;
  grid-template-columns: 28px max-content;
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: #101828;
}

.phone-block .icon {
  width: 21px;
  height: 21px;
  color: #667085;
}

.phone-block strong,
.phone-block small {
  display: block;
  line-height: 1.2;
}

.phone-block strong {
  font-size: 14px;
  font-weight: 800;
}

.phone-block small {
  margin-top: 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.city-selector {
  position: relative;
  min-width: 0;
}

.city-selector-button {
  display: grid;
  min-height: 52px;
  min-width: 178px;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 0 14px;
  color: #101828;
  border: 1px solid #cbd7e9;
  border-radius: 8px;
  background: var(--white);
  text-align: left;
}

.city-selector-button:hover,
.city-selector-button:focus-visible,
.city-selector.is-open .city-selector-button {
  border-color: #9dbbe2;
  box-shadow: 0 0 0 3px rgba(0, 87, 200, 0.08);
}

.city-selector-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--blue);
}

.city-selector-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.city-selector-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.city-selector-kicker {
  color: #667085;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.city-selector-copy strong {
  min-width: 0;
  overflow: hidden;
  color: #101828;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.city-selector-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  display: grid;
  width: min(360px, calc(100vw - 36px));
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(0, 55, 130, 0.14);
}

.city-selector-panel[hidden] {
  display: none;
}

.city-selector-search {
  width: 100%;
  height: 42px;
  min-width: 0;
  padding: 0 12px;
  color: var(--ink);
  border: 1px solid #cbd7e9;
  border-radius: 8px;
  outline: 0;
  background: #fbfdff;
  font-size: 14px;
  font-weight: 700;
}

.city-selector-search:focus {
  border-color: #9dbbe2;
  box-shadow: 0 0 0 3px rgba(0, 87, 200, 0.08);
}

.city-selector-list {
  display: grid;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
}

.city-selector-option {
  display: grid;
  min-height: 46px;
  gap: 3px;
  align-items: center;
  padding: 8px 10px;
  color: #101828;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
}

.city-selector-option:hover,
.city-selector-option:focus-visible {
  background: #f0f6ff;
}

.city-selector-option.is-selected {
  color: var(--white);
  background: var(--blue);
}

.city-selector-option span {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.city-selector-option small {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.city-selector-option.is-selected small {
  color: rgba(255, 255, 255, 0.82);
}

.city-selector-status,
.city-selector-empty {
  margin: 0;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.city-selector-status.is-error {
  color: #b42318;
}

.city-selector-empty {
  padding: 12px 10px;
}

.quick-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  min-width: 0;
}

.quick-actions a {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 7px;
  color: #344054;
  font-size: 12px;
  line-height: 1.1;
}

.quick-actions a[data-auth-link] {
  width: auto;
  min-width: 58px;
  text-align: center;
}

.quick-actions a[data-auth-link][data-auth-state="loading"],
.quick-actions a[data-auth-link].auth-loading {
  visibility: hidden;
  pointer-events: none;
}

.quick-actions a[data-auth-link].auth-ready {
  visibility: visible;
}

.quick-actions a[data-auth-link].auth-profile-link {
  display: grid;
  width: auto;
  max-width: 132px;
  min-width: 58px;
  gap: 6px;
  justify-items: center;
  align-items: center;
  text-align: center;
}

.header-auth-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  border-radius: 50%;
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.header-auth-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-actions a[data-auth-link].auth-profile-link.has-auth-avatar > svg.icon {
  display: none !important;
}

.quick-actions a[data-auth-link].auth-profile-link [data-auth-label] {
  display: block;
  max-width: 132px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  line-height: 1.1;
}

.quick-actions .icon {
  width: 26px;
  height: 26px;
  stroke-width: 1.65;
}

.quick-actions a:hover,
.quick-actions a:focus-visible,
.site-nav a:hover,
.site-nav a:focus-visible,
.section-heading a:hover,
.section-heading a:focus-visible,
.info-card a:hover,
.info-card a:focus-visible,
.footer-menu a:hover,
.footer-menu a:focus-visible {
  color: var(--blue);
}

.site-nav {
  border-top: 1px solid var(--line-light);
}

.nav-scroll {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  overflow-x: auto;
  padding-top: 21px;
  padding-bottom: 21px;
  scrollbar-width: none;
}

.nav-scroll::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  flex: 0 0 auto;
  color: #101828;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav .sale-link {
  color: var(--red);
}

.hero-section {
  padding: 28px 0 30px;
}

.market-slider {
  position: relative;
}

.slider-viewport {
  position: relative;
  height: clamp(430px, 31vw, 560px);
  overflow: hidden;
  border: 1px solid #c8d8ee;
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 108%, rgba(68, 154, 255, 0.28) 0 18%, transparent 19%),
    radial-gradient(circle at 80% 42%, rgba(0, 91, 214, 0.11) 0 35%, transparent 36%),
    linear-gradient(112deg, #f8fbff 0%, #eef6ff 52%, #f8fbff 100%);
  box-shadow: 0 20px 50px rgba(0, 55, 130, 0.11);
}

.slider-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.slider-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.slider-slide::before,
.slider-slide::after {
  position: absolute;
  inset: auto;
  content: "";
  border: 2px solid rgba(255, 255, 255, 0.64);
  border-radius: 50%;
  pointer-events: none;
}

.slider-slide::before {
  width: 620px;
  height: 620px;
  left: -250px;
  bottom: -300px;
}

.slider-slide::after {
  width: 900px;
  height: 900px;
  right: -260px;
  top: -310px;
}

.slide-logo {
  position: absolute;
  top: 32px;
  right: 42px;
  z-index: 3;
  color: var(--blue);
  font-size: 35px;
  font-weight: 900;
  line-height: 0.85;
}

.slide-content {
  position: absolute;
  top: 70px;
  left: 76px;
  z-index: 3;
  display: block;
  max-width: 560px;
}

.slide-title {
  display: block;
  color: #0a1832;
  font-size: 54px;
  font-weight: 900;
  line-height: 1.02;
}

.slide-title span {
  display: block;
  color: var(--blue);
}

.slide-text {
  display: block;
  max-width: 470px;
  margin-top: 22px;
  color: #1f2937;
  font-size: 17px;
  line-height: 1.45;
}

.slide-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 0 20px;
  color: var(--white);
  background: var(--blue);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(0, 87, 200, 0.18);
}

.slide-cta .icon {
  width: 18px;
  height: 18px;
}

.slider-slide:hover .slide-cta,
.slider-slide:focus-visible .slide-cta {
  background: var(--blue-dark);
}

.slide-visual {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 63%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.equipment-visual {
  right: -2%;
  bottom: -6%;
  width: 66%;
  height: 112%;
  object-position: right center;
}

.clinic-visual {
  right: -1%;
  width: 66%;
  object-position: center;
}

.academy-visual {
  right: 0;
  width: 62%;
  object-position: center;
}

.slide-features {
  position: absolute;
  left: 76px;
  bottom: 36px;
  z-index: 4;
  display: flex;
  max-width: calc(100% - 152px);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(208, 222, 244, 0.82);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 32px rgba(0, 55, 130, 0.08);
  backdrop-filter: blur(8px);
}

.slide-features > span {
  display: grid;
  min-height: 58px;
  grid-template-columns: 38px minmax(86px, 140px);
  gap: 12px;
  align-items: center;
  padding: 10px 18px;
  color: #16233a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.slide-features > span + span {
  border-left: 1px solid rgba(168, 190, 224, 0.72);
}

.feature-icon {
  width: 36px;
  height: 36px;
  color: var(--blue);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.text-icon {
  display: grid;
  place-items: center;
  border: 2px solid rgba(0, 87, 200, 0.22);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.slider-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #13233d;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 32px rgba(16, 38, 74, 0.12);
  transform: translateY(-50%);
}

.slider-button .icon {
  width: 25px;
  height: 25px;
  stroke-width: 1.6;
}

.slider-button-prev {
  left: 18px;
}

.slider-button-prev .icon {
  transform: rotate(180deg);
}

.slider-button-next {
  right: 32px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c8cfd9;
}

.slider-dots button.is-active {
  background: var(--blue);
}

.slider-dots .slider-autoplay-toggle {
  width: auto;
  min-width: 64px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid #c8d3e2;
  border-radius: 999px;
  background: #fff;
  color: #233650;
  font-size: 12px;
  font-weight: 700;
}

.slider-dots .slider-autoplay-toggle[aria-pressed="true"] {
  border-color: var(--blue);
  color: var(--blue);
}

.slider-dots .slider-autoplay-toggle:disabled {
  cursor: default;
  opacity: .72;
}

.category-section {
  padding: 0 0 30px;
}

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

.category-card {
  display: grid;
  min-height: 106px;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  align-items: center;
  padding: 20px 22px;
  color: #111827;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.category-card:hover,
.category-card:focus-visible {
  color: var(--blue);
  border-color: #b9cae5;
  box-shadow: 0 12px 30px rgba(0, 55, 130, 0.08);
  transform: translateY(-2px);
}

.category-icon {
  width: 44px;
  height: 44px;
  color: var(--blue);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.category-image {
  display: block;
  object-fit: contain;
  fill: initial;
  stroke: initial;
}

.products-section {
  padding: 0 0 32px;
}

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

.section-heading h2,
.brands-section h2 {
  margin: 0;
  color: #121826;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
}

.section-heading a,
.info-card a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.section-heading .icon,
.info-card a .icon {
  width: 18px;
  height: 18px;
}

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

.product-card {
  display: flex;
  min-width: 0;
  min-height: 292px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-card:hover {
  border-color: #bfd0e8;
  box-shadow: 0 16px 36px rgba(0, 55, 130, 0.09);
  transform: translateY(-2px);
}

.product-card > img {
  width: 100%;
  height: 154px;
  padding: 20px 18px 8px;
  object-fit: contain;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 16px 16px;
}

.product-info h3 {
  margin: 0;
  color: #121826;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.product-info p {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.product-bottom strong {
  color: #0b1220;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.product-bottom button {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--white);
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(0, 87, 200, 0.2);
}

.product-bottom button .icon {
  width: 20px;
  height: 20px;
}

.info-section {
  padding: 0 0 28px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 1.05fr 0.95fr;
  gap: 20px;
}

.info-card {
  display: flex;
  min-height: 258px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.info-card h2 {
  margin: 0 0 18px;
  color: #121826;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.info-card p {
  margin: 0;
  color: #344054;
  font-size: 13px;
  line-height: 1.5;
}

.info-card a {
  margin-top: auto;
}

.info-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  color: var(--blue);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.info-icon.big {
  width: 52px;
  height: 52px;
}

.about-card {
  display: grid;
  grid-template-columns: 43% 1fr;
  gap: 24px;
  padding: 0;
}

.about-card img {
  width: 100%;
  height: 100%;
  min-height: 258px;
  object-fit: cover;
  object-position: center;
}

.about-card div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px 26px 30px 0;
}

.news-list {
  display: grid;
  min-width: 0;
  gap: 14px;
}

.news-list p {
  min-width: 0;
}

.info-card .news-list a {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.news-list time {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.feature-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-card li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  color: #344054;
  font-size: 13px;
  line-height: 1.35;
}

.mini-icon {
  width: 24px;
  height: 24px;
  color: var(--blue);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.brands-section {
  padding: 0 0 30px;
}

.brands-section h2 {
  margin-bottom: 14px;
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(var(--brand-columns, 8), minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.brand-logo {
  display: grid;
  min-height: 70px;
  place-items: center;
  padding: 12px;
  color: #143969;
  border-right: 1px solid var(--line-light);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.brand-logo:last-child {
  border-right: 0;
}

.brand-logo span {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  font-weight: 700;
}

.brand-logo.has-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo.has-image img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}


.brand-logo.nsk {
  color: #0068bd;
  font-size: 29px;
  font-style: italic;
}

.brand-logo.sirona {
  color: #5d6573;
  font-size: 16px;
  font-weight: 700;
}

.brand-logo.kavo {
  color: #3c4b5f;
  font-size: 24px;
}

.brand-logo.voco {
  color: #0e65c7;
}

.brand-logo.mmm {
  color: #f01822;
  grid-template-columns: auto auto;
  gap: 8px;
  font-size: 30px;
}

.brand-logo.mmm span {
  max-width: 84px;
  margin-top: 0;
  color: #333;
  text-align: left;
}

.brand-logo.ivoclar {
  color: #23748c;
  font-size: 25px;
}

.brand-logo.bien {
  color: #0055c8;
  font-size: 21px;
  font-style: italic;
}

.brand-logo.melag {
  color: #146ac4;
  font-size: 23px;
}

.site-footer {
  margin-top: 0;
  color: var(--white);
  background: #0052bf;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(270px, 1.35fr) repeat(var(--footer-menu-count, 3), minmax(170px, 0.85fr));
  gap: 72px;
  padding-top: 42px;
  padding-bottom: 44px;
}

.footer-brand {
  color: var(--white);
}

.footer-logo-image {
  display: block;
  width: auto;
  max-width: 176px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}


.footer-about p,
.newsletter p {
  margin: 18px 0 0;
  max-width: 270px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.5;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-links a {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.social-links .icon {
  width: 17px;
  height: 17px;
  stroke-width: 1.7;
}

.footer-about small {
  display: block;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.footer-menu,
.newsletter {
  display: flex;
  flex-direction: column;
}

.footer-menu h2,
.newsletter h2 {
  margin: 0 0 20px;
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.footer-menu a {
  margin-bottom: 11px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  transition:
    color 260ms ease,
    opacity 260ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-menu a:hover,
.footer-menu a:focus-visible {
  color: #fff;
  opacity: 1;
  transform: translateX(4px);
}

@media (max-width: 1480px) {
  .header-main {
    grid-template-columns: 150px 128px minmax(260px, 1fr);
  }

  .phone-block {
    grid-column: 1;
  }

  .city-selector {
    grid-column: 2;
  }

  .city-selector-button {
    width: 100%;
  }

  .quick-actions {
    grid-column: 3;
    justify-content: flex-end;
  }
}

.newsletter form {
  margin-top: 22px;
}

.newsletter-field {
  display: grid;
  grid-template-columns: 1fr 52px;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: var(--white);
}

.newsletter-field input {
  min-width: 0;
  padding: 0 16px;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
}

.newsletter-field input::placeholder {
  color: #8a95a8;
}

.newsletter-field button {
  display: grid;
  place-items: center;
  color: var(--white);
  border: 0;
  border-left: 1px solid rgba(0, 87, 200, 0.18);
  background: var(--blue);
}

.privacy-check {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 8px;
  align-items: start;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  line-height: 1.35;
}

.privacy-check input {
  width: 14px;
  height: 14px;
  margin: 1px 0 0;
  accent-color: var(--blue);
}

@media (max-width: 1200px) {
  .header-main {
    grid-template-columns: 150px 128px minmax(260px, 1fr);
  }

  .phone-block {
    grid-column: 1;
  }

  .city-selector {
    grid-column: 2;
  }

  .city-selector-button {
    width: 100%;
  }

  .quick-actions {
    grid-column: 3;
    justify-content: flex-end;
  }

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

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

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

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

  .brand-logo:nth-child(4n) {
    border-right: 0;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 54px;
  }
}

@media (max-width: 820px) {
  .container {
    padding-right: 18px;
    padding-left: 18px;
  }

  .header-main {
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .brand-main {
    font-size: 31px;
  }

  .brand-sub {
    font-size: 13px;
  }

  .search-panel {
    grid-column: 1 / -1;
  }

  .phone-block {
    grid-column: 1;
  }

  .city-selector {
    grid-column: 2;
    justify-self: end;
  }

  .quick-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .quick-actions a {
    min-height: 48px;
    align-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .nav-scroll {
    justify-content: flex-start;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .hero-section {
    padding-top: 22px;
  }

  .slider-viewport {
    height: 520px;
    border-radius: 22px;
  }

  .slide-logo {
    top: 24px;
    right: 28px;
    font-size: 28px;
  }

  .slide-content {
    top: 38px;
    left: 30px;
    max-width: 390px;
  }

  .slide-title {
    font-size: 36px;
  }

  .slide-text {
    max-width: 340px;
    margin-top: 16px;
    font-size: 14px;
  }

  .slide-cta {
    min-height: 40px;
    margin-top: 18px;
    font-size: 13px;
  }

  .slide-visual {
    right: -28%;
    bottom: 84px;
    width: 94%;
    height: 54%;
    opacity: 0.82;
  }

  .equipment-visual {
    right: -30%;
    bottom: 86px;
    width: 94%;
    height: 58%;
  }

  .clinic-visual,
  .academy-visual {
    right: -38%;
    bottom: 92px;
    width: 106%;
    height: 55%;
  }

  .slide-features {
    right: 24px;
    left: 24px;
    bottom: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .slide-features > span {
    min-height: 50px;
    grid-template-columns: 30px 1fr;
    gap: 8px;
    padding: 8px 10px;
    font-size: 11px;
  }

  .slide-features > span + span {
    border-left: 0;
  }

  .slide-features > span:nth-child(2n) {
    border-left: 1px solid rgba(168, 190, 224, 0.72);
  }

  .slide-features > span:nth-child(n + 3) {
    border-top: 1px solid rgba(168, 190, 224, 0.72);
  }

  .feature-icon {
    width: 30px;
    height: 30px;
  }

  .slider-button {
    width: 44px;
    height: 44px;
  }

  .slider-button-prev {
    left: 16px;
  }

  .slider-button-next {
    right: 16px;
  }

  .slider-dots {
    margin-top: 14px;
  }

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

  .category-card {
    min-height: 96px;
    padding: 18px;
  }

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

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

  .about-card {
    grid-template-columns: 36% 1fr;
  }

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

  .brand-logo:nth-child(2n) {
    border-right: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14px;
  }

  .catalog-button {
    min-height: 48px;
    width: 48px;
    padding: 0 14px;
  }

  .catalog-button span {
    display: none;
  }

  .phone-block {
    grid-template-columns: 24px 1fr;
  }

  .phone-block strong {
    font-size: 13px;
  }

  .slider-viewport {
    height: 540px;
    border-width: 2px;
    border-radius: 18px;
  }

  .slide-logo {
    top: 20px;
    right: 22px;
    font-size: 24px;
  }

  .slide-content {
    top: 34px;
    left: 22px;
    max-width: calc(100% - 44px);
  }

  .slide-title {
    max-width: 340px;
    font-size: 31px;
  }

  .slide-text {
    max-width: 300px;
    font-size: 13px;
  }

  .slide-visual {
    right: -48%;
    bottom: 96px;
    width: 122%;
    height: 48%;
    opacity: 0.78;
  }

  .equipment-visual {
    right: -48%;
    bottom: 94px;
    width: 120%;
    height: 50%;
  }

  .clinic-visual,
  .academy-visual {
    right: -56%;
    bottom: 98px;
    width: 132%;
    height: 48%;
  }

  .slide-features {
    right: 16px;
    left: 16px;
    bottom: 16px;
  }

  .slide-features > span {
    grid-template-columns: 26px 1fr;
    font-size: 10px;
  }

  .feature-icon {
    width: 26px;
    height: 26px;
  }

  .slider-button {
    width: 38px;
    height: 38px;
  }

  .slider-button .icon {
    width: 20px;
    height: 20px;
  }

  .slider-button-prev {
    left: 10px;
  }

  .slider-button-next {
    right: 10px;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 0;
  }

  .product-card > img {
    height: 190px;
  }

  .section-heading {
    align-items: flex-start;
  }

  .section-heading h2,
  .brands-section h2 {
    font-size: 20px;
  }

  .about-card {
    display: flex;
  }

  .about-card img {
    height: 190px;
    min-height: 0;
  }

  .about-card div {
    padding: 26px;
  }

  .info-card {
    min-height: 230px;
    padding: 26px;
  }
}

.catalog-page {
  background:
    linear-gradient(180deg, #fbfdff 0%, #fff 280px),
    var(--white);
}

.catalog-browser-page {
  min-height: 640px;
  background:
    linear-gradient(180deg, #fbfdff 0%, #fff 360px),
    var(--white);
}

.catalog-browser {
  padding: 34px 0 58px;
}

.catalog-browser-shell {
  max-width: 1480px;
}

.catalog-browser-layout {
  display: grid;
  grid-template-columns: 294px minmax(0, 1fr);
  min-height: 662px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(0, 55, 130, 0.08);
}

.catalog-sidebar {
  min-width: 0;
  padding: 20px 16px;
  border-right: 1px solid var(--line-light);
  background: #f8fbff;
}

.catalog-side-search {
  display: grid;
  min-height: 44px;
  grid-template-columns: minmax(0, 1fr) 42px;
  overflow: hidden;
  border: 1px solid #cbd7e9;
  border-radius: 8px;
  background: var(--white);
}

.catalog-side-search input {
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
}

.catalog-side-search input::placeholder {
  color: #8d98aa;
}

.catalog-side-search button {
  display: grid;
  place-items: center;
  color: var(--white);
  border: 0;
  background: var(--blue);
}

.catalog-side-search button:hover,
.catalog-side-search button:focus-visible {
  background: var(--blue-dark);
}

.catalog-side-search .icon {
  width: 20px;
  height: 20px;
}

.catalog-menu {
  display: grid;
  max-height: 566px;
  gap: 7px;
  margin-top: 18px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-color: #8b98a8 transparent;
  scrollbar-width: thin;
}

.catalog-menu::-webkit-scrollbar {
  width: 7px;
}

.catalog-menu::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #8b98a8;
}

.catalog-menu::-webkit-scrollbar-track {
  background: transparent;
}

.catalog-menu-link {
  display: grid;
  min-height: 56px;
  grid-template-columns: 36px minmax(0, 1fr) 16px;
  gap: 12px;
  align-items: center;
  padding: 8px 9px;
  color: #1f2a3d;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  transition: background 160ms ease, color 160ms ease;
}

.catalog-menu-link:hover,
.catalog-menu-link:focus-visible {
  color: var(--blue);
  background: #eef6ff;
}

.catalog-menu-link.is-active {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(0, 87, 200, 0.18);
}

.catalog-menu-link.is-active:hover,
.catalog-menu-link.is-active:focus-visible {
  color: var(--white);
  background: var(--blue-dark);
}

.catalog-menu-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

.catalog-menu-icon svg,
.catalog-group-icon svg,
.all-categories-link .icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.catalog-chevron {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
  opacity: 0.6;
}

.catalog-content {
  min-width: 0;
  padding: 28px 34px 38px;
}

.catalog-content-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.catalog-content-header h1 {
  margin: 0;
  color: #0f172a;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.12;
}

.catalog-content-header p {
  max-width: 690px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.all-categories-link {
  display: inline-grid;
  min-height: 44px;
  grid-template-columns: 22px auto;
  gap: 10px;
  align-items: center;
  padding: 0 16px;
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.all-categories-link:hover,
.all-categories-link:focus-visible {
  color: var(--blue-dark);
  border-color: #b9cae5;
  box-shadow: 0 10px 24px rgba(0, 55, 130, 0.08);
}

.catalog-groups-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 38px;
  align-items: start;
}

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

.catalog-group-head {
  display: grid;
  min-width: 0;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.catalog-group-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #f7fbff;
}

.catalog-group h2 {
  margin: 0;
  color: #182238;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
}

.catalog-sublist {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 0 0 54px;
  list-style: none;
}

.catalog-sublist a {
  color: #506079;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.catalog-sublist a:hover,
.catalog-sublist a:focus-visible {
  color: var(--blue);
}

.catalog-button[aria-expanded="true"] {
  background: var(--blue-dark);
}

.catalog-modal-open {
  overflow: hidden;
}

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

.catalog-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  align-items: start;
  padding: 28px 44px;
}

.catalog-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, 0.42);
  backdrop-filter: blur(2px);
}

.catalog-dialog {
  position: relative;
  display: flex;
  width: min(1392px, 100%);
  max-height: calc(100vh - 56px);
  flex-direction: column;
  min-width: 0;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 28px 80px rgba(0, 33, 78, 0.2);
}

.catalog-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line-light);
  background: var(--white);
}

.catalog-modal-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
}

.catalog-modal-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.catalog-close-button {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: #344054;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.catalog-close-button:hover,
.catalog-close-button:focus-visible {
  color: var(--blue);
  border-color: #b9cae5;
}

.catalog-close-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.catalog-modal-layout {
  display: grid;
  grid-template-columns: 294px minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
}

.catalog-panel-sidebar {
  min-width: 0;
  padding: 20px 16px;
  border-right: 1px solid var(--line-light);
  background: #f8fbff;
}

.catalog-panel-search {
  display: grid;
  min-height: 44px;
  grid-template-columns: minmax(0, 1fr) 42px;
  overflow: hidden;
  border: 1px solid #cbd7e9;
  border-radius: 8px;
  background: var(--white);
}

.catalog-panel-search input {
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
}

.catalog-panel-search input::placeholder {
  color: #8d98aa;
}

.catalog-panel-search button {
  display: grid;
  place-items: center;
  color: var(--white);
  border: 0;
  background: var(--blue);
}

.catalog-panel-search button:hover,
.catalog-panel-search button:focus-visible {
  background: var(--blue-dark);
}

.catalog-panel-search svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.catalog-panel-menu {
  display: grid;
  max-height: calc(100vh - 196px);
  gap: 7px;
  margin-top: 18px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-color: #8b98a8 transparent;
  scrollbar-width: thin;
}

.catalog-panel-menu::-webkit-scrollbar {
  width: 7px;
}

.catalog-panel-menu::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #8b98a8;
}

.catalog-panel-menu-link {
  display: grid;
  min-height: 56px;
  grid-template-columns: 36px minmax(0, 1fr) 16px;
  gap: 12px;
  align-items: center;
  padding: 8px 9px;
  color: #1f2a3d;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  transition: background 160ms ease, color 160ms ease;
}

.catalog-panel-menu-link:hover,
.catalog-panel-menu-link:focus-visible {
  color: var(--blue);
  background: #eef6ff;
}

.catalog-panel-menu-link.is-active {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(0, 87, 200, 0.18);
}

.catalog-panel-menu-link.is-active:hover,
.catalog-panel-menu-link.is-active:focus-visible {
  color: var(--white);
  background: var(--blue-dark);
}

.catalog-panel-icon,
.catalog-panel-group-icon {
  display: grid;
  place-items: center;
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

.catalog-panel-icon {
  width: 36px;
  height: 36px;
}

.catalog-panel-group-icon {
  width: 42px;
  height: 42px;
  background: #f7fbff;
}

.catalog-panel-icon svg,
.catalog-panel-group-icon svg,
.catalog-panel-all-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.catalog-panel-chevron {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
  opacity: 0.6;
}

.catalog-panel-content {
  min-width: 0;
  overflow-y: auto;
  padding: 28px 34px 38px;
}

.catalog-panel-content-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.catalog-panel-content-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.12;
}

.catalog-panel-content-head p {
  max-width: 690px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.catalog-panel-all-link {
  display: inline-grid;
  min-height: 44px;
  grid-template-columns: 22px auto;
  gap: 10px;
  align-items: center;
  padding: 0 16px;
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.catalog-panel-all-link:hover,
.catalog-panel-all-link:focus-visible {
  color: var(--blue-dark);
  border-color: #b9cae5;
  box-shadow: 0 10px 24px rgba(0, 55, 130, 0.08);
}

.catalog-panel-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 38px;
  align-items: start;
}

.catalog-panel-group {
  min-width: 0;
}

.catalog-panel-group[data-catalog-selected-root] {
  grid-column: 1 / -1;
  max-width: 820px;
}

.catalog-panel-group-head {
  display: grid;
  min-width: 0;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.catalog-panel-group h3 {
  margin: 0;
  color: #182238;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
}

.catalog-panel-sublist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 0 0 54px;
  list-style: none;
}

.catalog-panel-sublist li {
  min-width: 0;
}

.catalog-panel-group[data-catalog-selected-root] > .catalog-panel-sublist > li > a {
  color: #2c3950;
  font-weight: 800;
}

.catalog-panel-sublist .catalog-panel-sublist {
  gap: 5px;
  margin-top: 8px;
  margin-bottom: 2px;
  margin-left: 2px;
  padding-left: calc(18px + var(--category-depth, 0) * 10px);
  border-left: 1px solid #d7e0eb;
}

.catalog-panel-sublist a {
  color: #506079;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.catalog-panel-sublist .catalog-panel-sublist a {
  color: #68778c;
  font-size: 13px;
  font-weight: 500;
}

.catalog-panel-sublist a:hover,
.catalog-panel-sublist a:focus-visible {
  color: var(--blue);
}

.catalog-panel-placeholder {
  display: block;
  padding: 12px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.catalog-heading {
  padding: 34px 0 18px;
}

.catalog-heading-inner,
.catalog-categories .container {
  max-width: 1480px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7a8495;
  font-size: 13px;
  font-weight: 600;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--blue);
}

.breadcrumbs span:last-child {
  color: #111827;
}

.catalog-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
}

.catalog-title-row h1 {
  margin: 0;
  color: #0f172a;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.08;
}

.catalog-title-row p {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.catalog-stat {
  display: grid;
  min-width: 118px;
  min-height: 72px;
  place-items: center;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(0, 55, 130, 0.06);
}

.catalog-stat strong {
  color: var(--blue);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.catalog-stat span {
  margin-top: 4px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.catalog-categories {
  padding: 18px 0 64px;
}

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

.catalog-tile {
  position: relative;
  display: grid;
  min-height: 106px;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  overflow: hidden;
  padding: 22px 28px;
  color: #111827;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.catalog-tile::after {
  display: none;
}

.catalog-tile:hover,
.catalog-tile:focus-visible {
  color: var(--blue);
  border-color: #adc4e5;
  box-shadow: 0 16px 38px rgba(0, 55, 130, 0.1);
  transform: translateY(-2px);
}

.catalog-tile-sale {
  border-color: var(--line);
}

.catalog-line-icon {
  width: 38px;
  height: 38px;
  color: var(--blue);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.catalog-tile-title {
  color: #101828;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.28;
}

.catalog-tree-tile {
  align-items: flex-start;
}

.catalog-tree-body {
  display: grid;
  min-width: 0;
  gap: 10px;
}

.catalog-tree-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.catalog-tree-sublist {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalog-tree-sublist .catalog-tree-sublist {
  margin-top: 7px;
  padding-left: calc(14px + var(--category-depth, 0) * 8px);
  border-left: 1px solid var(--line-light);
}

.catalog-tree-sublist a {
  color: #506079;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.catalog-tree-sublist a:hover,
.catalog-tree-sublist a:focus-visible,
.catalog-tree-tile .catalog-tile-title:hover,
.catalog-tree-tile .catalog-tile-title:focus-visible {
  color: var(--blue);
}

.quick-actions a {
  position: relative;
}

.action-count {
  position: absolute;
  top: -8px;
  right: 6px;
  display: grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  padding: 0 5px;
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 999px;
  background: var(--red);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.product-category-page,
.product-detail-page,
.auth-page,
.account-page,
.checkout-page {
  min-height: 620px;
  background:
    linear-gradient(180deg, #fbfdff 0%, #fff 340px),
    var(--white);
}

.product-category-page {
  --category-filter-header-height: 0px;
  --category-filter-sticky-gap: 18px;
  --category-filter-sticky-offset: calc(var(--category-filter-header-height) + var(--category-filter-sticky-gap));
}

.product-category-head {
  padding: 34px 0 20px;
}

.product-category-container,
.auth-container,
.account-container,
.checkout-container {
  max-width: 1480px;
}

.product-category-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: 18px;
}

.product-category-title-row h1,
.auth-info h1 {
  margin: 0;
  color: #0f172a;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.08;
}

.product-category-title-row p,
.auth-info p {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.category-kpis {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.category-kpis span {
  display: grid;
  min-width: 116px;
  min-height: 72px;
  place-items: center;
  padding: 10px 16px;
  color: #667085;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0, 55, 130, 0.06);
}

.category-kpis strong {
  color: var(--blue);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.category-shop-section {
  padding: 14px 0 72px;
}

.category-shop-layout {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.category-filter-panel {
  position: sticky;
  top: var(--category-filter-sticky-offset);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  max-height: calc(100vh - var(--category-filter-sticky-offset) - var(--category-filter-sticky-gap));
  max-height: calc(100dvh - var(--category-filter-sticky-offset) - var(--category-filter-sticky-gap));
  overflow: hidden;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(0, 55, 130, 0.07);
}

.category-filter-panel h2,
.category-filter-panel h3 {
  margin: 0;
  color: #101828;
  font-weight: 900;
  line-height: 1.2;
}

.category-filter-panel h2 {
  font-size: 18px;
}

.category-filter-panel h3 {
  font-size: 14px;
}

.category-filter-list {
  display: grid;
  gap: 7px;
  min-height: 0;
  margin-top: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-color: #b7c7dc transparent;
  scrollbar-width: thin;
}

.category-filter-list::-webkit-scrollbar {
  width: 7px;
}

.category-filter-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #b7c7dc;
}

.category-filter-list::-webkit-scrollbar-track {
  background: transparent;
}

.category-filter-tree {
  display: grid;
  grid-column: 1 / -1;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-filter-node {
  min-width: 0;
}

.category-filter-node .category-filter-tree {
  margin-top: 7px;
}

.category-filter-list a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  color: #344054;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.category-filter-list > a {
  grid-column: 1 / -1;
}

.category-filter-node a {
  padding-left: calc(12px + var(--category-depth, 0) * 14px);
}

.category-filter-list a small {
  flex: 0 0 auto;
  color: #8b98a8;
  font-size: 11px;
  font-weight: 800;
}

.category-filter-list a:hover,
.category-filter-list a:focus-visible {
  color: var(--blue);
  background: #eef6ff;
}

.category-filter-node.has-active-child > a {
  color: var(--blue);
  background: #f4f8ff;
}

.category-filter-list a.is-active {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(0, 87, 200, 0.16);
}

.category-filter-list a.is-active small {
  color: rgba(255, 255, 255, 0.78);
}

.filter-block {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}

.filter-block label {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.filter-block input,
.auth-options input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--blue);
}

.category-products-area {
  min-width: 0;
}

.category-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 55, 130, 0.06);
}

.category-toolbar p {
  margin: 0;
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}

.category-toolbar strong {
  color: var(--blue);
  font-weight: 900;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.sort-control select {
  min-width: 190px;
  height: 42px;
  padding: 0 38px 0 14px;
  color: #182238;
  border: 1px solid #cbd7e9;
  border-radius: 8px;
  outline: 0;
  background:
    linear-gradient(45deg, transparent 50%, #667085 50%) right 17px center / 7px 7px no-repeat,
    linear-gradient(135deg, #667085 50%, transparent 50%) right 12px center / 7px 7px no-repeat,
    var(--white);
  appearance: none;
}

.sort-control select:focus {
  border-color: #9dbbe2;
  box-shadow: 0 0 0 3px rgba(0, 87, 200, 0.12);
}

.category-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 18px;
}

.shop-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 432px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(0, 55, 130, 0.05);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.shop-card:hover {
  border-color: #bfd0e8;
  box-shadow: 0 18px 42px rgba(0, 55, 130, 0.1);
  transform: translateY(-2px);
}

.shop-card-top {
  position: absolute;
  top: 14px;
  right: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}

.stock-label {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: #087443;
  border: 1px solid #b7e4cf;
  border-radius: 999px;
  background: #ecfdf3;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.shop-card-actions {
  display: flex;
  gap: 7px;
  pointer-events: auto;
}

.product-icon-action {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #344054;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(16, 38, 74, 0.08);
}

.product-icon-action:hover,
.product-icon-action:focus-visible,
.product-icon-action.is-active {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.product-icon-action .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.product-icon-action.is-active .icon {
  fill: currentColor;
}

.shop-card-image {
  display: grid;
  height: 244px;
  place-items: center;
  overflow: hidden;
  padding: 48px 18px 18px;
  border-bottom: 1px solid var(--line-light);
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.shop-card-image img {
  width: 100%;
  height: 178px;
  max-width: 100%;
  object-fit: contain;
}

.shop-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 18px 18px 20px;
}

.shop-card-category {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.shop-card-body h2 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #101828;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.22;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.shop-card-body > p:not(.shop-card-category) {
  display: -webkit-box;
  max-height: calc(1.42em * 3);
  margin: 9px 0 14px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.shop-card-unit-note {
  margin: -4px 0 12px;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.shop-card-rating {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.shop-card-rating .icon {
  width: 16px;
  height: 16px;
  color: #f5a524;
  fill: currentColor;
  stroke-width: 1.6;
}

.shop-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.shop-card-footer strong {
  min-width: 0;
  flex: 1 1 112px;
  color: #0b1220;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}

.add-cart-button {
  display: inline-flex;
  max-width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 14px;
  color: var(--white);
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(0, 87, 200, 0.18);
}

.add-cart-button:disabled,
.add-cart-button[disabled] {
  cursor: not-allowed;
  color: #667085;
  background: #e4e9f2;
  box-shadow: none;
}

.add-cart-button:hover,
.add-cart-button:focus-visible,
.auth-submit:hover,
.auth-submit:focus-visible,
.cart-checkout-link:hover,
.cart-checkout-link:focus-visible {
  background: var(--blue-dark);
}

.add-cart-button .icon {
  width: 18px;
  height: 18px;
}

.shop-cart-open {
  overflow: hidden;
}

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

.cart-drawer-shell {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  justify-items: end;
}

.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, 0.42);
  backdrop-filter: blur(2px);
}

.cart-drawer {
  position: relative;
  display: flex;
  width: min(462px, calc(100vw - 36px));
  height: 100%;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: var(--white);
  box-shadow: -20px 0 62px rgba(0, 33, 78, 0.2);
  opacity: 0;
  transform: translateX(22px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.cart-drawer-shell.is-open .cart-drawer {
  opacity: 1;
  transform: translateX(0);
}

.cart-drawer-head,
.cart-drawer-footer {
  flex: 0 0 auto;
  padding: 22px 24px;
  background: var(--white);
}

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line-light);
}

.cart-drawer-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.12;
}

.cart-drawer-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.cart-icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  color: #344054;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.cart-icon-button:hover,
.cart-icon-button:focus-visible,
.cart-remove:hover,
.cart-remove:focus-visible,
.cart-qty button:hover,
.cart-qty button:focus-visible {
  color: var(--blue);
  border-color: #b9cae5;
}

.cart-icon-button svg,
.cart-remove svg,
.cart-qty svg,
.cart-checkout-link svg,
.cart-empty svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.cart-drawer-list {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 12px;
  min-height: 0;
  overflow-y: auto;
  padding: 18px;
  background: #f8fbff;
}

.cart-empty {
  display: grid;
  min-height: 280px;
  place-items: center;
  align-content: center;
  padding: 28px;
  color: #344054;
  border: 1px dashed #c8d8ee;
  border-radius: 8px;
  background: var(--white);
  text-align: center;
}

.cart-empty svg {
  width: 42px;
  height: 42px;
  color: var(--blue);
}

.cart-empty h3 {
  margin: 14px 0 8px;
  color: #101828;
  font-size: 18px;
  font-weight: 900;
}

.cart-empty p {
  max-width: 290px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.cart-line {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.cart-line-invalid {
  border-color: #fecdca;
  background: #fffbfa;
}

.cart-line img {
  width: 78px;
  height: 78px;
  padding: 8px;
  object-fit: contain;
  border-radius: 8px;
  background: #f8fbff;
}

.cart-line-info {
  min-width: 0;
}

.cart-line-info h3 {
  margin: 0;
  color: #101828;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.cart-line-info p {
  margin: 5px 0 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.cart-line-info .cart-line-status {
  color: #b42318;
  font-weight: 800;
}

.cart-line-info .cart-line-unit {
  margin-top: 4px;
  margin-bottom: 6px;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
}

.cart-line-info strong {
  color: #0b1220;
  font-size: 15px;
  font-weight: 900;
}

.cart-line-controls {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-qty {
  display: inline-grid;
  grid-template-columns: 30px 34px 30px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.cart-qty button,
.cart-remove {
  display: grid;
  place-items: center;
  color: #344054;
  border: 0;
  background: var(--white);
}

.cart-qty button {
  width: 30px;
  height: 30px;
}

.cart-qty button:disabled {
  cursor: not-allowed;
  color: #98a2b3;
  background: #f2f4f7;
}

.cart-qty span {
  display: grid;
  height: 30px;
  place-items: center;
  color: #101828;
  border-right: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
  font-size: 13px;
  font-weight: 900;
}

.cart-remove {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-drawer-footer {
  border-top: 1px solid var(--line-light);
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #344054;
  font-size: 15px;
  font-weight: 800;
}

.cart-total-row strong {
  color: #0b1220;
  font-size: 22px;
  font-weight: 900;
  white-space: nowrap;
}

.cart-checkout-link {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--white);
  border-radius: 8px;
  background: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.cart-checkout-link.is-disabled {
  pointer-events: none;
  cursor: not-allowed;
  color: #667085;
  background: #e4e9f2;
  box-shadow: none;
}

.shop-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  max-width: min(320px, calc(100vw - 36px));
  padding: 13px 16px;
  color: var(--white);
  border-radius: 8px;
  background: #101828;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.22);
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.shop-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.catalog-empty {
  display: grid;
  grid-column: 1 / -1;
  min-height: 220px;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 28px;
  color: #344054;
  border: 1px dashed #c8d8ee;
  border-radius: 8px;
  background: var(--white);
  text-align: center;
}

.catalog-empty h3,
.catalog-empty p {
  margin: 0;
}

.catalog-empty h3 {
  color: #101828;
  font-size: 18px;
  font-weight: 900;
}

.catalog-empty p {
  max-width: 360px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.product-info h3 a,
.shop-card-body h2 a {
  color: inherit;
}

.shop-card.is-unavailable {
  opacity: 0.72;
}

.product-detail-section {
  padding: 34px 0 76px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 22px;
}

.product-detail-media,
.product-detail-main {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(0, 55, 130, 0.07);
}

.product-detail-media {
  display: grid;
  min-height: 520px;
  place-items: center;
  padding: 34px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.product-detail-media img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
}

.product-detail-main {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.product-detail-main h1 {
  margin: 0;
  color: #101828;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.12;
}

.product-detail-article {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin: -8px 0 -6px;
  color: #667085;
  font-size: 13px;
  line-height: 1.35;
}

.product-detail-article span {
  font-weight: 700;
}

.product-detail-article strong {
  color: #344054;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.product-detail-subtitle {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.product-detail-sale-info {
  margin: -4px 0 0;
  padding: 10px 12px;
  color: #475467;
  border: 1px solid #d9e7fa;
  border-radius: 8px;
  background: #f7fbff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.product-detail-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: #f8fbff;
}

.product-detail-status strong {
  color: #0b1220;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.product-detail-status span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  color: #087443;
  border: 1px solid #b7e4cf;
  border-radius: 999px;
  background: #ecfdf3;
  font-size: 12px;
  font-weight: 900;
}

/* Product delivery promise */
.product-detail-delivery {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid #d9e7fa;
  border-radius: 8px;
  background: #f7fbff;
  color: #475467;
  font-size: 13px;
  line-height: 1.45;
}

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

.product-detail-delivery > span {
  font-weight: 700;
}

.product-detail-delivery > strong {
  color: #101828;
  font-weight: 900;
}

.product-detail-delivery a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.product-detail-meta div,
.product-variant-single {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-detail-meta span,
.product-variant-single span,
.product-variant-head span {
  color: #667085;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.product-detail-meta strong,
.product-variant-single strong,
.product-variant-head strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #101828;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
}

.product-variant-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

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

.product-variant-group {
  display: grid;
  gap: 9px;
  min-width: 0;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}

.product-variant-group:last-child {
  margin-bottom: 0;
}

.product-variant-group legend {
  color: #344054;
  font-size: 13px;
  font-weight: 900;
}

.product-variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-variant-chip {
  min-height: 38px;
  padding: 0 14px;
  color: #344054;
  border: 1px solid #cbd7e9;
  border-radius: 8px;
  background: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.product-variant-chip:hover,
.product-variant-chip:focus-visible,
.product-variant-chip.is-active {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.product-variant-chip:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.product-props-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.product-props-list div {
  display: grid;
  grid-template-columns: minmax(110px, 0.38fr) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-light);
}

.product-props-list div:last-child {
  border-bottom: 0;
}

.product-props-list dt,
.product-props-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.35;
}

.product-props-list dt {
  color: #667085;
  font-weight: 800;
}

.product-props-list dd {
  color: #101828;
  font-weight: 900;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.product-quantity {
  display: inline-grid;
  grid-template-columns: 42px 72px 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-quantity button,
.product-quantity input {
  height: 46px;
  border: 0;
  background: var(--white);
  color: #101828;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.product-quantity button {
  color: #344054;
}

.product-quantity button:hover,
.product-quantity button:focus-visible {
  color: var(--blue);
  background: #eef6ff;
}

.product-quantity input {
  border-right: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
  outline: 0;
}

.product-detail-cart-button {
  min-width: 190px;
  min-height: 46px;
}

.auth-section {
  padding: 34px 0 76px;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 462px;
  gap: 54px;
  align-items: start;
  margin-top: 24px;
}

.auth-info {
  min-width: 0;
  max-width: 650px;
  padding-top: 28px;
}

.auth-info ul {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.auth-info li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: #344054;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.auth-info .icon {
  width: 22px;
  height: 22px;
  color: var(--blue);
  stroke-width: 2.2;
}

.auth-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 54px rgba(0, 55, 130, 0.1);
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border-bottom: 1px solid var(--line-light);
  background: #f5f8fd;
}

.auth-tabs button {
  min-height: 44px;
  color: #344054;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 14px;
  font-weight: 900;
}

.auth-tabs button:hover,
.auth-tabs button:focus-visible {
  color: var(--blue);
}

.auth-tabs button.is-active {
  color: var(--blue);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(0, 55, 130, 0.08);
}

.auth-form {
  display: grid;
  gap: 17px;
  padding: 28px;
}

.auth-form[hidden] {
  display: none;
}

.auth-form h2 {
  margin: 0 0 2px;
  color: #101828;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.auth-field {
  display: grid;
  min-height: 50px;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid #cbd7e9;
  border-radius: 8px;
  background: var(--white);
}

.auth-field:focus-within {
  border-color: #9dbbe2;
  box-shadow: 0 0 0 3px rgba(0, 87, 200, 0.12);
}

.auth-field .icon {
  width: 20px;
  height: 20px;
  color: #667085;
}

.auth-field input,
.auth-field select {
  width: 100%;
  min-width: 0;
  height: 48px;
  color: #101828;
  border: 0;
  outline: 0;
  background: transparent;
}

.auth-field select {
  cursor: pointer;
}

.checkout-city-field {
  grid-template-columns: 22px minmax(0, 1fr) 14px;
  position: relative;
}

.checkout-city-field select {
  appearance: none;
  padding-right: 8px;
  font-weight: 700;
  color: #101828;
  cursor: pointer;
}

.checkout-city-field::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid #667085;
  border-bottom: 2px solid #667085;
  transform: rotate(45deg) translateY(-2px);
  pointer-events: none;
  justify-self: center;
}

.checkout-city-field:focus-within::after {
  border-color: #0057c8;
}

.auth-field input::placeholder {
  color: #98a2b3;
}

.auth-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 76px;
  padding: 13px 0;
  color: #101828;
  border: 0;
  outline: 0;
  background: transparent;
  resize: vertical;
}

.auth-field textarea::placeholder {
  color: #98a2b3;
}

.auth-field-textarea {
  min-height: 84px;
  align-items: start;
}

.auth-field-textarea .icon {
  margin-top: 14px;
}

.auth-client-type {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.auth-client-type legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: #344054;
  font-size: 13px;
  font-weight: 900;
}

.auth-client-type label {
  position: relative;
  display: block;
  min-width: 0;
}

.auth-client-type input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.auth-client-type span {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  color: #344054;
  border: 1px solid #cbd7e9;
  border-radius: 8px;
  background: #f8fbff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.auth-client-type input:checked + span {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(0, 87, 200, 0.16);
}

.auth-client-type input:focus-visible + span {
  border-color: #9dbbe2;
  box-shadow: 0 0 0 3px rgba(0, 87, 200, 0.12);
}

.auth-client-fields {
  display: grid;
  gap: 17px;
}

.auth-client-fields[hidden] {
  display: none;
}

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.auth-options label {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.auth-options a {
  color: var(--blue);
  font-weight: 800;
  white-space: nowrap;
}

.auth-options a:hover,
.auth-options a:focus-visible {
  color: var(--blue-dark);
}

.auth-submit {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0, 87, 200, 0.18);
}

.auth-message {
  min-height: 20px;
  margin: 0;
  color: #087443;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.auth-message.is-error {
  color: #b42318;
}

.auth-message:empty {
  display: none;
}

.auth-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.account-section {
  padding: 34px 0 76px;
}

.account-shell {
  display: grid;
  grid-template-columns: 304px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.account-sidebar,
.account-panel,
.account-auth-state {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(0, 55, 130, 0.08);
}

.account-auth-state {
  max-width: 680px;
  margin-top: 24px;
  padding: 32px;
}

.account-auth-state h1 {
  margin: 0;
  color: #0f172a;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.12;
}

.account-auth-state p {
  margin: 12px 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.account-primary-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--white);
  border-radius: 8px;
  background: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.account-primary-link:hover,
.account-primary-link:focus-visible {
  background: var(--blue-dark);
}

.account-sidebar {
  position: sticky;
  top: 18px;
  padding: 18px;
}

.account-user-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-light);
}

.account-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  place-content: center;
  overflow: hidden;
  flex: 0 0 auto;
  color: var(--blue);
  border-radius: 8px;
  background: #eef6ff;
}

.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-avatar img[hidden],
.account-avatar svg[hidden] {
  display: none;
}

.account-avatar .icon {
  width: 24px;
  height: 24px;
  stroke-width: 2.1;
}

.account-user-meta strong,
.account-user-meta span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.account-user-meta strong {
  color: #101828;
  font-size: 15px;
  font-weight: 900;
}

.account-user-meta span {
  margin-top: 3px;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.account-tabs {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.account-tabs button,
.account-logout {
  display: grid;
  width: 100%;
  min-height: 46px;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #344054;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
}

.account-tabs .icon,
.account-logout .icon {
  width: 20px;
  height: 20px;
}

.account-tabs button:hover,
.account-tabs button:focus-visible {
  color: var(--blue);
  background: #eef6ff;
}

.account-tabs button.is-active {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(0, 87, 200, 0.16);
}

.account-logout {
  margin-top: 18px;
  color: #b42318;
  background: #fffbfa;
}

.account-logout:hover,
.account-logout:focus-visible {
  background: #fee4e2;
}

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

.account-panel {
  overflow: hidden;
}

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

.account-panel-head,
.account-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.account-panel-head {
  padding: 24px 28px;
  border-bottom: 1px solid var(--line-light);
  background: #f8fbff;
}

.account-panel-head h1,
.account-detail-head h2 {
  margin: 0;
  color: #101828;
  font-weight: 900;
  line-height: 1.12;
}

.account-panel-head h1 {
  font-size: 26px;
}

.account-detail-head h2 {
  font-size: 22px;
}

.account-eyebrow {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.account-badge,
.account-status {
  display: inline-flex;
  min-height: 28px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.account-badge {
  color: var(--blue);
  border: 1px solid #c7dcfb;
  background: #eef6ff;
}

.account-status {
  color: #344054;
  border: 1px solid #d0d5dd;
  background: #f9fafb;
}

.account-status.is-formed,
.account-status.is-new,
.account-status.is-transferred-to-warehouse,
.account-status.is-processing,
.account-status.is-assembling,
.account-status.is-adjustment,
.account-status.is-ready-for-shipment,
.account-status.is-pending,
.account-status.is-partially-paid,
.account-status.is-reconciliation-required {
  color: var(--blue);
  border-color: #c7dcfb;
  background: #eef6ff;
}

.account-status.is-paid,
.account-status.is-in-delivery,
.account-status.is-shipped,
.account-status.is-delivered,
.account-status.is-closed,
.account-status.is-completed,
.account-status.is-refunded {
  color: #087443;
  border-color: #b7e4cf;
  background: #ecfdf3;
}

.account-status.is-overdue,
.account-status.is-not-delivered,
.account-status.is-cancelled {
  color: #b42318;
  border-color: #fecdca;
  background: #fffbfa;
}

.account-status.is-return,
.account-status.is-refund-pending {
  color: #b54708;
  border-color: #fedf89;
  background: #fffaeb;
}

.account-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.account-avatar-editor {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: #fbfdff;
}

.account-avatar-large {
  width: 74px;
  height: 74px;
}

.account-avatar-large .icon {
  width: 34px;
  height: 34px;
}

.account-avatar-editor p {
  margin: 8px 0 0;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.account-upload-button {
  position: relative;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--blue);
  border: 1px solid #c7dcfb;
  border-radius: 8px;
  background: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.account-upload-button:hover,
.account-upload-button:focus-within {
  background: #eef6ff;
}

.account-upload-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

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

.account-form-grid[hidden] {
  display: none;
}

.account-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.account-wide-field {
  grid-column: 1 / -1;
}

.account-client-type {
  max-width: 540px;
}

.account-check {
  display: grid;
  width: max-content;
  max-width: 100%;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.account-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--blue);
}

.account-actions-row,
.account-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.account-submit {
  width: max-content;
  min-width: 180px;
  padding: 0 18px;
}

.account-secondary-button,
.account-danger-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 8px;
  background: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.account-secondary-button {
  color: var(--blue);
  border: 1px solid #c7dcfb;
}

.account-secondary-button:hover,
.account-secondary-button:focus-visible {
  background: #eef6ff;
}

.account-danger-button {
  color: #b42318;
  border: 1px solid #fecdca;
}

.account-danger-button:hover,
.account-danger-button:focus-visible {
  background: #fffbfa;
}

.account-orders-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
  padding: 28px;
}

.account-list,
.account-address-list {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.account-list-item {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 9px;
  padding: 16px;
  color: #344054;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-align: left;
}

.account-list-item:hover,
.account-list-item:focus-visible,
.account-list-item.is-active {
  border-color: #9dbbe2;
  box-shadow: 0 12px 28px rgba(0, 55, 130, 0.08);
}

.account-list-item.is-active {
  background: #f8fbff;
}

.account-list-item strong,
.account-order-item strong,
.account-address-card h3 {
  color: #101828;
  font-weight: 900;
}

.account-list-item small,
.account-order-item small,
.account-muted {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.account-list-item b {
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
}

.account-order-card-head,
.account-order-card-grid {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.account-order-card-grid strong {
  color: #344054;
  font-size: 13px;
  font-weight: 900;
}

.account-detail {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

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

.account-meta-grid span {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: var(--white);
}

.account-meta-grid small {
  color: #667085;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-meta-grid strong {
  color: #101828;
  font-size: 14px;
  font-weight: 900;
}

.account-status-timeline {
  display: grid;
  grid-template-columns: repeat(8, minmax(104px, 1fr));
  gap: 0;
  margin: 20px 0 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
}

.account-status-timeline li {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 8px;
  align-content: start;
  padding-right: 12px;
  color: #98a2b3;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
}

.account-status-timeline li::before {
  position: absolute;
  top: 10px;
  right: 0;
  left: 20px;
  height: 2px;
  background: #d9e2ef;
  content: "";
}

.account-status-timeline li:last-child::before {
  display: none;
}

.account-status-timeline li span {
  position: relative;
  z-index: 1;
  display: block;
  width: 22px;
  height: 22px;
  border: 2px solid #d9e2ef;
  border-radius: 999px;
  background: var(--white);
}

.account-status-timeline li.is-completed,
.account-status-timeline li.is-current {
  color: #101828;
}

.account-status-timeline li.is-completed::before {
  background: #b7e4cf;
}

.account-status-timeline li.is-completed span {
  border-color: #12b76a;
  background: #ecfdf3;
}

.account-status-timeline li.is-current span {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 87, 200, 0.12);
}

.account-status-timeline strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.account-special-status {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  padding: 14px;
  color: #b54708;
  border: 1px solid #fedf89;
  border-radius: 8px;
  background: #fffaeb;
}

.account-special-status strong {
  color: #93370d;
  font-size: 15px;
  font-weight: 900;
}

.account-special-status span {
  font-size: 12px;
  font-weight: 800;
}

.account-order-items {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.account-order-item {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-light);
}

.account-order-item:last-child {
  border-bottom: 0;
}

.account-order-item span {
  flex: 0 0 auto;
  color: var(--blue);
  font-weight: 900;
}

.account-total-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-light);
  color: #344054;
  font-size: 14px;
  font-weight: 900;
}

.account-total-box strong {
  color: #101828;
  font-size: 20px;
  font-weight: 900;
  white-space: nowrap;
}

.account-delivery-box {
  display: grid;
  gap: 5px;
  margin: 18px 0;
  padding: 14px;
  color: #344054;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.account-delivery-box strong {
  color: #101828;
  font-size: 14px;
  font-weight: 900;
}

.account-delivery-box p {
  margin: 4px 0 0;
}

.account-return-box {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 14px;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: var(--white);
}

.account-return-box strong,
.account-return-box span {
  display: block;
}

.account-return-box strong {
  color: #101828;
  font-size: 14px;
  font-weight: 900;
}

.account-return-box span {
  margin-top: 4px;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.account-return-box p {
  margin: 0;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.account-return-form {
  display: grid;
  gap: 14px;
}

.account-return-form[hidden] {
  display: none;
}

.account-return-form label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.account-address-form {
  border-bottom: 1px solid var(--line-light);
}

.checkout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 392px;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.checkout-form-panel,
.checkout-summary {
  overflow: hidden;
}

.checkout-summary {
  position: sticky;
  top: 18px;
}

.checkout-summary .account-panel-head h2 {
  margin: 0;
  color: #101828;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.12;
}

.checkout-summary-body {
  display: grid;
  gap: 16px;
  padding: 20px;
}

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

.checkout-line {
  display: grid;
  min-width: 0;
  grid-template-columns: 70px minmax(0, 1fr) max-content;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.checkout-line img,
.checkout-line-placeholder {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  background: #f2f6fc;
}

.checkout-line img {
  object-fit: contain;
}

.checkout-line-placeholder {
  display: grid;
  place-items: center;
  color: #667085;
}

.checkout-line-placeholder .icon {
  width: 28px;
  height: 28px;
}

.checkout-line strong,
.checkout-line small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.checkout-line strong {
  color: #101828;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.checkout-line small {
  margin-top: 6px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.checkout-line b {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.checkout-line-unavailable {
  border-color: #fecdca;
  background: #fffbfa;
}

.checkout-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  color: #344054;
  font-size: 14px;
  font-weight: 900;
}

.checkout-total-row strong {
  color: #101828;
  font-size: 22px;
  font-weight: 900;
  white-space: nowrap;
}

.checkout-payment {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.checkout-payment legend {
  color: #344054;
  font-size: 13px;
  font-weight: 900;
}

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

.checkout-payment-option {
  position: relative;
  display: block;
  min-width: 0;
}

.checkout-payment-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.checkout-payment-option span {
  display: grid;
  min-height: 74px;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 13px;
  color: #344054;
  border: 1px solid #cbd7e9;
  border-radius: 8px;
  background: #f8fbff;
}

.checkout-payment-option .icon {
  width: 20px;
  height: 20px;
  color: #667085;
}

.checkout-payment-option strong {
  min-width: 0;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.checkout-payment-option input:checked + span {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(0, 87, 200, 0.16);
}

.checkout-payment-option input:checked + span .icon {
  color: var(--white);
}

.checkout-payment-option input:focus-visible + span {
  border-color: #9dbbe2;
  box-shadow: 0 0 0 3px rgba(0, 87, 200, 0.12);
}

.checkout-field-error {
  display: none;
  color: #b42318;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.checkout-field-error.is-visible {
  display: block;
}

.checkout-submit {
  min-width: 208px;
}

.account-address-list {
  padding: 24px 28px 28px;
}

.account-address-card,
.account-empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.account-address-card {
  padding: 16px;
}

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

.account-address-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.account-address-card p {
  margin: 7px 0 0;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.account-address-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.account-address-card dl div {
  min-width: 0;
}

.account-address-card dt {
  color: #667085;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-address-card dd {
  margin: 4px 0 0;
  color: #101828;
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}


/* Account orders redesign */
.account-orders-layout {
  grid-template-columns: minmax(300px, 350px) minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  background: #f7f9fc;
}

.account-orders-layout > .account-list {
  align-content: start;
  gap: 10px;
}

.account-order-card {
  position: relative;
  gap: 13px;
  padding: 17px 18px;
  overflow: hidden;
  border-color: #e0e7f1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 54, 96, 0.045);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.account-order-card:hover,
.account-order-card:focus-visible {
  transform: translateY(-1px);
  border-color: #b7cff0;
  box-shadow: 0 14px 30px rgba(15, 54, 96, 0.09);
}

.account-order-card.is-active {
  border-color: #74a8ef;
  background: linear-gradient(180deg, #f7fbff 0%, #fff 100%);
  box-shadow: 0 14px 32px rgba(0, 87, 200, 0.12);
}

.account-order-card.is-active::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 14px 0 0 14px;
  background: var(--blue);
  content: "";
}

.account-order-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.account-order-card-head > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.account-order-card-head small {
  color: #98a2b3;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.account-order-card-head strong {
  overflow: hidden;
  color: #101828;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-order-card-head time {
  flex: 0 0 auto;
  color: #667085;
  font-size: 11px;
  font-weight: 800;
}

.account-order-card-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.account-order-card-statuses .account-status {
  min-height: 25px;
  padding: 0 9px;
  font-size: 10px;
}

.account-order-card-payment {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.account-order-card-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #edf1f6;
}

.account-order-card-footer > span:first-child {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.account-order-card-footer b {
  justify-self: end;
  color: #101828;
  font-size: 16px;
  font-weight: 900;
}

.account-order-card-arrow {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--blue);
  border-radius: 999px;
  background: #eef6ff;
  font-size: 16px;
  font-weight: 900;
}

.account-detail {
  padding: 22px;
  border-color: #e0e7f1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 54, 96, 0.055);
}

.account-order-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 22px;
  border: 1px solid #dce8f8;
  border-radius: 14px;
  background:
    radial-gradient(circle at top right, rgba(0, 87, 200, 0.09), transparent 42%),
    linear-gradient(135deg, #f7fbff 0%, #fff 68%);
}

.account-order-hero-main {
  min-width: 0;
}

.account-order-hero h2 {
  margin: 0;
  color: #101828;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.account-order-hero-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.account-order-hero-total {
  display: grid;
  flex: 0 0 auto;
  gap: 4px;
  min-width: 150px;
  text-align: right;
}

.account-order-hero-total small {
  color: #667085;
  font-size: 11px;
  font-weight: 800;
}

.account-order-hero-total strong {
  color: var(--blue);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.1;
}

.account-order-hero-total span {
  color: #98a2b3;
  font-size: 12px;
  font-weight: 700;
}

.account-status-timeline {
  grid-template-columns: repeat(8, minmax(74px, 1fr));
  gap: 0;
  margin: 22px 0 0;
  padding: 0 4px 7px;
}

.account-status-timeline li {
  gap: 7px;
  padding-right: 8px;
  font-size: 10px;
  line-height: 1.2;
}

.account-status-timeline li::before {
  top: 9px;
  left: 18px;
}

.account-status-timeline li span {
  width: 20px;
  height: 20px;
}

.account-order-meta {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.account-order-meta span {
  min-height: 74px;
  align-content: center;
  padding: 13px 14px;
  border-radius: 11px;
  background: #fbfcfe;
}

.account-order-meta small {
  color: #98a2b3;
  font-size: 10px;
}

.account-order-meta strong {
  font-size: 13px;
  line-height: 1.35;
}

.account-order-section {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid #e3e9f2;
  border-radius: 14px;
  background: #fbfcfe;
}

.account-order-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.account-order-section-head small {
  color: #98a2b3;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.account-order-section-head h3 {
  margin: 2px 0 0;
  color: #101828;
  font-size: 18px;
  font-weight: 900;
}

.account-order-section-head > span {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.account-order-items {
  gap: 0;
  margin-top: 8px;
}

.account-order-item {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
}

.account-order-item-media {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e5eaf1;
  border-radius: 11px;
  background: #fff;
}

.account-order-item-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.account-order-item-media > span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #98a2b3;
}

.account-order-item-media .icon {
  width: 26px;
  height: 26px;
}

.account-order-item-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.account-order-item-copy strong {
  color: #101828;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.account-order-item-copy small {
  color: #667085;
  font-size: 11px;
  font-weight: 700;
}

.account-order-item-copy span {
  color: #475467;
  font-size: 12px;
  font-weight: 800;
}

.account-order-item > b {
  color: #101828;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.account-total-box {
  margin-top: 6px;
  padding-top: 16px;
}

.account-total-box strong {
  color: var(--blue);
  font-size: 22px;
}

.account-order-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.account-order-info-card {
  min-width: 0;
  padding: 17px;
  border: 1px solid #e3e9f2;
  border-radius: 14px;
  background: #fff;
}

.account-order-info-card-head {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 14px;
}

.account-order-info-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--blue);
  border-radius: 10px;
  background: #eef6ff;
}

.account-order-info-icon .icon {
  width: 20px;
  height: 20px;
}

.account-order-info-card-head small {
  color: #98a2b3;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-order-info-card-head h3 {
  margin: 2px 0 0;
  color: #101828;
  font-size: 15px;
  font-weight: 900;
}

.account-order-info-card dl {
  display: grid;
  gap: 9px;
  margin: 0;
}

.account-order-info-card dl > div {
  display: grid;
  grid-template-columns: minmax(100px, 0.72fr) minmax(0, 1.28fr);
  gap: 12px;
  padding-top: 9px;
  border-top: 1px solid #f0f2f6;
}

.account-order-info-card dt {
  color: #98a2b3;
  font-size: 11px;
  font-weight: 800;
}

.account-order-info-card dd {
  min-width: 0;
  margin: 0;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.account-order-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.account-order-repeat-button {
  min-width: 172px;
  min-height: 44px;
  border-radius: 10px;
}

@media (max-width: 1180px) {
  .account-orders-layout {
    grid-template-columns: minmax(270px, 320px) minmax(0, 1fr);
  }

  .account-order-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .account-orders-layout {
    padding: 18px;
  }

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

  .account-order-hero-total {
    text-align: left;
  }

  .account-order-item {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .account-order-item-media {
    width: 54px;
    height: 54px;
  }

  .account-order-item > b {
    grid-column: 2;
  }
}

@media (max-width: 520px) {
  .account-order-meta {
    grid-template-columns: 1fr;
  }

  .account-order-info-card dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .account-order-card-footer {
    grid-template-columns: 1fr auto;
  }

  .account-order-card-arrow {
    display: none;
  }
}


.account-empty {
  padding: 26px;
  text-align: center;
}

.account-empty h3 {
  margin: 0 0 8px;
  color: #101828;
  font-size: 18px;
  font-weight: 900;
}

.account-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.admin-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #f8fbff 0%, #fff 360px),
    var(--white);
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 44px;
  border-bottom: 1px solid var(--line-light);
  background: var(--white);
}

.admin-topnav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.admin-topnav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  color: #344054;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.admin-topnav a:hover,
.admin-topnav a:focus-visible,
.admin-topnav a[aria-current="page"] {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.admin-main {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 44px 72px;
}

.admin-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.admin-eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.admin-hero h1 {
  margin: 0;
  color: #0f172a;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.08;
}

.admin-hero p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.admin-stats {
  display: flex;
  gap: 10px;
}

.admin-stats span {
  display: grid;
  min-width: 112px;
  min-height: 68px;
  place-items: center;
  padding: 10px 16px;
  color: #667085;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(0, 55, 130, 0.06);
}

.admin-stats strong {
  color: var(--blue);
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
}

.admin-panel,
.admin-alert {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(0, 55, 130, 0.08);
}

.admin-alert {
  padding: 24px;
  border-color: #fecdca;
  background: #fffbfa;
}

.admin-alert h2 {
  margin: 0 0 10px;
  color: #b42318;
  font-size: 20px;
  font-weight: 900;
}

.admin-alert p {
  margin: 8px 0 0;
  color: #7a271a;
  font-size: 14px;
  line-height: 1.45;
}

.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line-light);
  background: #f8fbff;
}

.admin-panel-head h2 {
  margin: 0;
  color: #101828;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.admin-panel-head span {
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

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

.admin-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-light);
  text-align: left;
  vertical-align: middle;
  font-size: 13px;
  line-height: 1.35;
}

.admin-table th {
  color: #667085;
  background: #fbfdff;
  font-weight: 900;
  white-space: nowrap;
}

.admin-table td {
  color: #344054;
  font-weight: 700;
}

.admin-table tbody tr:hover {
  background: #f8fbff;
}

.admin-table a {
  color: var(--blue);
  font-weight: 800;
}

.admin-status {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.admin-status.is-active {
  color: #087443;
  border: 1px solid #b7e4cf;
  background: #ecfdf3;
}

.admin-status.is-disabled {
  color: #b42318;
  border: 1px solid #fecdca;
  background: #fffbfa;
}

.admin-empty {
  padding: 34px 24px;
  text-align: center;
}

.admin-empty h3 {
  margin: 0 0 8px;
  color: #101828;
  font-size: 19px;
  font-weight: 900;
}

.admin-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1200px) {
  .product-category-title-row {
    align-items: flex-start;
  }

  .category-shop-layout {
    grid-template-columns: 250px minmax(0, 1fr);
  }

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

  .shop-card-footer {
    display: grid;
  }

  .add-cart-button {
    width: 100%;
  }

  .auth-layout {
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 34px;
  }

  .account-shell {
    grid-template-columns: 274px minmax(0, 1fr);
  }

  .account-orders-layout {
    grid-template-columns: minmax(230px, 0.82fr) minmax(0, 1.18fr);
  }

  .checkout-shell {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  .admin-main {
    padding-right: 28px;
    padding-left: 28px;
  }
}

@media (max-width: 820px) {
  .product-category-head,
  .auth-section {
    padding-top: 26px;
  }

  .product-category-title-row {
    display: grid;
  }

  .product-category-title-row h1,
  .auth-info h1 {
    font-size: 30px;
  }

  .category-kpis {
    flex-wrap: wrap;
  }

  .category-shop-layout {
    display: block;
  }

  .category-filter-panel {
    position: static;
    display: block;
    max-height: none;
    overflow: visible;
    margin-bottom: 18px;
  }

  .category-filter-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    padding-right: 0;
  }

  .category-toolbar {
    align-items: flex-start;
  }

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

  .shop-card {
    min-height: 0;
  }

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

  .auth-info {
    max-width: none;
    padding-top: 0;
  }

  .account-shell,
  .account-orders-layout,
  .checkout-shell {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    position: static;
  }

  .checkout-summary {
    position: static;
  }

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

  .admin-topbar,
  .admin-hero {
    align-items: flex-start;
  }

  .admin-topbar,
  .admin-hero,
  .admin-stats {
    display: grid;
  }

  .admin-topbar {
    padding-right: 18px;
    padding-left: 18px;
  }

  .admin-main {
    padding: 28px 18px 54px;
  }

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

@media (max-width: 560px) {
  .header-main {
    grid-template-columns: minmax(0, 1fr) 48px;
  }

  .phone-block,
  .city-selector {
    grid-column: 1 / -1;
  }

  .city-selector {
    width: 100%;
    justify-self: stretch;
  }

  .city-selector-button {
    width: 100%;
  }

  .city-selector-panel {
    right: auto;
    left: 0;
    width: 100%;
  }

  .quick-actions {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .quick-actions a {
    width: 100%;
    min-width: 0;
    padding: 8px 6px;
    overflow: hidden;
  }

  .quick-actions a:last-child {
    grid-column: 1 / -1;
  }

  .action-count {
    top: -6px;
    right: 18px;
  }

  .product-category-title-row h1,
  .auth-info h1 {
    font-size: 28px;
  }

  .category-kpis {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .category-kpis span {
    min-width: 0;
    min-height: 62px;
  }

  .category-shop-section {
    padding-bottom: 44px;
  }

  .category-filter-panel {
    padding: 16px;
  }

  .category-filter-list,
  .category-products-grid {
    grid-template-columns: 1fr;
  }

  .category-toolbar {
    display: grid;
    padding: 14px;
  }

  .sort-control {
    display: grid;
    gap: 8px;
  }

  .sort-control select {
    width: 100%;
    min-width: 0;
  }

  .shop-card-image {
    height: 236px;
  }

  .shop-card-image img {
    height: 170px;
  }

  .shop-card-footer {
    display: flex;
  }

  .cart-drawer {
    width: 100%;
  }

  .cart-drawer-head,
  .cart-drawer-footer {
    padding: 18px;
  }

  .cart-drawer-list {
    padding: 14px;
  }

  .cart-line {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .cart-line img {
    width: 66px;
    height: 66px;
  }

  .cart-line-controls {
    grid-column: 1 / -1;
  }

  .shop-toast {
    right: 18px;
    bottom: 18px;
  }

  .auth-layout {
    margin-top: 18px;
  }

  .auth-form {
    padding: 22px 18px;
  }

  .auth-client-type,
  .account-tabs,
  .account-form-grid,
  .checkout-payment-grid,
  .account-meta-grid,
  .account-address-card dl {
    grid-template-columns: 1fr;
  }

  .account-section {
    padding-top: 26px;
    padding-bottom: 48px;
  }

  .account-shell {
    gap: 16px;
    margin-top: 18px;
  }

  .checkout-shell {
    gap: 16px;
    margin-top: 18px;
  }

  .account-auth-state,
  .account-panel-head,
  .account-form,
  .account-orders-layout,
  .checkout-summary-body,
  .account-address-list {
    padding: 18px;
  }

  .account-panel-head,
  .account-detail-head,
  .account-address-main,
  .account-avatar-editor {
    display: grid;
  }

  .account-panel-head h1 {
    font-size: 23px;
  }

  .account-submit,
  .account-actions-row,
  .account-actions-row button,
  .account-secondary-button,
  .account-danger-button,
  .account-primary-link {
    width: 100%;
  }

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

  .checkout-line {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .checkout-line img,
  .checkout-line-placeholder {
    width: 62px;
    height: 62px;
  }

  .checkout-line b {
    grid-column: 2;
  }

  .auth-options {
    display: grid;
  }

  .admin-topnav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-topnav a {
    justify-content: center;
  }

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

  .admin-stats span {
    min-width: 0;
    min-height: 62px;
  }

  .admin-panel-head {
    display: grid;
    padding: 18px;
  }
}

@media (max-width: 1200px) {
  .catalog-dialog {
    max-height: calc(100vh - 44px);
  }

  .catalog-modal {
    padding: 22px;
  }

  .catalog-modal-layout {
    grid-template-columns: 272px minmax(0, 1fr);
  }

  .catalog-panel-content {
    padding: 26px 28px 34px;
  }

  .catalog-panel-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }

  .catalog-browser-layout {
    grid-template-columns: 272px minmax(0, 1fr);
  }

  .catalog-content {
    padding: 26px 28px 34px;
  }

  .catalog-groups-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }

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

@media (max-width: 820px) {
  .catalog-modal {
    padding: 18px;
  }

  .catalog-dialog {
    max-height: calc(100vh - 36px);
  }

  .catalog-modal-head {
    padding: 18px 20px;
  }

  .catalog-modal-head h2 {
    font-size: 22px;
  }

  .catalog-modal-layout {
    display: block;
    overflow-y: auto;
  }

  .catalog-panel-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .catalog-panel-menu {
    max-height: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    padding-right: 0;
  }

  .catalog-panel-content {
    overflow: visible;
    padding: 24px 20px 32px;
  }

  .catalog-panel-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .catalog-panel-sublist {
    padding-left: 0;
  }

  .catalog-panel-group[data-catalog-selected-root] > .catalog-panel-sublist {
    padding-left: 0;
  }

  .catalog-browser {
    padding-top: 26px;
  }

  .catalog-browser-layout {
    display: block;
    min-height: 0;
  }

  .catalog-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .catalog-menu {
    max-height: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    padding-right: 0;
  }

  .catalog-content {
    padding: 24px 20px 32px;
  }

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

  .catalog-sublist {
    padding-left: 0;
  }

  .catalog-heading {
    padding-top: 26px;
  }

  .catalog-title-row {
    align-items: flex-start;
  }

  .catalog-title-row h1 {
    font-size: 30px;
  }

  .catalog-stat {
    min-width: 96px;
  }

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

  .catalog-tile {
    min-height: 104px;
    padding: 20px 24px;
  }
}

@media (max-width: 560px) {
  .catalog-modal {
    padding: 0;
  }

  .catalog-dialog {
    width: 100%;
    max-height: 100vh;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .catalog-modal-head {
    padding: 16px 18px;
  }

  .catalog-modal-head p {
    display: none;
  }

  .catalog-close-button {
    width: 40px;
    height: 40px;
  }

  .catalog-panel-sidebar {
    padding: 16px;
  }

  .catalog-panel-menu {
    grid-template-columns: 1fr;
    max-height: 392px;
    overflow-y: auto;
    padding-right: 4px;
  }

  .catalog-panel-menu-link {
    min-height: 54px;
  }

  .catalog-panel-content-head {
    display: grid;
    gap: 16px;
  }

  .catalog-panel-content-head h2 {
    font-size: 25px;
  }

  .catalog-panel-all-link {
    width: 100%;
    justify-content: center;
  }

  .catalog-panel-groups {
    grid-template-columns: 1fr;
  }

  .catalog-panel-group-head {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .catalog-panel-group-icon {
    width: 38px;
    height: 38px;
  }

  .catalog-browser {
    padding-bottom: 42px;
  }

  .catalog-browser-layout {
    margin-top: 18px;
  }

  .catalog-sidebar {
    padding: 16px;
  }

  .catalog-menu {
    grid-template-columns: 1fr;
    max-height: 462px;
    overflow-y: auto;
    padding-right: 4px;
  }

  .catalog-menu-link {
    min-height: 54px;
  }

  .catalog-content-header {
    display: grid;
    gap: 16px;
  }

  .catalog-content-header h1 {
    font-size: 25px;
  }

  .all-categories-link {
    width: 100%;
    justify-content: center;
  }

  .catalog-groups-grid {
    grid-template-columns: 1fr;
  }

  .catalog-group-head {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .catalog-group-icon {
    width: 38px;
    height: 38px;
  }

  .catalog-title-row {
    display: grid;
  }

  .catalog-title-row h1 {
    font-size: 28px;
  }

  .catalog-stat {
    width: 100%;
    min-height: 62px;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 8px;
  }

  .catalog-stat span {
    margin-top: 0;
  }

  .catalog-category-grid {
    grid-template-columns: 1fr;
  }

  .catalog-tile {
    min-height: 96px;
    padding: 20px 22px;
  }

  .catalog-line-icon {
    width: 34px;
    height: 34px;
  }

  .catalog-tile-title {
    font-size: 15px;
  }
}

@media (max-width: 1200px) {
  .product-detail-layout {
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .product-detail-media {
    min-height: 380px;
  }
}

@media (max-width: 560px) {
  .product-detail-section {
    padding-top: 26px;
    padding-bottom: 48px;
  }

  .product-detail-layout {
    gap: 16px;
  }

  .product-detail-media {
    min-height: 320px;
    padding: 22px;
  }

  .product-detail-main {
    padding: 18px;
  }

  .product-detail-main h1 {
    font-size: 24px;
  }

  .product-detail-meta,
  .product-props-list div {
    grid-template-columns: 1fr;
  }

  .product-detail-actions,
  .product-detail-cart-button {
    width: 100%;
  }

  .product-quantity {
    width: 100%;
    grid-template-columns: 46px minmax(0, 1fr) 46px;
  }
}


/* Storefront content pages */
.content-page {
  background: #fff;
}

.content-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 72px;
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 87, 200, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  border-bottom: 1px solid var(--line-light);
}

.content-hero::after {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 440px;
  height: 440px;
  content: "";
  border: 72px solid rgba(0, 87, 200, 0.035);
  border-radius: 50%;
  pointer-events: none;
}

.content-hero .breadcrumbs {
  margin-bottom: 52px;
}

.content-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 68px;
  align-items: center;
}

.content-hero-copy {
  max-width: 860px;
}

.content-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.content-kicker::before {
  width: 24px;
  height: 2px;
  content: "";
  border-radius: 99px;
  background: currentColor;
}

.content-hero h1,
.content-section-heading h2,
.delivery-support-card h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.content-hero h1 {
  max-width: 780px;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 900;
}

.content-hero-copy > p {
  max-width: 760px;
  margin: 24px 0 0;
  color: #59677c;
  font-size: 19px;
  line-height: 1.65;
}

.content-hero-actions,
.delivery-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.content-primary-button,
.content-secondary-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 800;
  transition: 160ms ease;
}

.content-primary-button {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 26px rgba(0, 87, 200, 0.18);
}

.content-primary-button:hover,
.content-primary-button:focus-visible {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.content-secondary-button {
  color: #1d2a40;
  background: #fff;
  border: 1px solid #d9e3f1;
}

.content-secondary-button:hover,
.content-secondary-button:focus-visible {
  color: var(--blue);
  border-color: #aec8ea;
}

.content-primary-button .icon,
.content-secondary-button .icon {
  width: 19px;
  height: 19px;
}

.content-hero-grid.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.content-hero-grid.is-single .content-hero-copy {
  max-width: 980px;
}

.delivery-hero-card {
  position: relative;
  z-index: 1;
  padding: 30px;
  overflow: hidden;
  background: linear-gradient(145deg, #0057c8 0%, #003f9f 100%);
  border-radius: 22px;
  color: #fff;
  box-shadow: 0 28px 60px rgba(0, 63, 159, 0.22);
}

.delivery-hero-card::after {
  position: absolute;
  top: -54px;
  right: -42px;
  width: 170px;
  height: 170px;
  content: "";
  border: 34px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.delivery-hero-icon,
.delivery-step-icon,
.payment-audience-icon,
.payment-security-icon {
  display: grid;
  place-items: center;
}

.delivery-hero-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
}

.delivery-hero-icon .icon {
  width: 30px;
  height: 30px;
}

.delivery-hero-card > strong {
  display: block;
  font-size: 28px;
  line-height: 1.2;
}

.delivery-hero-card > p {
  max-width: 420px;
  margin: 10px 0 24px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.delivery-hero-points {
  display: grid;
  gap: 11px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.delivery-hero-points span {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 600;
}

.delivery-hero-points .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.content-section {
  padding: 84px 0;
}

.content-section-soft {
  background: #f7f9fc;
  border-top: 1px solid #edf1f7;
  border-bottom: 1px solid #edf1f7;
}

.content-section-heading {
  max-width: 770px;
  margin-bottom: 38px;
}

.content-section-heading-center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.content-section-heading-center .content-kicker {
  justify-content: center;
}

.content-section-heading h2,
.delivery-support-card h2 {
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 900;
}

.content-section-heading > p {
  margin: 15px 0 0;
  color: #677489;
  font-size: 17px;
  line-height: 1.65;
}

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

.delivery-step-card {
  position: relative;
  min-height: 270px;
  padding: 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e3e9f2;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(21, 50, 90, 0.055);
}

.delivery-step-number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: #dfe7f2;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.delivery-step-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 36px;
  color: var(--blue);
  background: #eef6ff;
  border-radius: 14px;
}

.delivery-step-icon .icon {
  width: 24px;
  height: 24px;
}

.delivery-step-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.delivery-step-card p {
  margin: 0;
  color: #69768a;
  line-height: 1.6;
}

.delivery-note,
.payment-security-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: 14px;
}

.delivery-note {
  color: #34435a;
  background: #f4f8fd;
  border: 1px solid #dce8f6;
}

.delivery-note > .icon,
.payment-security-card > .icon {
  flex: 0 0 auto;
}

.delivery-note .icon {
  width: 24px;
  height: 24px;
  color: var(--blue);
}

.delivery-note strong,
.payment-security-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 16px;
}

.delivery-note p,
.payment-security-card p {
  margin: 0;
  color: #657287;
}

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

.payment-audience-card {
  padding: 28px;
  background: #fff;
  border: 1px solid #dfe6f0;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(21, 50, 90, 0.05);
}

.payment-audience-card.is-accent {
  border-color: #b7d1f3;
  box-shadow: 0 16px 40px rgba(0, 87, 200, 0.08);
}

.payment-audience-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid #edf1f6;
}

.payment-audience-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  color: var(--blue);
  background: #eef6ff;
  border-radius: 13px;
}

.payment-audience-head span:not(.payment-audience-icon) {
  display: block;
  margin-bottom: 2px;
  color: #8290a3;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.payment-audience-head h3 {
  margin: 0;
  font-size: 20px;
}

.payment-audience-card ul {
  display: grid;
  gap: 12px;
  padding: 20px 0 0;
  margin: 0;
  list-style: none;
}

.payment-audience-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.payment-audience-card li > .icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--blue);
}

.payment-audience-card li span {
  min-width: 0;
}

.payment-audience-card li strong,
.payment-audience-card li small {
  display: block;
}

.payment-audience-card li strong {
  color: #213048;
  font-size: 14px;
}

.payment-audience-card li small {
  margin-top: 2px;
  color: #7a8799;
  line-height: 1.45;
}

.payment-security-card {
  color: #fff;
  background: linear-gradient(120deg, #0b4f9f, #0a63c7);
}

.payment-security-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
}

.payment-security-card strong {
  color: #fff;
}

.payment-security-card p {
  color: rgba(255, 255, 255, 0.78);
}

.content-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.65fr);
  gap: 70px;
  align-items: start;
}

.delivery-check-list {
  display: grid;
  gap: 14px;
}

.delivery-check-list > span {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid #e4eaf2;
  border-radius: 14px;
  background: #fff;
}

.delivery-check-list > span > .icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  padding: 4px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
}

.delivery-check-list strong {
  display: block;
  margin-bottom: 3px;
  color: #1d2a40;
}

.delivery-check-list span span {
  color: #6b788c;
  line-height: 1.55;
}

.delivery-support-card {
  position: sticky;
  top: 24px;
  padding: 32px;
  color: #fff;
  background: #101b2d;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(16, 27, 45, 0.18);
}

.delivery-support-card .content-kicker {
  color: #82bbff;
}

.delivery-support-card h2 {
  color: #fff;
  font-size: 34px;
}

.delivery-support-card > p {
  margin: 15px 0 26px;
  color: #aeb8c8;
  line-height: 1.65;
}

.delivery-support-card > a:not(.content-primary-button):not(.content-secondary-button) {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
}

.delivery-support-card > a > .icon {
  width: 22px;
  height: 22px;
  color: #82bbff;
}

.delivery-support-card > a strong,
.delivery-support-card > a small {
  display: block;
}

.delivery-support-card > a small {
  margin-top: 2px;
  color: #8996a9;
}

.delivery-support-actions {
  flex-direction: column;
}

.delivery-support-actions .content-primary-button,
.delivery-support-actions .content-secondary-button {
  width: 100%;
}

.delivery-support-actions .content-secondary-button {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
}

.content-faq {
  display: grid;
  max-width: 980px;
  gap: 10px;
  margin: 0 auto;
}

.content-faq details {
  background: #fff;
  border: 1px solid #e1e7f0;
  border-radius: 14px;
}

.content-faq summary {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
  color: #1c2a40;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.content-faq summary::-webkit-details-marker {
  display: none;
}

.content-faq summary .icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #6f7d91;
  transition: transform 160ms ease;
}

.content-faq details[open] summary .icon {
  transform: rotate(180deg);
}

.content-faq details p {
  margin: 0;
  padding: 0 22px 22px;
  color: #6c798d;
  line-height: 1.65;
}

.site-nav a.is-current {
  position: relative;
  color: var(--blue);
  font-weight: 800;
}

.site-nav a.is-current::after {
  position: absolute;
  right: 0;
  bottom: -13px;
  left: 0;
  height: 2px;
  content: "";
  border-radius: 2px;
  background: var(--blue);
}

@media (max-width: 1180px) {
  .content-hero-grid {
    grid-template-columns: 1fr 380px;
    gap: 36px;
  }

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

  .payment-audience-grid {
    grid-template-columns: 1fr;
  }

  .content-two-column {
    grid-template-columns: 1fr 380px;
    gap: 36px;
  }
}

@media (max-width: 820px) {
  .content-hero {
    padding-bottom: 48px;
  }

  .content-hero .breadcrumbs {
    margin-bottom: 34px;
  }

  .content-hero-grid,
  .content-two-column {
    grid-template-columns: 1fr;
  }

  .content-hero-copy > p {
    font-size: 17px;
  }

  .delivery-hero-card,
  .delivery-support-card {
    padding: 24px;
  }

  .content-section {
    padding: 60px 0;
  }

  .delivery-support-card {
    position: static;
  }
}

@media (max-width: 560px) {
  .content-hero {
    padding-top: 24px;
  }

  .content-hero h1 {
    font-size: 40px;
  }

  .content-hero-actions {
    flex-direction: column;
  }

  .content-primary-button,
  .content-secondary-button {
    width: 100%;
  }

  .delivery-steps {
    grid-template-columns: 1fr;
  }

  .delivery-step-card {
    min-height: 0;
  }

  .payment-audience-card {
    padding: 22px;
  }

  .content-faq summary {
    min-height: 0;
    padding: 18px;
  }

  .content-faq details p {
    padding: 0 18px 18px;
  }
}


/* Contacts page */
.contacts-hero .content-hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.7fr);
}

.contacts-hero-panel {
  padding: 32px;
  background: #fff;
  border: 1px solid #dfe7f1;
  border-radius: 20px;
  box-shadow: 0 22px 48px rgba(20, 50, 90, 0.09);
}

.contacts-hero-label {
  display: block;
  margin-bottom: 12px;
  color: #778499;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contacts-phone-large {
  display: inline-block;
  color: var(--blue);
  font-size: 31px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.contacts-hero-panel > p {
  margin: 12px 0 24px;
  color: #69768a;
  line-height: 1.6;
}

.contacts-hero-meta {
  display: grid;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #e9eef5;
}

.contacts-hero-meta span {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #35445b;
  font-weight: 600;
}

.contacts-hero-meta .icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--blue);
}

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

.contacts-card {
  min-height: 300px;
  padding: 26px;
  background: #fff;
  border: 1px solid #e1e7ef;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(21, 50, 90, 0.05);
}

.contacts-card.is-primary {
  color: #fff;
  background: linear-gradient(145deg, #0057c8, #00449f);
  border-color: transparent;
  box-shadow: 0 22px 46px rgba(0, 87, 200, 0.18);
}

.contacts-card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 30px;
  place-items: center;
  color: var(--blue);
  background: #eef6ff;
  border-radius: 14px;
}

.contacts-card.is-primary .contacts-card-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.contacts-card-icon .icon {
  width: 24px;
  height: 24px;
}

.contacts-card > span {
  display: block;
  margin-bottom: 7px;
  color: #8a96a8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contacts-card.is-primary > span {
  color: rgba(255, 255, 255, 0.7);
}

.contacts-card h3 {
  margin: 0 0 11px;
  color: #1c2a40;
  font-size: 20px;
  line-height: 1.25;
}

.contacts-card.is-primary h3 {
  color: #fff;
}

.contacts-card p {
  min-height: 72px;
  margin: 0 0 24px;
  color: #6b788c;
  line-height: 1.6;
}

.contacts-card.is-primary p {
  color: rgba(255, 255, 255, 0.76);
}

.contacts-card > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 800;
}

.contacts-card.is-primary > a {
  color: #fff;
}

.contacts-card > a .icon {
  width: 17px;
  height: 17px;
}

.contacts-info-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.65fr);
  gap: 64px;
  align-items: start;
}

.contacts-info-list {
  display: grid;
  gap: 14px;
}

.contacts-info-list > div {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e1e7ef;
  border-radius: 14px;
}

.contacts-info-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--blue);
  background: #eef6ff;
  border-radius: 11px;
}

.contacts-info-icon .icon {
  width: 20px;
  height: 20px;
}

.contacts-info-list strong,
.contacts-info-list small {
  display: block;
}

.contacts-info-list strong {
  margin-bottom: 4px;
  color: #1d2a40;
}

.contacts-info-list small {
  color: #6f7c8f;
  font-size: 14px;
  line-height: 1.5;
}

.contacts-callout {
  padding: 32px;
  color: #fff;
  background: #101b2d;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(16, 27, 45, 0.18);
}

.contacts-callout .content-kicker {
  color: #82bbff;
}

.contacts-callout h2 {
  margin: 0;
  color: #fff;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.contacts-callout > p {
  margin: 14px 0 24px;
  color: #aeb8c8;
  line-height: 1.65;
}

.contacts-callout-phone {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px;
  margin-bottom: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
}

.contacts-callout-phone > .icon {
  width: 22px;
  height: 22px;
  color: #82bbff;
}

.contacts-callout-phone small,
.contacts-callout-phone strong {
  display: block;
}

.contacts-callout-phone small {
  color: #8f9bad;
}

.contacts-callout-phone strong {
  margin-top: 2px;
  font-size: 18px;
}

.contacts-callout .content-primary-button {
  width: 100%;
}


/* About page */
.about-hero-inner {
  max-width: 980px;
}

.about-hero-inner h1 {
  margin: 0;
  max-width: 900px;
  color: var(--ink);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.about-hero-inner p {
  max-width: 820px;
  margin: 24px 0 0;
  color: #59677c;
  font-size: 19px;
  line-height: 1.65;
}

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

.about-direction-card {
  min-height: 320px;
  padding: 30px;
  background: #fff;
  border: 1px solid #dfe6f0;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(21, 50, 90, 0.055);
}

.about-direction-market {
  color: #fff;
  background: linear-gradient(145deg, #0057c8, #003f9f);
  border-color: transparent;
  box-shadow: 0 22px 48px rgba(0, 87, 200, 0.18);
}

.about-direction-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 30px;
  place-items: center;
  color: var(--blue);
  background: #eef6ff;
  border-radius: 15px;
}

.about-direction-market .about-direction-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.about-direction-icon .icon {
  width: 26px;
  height: 26px;
}

.about-direction-card > span {
  display: block;
  margin-bottom: 8px;
  color: #8895a7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-direction-market > span {
  color: rgba(255, 255, 255, 0.68);
}

.about-direction-card h3 {
  margin: 0 0 12px;
  color: #1d2a40;
  font-size: 22px;
  line-height: 1.25;
}

.about-direction-market h3 {
  color: #fff;
}

.about-direction-card p {
  min-height: 96px;
  margin: 0 0 26px;
  color: #687589;
  line-height: 1.65;
}

.about-direction-market p {
  color: rgba(255, 255, 255, 0.76);
}

.about-direction-card > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 800;
}

.about-direction-market > a {
  color: #fff;
}

.about-direction-card > a .icon {
  width: 18px;
  height: 18px;
}

.about-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.7fr);
  gap: 64px;
  align-items: start;
}

.about-summary h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.about-summary p {
  max-width: 760px;
  margin: 16px 0 0;
  color: #677489;
  font-size: 17px;
  line-height: 1.65;
}

.about-summary-points {
  display: grid;
  gap: 12px;
}

.about-summary-points span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  color: #34435a;
  background: #fff;
  border: 1px solid #e1e7ef;
  border-radius: 13px;
  font-weight: 700;
}

.about-summary-points .icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  padding: 4px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
}

@media (max-width: 980px) {
  .about-directions {
    grid-template-columns: 1fr;
  }

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


/* Promotions page */
.promotions-main {
  background: #fff;
}

.promotions-head {
  padding: 34px 0 34px;
  background:
    radial-gradient(circle at 86% 8%, rgba(255, 49, 94, 0.09), transparent 24%),
    linear-gradient(180deg, #fff8fa 0%, #fff 100%);
  border-bottom: 1px solid #f0e5e9;
}

.promotions-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
  gap: 48px;
  align-items: end;
  margin-top: 42px;
}

.promotions-title-row h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.promotions-title-row p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #667085;
  font-size: 17px;
  line-height: 1.62;
}

.promotions-highlight {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid #f2d7df;
  border-radius: 15px;
  box-shadow: 0 14px 32px rgba(98, 25, 45, 0.05);
}

.promotions-highlight > .icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--red);
}

.promotions-highlight strong,
.promotions-highlight small {
  display: block;
}

.promotions-highlight strong {
  margin-bottom: 4px;
  color: #2a1c21;
}

.promotions-highlight small {
  color: #7a6b70;
  line-height: 1.45;
}

.promotions-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.promotions-tabs a,
.promotions-tabs-loading {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
}

.promotions-tabs a {
  color: #3d4654;
  background: #fff;
  border: 1px solid #e5e8ee;
}

.promotions-tabs a:hover,
.promotions-tabs a:focus-visible {
  color: var(--red);
  border-color: #f0b6c5;
}

.promotions-tabs a.is-active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 10px 22px rgba(255, 49, 94, 0.18);
}

.promotions-tabs-loading {
  color: #7f8794;
  background: #f7f8fa;
}

.promotions-products-section {
  min-height: 420px;
  padding: 34px 0 78px;
}

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

.promotions-toolbar p {
  margin: 0;
  color: #677489;
}

.promotions-toolbar p strong {
  color: var(--ink);
  font-size: 18px;
}

.promotions-products-grid .shop-card {
  position: relative;
}

.promotions-products-grid .shop-card.is-promotion::before {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  content: "Акция";
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 8px 16px rgba(255, 49, 94, 0.18);
}

.promotions-products-grid .shop-card.is-promotion .stock-label {
  margin-left: 58px;
}

.promotions-empty {
  grid-column: 1 / -1;
  min-height: 310px;
  padding: 54px 24px;
  text-align: center;
}

.promotions-empty-badge {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  place-items: center;
  color: var(--red);
  background: #fff1f5;
  border: 1px solid #ffd6e1;
  border-radius: 18px;
  font-size: 26px;
  font-weight: 900;
}

.promotions-empty h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 24px;
}

.promotions-empty p {
  max-width: 620px;
  margin: 0 auto;
  color: #748095;
  line-height: 1.6;
}

.promotions-empty a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 22px;
  padding: 0 18px;
  color: #fff;
  background: var(--blue);
  border-radius: 9px;
  font-weight: 800;
}

.promotions-empty a:hover,
.promotions-empty a:focus-visible {
  background: var(--blue-dark);
}


/* News, service, favorites and search pages */
.news-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.news-page-card {
  min-height: 260px;
  padding: 30px;
  background: #fff;
  border: 1px solid #e0e7f0;
  border-radius: 18px;
  box-shadow: 0 15px 36px rgba(21, 50, 90, 0.05);
}

.news-page-cover {
  display: block;
  overflow: hidden;
  margin: -30px -30px 22px;
  border-radius: 18px 18px 0 0;
}

.news-page-cover img {
  width: 100%;
  height: 210px;
  display: block;
  object-fit: cover;
}

.news-detail-cover {
  width: 100%;
  max-height: 480px;
  display: block;
  margin: 0 0 28px;
  object-fit: cover;
  border-radius: 16px;
}

.news-detail-lead {
  color: #344054 !important;
  font-size: 19px !important;
  font-weight: 600;
}

.news-empty {
  grid-column: 1 / -1;
  padding: 42px;
  border: 1px solid #e0e7f0;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.news-empty h2 {
  margin: 0 0 8px;
}

.news-empty p {
  margin: 0;
  color: #6a778b;
}

.news-page-card time,
.news-detail-article time {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.news-page-card h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.25;
}

.news-page-card h2 a:hover {
  color: var(--blue);
}

.news-page-card p {
  margin: 0;
  color: #6a778b;
  line-height: 1.65;
}

.news-page-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--blue);
  font-weight: 800;
}

.news-page-link .icon {
  width: 18px;
  height: 18px;
}

.news-detail-shell {
  max-width: 980px;
}

.news-detail-article {
  margin-top: 44px;
  padding: 44px;
  background: #fff;
  border: 1px solid #e0e7f0;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(21, 50, 90, 0.06);
}

.news-detail-article h1 {
  max-width: 820px;
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.news-detail-article p {
  max-width: 820px;
  margin: 0 0 16px;
  color: #5f6d81;
  font-size: 17px;
  line-height: 1.75;
}

.news-detail-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

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

.service-type-grid article {
  min-height: 230px;
  padding: 28px;
  background: #fff;
  border: 1px solid #e0e7f0;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(21, 50, 90, 0.05);
}

.service-type-grid .icon {
  width: 40px;
  height: 40px;
  margin-bottom: 30px;
  padding: 9px;
  color: var(--blue);
  background: #eef6ff;
  border-radius: 12px;
}

.service-type-grid h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
}

.service-type-grid p {
  margin: 0;
  color: #6a778b;
  line-height: 1.6;
}

.service-request-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(620px, 1.28fr);
  gap: 64px;
  align-items: start;
}

.service-request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 30px;
  background: #fff;
  border: 1px solid #dfe6f0;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(21, 50, 90, 0.07);
}

.service-request-form label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.service-request-form label > span {
  color: #8a95a6;
  font-weight: 600;
}

.service-request-form input,
.service-request-form select,
.service-request-form textarea,
.search-page-form input {
  width: 100%;
  min-width: 0;
  padding: 0 14px;
  color: #101828;
  background: #fff;
  border: 1px solid #cbd7e9;
  border-radius: 9px;
  outline: 0;
}

.service-request-form input,
.service-request-form select {
  height: 48px;
}

.service-request-form textarea {
  padding-top: 13px;
  padding-bottom: 13px;
  resize: vertical;
}

.service-request-form input:focus,
.service-request-form select:focus,
.service-request-form textarea:focus,
.search-page-form input:focus {
  border-color: #8bb1e2;
  box-shadow: 0 0 0 3px rgba(0, 87, 200, 0.08);
}

.service-form-wide {
  grid-column: 1 / -1;
}

.service-form-actions {
  align-items: center;
  grid-template-columns: auto 1fr;
}

.service-form-actions p {
  margin: 0;
  color: #667085;
  font-size: 13px;
}

.service-form-actions p.is-success {
  color: #067647;
}

.service-form-actions p.is-error {
  color: #b42318;
}

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

.favorites-toolbar > p {
  margin: 0;
  color: #667085;
}

.favorites-empty,
.search-empty {
  grid-column: 1 / -1;
  min-height: 260px;
  padding: 54px 24px;
  text-align: center;
}

.favorites-empty a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 20px;
  padding: 0 18px;
  color: #fff;
  background: var(--blue);
  border-radius: 9px;
  font-weight: 800;
}

.quick-actions a[aria-current="page"] {
  color: var(--blue);
}

.search-page-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  max-width: 920px;
  gap: 10px;
  margin-top: 28px;
}

.search-page-form input {
  height: 52px;
}

.search-page-form button {
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 9px;
  font-weight: 800;
}

.search-page-form button:hover,
.search-page-form button:focus-visible {
  background: var(--blue-dark);
}

@media (max-width: 1100px) {
  .service-request-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 1000px) {
  .news-page-grid,
  .service-type-grid {
    grid-template-columns: 1fr;
  }

  .service-request-layout {
    grid-template-columns: 1fr;
  }
}


.news-list p a {
  color: inherit;
}

.news-list p a:hover,
.news-list p a:focus-visible {
  color: var(--blue);
}


/* Auto-detected city confirmation */
.city-confirmation[hidden] {
  display: none;
}

.city-confirmation {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.city-confirmation-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 26, 48, 0.42);
  backdrop-filter: blur(3px);
}

.city-confirmation-card {
  position: relative;
  z-index: 1;
  width: min(460px, calc(100vw - 36px));
  padding: 30px;
  border: 1px solid #d9e3f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(9, 35, 75, 0.22);
}

.city-confirmation-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.city-confirmation-card h2 {
  margin: 0;
  color: #101828;
  font-size: 28px;
  line-height: 1.15;
}

.city-confirmation-card p {
  margin: 14px 0 0;
  color: #667085;
  line-height: 1.55;
}

.city-confirmation-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

.city-confirmation-actions button {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 9px;
  font-weight: 800;
}

.city-confirmation-primary {
  color: #fff;
  border: 1px solid var(--blue);
  background: var(--blue);
}

.city-confirmation-primary:hover,
.city-confirmation-primary:focus-visible {
  background: var(--blue-dark);
}

.city-confirmation-secondary {
  color: #344054;
  border: 1px solid #cbd7e9;
  background: #fff;
}

.city-confirmation-secondary:hover,
.city-confirmation-secondary:focus-visible {
  color: var(--blue);
  border-color: #9dbbe2;
  background: #f7faff;
}

body.city-confirmation-open {
  overflow: hidden;
}

@media (max-width: 620px) {
  .city-confirmation-actions {
    grid-template-columns: 1fr;
  }

  .city-confirmation-card {
    padding: 24px;
  }
}


/* Footer legal links and information pages */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 18px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  transition:
    color 260ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: #fff;
  transform: translateY(-1px);
}

.info-document-shell {
  max-width: 1020px;
}

.info-document {
  padding: 38px 42px;
  background: #fff;
  border: 1px solid #dfe6f0;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(21, 50, 90, 0.05);
}

.info-document > *:first-child {
  margin-top: 0;
}

.info-document h2 {
  margin: 34px 0 12px;
  color: #101828;
  font-size: 22px;
  line-height: 1.25;
}

.info-document h3 {
  margin: 26px 0 10px;
  color: #1d2939;
  font-size: 17px;
}

.info-document p,
.info-document li {
  color: #5f6d81;
  font-size: 15px;
  line-height: 1.75;
}

.info-document ul,
.info-document ol {
  padding-left: 22px;
}

.info-source-note {
  margin-bottom: 26px;
  padding: 16px 18px;
  border: 1px solid #d9e7fa;
  border-radius: 12px;
  background: #f7fbff;
  color: #475467;
  font-size: 13px;
  line-height: 1.55;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid #dfe6f0;
  border-radius: 14px;
  background: #fff;
}

.faq-item summary {
  position: relative;
  padding: 20px 54px 20px 22px;
  color: #101828;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 800;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 24px;
  height: 24px;
  content: "+";
  color: var(--blue);
  transform: translateY(-50%);
  text-align: center;
  font-size: 22px;
  line-height: 22px;
  transition: transform 240ms ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item div {
  padding: 0 22px 22px;
  color: #667085;
  line-height: 1.65;
}

.faq-item div p {
  margin: 0;
}

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

.certificate-info-card {
  padding: 28px;
  border: 1px solid #dfe6f0;
  border-radius: 16px;
  background: #fff;
}

.certificate-info-card h2 {
  margin: 0 0 10px;
  color: #101828;
  font-size: 20px;
}

.certificate-info-card p {
  margin: 0;
  color: #667085;
  line-height: 1.65;
}

.certificate-info-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 820px) {
  .info-document {
    padding: 28px 22px;
  }

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


.homepage-section-stack {
  display: flex;
  flex-direction: column;
}


/* Local product content and gallery */
.product-detail-media {
  align-content: start;
  gap: 16px;
}

.product-detail-main-image {
  width: 100%;
  min-height: 410px;
  display: grid;
  place-items: center;
}

.product-detail-main-image img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
}

.product-detail-thumbnails {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
}

.product-detail-thumbnail {
  min-height: 72px;
  padding: 5px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-detail-thumbnail:hover,
.product-detail-thumbnail:focus-visible,
.product-detail-thumbnail.is-active {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(0, 87, 200, 0.1);
}

.product-detail-thumbnail img {
  width: 100%;
  height: 62px;
  object-fit: contain;
}

.product-props-head h2,
.product-detail-description h2 {
  margin: 0 0 10px;
  color: #101828;
  font-size: 18px;
  font-weight: 900;
}

.product-detail-description {
  padding-top: 4px;
  border-top: 1px solid var(--line-light);
}

.product-detail-description p {
  margin: 0;
  color: #475467;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 820px) {
  .product-detail-main-image {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .product-detail-main-image {
    min-height: 250px;
  }

  .product-detail-thumbnails {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}


/* Global site announcement */
.site-announcement {
  position: relative;
  z-index: 70;
  background: #103e7a;
  color: #fff;
}

.site-announcement-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 8px;
  padding-bottom: 8px;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
}

.site-announcement-inner a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .site-announcement-inner {
    flex-direction: column;
    gap: 4px;
    padding-top: 9px;
    padding-bottom: 9px;
    font-size: 12px;
  }
}


/* Customer verification market access */

.market-commerce-locked [data-commerce-availability] {
  display: none !important;
}

.market-commerce-locked [data-commerce-price-sort] {
  display: none !important;
}

.market-commerce-locked [data-cart-count] {
  display: none !important;
}

.market-commerce-locked .product-card .product-bottom > strong {
  display: none;
}

.market-commerce-locked .product-card .product-bottom::before {
  content: 'Цена после подтверждения';
  color: #172033;
  font-weight: 800;
}


.market-commerce-locked .shop-card .stock-label,
.market-commerce-locked .shop-card-footer > strong {
  display: none;
}

.market-commerce-locked .shop-card-footer::before {
  content: 'Цена после подтверждения';
  color: #172033;
  font-weight: 800;
}

.market-commerce-locked .shop-card .add-cart-button span {
  font-size: 0;
}

.market-commerce-locked .shop-card .add-cart-button span::after {
  content: 'Получить доступ';
  font-size: 13px;
}

.city-selector.is-commerce-locked .city-selector-button {
  border-color: #d8dee8;
  background: #f7f9fc;
}

.city-selector.is-commerce-locked .city-selector-kicker,
.city-selector.is-commerce-locked .city-selector-status {
  color: #667085;
}

.market-access-dialog[hidden] {
  display: none;
}

.market-access-dialog {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.market-access-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .52);
  backdrop-filter: blur(3px);
}

.market-access-dialog-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: 28px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .22);
}

.market-access-dialog-kicker {
  margin: 0 0 8px;
  color: #1359d1;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.market-access-dialog-card h2,
.market-access-card h1 {
  margin: 0;
  color: #172033;
}

.market-access-dialog-card > p:not(.market-access-dialog-kicker),
.market-access-card > p:not(.market-access-dialog-kicker) {
  margin: 12px 0 0;
  color: #667085;
  line-height: 1.65;
}

.market-access-dialog-actions,
.market-access-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.market-access-dialog-actions a,
.market-access-dialog-actions button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.market-access-dialog-actions a {
  background: #1359d1;
  color: #fff;
  text-decoration: none;
}

.market-access-dialog-actions button {
  border: 1px solid #d8dee8;
  background: #fff;
  color: #172033;
}

body.market-access-dialog-open {
  overflow: hidden;
}

.market-access-section {
  padding: 36px 0 80px;
}

.market-access-container {
  max-width: 980px;
}

.market-access-card {
  margin-top: 28px;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid #e4e9f1;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(14, 35, 68, .06);
}

@media (max-width: 640px) {
  .market-access-dialog-card {
    padding: 22px;
  }

  .market-access-dialog-actions,
  .market-access-page-actions {
    flex-direction: column;
  }

  .market-access-dialog-actions > *,
  .market-access-page-actions > * {
    width: 100%;
  }
}


/* Storefront responsive pass 7.8.1 */
.category-mobile-filter-toggle {
  display: none;
}

@media (max-width: 820px) {
  .site-header {
    position: relative;
    z-index: 80;
  }

  .header-main {
    grid-template-columns: minmax(110px, 1fr) 46px auto;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .header-main .brand {
    grid-column: 1;
    min-width: 0;
  }

  .brand-logo-image {
    max-width: 138px;
    max-height: 46px;
  }

  .brand-main {
    font-size: 29px;
  }

  .brand-sub {
    font-size: 12px;
  }

  .header-main .catalog-button {
    grid-column: 2;
    width: 46px;
    min-height: 46px;
    padding: 0;
  }

  .header-main .catalog-button span {
    display: none;
  }

  .header-main .quick-actions {
    grid-column: 3;
    display: flex;
    width: auto;
    justify-content: flex-end;
    gap: 4px;
  }

  .header-main .quick-actions a,
  .header-main .quick-actions a[data-auth-link],
  .header-main .quick-actions a[data-auth-link].auth-profile-link {
    width: 36px;
    min-width: 36px;
    max-width: 36px;
    min-height: 36px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .header-main .quick-actions a > span:not(.action-count) {
    display: none !important;
  }

  .header-main .quick-actions .icon {
    width: 21px;
    height: 21px;
  }

  .header-main .header-auth-avatar {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    border-radius: 9px;
  }

  .header-main .action-count {
    top: -7px;
    right: -5px;
  }

  .header-main .search-panel {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 46px;
  }

  .header-main .search-panel input,
  .header-main .search-panel button {
    height: 44px;
  }

  .header-main .phone-block {
    display: none;
  }

  .header-main .city-selector {
    grid-column: 1 / -1;
    width: 100%;
    justify-self: stretch;
  }

  .header-main .city-selector-button {
    width: 100%;
    min-height: 44px;
    min-width: 0;
  }

  .site-nav .nav-scroll {
    justify-content: flex-start;
    gap: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
    scroll-snap-type: x proximity;
  }

  .site-nav a {
    scroll-snap-align: start;
    font-size: 13px;
  }

  .product-category-head {
    padding-top: 22px;
    padding-bottom: 14px;
  }

  .product-category-title-row {
    gap: 16px;
  }

  .product-category-title-row h1 {
    font-size: clamp(27px, 7vw, 34px);
  }

  .product-category-title-row > div:first-child > p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
  }

  .category-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .category-kpis span {
    min-width: 0;
    min-height: 58px;
    padding: 9px 8px;
    text-align: center;
  }

  .category-kpis strong {
    font-size: 22px;
  }

  .category-shop-layout {
    display: block;
  }

  .category-mobile-filter-toggle {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    color: #344054;
    border: 1px solid #cbd7e9;
    border-radius: 8px;
    background: #fff;
    font-size: 12px;
    font-weight: 900;
  }

  .category-mobile-filter-toggle .icon {
    width: 18px;
    height: 18px;
  }

  .category-mobile-filter-toggle.is-active {
    color: #fff;
    border-color: var(--blue);
    background: var(--blue);
  }

  .category-filter-panel {
    position: static;
    display: none;
    grid-template-rows: auto minmax(0, 1fr) auto;
    max-height: min(62dvh, 560px);
    margin-bottom: 14px;
    overflow: hidden;
    padding: 16px;
  }

  .category-filter-panel.is-mobile-open {
    display: grid;
  }

  .category-filter-list {
    grid-template-columns: 1fr;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 4px;
  }

  .category-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
  }

  .category-toolbar > p {
    min-width: 0;
  }

  .category-toolbar .sort-control {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .category-toolbar .sort-control select {
    width: 100%;
    min-width: 0;
  }

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

  .shop-card {
    min-height: 0;
  }

  .product-detail-layout {
    gap: 18px;
    margin-top: 16px;
  }

  .product-detail-media {
    min-height: 340px;
    padding: 24px;
  }

  .product-detail-main {
    gap: 15px;
    padding: 22px;
  }

  .product-detail-main h1 {
    font-size: clamp(25px, 6.5vw, 31px);
  }

  .product-variant-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-variant-options {
    gap: 7px;
  }

  .product-variant-chip {
    min-height: 40px;
    padding: 0 12px;
  }

  .cart-drawer {
    width: min(430px, 100vw);
  }
}

@media (max-width: 560px) {
  .container {
    padding-right: 14px;
    padding-left: 14px;
  }

  .header-main {
    grid-template-columns: minmax(96px, 1fr) 44px auto;
    gap: 8px;
  }

  .header-main .catalog-button {
    width: 44px;
    min-height: 44px;
  }

  .header-main .quick-actions {
    gap: 5px;
  }

  .header-main .quick-actions a,
  .header-main .quick-actions a[data-auth-link],
  .header-main .quick-actions a[data-auth-link].auth-profile-link {
    width: 39px;
    min-width: 39px;
    max-width: 39px;
    min-height: 39px;
  }

  .header-main .city-selector-kicker {
    display: none;
  }

  .header-main .city-selector-copy {
    gap: 0;
  }

  .header-main .city-selector-panel {
    right: 0;
    left: 0;
    width: 100%;
  }

  .product-category-head .breadcrumbs,
  .product-detail-section .breadcrumbs {
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .product-category-head .breadcrumbs::-webkit-scrollbar,
  .product-detail-section .breadcrumbs::-webkit-scrollbar {
    display: none;
  }

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

  .category-kpis span {
    min-height: 54px;
    padding: 8px 5px;
    font-size: 10px;
  }

  .category-kpis strong {
    font-size: 19px;
  }

  .category-toolbar {
    grid-template-columns: 1fr;
  }

  .category-mobile-filter-toggle {
    width: 100%;
    order: 2;
  }

  .category-toolbar .sort-control {
    order: 3;
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

  .shop-card-top {
    top: 9px;
    right: 9px;
    left: 9px;
    gap: 6px;
  }

  .stock-label {
    min-height: 24px;
    max-width: calc(100% - 66px);
    padding: 0 7px;
    overflow: hidden;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .shop-card-actions {
    gap: 4px;
  }

  .product-icon-action {
    width: 29px;
    height: 29px;
  }

  .product-icon-action .icon {
    width: 15px;
    height: 15px;
  }

  .shop-card-image {
    height: 176px;
    padding: 40px 8px 10px;
  }

  .shop-card-image img {
    height: 122px;
  }

  .shop-card-body {
    padding: 12px 11px 13px;
  }

  .shop-card-category {
    margin-bottom: 6px;
    font-size: 9px;
  }

  .shop-card-body h2 {
    font-size: 14px;
    line-height: 1.24;
  }

  .shop-card-body > p:not(.shop-card-category) {
    max-height: calc(1.35em * 2);
    margin: 7px 0 10px;
    font-size: 11px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .shop-card-unit-note {
    display: -webkit-box;
    margin: -2px 0 9px;
    overflow: hidden;
    font-size: 9px;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .shop-card-rating {
    gap: 4px;
    font-size: 9px;
  }

  .shop-card-rating .icon {
    width: 13px;
    height: 13px;
  }

  .shop-card-footer {
    display: grid;
    gap: 9px;
    margin-top: 11px;
  }

  .shop-card-footer strong {
    font-size: 15px;
    line-height: 1.15;
  }

  .add-cart-button {
    width: 100%;
    min-height: 38px;
    gap: 6px;
    padding: 0 8px;
    font-size: 11px;
  }

  .add-cart-button .icon {
    width: 15px;
    height: 15px;
  }

  .product-detail-section {
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .product-detail-layout {
    gap: 12px;
  }

  .product-detail-media {
    min-height: 0;
    padding: 14px;
  }

  .product-detail-main-image {
    min-height: 250px;
  }

  .product-detail-main {
    gap: 13px;
    padding: 16px;
  }

  .product-detail-main h1 {
    font-size: 23px;
    line-height: 1.14;
  }

  .product-detail-subtitle {
    font-size: 13px;
  }

  .product-detail-sale-info {
    padding: 9px 10px;
    font-size: 12px;
  }

  .product-detail-status {
    align-items: flex-start;
    flex-direction: column;
    padding: 13px;
  }

  .product-detail-status strong {
    font-size: 23px;
  }

  .product-variant-panel {
    padding: 13px;
  }

  .product-variant-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-variant-chip {
    width: 100%;
    min-width: 0;
    padding: 8px 10px;
    overflow-wrap: anywhere;
  }

  .product-detail-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-quantity {
    width: 100%;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }

  .product-detail-cart-button {
    width: 100%;
    min-height: 48px;
  }

  .product-props-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .product-detail-thumbnails {
    grid-template-columns: repeat(4, minmax(64px, 1fr));
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .cart-drawer-shell {
    align-items: end;
  }

  .cart-drawer {
    width: 100vw;
    height: 100dvh;
    border-left: 0;
  }

  .cart-drawer-head {
    padding: 14px 16px;
  }

  .cart-drawer-head h2 {
    font-size: 21px;
  }

  .cart-drawer-list {
    padding: 10px;
  }

  .cart-line {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .cart-line img {
    width: 58px;
    height: 58px;
    padding: 5px;
  }

  .cart-line-info h3 {
    font-size: 13px;
  }

  .cart-line-controls {
    grid-column: 1 / -1;
    min-height: 42px;
  }

  .cart-qty {
    grid-template-columns: 38px 42px 38px;
  }

  .cart-qty button,
  .cart-qty span {
    width: auto;
    height: 38px;
  }

  .cart-remove {
    width: 40px;
    height: 40px;
  }

  .cart-drawer-footer {
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  }

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

  .cart-checkout-link {
    min-height: 50px;
  }

  .shop-toast {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    left: 14px;
    max-width: none;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .category-products-grid {
    grid-template-columns: 1fr;
  }

  .shop-card-image {
    height: 220px;
  }

  .shop-card-image img {
    height: 160px;
  }
}


/* Storefront responsive pass 7.8.2 */
@media (max-width: 820px) {
  .auth-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 18px;
  }

  .auth-card {
    order: 1;
    width: 100%;
  }

  .auth-info {
    order: 2;
    max-width: none;
    padding: 18px;
    border: 1px solid var(--line-light);
    border-radius: 10px;
    background: #fbfdff;
  }

  .auth-info h1 {
    font-size: 24px;
  }

  .auth-info > p {
    margin-bottom: 0;
  }

  .auth-info ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
  }

  .auth-info li {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--line-light);
    border-radius: 8px;
    background: #fff;
    font-size: 12px;
  }

  .auth-info .icon {
    width: 18px;
    height: 18px;
  }

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

  .account-sidebar {
    position: static;
    padding: 14px;
  }

  .account-user-card {
    padding-bottom: 12px;
  }

  .account-tabs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .account-tabs::-webkit-scrollbar {
    display: none;
  }

  .account-tabs button {
    width: auto;
    min-width: max-content;
    min-height: 42px;
    grid-template-columns: 18px auto;
    flex: 0 0 auto;
    padding: 0 12px;
    scroll-snap-align: start;
  }

  .account-tabs .icon {
    width: 18px;
    height: 18px;
  }

  .account-logout {
    width: auto;
    min-height: 40px;
    margin-top: 10px;
    grid-template-columns: 18px auto;
    justify-content: start;
  }

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

  .account-list {
    max-height: min(52dvh, 520px);
    overflow-y: auto;
    padding-right: 2px;
  }

  .account-order-hero {
    gap: 14px;
  }

  .account-status-timeline {
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .account-status-timeline li {
    scroll-snap-align: start;
  }

  .checkout-shell {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .checkout-summary {
    position: static;
    order: -1;
    width: 100%;
  }

  .checkout-form-panel {
    width: 100%;
  }

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

  .favorites-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .favorites-toolbar .sort-control {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    width: 100%;
  }

  .favorites-toolbar .sort-control select {
    width: 100%;
    min-width: 0;
  }

  .search-page-form {
    max-width: none;
  }

  .service-request-layout {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .auth-section,
  .account-section {
    padding-top: 20px;
    padding-bottom: 42px;
  }

  .auth-section .breadcrumbs,
  .account-section .breadcrumbs {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .auth-section .breadcrumbs::-webkit-scrollbar,
  .account-section .breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  .auth-form {
    gap: 14px;
    padding: 18px 14px;
  }

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

  .auth-client-type {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .auth-client-type span {
    min-height: 44px;
    padding: 7px 5px;
    font-size: 11px;
  }

  .auth-info {
    padding: 14px;
  }

  .auth-info h1 {
    font-size: 20px;
  }

  .auth-info > p {
    font-size: 13px;
  }

  .auth-info ul {
    grid-template-columns: 1fr;
  }

  .auth-info li {
    min-height: 42px;
    align-items: center;
  }

  .account-sidebar {
    padding: 12px;
  }

  .account-user-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
  }

  .account-avatar {
    width: 42px;
    height: 42px;
  }

  .account-tabs button {
    min-height: 40px;
    padding: 0 10px;
    font-size: 12px;
  }

  .account-panel-head,
  .account-form,
  .account-orders-layout,
  .account-address-list,
  .checkout-summary-body {
    padding: 14px;
  }

  .account-panel-head {
    gap: 10px;
  }

  .account-panel-head h1 {
    font-size: 21px;
  }

  .account-badge {
    max-width: 44%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .account-avatar-editor {
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 12px;
  }

  .account-avatar-large {
    width: 62px;
    height: 62px;
  }

  .account-form-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .account-wide-field {
    grid-column: auto;
  }

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

  .account-submit,
  .account-secondary-button,
  .account-danger-button {
    width: 100%;
  }

  .account-list {
    max-height: none;
    overflow: visible;
  }

  .account-detail {
    padding: 14px;
    border-radius: 10px;
  }

  .account-order-hero {
    padding: 14px;
    border-radius: 10px;
  }

  .account-order-hero h2 {
    font-size: 20px;
  }

  .account-order-hero-total strong {
    font-size: 21px;
  }

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

  .account-order-section {
    padding: 13px;
    border-radius: 10px;
  }

  .account-order-item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
  }

  .account-order-item-media {
    width: 48px;
    height: 48px;
  }

  .account-order-item > b {
    grid-column: 2;
    justify-self: start;
  }

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

  .account-order-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .account-order-repeat-button {
    width: 100%;
  }

  .checkout-summary .account-panel-head {
    padding: 14px;
  }

  .checkout-summary .account-panel-head h2 {
    font-size: 20px;
  }

  .checkout-line {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .checkout-line img,
  .checkout-line-placeholder {
    width: 54px;
    height: 54px;
  }

  .checkout-line b {
    grid-column: 2;
    justify-self: start;
  }

  .checkout-payment-grid {
    grid-template-columns: 1fr;
  }

  .checkout-payment-option span {
    min-height: 58px;
  }

  .checkout-submit {
    width: 100%;
    min-width: 0;
  }

  .favorites-toolbar {
    margin-bottom: 14px;
  }

  .favorites-toolbar > p {
    font-size: 13px;
    line-height: 1.45;
  }

  .favorites-toolbar .sort-control {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .search-page-form {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 20px;
  }

  .search-page-form input,
  .search-page-form button {
    min-height: 48px;
  }

  .service-request-form {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 14px;
    border-radius: 12px;
  }

  .service-form-wide {
    grid-column: auto;
  }

  .service-form-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-form-actions .content-primary-button {
    width: 100%;
  }

  .service-type-grid article {
    min-height: 0;
    padding: 20px;
  }

  .service-type-grid .icon {
    margin-bottom: 18px;
  }
}

@media (max-width: 390px) {
  .auth-client-type span {
    font-size: 10px;
  }

  .account-tabs button {
    min-width: 132px;
  }

  .checkout-line {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .checkout-line img,
  .checkout-line-placeholder {
    width: 46px;
    height: 46px;
  }
}


/* Storefront responsive pass 7.8.3 */
@media (max-width: 1024px) {
  .contacts-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contacts-info-layout,
  .contacts-hero .content-hero-grid,
  .promotions-title-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contacts-hero-panel {
    max-width: 620px;
  }

  .promotions-highlight {
    max-width: 620px;
  }
}

@media (max-width: 820px) {
  .hero-section {
    padding-top: 16px;
    padding-bottom: 22px;
  }

  .slider-viewport {
    height: min(520px, calc(100dvh - 170px));
    min-height: 450px;
  }

  .category-section,
  .products-section,
  .info-section,
  .brands-section {
    padding-bottom: 24px;
  }

  .category-grid {
    gap: 10px;
  }

  .product-grid {
    gap: 12px;
  }

  .product-card {
    min-height: 0;
  }

  .product-card > img {
    height: 145px;
    padding: 14px 12px 6px;
  }

  .product-info {
    padding: 0 12px 12px;
  }

  .info-card {
    min-height: 0;
  }

  .about-card {
    grid-template-columns: minmax(160px, 34%) minmax(0, 1fr);
  }

  .brand-strip {
    overflow: visible;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 36px;
    padding-top: 34px;
    padding-bottom: 32px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-about p {
    max-width: 520px;
  }

  .footer-about small {
    margin-top: 22px;
  }

  .footer-menu h2 {
    margin-bottom: 14px;
  }

  .footer-legal {
    gap: 10px 18px;
    padding-top: 16px;
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
  }

  .content-hero,
  .promotions-head {
    padding-top: 24px;
  }

  .content-hero .breadcrumbs {
    margin-bottom: 28px;
  }

  .content-hero h1,
  .about-hero-inner h1,
  .promotions-title-row h1 {
    font-size: clamp(34px, 8vw, 48px);
  }

  .content-hero-copy > p,
  .about-hero-inner p,
  .promotions-title-row p {
    font-size: 16px;
  }

  .content-section {
    padding: 52px 0;
  }

  .content-section-heading {
    margin-bottom: 28px;
  }

  .content-section-heading h2,
  .about-summary h2 {
    font-size: clamp(28px, 6vw, 38px);
  }

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

  .contacts-card {
    min-height: 0;
  }

  .contacts-card p {
    min-height: 0;
  }

  .contacts-info-layout {
    gap: 24px;
  }

  .contacts-callout {
    padding: 24px;
  }

  .about-direction-card {
    min-height: 0;
  }

  .about-direction-card p {
    min-height: 0;
  }

  .about-summary {
    gap: 28px;
  }

  .promotions-title-row {
    margin-top: 30px;
  }

  .promotions-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .promotions-tabs::-webkit-scrollbar {
    display: none;
  }

  .promotions-tabs a,
  .promotions-tabs-loading {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .promotions-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .news-page-card {
    min-height: 0;
    padding: 22px;
  }

  .news-page-cover {
    margin: -22px -22px 18px;
  }

  .news-detail-article {
    margin-top: 28px;
    padding: 28px 24px;
  }

  .news-detail-article h1 {
    font-size: clamp(32px, 7vw, 46px);
  }

  .news-detail-article p {
    font-size: 16px;
  }

  .info-document {
    padding: 26px 22px;
  }
}

@media (max-width: 640px) {
  .slider-viewport {
    height: 470px;
    min-height: 470px;
    border-radius: 16px;
  }

  .slide-logo {
    top: 18px;
    right: 18px;
    font-size: 22px;
  }

  .slide-content {
    top: 28px;
    left: 18px;
    max-width: calc(100% - 36px);
  }

  .slide-title {
    max-width: calc(100% - 32px);
    font-size: clamp(27px, 7.5vw, 32px);
  }

  .slide-text {
    max-width: 78%;
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.4;
  }

  .slide-cta {
    min-height: 38px;
    margin-top: 14px;
    padding: 0 14px;
    font-size: 12px;
  }

  .slide-visual,
  .equipment-visual,
  .clinic-visual,
  .academy-visual {
    right: -34%;
    bottom: 86px;
    width: 104%;
    height: 45%;
    opacity: .78;
    object-position: center;
  }

  .slide-features {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slide-features > span {
    min-height: 44px;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 6px;
    padding: 6px 8px;
    font-size: 9px;
  }

  .feature-icon {
    width: 22px;
    height: 22px;
  }

  .slider-button {
    top: auto;
    bottom: 98px;
    width: 34px;
    height: 34px;
    transform: none;
  }

  .slider-button-prev {
    left: 10px;
  }

  .slider-button-next {
    right: 10px;
  }

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

  .category-card {
    min-height: 84px;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 9px;
    padding: 12px;
    font-size: 12px;
  }

  .category-icon {
    width: 34px;
    height: 34px;
  }

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

  .product-card > img {
    height: 124px;
    padding: 12px 8px 5px;
  }

  .product-info {
    padding: 0 10px 10px;
  }

  .product-info h3 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .product-info p {
    display: -webkit-box;
    min-height: calc(1.3em * 2);
    margin: 6px 0 10px;
    overflow: hidden;
    font-size: 10px;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .product-bottom {
    align-items: flex-end;
    gap: 6px;
  }

  .product-bottom strong {
    min-width: 0;
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .product-bottom button {
    width: 34px;
    height: 34px;
  }

  .section-heading {
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
  }

  .section-heading h2,
  .brands-section h2 {
    font-size: 18px;
  }

  .section-heading a {
    gap: 6px;
    font-size: 11px;
  }

  .info-card,
  .about-card {
    border-radius: 10px;
  }

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

  .about-card img {
    height: 180px;
    min-height: 0;
  }

  .about-card div,
  .info-card {
    padding: 20px;
  }

  .info-card h2 {
    margin-bottom: 12px;
    font-size: 18px;
  }

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

  .brand-logo {
    min-height: 62px;
    padding: 9px;
    font-size: 17px;
  }

  .brand-logo.has-image img {
    max-height: 34px;
  }

  .footer-inner {
    gap: 24px 18px;
    padding-top: 28px;
    padding-bottom: 26px;
  }

  .footer-menu h2 {
    font-size: 13px;
  }

  .footer-menu a {
    margin-bottom: 9px;
    font-size: 12px;
    line-height: 1.35;
  }

  .social-links a {
    width: 38px;
    height: 38px;
  }

  .content-hero {
    padding-bottom: 40px;
  }

  .content-hero .breadcrumbs {
    overflow-x: auto;
    margin-bottom: 24px;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .content-hero .breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  .content-hero h1,
  .about-hero-inner h1,
  .promotions-title-row h1 {
    font-size: clamp(31px, 9vw, 40px);
  }

  .content-hero-copy > p,
  .about-hero-inner p,
  .promotions-title-row p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.55;
  }

  .content-hero-actions {
    margin-top: 22px;
  }

  .contacts-hero-panel,
  .delivery-hero-card,
  .delivery-support-card,
  .contacts-callout {
    padding: 18px;
    border-radius: 14px;
  }

  .contacts-phone-large {
    font-size: 24px;
    overflow-wrap: anywhere;
  }

  .contacts-card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contacts-card {
    padding: 20px;
    border-radius: 12px;
  }

  .contacts-card-icon {
    margin-bottom: 18px;
  }

  .contacts-info-list > div {
    padding: 14px;
  }

  .contacts-callout h2 {
    font-size: 27px;
  }

  .about-direction-card {
    padding: 20px;
    border-radius: 12px;
  }

  .about-direction-icon {
    margin-bottom: 18px;
  }

  .about-summary-points span {
    padding: 13px 14px;
  }

  .promotions-head {
    padding-bottom: 26px;
  }

  .promotions-title-row {
    margin-top: 24px;
  }

  .promotions-highlight {
    padding: 15px;
  }

  .promotions-tabs {
    margin-top: 22px;
  }

  .promotions-products-section {
    padding-top: 24px;
    padding-bottom: 48px;
  }

  .news-page-grid {
    gap: 14px;
  }

  .news-page-card {
    padding: 18px;
    border-radius: 12px;
  }

  .news-page-cover {
    margin: -18px -18px 16px;
    border-radius: 12px 12px 0 0;
  }

  .news-page-cover img {
    height: 170px;
  }

  .news-page-card h2 {
    font-size: 20px;
  }

  .news-detail-article {
    margin-top: 20px;
    padding: 20px 14px;
    border-radius: 12px;
  }

  .news-detail-cover {
    margin-bottom: 20px;
    border-radius: 10px;
  }

  .news-detail-lead {
    font-size: 17px !important;
  }

  .news-detail-article h1 {
    font-size: clamp(29px, 8.5vw, 38px);
  }

  .news-detail-actions {
    flex-direction: column;
  }

  .news-detail-actions a {
    width: 100%;
  }

  .info-document {
    padding: 20px 14px;
    border-radius: 12px;
  }

  .info-document h2 {
    margin-top: 28px;
    font-size: 20px;
  }

  .info-document p,
  .info-document li {
    font-size: 14px;
    line-height: 1.65;
  }

  .faq-item summary {
    padding: 17px 46px 17px 15px;
    font-size: 14px;
  }

  .faq-item summary::after {
    right: 14px;
  }

  .faq-item div {
    padding: 0 15px 17px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .category-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-about {
    grid-column: auto;
  }
}


/* Mobile visual correction after real-device review */
@media (max-width: 640px) {
  .header-main {
    display: grid;
    grid-template-columns: minmax(92px, 1fr) 42px auto;
    grid-template-rows: auto auto auto;
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .header-main .brand {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  .header-main .brand-logo-image {
    max-width: 118px;
    max-height: 40px;
  }

  .header-main .catalog-button {
    grid-column: 2;
    grid-row: 1;
    width: 42px;
    min-height: 40px;
    align-self: center;
  }

  .header-main .quick-actions {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    gap: 4px;
  }

  .header-main .quick-actions a,
  .header-main .quick-actions a[data-auth-link],
  .header-main .quick-actions a[data-auth-link].auth-profile-link {
    width: 36px;
    min-width: 36px;
    max-width: 36px;
    min-height: 36px;
    border-radius: 9px;
  }

  .header-main .quick-actions .icon {
    width: 18px;
    height: 18px;
  }

  .header-main .search-panel {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 42px;
  }

  .header-main .search-panel input,
  .header-main .search-panel button {
    height: 40px;
  }

  .header-main .city-selector {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .header-main .city-selector-button {
    min-height: 38px;
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .site-nav {
    display: none;
  }

  .hero-section {
    padding-top: 10px;
  }

  .slider-viewport {
    height: 420px;
    min-height: 420px;
    border-width: 1px;
    border-radius: 14px;
  }

  .slide-logo {
    display: none;
  }

  .slide-content {
    top: 24px;
    left: 16px;
    max-width: calc(100% - 32px);
  }

  .slide-title {
    max-width: 74%;
    font-size: clamp(25px, 7vw, 30px);
    line-height: 1.02;
  }

  .slide-text {
    max-width: 72%;
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.4;
  }

  .slide-cta {
    min-height: 36px;
    margin-top: 12px;
    padding: 0 12px;
    font-size: 11px;
    box-shadow: 0 8px 18px rgba(0, 87, 200, 0.16);
  }

  .slide-visual,
  .equipment-visual,
  .clinic-visual,
  .academy-visual {
    right: -26%;
    bottom: 76px;
    width: 94%;
    height: 48%;
    opacity: .9;
    object-fit: cover;
    object-position: center;
  }

  .slide-features {
    right: 8px;
    bottom: 8px;
    left: 8px;
    border-radius: 10px;
  }

  .slide-features > span {
    min-height: 40px;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 5px;
    padding: 5px 7px;
    font-size: 8px;
  }

  .feature-icon {
    width: 18px;
    height: 18px;
  }

  .slider-button {
    bottom: 84px;
    width: 30px;
    height: 30px;
    opacity: .86;
  }

  .slider-button .icon {
    width: 16px;
    height: 16px;
  }

  .slider-dots {
    gap: 8px;
    margin-top: 9px;
  }

  .slider-dots button {
    width: 7px;
    height: 7px;
  }

  .category-section {
    padding-top: 2px;
  }

  .category-card {
    min-height: 76px;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    font-size: 11px;
  }

  .category-icon {
    width: 30px;
    height: 30px;
  }

  .products-section .section-heading {
    margin-bottom: 12px;
  }

  .product-card {
    border-radius: 10px;
  }

  .product-card > img {
    height: 132px;
    padding: 10px 8px 4px;
  }

  .product-info {
    padding: 0 9px 9px;
  }

  .product-info h3 {
    min-height: calc(1.3em * 2);
    font-size: 12px;
  }

  .product-info p {
    display: none;
  }

  .product-bottom {
    align-items: center;
    gap: 5px;
  }

  .product-bottom strong {
    font-size: 12px;
    line-height: 1.25;
  }

  .product-bottom button {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .product-bottom button .icon {
    width: 17px;
    height: 17px;
  }

  .info-grid {
    gap: 12px;
  }

  .info-card,
  .about-card {
    border-radius: 12px;
  }

  .info-card {
    padding: 18px;
  }

  .info-card h2 {
    margin-bottom: 10px;
    font-size: 17px;
  }

  .info-card p,
  .feature-card li,
  .news-list p {
    font-size: 12px;
  }

  .about-card img {
    height: 168px;
  }

  .about-card div {
    padding: 18px;
  }

  .brands-section h2 {
    margin-bottom: 10px;
  }

  .brand-logo {
    min-height: 58px;
  }

  .footer-inner {
    padding-top: 24px;
  }

  .footer-about p {
    margin-top: 12px;
    font-size: 12px;
  }
}

@media (max-width: 430px) {
  .container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .header-main {
    grid-template-columns: minmax(82px, 1fr) 40px auto;
    gap: 6px;
  }

  .header-main .brand-logo-image {
    max-width: 108px;
  }

  .header-main .catalog-button {
    width: 40px;
    min-height: 38px;
  }

  .header-main .quick-actions a,
  .header-main .quick-actions a[data-auth-link],
  .header-main .quick-actions a[data-auth-link].auth-profile-link {
    width: 34px;
    min-width: 34px;
    max-width: 34px;
    min-height: 34px;
  }

  .slider-viewport {
    height: 400px;
    min-height: 400px;
  }

  .slide-title {
    max-width: 80%;
  }

  .slide-text {
    max-width: 78%;
  }

  .category-grid,
  .product-grid {
    gap: 7px;
  }

  .category-card {
    min-height: 72px;
    padding: 9px;
    font-size: 10px;
  }

  .product-card > img {
    height: 122px;
  }

  .section-heading h2,
  .brands-section h2 {
    font-size: 17px;
  }

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

@media (max-width: 340px) {
  .header-main .quick-actions a[href="/favorites"] {
    display: none;
  }

  .category-grid,
  .product-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-about {
    grid-column: auto;
  }
}


/* Mobile bottom navigation */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 640px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .header-main {
    grid-template-columns: minmax(120px, 1fr) 44px;
    grid-template-rows: auto auto auto;
    gap: 8px;
  }

  .header-main .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-main .catalog-button {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .header-main .quick-actions {
    display: none !important;
  }

  .header-main .search-panel {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .header-main .city-selector {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 900;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    gap: 2px;
    min-height: 64px;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    border-top: 1px solid #dce4ef;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -8px 24px rgba(16, 24, 40, .08);
    backdrop-filter: blur(14px);
  }

  .mobile-bottom-nav__item {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 54px;
    grid-template-rows: 24px auto;
    place-items: center;
    align-content: center;
    gap: 3px;
    padding: 4px 2px;
    color: #667085;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    cursor: pointer;
  }

  .mobile-bottom-nav__item .icon {
    width: 21px;
    height: 21px;
    color: currentColor;
  }

  .mobile-bottom-nav__item > span:last-child {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-bottom-nav__item.is-active,
  .mobile-bottom-nav__item[aria-current="page"],
  .mobile-bottom-nav__item[aria-expanded="true"] {
    color: var(--blue);
    background: #eef6ff;
  }

  .mobile-bottom-nav__icon-wrap {
    position: relative;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
  }

  .mobile-bottom-nav__badge {
    position: absolute;
    top: -7px;
    right: -10px;
    display: grid;
    min-width: 16px;
    height: 16px;
    place-items: center;
    padding: 0 4px;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #ef3340;
    font-size: 8px;
    font-weight: 900;
    line-height: 1;
  }

  .mobile-bottom-nav .header-auth-avatar {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    overflow: hidden;
    border-radius: 7px;
  }

  .mobile-bottom-nav .header-auth-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mobile-bottom-nav .auth-loading {
    visibility: visible;
    opacity: .72;
  }

  .shop-cart-open .mobile-bottom-nav {
    pointer-events: none;
  }

  .site-footer {
    margin-bottom: 0;
  }
}

@media (max-width: 390px) {
  .mobile-bottom-nav {
    padding-right: 4px;
    padding-left: 4px;
  }

  .mobile-bottom-nav__item {
    font-size: 9px;
  }
}


/* Mobile homepage composition 7.8.4 */
.homepage-mobile-section-head {
  display: none;
}

@media (max-width: 640px) {
  .mobile-bottom-nav {
    position: fixed !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 1600 !important;
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .homepage-section-stack {
    gap: 0;
  }

  .homepage-section-stack .container {
    width: 100%;
  }

  .homepage-section-stack .hero-section {
    padding-top: 8px;
    padding-bottom: 18px;
  }

  .homepage-section-stack .slider-viewport {
    height: 336px;
    min-height: 336px;
    overflow: hidden;
    border-radius: 16px;
  }

  .homepage-section-stack .slide-content {
    top: 22px;
    left: 18px;
    max-width: calc(100% - 36px);
    z-index: 3;
  }

  .homepage-section-stack .slide-title {
    max-width: 88%;
    font-size: clamp(25px, 7.2vw, 30px);
    line-height: 1.02;
    letter-spacing: -0.025em;
  }

  .homepage-section-stack .slide-text {
    max-width: 82%;
    margin-top: 9px;
    font-size: 11px;
    line-height: 1.42;
  }

  .homepage-section-stack .slide-cta {
    min-height: 36px;
    margin-top: 12px;
    padding: 0 13px;
    border-radius: 9px;
    font-size: 11px;
  }

  .homepage-section-stack .slide-visual,
  .homepage-section-stack .equipment-visual,
  .homepage-section-stack .clinic-visual,
  .homepage-section-stack .academy-visual {
    right: -16%;
    bottom: 50px;
    width: 88%;
    height: 48%;
    opacity: .96;
    object-fit: cover;
    object-position: center;
  }

  .homepage-section-stack .slide-features {
    right: 8px;
    bottom: 8px;
    left: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage-section-stack .slide-features > span {
    min-height: 40px;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 5px;
    padding: 6px 8px;
    font-size: 8px;
    line-height: 1.2;
  }

  .homepage-section-stack .slide-features > span:nth-child(n + 3) {
    display: none;
  }

  .homepage-section-stack .feature-icon {
    width: 18px;
    height: 18px;
  }

  .homepage-section-stack .slider-button {
    bottom: 60px;
    width: 30px;
    height: 30px;
  }

  .homepage-section-stack .slider-dots {
    margin-top: 8px;
  }

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

  .homepage-mobile-section-head h2 {
    margin: 0;
    color: #101828;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
  }

  .homepage-mobile-section-head a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
  }

  .homepage-mobile-section-head .icon {
    width: 15px;
    height: 15px;
  }

  .homepage-section-stack .category-section {
    padding: 2px 0 20px;
  }

  .homepage-section-stack .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .homepage-section-stack .category-card {
    min-height: 76px;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px;
    padding: 11px;
    border-radius: 12px;
    font-size: 11px;
    line-height: 1.25;
  }

  .homepage-section-stack .category-icon {
    width: 32px;
    height: 32px;
  }

  .homepage-section-stack .products-section {
    padding-bottom: 22px;
  }

  .homepage-section-stack .section-heading {
    margin-bottom: 11px;
  }

  .homepage-section-stack .section-heading h2 {
    font-size: 18px;
  }

  .homepage-section-stack .section-heading a {
    font-size: 11px;
  }

  .homepage-section-stack .product-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-right: -12px;
    padding-right: 12px;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .homepage-section-stack .product-grid::-webkit-scrollbar {
    display: none;
  }

  .homepage-section-stack .product-card {
    min-width: 0;
    flex: 0 0 min(68vw, 248px);
    scroll-snap-align: start;
    border-radius: 14px;
  }

  .homepage-section-stack .product-card > img {
    height: 160px;
    padding: 14px 12px 6px;
  }

  .homepage-section-stack .product-info {
    padding: 0 12px 12px;
  }

  .homepage-section-stack .product-info h3 {
    min-height: calc(1.3em * 2);
    font-size: 13px;
    line-height: 1.3;
  }

  .homepage-section-stack .product-info p {
    display: -webkit-box;
    min-height: auto;
    margin: 6px 0 11px;
    overflow: hidden;
    color: #667085;
    font-size: 10px;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
  }

  .homepage-section-stack .product-bottom strong {
    font-size: 13px;
  }

  .homepage-section-stack .product-bottom button {
    width: 36px;
    height: 36px;
  }

  .homepage-section-stack .info-section {
    padding-bottom: 22px;
  }

  .homepage-section-stack .info-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-right: -12px;
    padding-right: 12px;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .homepage-section-stack .info-grid::-webkit-scrollbar {
    display: none;
  }

  .homepage-section-stack .info-card {
    min-height: 230px;
    flex: 0 0 min(84vw, 315px);
    scroll-snap-align: start;
    padding: 18px;
    border-radius: 14px;
  }

  .homepage-section-stack .about-card {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
  }

  .homepage-section-stack .about-card img {
    height: 142px;
    min-height: 0;
  }

  .homepage-section-stack .about-card div {
    padding: 16px;
  }

  .homepage-section-stack .info-card h2 {
    margin-bottom: 9px;
    font-size: 17px;
  }

  .homepage-section-stack .info-card p,
  .homepage-section-stack .feature-card li,
  .homepage-section-stack .news-list p {
    font-size: 12px;
  }

  .homepage-section-stack .brands-section {
    padding-bottom: 22px;
  }

  .homepage-section-stack .brands-section h2 {
    margin-bottom: 10px;
    font-size: 18px;
  }

  .homepage-section-stack .brand-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .homepage-section-stack .brand-strip::-webkit-scrollbar {
    display: none;
  }

  .homepage-section-stack .brand-logo {
    min-height: 64px;
    flex: 0 0 138px;
    scroll-snap-align: start;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
  }

  .homepage-section-stack .brand-logo:nth-child(2n),
  .homepage-section-stack .brand-logo:last-child {
    border-right: 1px solid var(--line);
  }

  .homepage-section-stack .brand-logo.has-image img {
    max-height: 34px;
  }
}

@media (max-width: 390px) {
  .homepage-section-stack .slider-viewport {
    height: 322px;
    min-height: 322px;
  }

  .homepage-section-stack .slide-title {
    max-width: 92%;
    font-size: 25px;
  }

  .homepage-section-stack .slide-text {
    max-width: 88%;
  }

  .homepage-section-stack .product-card {
    flex-basis: 72vw;
  }

  .homepage-section-stack .info-card {
    flex-basis: 88vw;
  }
}


/* Compact mobile service hub instead of desktop footer */
.mobile-service-hub {
  display: none;
}

@media (max-width: 640px) {
  .site-footer {
    display: none;
  }

  .mobile-service-hub {
    display: block;
    padding: 8px 0 22px;
    background: #f7faff;
  }

  .mobile-service-hub-card {
    overflow: hidden;
    border: 1px solid #dce6f2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(16, 42, 80, .05);
  }

  .mobile-service-hub-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #edf2f7;
  }

  .mobile-service-hub-head > div {
    display: grid;
    gap: 3px;
    min-width: 0;
  }

  .mobile-service-hub-head strong {
    color: #101828;
    font-size: 17px;
    font-weight: 900;
  }

  .mobile-service-hub-head span {
    color: #667085;
    font-size: 11px;
    line-height: 1.3;
  }

  .mobile-service-hub-whatsapp {
    display: inline-flex;
    min-height: 38px;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    padding: 0 11px;
    color: #0f7a46;
    border: 1px solid #bfe7d0;
    border-radius: 10px;
    background: #f2fff8;
    font-size: 11px;
    font-weight: 900;
  }

  .mobile-service-hub-whatsapp .icon {
    width: 18px;
    height: 18px;
  }

  .mobile-service-hub-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
  }

  .mobile-service-hub-links a {
    display: grid;
    min-height: 48px;
    grid-template-columns: minmax(0, 1fr) 16px;
    align-items: center;
    gap: 8px;
    padding: 10px 11px;
    color: #344054;
    border: 1px solid #e4eaf2;
    border-radius: 10px;
    background: #fbfdff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
  }

  .mobile-service-hub-links .icon {
    width: 15px;
    height: 15px;
    color: var(--blue);
  }

  .mobile-service-hub-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 12px 14px 14px;
    border-top: 1px solid #edf2f7;
  }

  .mobile-service-hub-legal a,
  .mobile-service-hub-legal small {
    color: #7a8699;
    font-size: 10px;
    line-height: 1.35;
  }

  .mobile-service-hub-legal small {
    width: 100%;
    margin-top: 2px;
  }
}

@media (max-width: 380px) {
  .mobile-service-hub-links {
    grid-template-columns: 1fr;
  }

  .mobile-service-hub-whatsapp span {
    display: none;
  }

  .mobile-service-hub-whatsapp {
    width: 38px;
    justify-content: center;
    padding: 0;
  }
}


/* Responsive storefront shell 7.8.5: compact desktop, tablet and phone */
@media (min-width: 821px) and (max-width: 1200px) {
  .header-main {
    grid-template-columns: 110px 42px minmax(200px, 1fr) minmax(132px, 160px) auto;
    gap: 8px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .header-main .brand {
    grid-column: 1;
  }

  .header-main .brand-logo-image {
    max-width: 104px;
    max-height: 40px;
  }

  .header-main .catalog-button {
    grid-column: 2;
    width: 42px;
    min-height: 44px;
    padding: 0;
  }

  .header-main .catalog-button span {
    display: none;
  }

  .header-main .search-panel {
    grid-column: 3;
    min-height: 44px;
  }

  .header-main .search-panel input,
  .header-main .search-panel button {
    height: 42px;
  }

  .header-main .phone-block {
    display: none;
  }

  .header-main .city-selector {
    grid-column: 4;
    width: 100%;
  }

  .header-main .city-selector-button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
  }

  .header-main .quick-actions {
    grid-column: 5;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
  }

  .header-main .quick-actions a,
  .header-main .quick-actions a[data-auth-link],
  .header-main .quick-actions a[data-auth-link].auth-profile-link {
    width: 42px;
    min-width: 42px;
    max-width: 42px;
    min-height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 9px;
  }

  .header-main .quick-actions a > span:not(.action-count) {
    display: none !important;
  }

  .header-main .quick-actions .icon {
    width: 20px;
    height: 20px;
  }

  .site-nav .nav-scroll {
    gap: 22px;
    padding-top: 13px;
    padding-bottom: 13px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .footer-inner {
    grid-template-columns: minmax(210px, 1.15fr) repeat(3, minmax(130px, 1fr));
    gap: 28px;
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .footer-about {
    grid-column: auto;
  }

  .footer-about p {
    max-width: 230px;
  }

  .footer-about small {
    margin-top: 24px;
  }

  .footer-menu h2 {
    margin-bottom: 14px;
  }

  .footer-menu a {
    margin-bottom: 9px;
    font-size: 12px;
  }
}

@media (min-width: 641px) and (max-width: 820px) {
  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }

  .container {
    padding-right: 18px;
    padding-left: 18px;
  }

  .header-main {
    grid-template-columns: 112px 44px minmax(220px, 1fr) minmax(160px, 190px);
    grid-template-rows: auto;
    gap: 10px;
    padding-top: 13px;
    padding-bottom: 13px;
  }

  .header-main .brand {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  .header-main .brand-logo-image {
    max-width: 108px;
    max-height: 40px;
  }

  .header-main .catalog-button {
    grid-column: 2;
    grid-row: 1;
    width: 44px;
    min-height: 44px;
    padding: 0;
  }

  .header-main .catalog-button span {
    display: none;
  }

  .header-main .search-panel {
    grid-column: 3;
    grid-row: 1;
    min-height: 44px;
  }

  .header-main .search-panel input,
  .header-main .search-panel button {
    height: 42px;
  }

  .header-main .city-selector {
    grid-column: 4;
    grid-row: 1;
    width: 100%;
    justify-self: stretch;
  }

  .header-main .city-selector-button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0 10px;
  }

  .header-main .city-selector-kicker {
    display: none;
  }

  .header-main .phone-block,
  .header-main .quick-actions,
  .site-nav {
    display: none !important;
  }
}

@media (max-width: 820px) {
  .mobile-bottom-nav {
    position: fixed !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 1600 !important;
    display: grid !important;
    visibility: visible !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    opacity: 1 !important;
    transform: none !important;
  }

  .site-footer {
    display: none !important;
  }

  .mobile-service-hub {
    display: block;
    padding: 10px 0 22px;
    background: #f7faff;
  }

  .shop-cart-open .mobile-bottom-nav {
    display: none !important;
  }
}

@media (min-width: 641px) and (max-width: 820px) {
  .mobile-bottom-nav {
    min-height: 66px;
    padding: 6px 18px calc(6px + env(safe-area-inset-bottom));
  }

  .mobile-bottom-nav__item {
    min-height: 54px;
    font-size: 10px;
  }

  .mobile-service-hub-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mobile-service-hub-card {
    border-radius: 14px;
  }
}

@media (max-width: 640px) {
  .header-main {
    grid-template-columns: minmax(120px, 1fr) 44px;
    grid-template-rows: auto auto auto;
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .header-main .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-main .catalog-button {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .header-main .search-panel {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .header-main .city-selector {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .header-main .phone-block,
  .header-main .quick-actions,
  .site-nav {
    display: none !important;
  }
}


/* Tablet/mobile shell repair 7.8.6 */
@media (max-width: 820px) {
  html,
  body {
    overflow-x: clip;
  }
  .mobile-bottom-nav {
    position: fixed !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 1600 !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    gap: 4px;
    width: 100vw;
    min-height: 66px;
    padding: 6px 14px calc(6px + env(safe-area-inset-bottom));
    visibility: visible !important;
    opacity: 1 !important;
    border-top: 1px solid #dce4ef;
    background: #fff;
    box-shadow: 0 -8px 24px rgba(16, 24, 40, .08);
    isolation: isolate;
    transform: translate3d(0, 0, 0) !important;
  }

  .mobile-bottom-nav__item {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 54px;
    grid-template-rows: 24px auto;
    place-items: center;
    align-content: center;
    gap: 3px;
    padding: 4px 3px;
    appearance: none;
    color: #667085;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    cursor: pointer;
  }

  .mobile-bottom-nav__item .icon {
    width: 21px;
    height: 21px;
    color: currentColor;
  }

  .mobile-bottom-nav__item > span:last-child {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-bottom-nav__item.is-active,
  .mobile-bottom-nav__item[aria-current="page"],
  .mobile-bottom-nav__item[aria-expanded="true"] {
    color: var(--blue);
    background: #eef6ff;
  }

  .mobile-bottom-nav__icon-wrap {
    position: relative;
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
  }

  .mobile-bottom-nav__badge {
    position: absolute;
    top: -7px;
    right: -10px;
    display: grid;
    min-width: 16px;
    height: 16px;
    place-items: center;
    padding: 0 4px;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #ef3340;
    font-size: 8px;
    font-weight: 900;
    line-height: 1;
  }

  .mobile-bottom-nav .header-auth-avatar {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    overflow: hidden;
    border-radius: 7px;
  }

  .mobile-bottom-nav .header-auth-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mobile-bottom-nav .auth-loading {
    visibility: visible;
    opacity: .72;
  }

  .mobile-service-hub {
    display: block;
    padding: 12px 0 24px;
    background: #f7faff;
  }

  .mobile-service-hub-card {
    overflow: hidden;
    border: 1px solid #dce6f2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(16, 42, 80, .05);
  }

  .mobile-service-hub-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border-bottom: 1px solid #edf2f7;
  }

  .mobile-service-hub-head > div {
    display: grid;
    min-width: 0;
    gap: 3px;
  }

  .mobile-service-hub-head strong {
    color: #101828;
    font-size: 17px;
    font-weight: 900;
  }

  .mobile-service-hub-head span {
    color: #667085;
    font-size: 11px;
    line-height: 1.35;
  }

  .mobile-service-hub-whatsapp {
    display: inline-flex;
    min-height: 38px;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    color: #0f7a46;
    border: 1px solid #bfe7d0;
    border-radius: 10px;
    background: #f2fff8;
    font-size: 11px;
    font-weight: 900;
  }

  .mobile-service-hub-whatsapp .icon {
    width: 18px;
    height: 18px;
  }

  .mobile-service-hub-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
  }

  .mobile-service-hub-links a {
    display: grid;
    min-height: 50px;
    grid-template-columns: minmax(0, 1fr) 16px;
    align-items: center;
    gap: 8px;
    padding: 10px 11px;
    color: #344054;
    border: 1px solid #e4eaf2;
    border-radius: 10px;
    background: #fbfdff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
  }

  .mobile-service-hub-links .icon {
    width: 15px;
    height: 15px;
    color: var(--blue);
  }

  .mobile-service-hub-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 12px 16px 14px;
    border-top: 1px solid #edf2f7;
  }

  .mobile-service-hub-legal a,
  .mobile-service-hub-legal small {
    color: #7a8699;
    font-size: 10px;
    line-height: 1.35;
  }

  .mobile-service-hub-legal small {
    width: 100%;
    margin-top: 2px;
  }
}

@media (max-width: 640px) {
  .mobile-bottom-nav {
    gap: 2px;
    min-height: 64px;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  }

  .mobile-service-hub {
    padding: 8px 0 22px;
  }

  .mobile-service-hub-head {
    padding: 16px;
  }

  .mobile-service-hub-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 380px) {
  .mobile-service-hub-links {
    grid-template-columns: 1fr;
  }
}


/* Desktop header repair 7.8.7: keep 1201-1480 on one row */
@media (min-width: 1201px) and (max-width: 1480px) {
  .header-main {
    grid-template-columns: 124px 116px minmax(320px, 1fr) 154px 160px 132px;
    grid-template-rows: auto;
    gap: 14px;
    align-items: center;
    padding: 16px 32px;
  }

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

  .header-main .brand-logo-image {
    max-width: 120px;
    max-height: 44px;
  }

  .header-main .catalog-button {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    gap: 8px;
  }

  .header-main .catalog-button span {
    display: inline;
  }

  .header-main .search-panel {
    grid-column: 3;
    grid-row: 1;
    min-height: 48px;
  }

  .header-main .search-panel input,
  .header-main .search-panel button {
    height: 46px;
  }

  .header-main .phone-block {
    display: grid;
    grid-column: 4;
    grid-row: 1;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
  }

  .header-main .phone-block strong {
    font-size: 12px;
    white-space: nowrap;
  }

  .header-main .phone-block small {
    margin-top: 4px;
    font-size: 10px;
  }

  .header-main .city-selector {
    grid-column: 5;
    grid-row: 1;
    width: 100%;
    justify-self: stretch;
  }

  .header-main .city-selector-button {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0 10px;
  }

  .header-main .city-selector-kicker {
    font-size: 9px;
  }

  .header-main .city-selector-current {
    font-size: 11px;
  }

  .header-main .quick-actions {
    grid-column: 6;
    grid-row: 1;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
  }

  .header-main .quick-actions a,
  .header-main .quick-actions a[data-auth-link],
  .header-main .quick-actions a[data-auth-link].auth-profile-link {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    min-height: 40px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 9px;
  }

  .header-main .quick-actions a > span:not(.action-count) {
    display: none !important;
  }

  .header-main .quick-actions .icon {
    width: 20px;
    height: 20px;
  }

  .header-main .action-count {
    top: -7px;
    right: -5px;
  }

  .site-nav .nav-scroll {
    gap: 28px;
    padding-top: 13px;
    padding-bottom: 13px;
  }

  .site-nav a {
    font-size: 12px;
  }
}


/* Phone header refinement 7.8.8 */
@media (max-width: 430px) {
  .site-header {
    border-bottom-color: #eef2f7;
  }

  .header-main {
    grid-template-columns: minmax(88px, 1fr) 38px;
    grid-template-rows: auto auto auto;
    gap: 6px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .header-main .brand {
    min-width: 0;
  }

  .header-main .brand-logo-image {
    max-width: 94px;
    max-height: 34px;
  }

  .header-main .catalog-button {
    width: 38px;
    min-height: 38px;
    padding: 0;
    border-radius: 9px;
    box-shadow: 0 6px 14px rgba(0, 87, 200, .15);
  }

  .header-main .catalog-button .icon {
    width: 18px;
    height: 18px;
  }

  .header-main .search-panel {
    min-height: 38px;
    grid-template-columns: minmax(0, 1fr) 40px;
    border-radius: 9px;
  }

  .header-main .search-panel input,
  .header-main .search-panel button {
    height: 36px;
  }

  .header-main .search-panel input {
    padding: 0 12px;
    font-size: 12px;
  }

  .header-main .search-panel button .icon {
    width: 18px;
    height: 18px;
  }

  .header-main .city-selector-button {
    min-height: 34px;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 7px;
    padding: 0 10px;
    border-radius: 9px;
  }

  .header-main .city-selector-button > .icon {
    width: 16px;
    height: 16px;
  }

  .header-main .city-selector-copy {
    gap: 0;
  }

  .header-main .city-selector-kicker {
    display: none;
  }

  .header-main .city-selector-current {
    font-size: 11px;
    font-weight: 800;
    line-height: 1.1;
  }

  .header-main .city-selector-chevron {
    width: 14px;
    height: 14px;
  }

  .city-selector-panel {
    margin-top: 6px;
    border-radius: 10px;
  }
}

@media (max-width: 390px) {
  .container {
    padding-right: 10px;
    padding-left: 10px;
  }

  .header-main {
    grid-template-columns: minmax(84px, 1fr) 36px;
    gap: 5px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .header-main .brand-logo-image {
    max-width: 88px;
    max-height: 32px;
  }

  .header-main .catalog-button {
    width: 36px;
    min-height: 36px;
  }

  .header-main .search-panel {
    min-height: 36px;
    grid-template-columns: minmax(0, 1fr) 38px;
  }

  .header-main .search-panel input,
  .header-main .search-panel button {
    height: 34px;
  }

  .header-main .city-selector-button {
    min-height: 32px;
  }
}


/* Single-row phone header with search modal 7.8.9 */
.mobile-search-button,
.mobile-search-modal {
  display: none;
}

.mobile-search-modal[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .header-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 38px;
    grid-template-rows: auto;
    align-items: center;
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .header-main .brand {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    min-width: 0;
  }

  .header-main .brand-logo-image {
    width: auto;
    max-width: 88px;
    max-height: 32px;
  }

  .header-main .catalog-button,
  .header-main .search-panel,
  .header-main .phone-block,
  .header-main .quick-actions,
  .site-nav {
    display: none !important;
  }

  .header-main .city-selector {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  .header-main .city-selector-button {
    width: 100%;
    min-width: 0;
    min-height: 36px;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 6px;
    padding: 0 10px;
    overflow: hidden;
    border: 1px solid #dbe5f2;
    border-radius: 10px;
    background: #f8fbff;
    box-shadow: none;
  }

  .header-main .city-selector-button:hover,
  .header-main .city-selector-button:focus-visible,
  .header-main .city-selector.is-open .city-selector-button {
    border-color: #b8cee9;
    box-shadow: 0 0 0 3px rgba(0, 87, 200, .07);
  }

  .header-main .city-selector-icon {
    width: 20px;
    height: 20px;
  }

  .header-main .city-selector-icon svg {
    width: 17px;
    height: 17px;
  }

  .header-main .city-selector-copy {
    display: block;
    min-width: 0;
  }

  .header-main .city-selector-kicker {
    display: none;
  }

  .header-main .city-selector-copy strong {
    display: block;
    overflow: hidden;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-main .city-selector-panel {
    top: calc(100% + 8px);
    right: auto;
    left: 50%;
    z-index: 1700;
    width: min(360px, calc(100vw - 20px));
    transform: translateX(-50%);
  }

  .mobile-search-button {
    display: grid;
    grid-column: 3;
    grid-row: 1;
    width: 38px;
    height: 38px;
    place-items: center;
    padding: 0;
    color: #fff;
    border: 0;
    border-radius: 10px;
    background: var(--blue);
    box-shadow: 0 6px 14px rgba(0, 87, 200, .16);
  }

  .mobile-search-button .icon {
    width: 19px;
    height: 19px;
  }

  .mobile-search-button:hover,
  .mobile-search-button:focus-visible {
    background: var(--blue-dark);
  }

  .mobile-search-modal {
    position: fixed;
    inset: 0;
    z-index: 1900;
    display: grid;
    align-items: stretch;
  }

  .mobile-search-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(11, 25, 46, .34);
  }

  .mobile-search-sheet {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100dvh;
    padding: max(18px, env(safe-area-inset-top)) 14px calc(24px + env(safe-area-inset-bottom));
    background: #fff;
  }

  .mobile-search-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
  }

  .mobile-search-head > div {
    display: grid;
    min-width: 0;
    gap: 4px;
  }

  .mobile-search-head strong {
    color: #101828;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.15;
  }

  .mobile-search-head span {
    color: #667085;
    font-size: 11px;
    line-height: 1.35;
  }

  .mobile-search-close {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    padding: 0;
    color: #344054;
    border: 1px solid #dce4ef;
    border-radius: 10px;
    background: #fff;
  }

  .mobile-search-close .icon {
    width: 18px;
    height: 18px;
  }

  .mobile-search-form {
    display: grid;
    min-height: 48px;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding-left: 13px;
    overflow: hidden;
    border: 1px solid #bfd0e5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(16, 42, 80, .06);
  }

  .mobile-search-form > .icon {
    width: 20px;
    height: 20px;
    color: #667085;
  }

  .mobile-search-form input {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0;
    color: #101828;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 14px;
    font-weight: 700;
  }

  .mobile-search-form input::placeholder {
    color: #98a2b3;
  }

  .mobile-search-form button {
    align-self: stretch;
    min-width: 68px;
    padding: 0 14px;
    color: #fff;
    border: 0;
    background: var(--blue);
    font-size: 12px;
    font-weight: 900;
  }

  body.mobile-search-open {
    overflow: hidden;
  }

  body.mobile-search-open .mobile-bottom-nav {
    display: none !important;
  }
}

@media (max-width: 390px) {
  .header-main {
    grid-template-columns: auto minmax(0, 1fr) 36px;
    gap: 6px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .header-main .brand-logo-image {
    max-width: 82px;
    max-height: 30px;
  }

  .header-main .city-selector-button {
    min-height: 34px;
    padding: 0 8px;
  }

  .mobile-search-button {
    width: 36px;
    height: 36px;
  }
}


/* Homepage responsive content 7.8.10 */
@media (min-width: 821px) and (max-width: 1200px) {
  .homepage-section-stack .hero-section {
    padding-top: 20px;
    padding-bottom: 24px;
  }

  .homepage-section-stack .slider-viewport {
    height: 430px;
    border-radius: 22px;
  }

  .homepage-section-stack .slide-content {
    top: 52px;
    left: 46px;
    max-width: 430px;
  }

  .homepage-section-stack .slide-title {
    font-size: 42px;
  }

  .homepage-section-stack .slide-text {
    max-width: 390px;
    margin-top: 16px;
    font-size: 15px;
  }

  .homepage-section-stack .slide-cta {
    min-height: 42px;
    margin-top: 18px;
  }

  .homepage-section-stack .slide-logo {
    top: 26px;
    right: 30px;
    font-size: 30px;
  }

  .homepage-section-stack .slide-visual,
  .homepage-section-stack .equipment-visual,
  .homepage-section-stack .clinic-visual,
  .homepage-section-stack .academy-visual {
    width: 60%;
  }

  .homepage-section-stack .slide-features {
    left: 46px;
    bottom: 26px;
    max-width: calc(100% - 92px);
  }

  .homepage-section-stack .slide-features > span {
    min-height: 52px;
    grid-template-columns: 30px minmax(78px, 118px);
    gap: 9px;
    padding: 8px 13px;
    font-size: 11px;
  }

  .homepage-section-stack .feature-icon {
    width: 30px;
    height: 30px;
  }

  .homepage-section-stack .slider-button {
    width: 46px;
    height: 46px;
  }

  .homepage-section-stack .slider-button-prev {
    left: 14px;
  }

  .homepage-section-stack .slider-button-next {
    right: 18px;
  }

  .homepage-section-stack .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .homepage-section-stack .category-card {
    min-height: 92px;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 18px;
    font-size: 13px;
  }

  .homepage-section-stack .category-icon {
    width: 38px;
    height: 38px;
  }

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

  .homepage-section-stack .product-card {
    min-height: 300px;
  }

  .homepage-section-stack .product-card > img {
    height: 166px;
  }

  .homepage-section-stack .product-info h3 {
    font-size: 14px;
  }

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

  .homepage-section-stack .info-card {
    min-height: 240px;
    padding: 24px;
  }

  .homepage-section-stack .about-card {
    grid-template-columns: 40% minmax(0, 1fr);
    padding: 0;
  }

  .homepage-section-stack .about-card img {
    min-height: 240px;
  }

  .homepage-section-stack .about-card div {
    padding: 24px 20px 24px 0;
  }

  .homepage-section-stack .brand-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    border: 0;
    gap: 10px;
    background: transparent;
  }

  .homepage-section-stack .brand-logo {
    min-height: 68px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
  }
}

@media (min-width: 641px) and (max-width: 820px) {
  .homepage-section-stack .hero-section {
    padding-top: 14px;
    padding-bottom: 20px;
  }

  .homepage-section-stack .slider-viewport {
    height: 392px;
    border-radius: 18px;
  }

  .homepage-section-stack .slide-content {
    top: 38px;
    left: 34px;
    max-width: 360px;
  }

  .homepage-section-stack .slide-title {
    max-width: 82%;
    font-size: 34px;
    line-height: 1.03;
  }

  .homepage-section-stack .slide-text {
    max-width: 72%;
    margin-top: 13px;
    font-size: 13px;
  }

  .homepage-section-stack .slide-cta {
    min-height: 40px;
    margin-top: 14px;
    padding: 0 16px;
    font-size: 12px;
  }

  .homepage-section-stack .slide-logo {
    top: 22px;
    right: 24px;
    font-size: 27px;
  }

  .homepage-section-stack .slide-visual,
  .homepage-section-stack .equipment-visual,
  .homepage-section-stack .clinic-visual,
  .homepage-section-stack .academy-visual {
    right: -7%;
    width: 63%;
  }

  .homepage-section-stack .slide-features {
    right: 26px;
    bottom: 20px;
    left: 26px;
    display: grid;
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 12px;
  }

  .homepage-section-stack .slide-features > span {
    min-height: 46px;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px;
    padding: 7px 10px;
    font-size: 10px;
  }

  .homepage-section-stack .slide-features > span + span {
    border-left: 0;
  }

  .homepage-section-stack .slide-features > span:nth-child(even) {
    border-left: 1px solid rgba(168, 190, 224, 0.72);
  }

  .homepage-section-stack .slide-features > span:nth-child(n + 3) {
    border-top: 1px solid rgba(168, 190, 224, 0.72);
  }

  .homepage-section-stack .feature-icon {
    width: 26px;
    height: 26px;
  }

  .homepage-section-stack .slider-button {
    width: 40px;
    height: 40px;
  }

  .homepage-section-stack .slider-button-prev {
    left: 10px;
  }

  .homepage-section-stack .slider-button-next {
    right: 10px;
  }

  .homepage-section-stack .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .homepage-section-stack .category-card {
    min-height: 84px;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 9px;
    padding: 13px;
    font-size: 12px;
  }

  .homepage-section-stack .category-icon {
    width: 34px;
    height: 34px;
  }

  .homepage-section-stack .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .homepage-section-stack .product-card {
    min-height: 282px;
  }

  .homepage-section-stack .product-card > img {
    height: 142px;
    padding: 14px 12px 6px;
  }

  .homepage-section-stack .product-info {
    padding: 0 12px 12px;
  }

  .homepage-section-stack .product-info h3 {
    font-size: 13px;
  }

  .homepage-section-stack .product-info p {
    margin: 6px 0 12px;
    font-size: 11px;
  }

  .homepage-section-stack .product-bottom strong {
    font-size: 14px;
  }

  .homepage-section-stack .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .homepage-section-stack .info-card {
    min-height: 220px;
    padding: 20px;
  }

  .homepage-section-stack .about-card {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .homepage-section-stack .about-card img {
    height: 145px;
    min-height: 0;
  }

  .homepage-section-stack .about-card div {
    padding: 18px;
  }

  .homepage-section-stack .brand-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    border: 0;
    gap: 8px;
    background: transparent;
  }

  .homepage-section-stack .brand-logo {
    min-height: 62px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
  }
}


/* Mobile homepage slider and category rail 7.8.11 */
@media (max-width: 640px) {
  .homepage-section-stack .slider-button {
    display: none;
  }

  .homepage-section-stack .category-grid {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    margin-right: -10px;
    padding-right: 10px;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .homepage-section-stack .category-grid::-webkit-scrollbar {
    display: none;
  }

  .homepage-section-stack .category-card {
    min-width: 0;
    min-height: 70px;
    flex: 0 0 148px;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
    scroll-snap-align: start;
  }

  .homepage-section-stack .category-icon {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 390px) {
  .homepage-section-stack .category-grid {
    margin-right: -10px;
    padding-right: 10px;
  }

  .homepage-section-stack .category-card {
    flex-basis: 142px;
  }
}


/* Homepage full-bleed hero slider 7.8.13: lighter overlay + theme-ready tokens */
.homepage-section-stack {
  --hero-surface: #eaf2ff;
  --hero-overlay-strong: rgba(5, 15, 34, 0.54);
  --hero-overlay-medium: rgba(5, 15, 34, 0.30);
  --hero-overlay-edge: rgba(5, 15, 34, 0.05);
  --hero-feature-surface: rgba(255, 255, 255, 0.90);
  --hero-feature-text: #16233a;
  --hero-feature-border: rgba(208, 222, 244, 0.92);
  --hero-feature-divider: rgba(168, 190, 224, 0.72);
  --hero-feature-icon: var(--blue);
}

.homepage-section-stack .slider-viewport {
  background: var(--hero-surface);
}

.homepage-section-stack .slider-slide {
  isolation: isolate;
  background: var(--hero-surface);
}

.homepage-section-stack .slider-slide::before,
.homepage-section-stack .slider-slide::after {
  content: none;
}

.homepage-section-stack .slide-visual-picture {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  box-shadow: none;
}

.homepage-section-stack .slide-visual,
.homepage-section-stack .equipment-visual,
.homepage-section-stack .clinic-visual,
.homepage-section-stack .academy-visual {
  position: absolute;
  inset: 0;
  right: auto;
  bottom: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  border: 0;
  box-shadow: none;
  pointer-events: none;
}

.homepage-section-stack .slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      var(--hero-overlay-strong) 0%,
      var(--hero-overlay-medium) 42%,
      var(--hero-overlay-edge) 100%
    ),
    linear-gradient(180deg, rgba(5, 15, 34, 0.02) 0%, rgba(5, 15, 34, 0.08) 100%);
}

.homepage-section-stack .slide-logo,
.homepage-section-stack .slide-content,
.homepage-section-stack .slide-features {
  z-index: 4;
}

.homepage-section-stack .slide-logo {
  color: #fff;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.24);
}

.homepage-section-stack .slide-title {
  color: #fff;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.24);
}

.homepage-section-stack .slide-title span {
  color: #69b4ff;
}

.homepage-section-stack .slide-text {
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
}

.homepage-section-stack .slide-features {
  border-color: var(--hero-feature-border);
  background: var(--hero-feature-surface);
  box-shadow: 0 12px 30px rgba(22, 48, 86, 0.12);
  backdrop-filter: blur(10px);
}

.homepage-section-stack .slide-features > span {
  color: var(--hero-feature-text);
}

.homepage-section-stack .slide-features > span + span {
  border-left-color: var(--hero-feature-divider);
}

.homepage-section-stack .feature-icon {
  color: var(--hero-feature-icon);
}

.homepage-section-stack .text-icon {
  border-color: rgba(0, 87, 200, 0.24);
}

@media (min-width: 821px) and (max-width: 1200px) {
  .homepage-section-stack {
    --hero-overlay-strong: rgba(5, 15, 34, 0.58);
    --hero-overlay-medium: rgba(5, 15, 34, 0.40);
    --hero-overlay-edge: rgba(5, 15, 34, 0.03);
  }
}

@media (min-width: 641px) and (max-width: 820px) {
  .homepage-section-stack {
    --hero-overlay-strong: rgba(5, 15, 34, 0.60);
    --hero-overlay-medium: rgba(5, 15, 34, 0.42);
    --hero-overlay-edge: rgba(5, 15, 34, 0.04);
  }

  .homepage-section-stack .slide-features > span:nth-child(even) {
    border-left-color: var(--hero-feature-divider);
  }

  .homepage-section-stack .slide-features > span:nth-child(n + 3) {
    border-top-color: var(--hero-feature-divider);
  }
}

@media (max-width: 640px) {
  .homepage-section-stack {
    --hero-feature-surface: rgba(255, 255, 255, 0.94);
  }

  .homepage-section-stack .text-icon {
    border-width: 1px;
    font-size: 12px;
  }

  .homepage-section-stack .slide-visual,
  .homepage-section-stack .equipment-visual,
  .homepage-section-stack .clinic-visual,
  .homepage-section-stack .academy-visual {
    inset: 0;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
  }

  .homepage-section-stack .slide-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(5, 15, 34, 0.18) 0%,
        rgba(5, 15, 34, 0.14) 34%,
        rgba(5, 15, 34, 0.22) 68%,
        rgba(5, 15, 34, 0.34) 100%
      ),
      linear-gradient(90deg, rgba(5, 15, 34, 0.52) 0%, rgba(5, 15, 34, 0.16) 78%);
  }

  .homepage-section-stack .slide-title {
    color: #fff;
  }

  .homepage-section-stack .slide-text {
    color: rgba(255, 255, 255, 0.96);
  }

  .homepage-section-stack .slide-features {
    border-color: var(--hero-feature-border);
    background: var(--hero-feature-surface);
  }

  .homepage-section-stack .slide-features > span:nth-child(even) {
    border-left-color: var(--hero-feature-divider);
  }
}


/* Catalog responsive pass 7.9.1 */
.catalog-page,
.product-category-page {
  overflow-x: clip;
}

.catalog-heading-inner,
.catalog-categories .container,
.product-category-container {
  min-width: 0;
}

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

.catalog-tree-tile,
.catalog-tree-body,
.catalog-tree-sublist,
.catalog-tree-sublist li,
.catalog-tree-sublist a {
  min-width: 0;
}

.catalog-tree-sublist a,
.catalog-tile-title {
  overflow-wrap: anywhere;
}

.product-category-title-row > div:first-child,
.category-products-area,
.category-toolbar,
.sort-control,
.shop-card,
.shop-card-body,
.shop-card-footer {
  min-width: 0;
}

.category-shop-layout {
  grid-template-columns: minmax(230px, 260px) minmax(0, 1fr);
  gap: 20px;
}

.category-products-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-filter-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.category-filter-close,
.category-filter-backdrop {
  display: none;
}

.shop-card-body h2,
.shop-card-body h2 a,
.shop-card-footer strong,
.shop-card-unit-note,
.shop-card-rating span {
  overflow-wrap: anywhere;
}

.catalog-empty {
  width: 100%;
}

@media (min-width: 821px) and (max-width: 1200px) {
  .catalog-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog-tile {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 13px;
    padding: 18px;
  }

  .catalog-line-icon {
    width: 34px;
    height: 34px;
  }

  .product-category-title-row {
    align-items: center;
    gap: 18px;
  }

  .product-category-title-row h1 {
    font-size: 31px;
  }

  .category-kpis {
    gap: 7px;
  }

  .category-kpis span {
    min-width: 92px;
    min-height: 64px;
    padding: 8px 10px;
    font-size: 11px;
  }

  .category-kpis strong {
    font-size: 23px;
  }

  .category-shop-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 16px;
  }

  .category-filter-panel {
    padding: 18px 14px;
  }

  .category-filter-list a {
    min-height: 38px;
    padding: 7px 9px;
    font-size: 12px;
  }

  .category-filter-node a {
    padding-left: calc(9px + var(--category-depth, 0) * 11px);
  }

  .category-toolbar {
    gap: 12px;
    padding: 13px 14px;
  }

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

  .shop-card-image {
    height: 190px;
    padding: 42px 12px 12px;
  }

  .shop-card-image img {
    height: 136px;
  }

  .shop-card-body {
    padding: 13px 13px 15px;
  }

  .shop-card-body h2 {
    font-size: 14px;
  }

  .shop-card-body > p:not(.shop-card-category) {
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .shop-card-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .add-cart-button {
    width: 100%;
  }
}

@media (max-width: 820px) {
  body.category-filter-open {
    overflow: hidden;
  }

  .catalog-title-row,
  .product-category-title-row {
    align-items: stretch;
    flex-direction: column;
  }

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

  .catalog-tile {
    min-height: 0;
    padding: 18px;
  }

  .category-shop-layout {
    display: block;
  }

  .category-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1700;
    display: block;
    background: rgba(15, 23, 42, 0.46);
    backdrop-filter: blur(2px);
  }

  .category-filter-backdrop[hidden] {
    display: none;
  }

  .category-filter-panel {
    position: fixed;
    z-index: 1710;
    top: auto;
    right: 16px;
    bottom: 16px;
    left: auto;
    display: none;
    width: min(440px, calc(100vw - 32px));
    max-height: min(76dvh, 680px);
    margin: 0;
    overflow: hidden;
    padding: 18px;
    border-radius: 18px;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.24);
  }

  .category-filter-panel.is-mobile-open {
    display: grid;
  }

  .category-filter-panel-head {
    min-height: 40px;
  }

  .category-filter-close {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    padding: 0;
    color: #344054;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
  }

  .category-filter-close .icon {
    width: 19px;
    height: 19px;
  }

  .category-filter-list {
    min-height: 0;
    margin-top: 12px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .filter-block {
    margin-top: 14px;
    padding-top: 14px;
  }

  .category-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .category-toolbar > p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

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

  .shop-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .catalog-heading {
    padding-top: 20px;
    padding-bottom: 12px;
  }

  .catalog-heading .breadcrumbs,
  .product-category-head .breadcrumbs {
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .catalog-heading .breadcrumbs::-webkit-scrollbar,
  .product-category-head .breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  .catalog-title-row {
    gap: 12px;
    margin-top: 12px;
  }

  .catalog-title-row h1,
  .product-category-title-row h1 {
    font-size: clamp(27px, 8vw, 32px);
  }

  .catalog-title-row p,
  .product-category-title-row > div:first-child > p {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.45;
  }

  .catalog-stat {
    width: max-content;
    min-width: 0;
    min-height: 44px;
    grid-template-columns: auto auto;
    gap: 7px;
    justify-content: start;
    padding: 7px 11px;
  }

  .catalog-stat strong {
    font-size: 20px;
  }

  .catalog-stat span {
    margin: 0;
    font-size: 11px;
  }

  .catalog-categories {
    padding-top: 8px;
  }

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

  .catalog-tile {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 15px 14px;
    border-radius: 12px;
  }

  .catalog-line-icon {
    width: 31px;
    height: 31px;
  }

  .catalog-tile-title {
    font-size: 14px;
  }

  .catalog-tree-count,
  .catalog-tree-sublist a {
    font-size: 11px;
  }

  .catalog-tree-sublist {
    gap: 6px;
  }

  .product-category-head {
    padding-top: 18px;
    padding-bottom: 10px;
  }

  .product-category-title-row {
    gap: 12px;
    margin-top: 12px;
  }

  .category-kpis {
    gap: 6px;
  }

  .category-kpis span {
    min-height: 50px;
    padding: 7px 4px;
    font-size: 9px;
    line-height: 1.2;
  }

  .category-kpis strong {
    font-size: 18px;
  }

  .category-shop-section {
    padding-top: 8px;
  }

  .category-toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 12px;
  }

  .category-toolbar > p {
    grid-column: 1 / -1;
    font-size: 12px;
  }

  .category-mobile-filter-toggle {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    order: initial;
    padding: 0 8px;
    gap: 6px;
    font-size: 10px;
  }

  .category-mobile-filter-toggle .icon {
    width: 16px;
    height: 16px;
  }

  .category-toolbar .sort-control {
    grid-column: auto;
    order: initial;
    display: block;
  }

  .category-toolbar .sort-control > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .category-toolbar .sort-control select {
    width: 100%;
    height: 42px;
    padding-right: 28px;
    padding-left: 9px;
    background-position:
      right 13px center,
      right 8px center;
    font-size: 10px;
  }

  .category-filter-panel {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: min(82dvh, 720px);
    padding: 16px 14px calc(16px + env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 20px 20px 0 0;
  }

  .category-filter-panel h2 {
    font-size: 17px;
  }

  .category-filter-list a {
    min-height: 40px;
    padding-top: 7px;
    padding-bottom: 7px;
    font-size: 12px;
  }

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

  .shop-card {
    border-radius: 12px;
    box-shadow: 0 7px 20px rgba(0, 55, 130, 0.05);
  }

  .shop-card:hover {
    transform: none;
  }

  .shop-card-top {
    top: 8px;
    right: 8px;
    left: 8px;
    gap: 5px;
  }

  .stock-label {
    min-height: 22px;
    max-width: calc(100% - 63px);
    padding: 0 6px;
    font-size: 8px;
  }

  .shop-card-actions {
    gap: 3px;
  }

  .product-icon-action {
    width: 27px;
    height: 27px;
    border-radius: 7px;
  }

  .product-icon-action .icon {
    width: 14px;
    height: 14px;
  }

  .shop-card-image {
    height: 146px;
    padding: 36px 8px 8px;
  }

  .shop-card-image img {
    height: 102px;
  }

  .shop-card-body {
    padding: 10px 9px 10px;
  }

  .shop-card-category {
    margin-bottom: 5px;
    font-size: 8px;
  }

  .shop-card-body h2 {
    font-size: 12px;
    line-height: 1.24;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .shop-card-body > p:not(.shop-card-category) {
    display: none;
  }

  .shop-card-unit-note {
    display: -webkit-box;
    max-height: calc(1.25em * 2);
    margin: 7px 0 0;
    overflow: hidden;
    font-size: 9px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .shop-card-rating {
    gap: 4px;
    margin-top: 8px;
    font-size: 9px;
    line-height: 1.2;
  }

  .shop-card-rating .icon {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
  }

  .shop-card-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 9px;
  }

  .shop-card-footer strong {
    font-size: 14px;
    line-height: 1.15;
  }

  .add-cart-button {
    width: 100%;
    min-width: 0;
    min-height: 36px;
    gap: 5px;
    padding: 0 7px;
    font-size: 10px;
  }

  .add-cart-button .icon {
    width: 15px;
    height: 15px;
  }

  .market-commerce-locked .shop-card .add-cart-button span::after {
    font-size: 10px;
  }

  .catalog-empty {
    min-height: 160px;
    padding: 20px 14px;
    border-radius: 12px;
  }
}

@media (max-width: 359px) {
  .category-toolbar {
    grid-template-columns: 1fr;
  }

  .category-mobile-filter-toggle,
  .category-toolbar .sort-control {
    grid-column: 1;
  }

  .category-products-grid {
    grid-template-columns: 1fr;
  }
}


/* Product detail responsive pass 7.10.1 */
.product-detail-page {
  overflow-x: clip;
}

.product-detail-section .product-category-container,
.product-detail-layout,
.product-detail-media,
.product-detail-main,
.product-detail-status,
.product-detail-meta,
.product-variant-panel,
.product-variant-group,
.product-variant-options,
.product-props-list,
.product-detail-actions {
  min-width: 0;
}

.product-detail-layout {
  grid-template-columns: minmax(360px, 0.86fr) minmax(0, 1.14fr);
  gap: 24px;
}

.product-detail-media {
  position: sticky;
  top: 18px;
  align-self: start;
  min-height: 540px;
}

.product-detail-main-image {
  min-height: 410px;
}

.product-detail-main-image img {
  max-width: 100%;
}

.product-detail-thumbnails {
  grid-template-columns: repeat(auto-fit, minmax(72px, 88px));
  justify-content: start;
}

.product-detail-main h1,
.product-detail-subtitle,
.product-detail-sale-info,
.product-detail-status strong,
.product-detail-status span,
.product-variant-chip,
.product-detail-description p {
  overflow-wrap: anywhere;
}

.product-detail-actions {
  display: grid;
  grid-template-columns: auto minmax(190px, 1fr);
  align-items: stretch;
}

.product-detail-cart-button {
  width: 100%;
}

@media (min-width: 821px) and (max-width: 1200px) {
  .product-detail-section {
    padding-top: 26px;
  }

  .product-detail-layout {
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    gap: 18px;
    margin-top: 18px;
  }

  .product-detail-media {
    min-height: 430px;
    padding: 24px;
  }

  .product-detail-main-image {
    min-height: 320px;
  }

  .product-detail-main-image img {
    max-height: 360px;
  }

  .product-detail-thumbnails {
    grid-template-columns: repeat(auto-fit, minmax(64px, 76px));
    gap: 7px;
  }

  .product-detail-thumbnail {
    min-height: 64px;
  }

  .product-detail-thumbnail img {
    height: 54px;
  }

  .product-detail-main {
    gap: 15px;
    padding: 22px;
  }

  .product-detail-main h1 {
    font-size: 27px;
  }

  .product-detail-status {
    padding: 13px;
  }

  .product-detail-status strong {
    font-size: 22px;
  }

  .product-detail-meta {
    gap: 8px;
  }

  .product-variant-panel {
    padding: 14px;
  }

  .product-variant-chip {
    min-height: 36px;
    padding: 0 11px;
    font-size: 12px;
  }

  .product-props-list div {
    grid-template-columns: minmax(96px, 0.36fr) minmax(0, 1fr);
  }

  .product-detail-actions {
    grid-template-columns: minmax(144px, auto) minmax(160px, 1fr);
    gap: 10px;
  }

  .product-quantity {
    grid-template-columns: 40px minmax(58px, 70px) 40px;
  }
}

@media (max-width: 820px) {
  .product-detail-section {
    padding-top: 22px;
    padding-bottom: 54px;
  }

  .product-detail-section .breadcrumbs {
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .product-detail-section .breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }

  .product-detail-media {
    position: static;
    min-height: 0;
    gap: 12px;
    padding: 22px;
  }

  .product-detail-main-image {
    min-height: 340px;
  }

  .product-detail-main-image img {
    max-height: 350px;
  }

  .product-detail-thumbnails {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .product-detail-thumbnail {
    min-width: 72px;
    width: 72px;
    min-height: 72px;
    flex: 0 0 72px;
    scroll-snap-align: start;
  }

  .product-detail-main {
    gap: 15px;
    padding: 22px;
  }

  .product-detail-main h1 {
    font-size: clamp(25px, 5vw, 31px);
  }

  .product-detail-status {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .product-detail-status strong {
    font-size: 24px;
    line-height: 1.15;
  }

  .product-variant-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-variant-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-variant-chip {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 7px 10px;
    line-height: 1.25;
  }

  .product-detail-actions {
    grid-template-columns: minmax(150px, 0.72fr) minmax(180px, 1.28fr);
    gap: 10px;
  }

  .product-quantity {
    width: 100%;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }
}

@media (max-width: 640px) {
  .product-detail-section {
    padding-top: 16px;
    padding-bottom: 34px;
  }

  .product-detail-layout {
    gap: 12px;
    margin-top: 12px;
  }

  .product-detail-media,
  .product-detail-main {
    border-radius: 12px;
  }

  .product-detail-media {
    padding: 14px;
  }

  .product-detail-main-image {
    min-height: 250px;
  }

  .product-detail-main-image img {
    max-height: 270px;
  }

  .product-detail-thumbnails {
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .product-detail-thumbnail {
    min-width: 64px;
    width: 64px;
    min-height: 64px;
    flex-basis: 64px;
  }

  .product-detail-thumbnail img {
    height: 54px;
  }

  .product-detail-main {
    gap: 12px;
    padding: 16px 14px;
  }

  .product-detail-main .shop-card-category {
    margin-bottom: -3px;
    font-size: 9px;
  }

  .product-detail-main h1 {
    font-size: clamp(22px, 6.4vw, 27px);
    line-height: 1.12;
  }

  .product-detail-article {
    margin: -4px 0 -2px;
    font-size: 11px;
  }

  .product-detail-subtitle {
    margin-top: -2px;
    font-size: 12px;
    line-height: 1.45;
  }

  .product-detail-sale-info {
    margin-top: 0;
    padding: 9px 10px;
    font-size: 11px;
    line-height: 1.4;
  }

  .product-detail-status {
    gap: 8px;
    padding: 12px;
    border-radius: 10px;
  }

  .product-detail-status strong {
    font-size: 21px;
  }

  .product-detail-status span {
    min-height: 27px;
    max-width: 100%;
    padding: 0 8px;
    font-size: 10px;
    line-height: 1.2;
  }

  .product-detail-meta {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .product-detail-meta div,
  .product-variant-single {
    padding: 10px;
  }

  .product-variant-panel {
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
  }

  .product-variant-head strong {
    font-size: 12px;
  }

  .product-variant-group {
    gap: 7px;
    margin-bottom: 11px;
  }

  .product-variant-group legend {
    font-size: 12px;
  }

  .product-variant-options {
    gap: 7px;
  }

  .product-variant-chip {
    min-height: 40px;
    padding: 6px 8px;
    font-size: 11px;
  }

  .product-props-head h2,
  .product-detail-description h2 {
    font-size: 16px;
  }

  .product-props-list {
    gap: 0;
  }

  .product-props-list div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 9px 0;
  }

  .product-props-list dt,
  .product-props-list dd {
    font-size: 12px;
  }

  .product-props-list dt {
    font-size: 10px;
    text-transform: uppercase;
  }

  .product-detail-description {
    padding-top: 8px;
  }

  .product-detail-description p {
    font-size: 12px;
    line-height: 1.6;
  }

  .product-detail-actions {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 2px;
  }

  .product-quantity {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }

  .product-quantity button,
  .product-quantity input {
    height: 44px;
  }

  .product-detail-cart-button {
    min-width: 0;
    min-height: 44px;
  }
}

@media (max-width: 390px) {
  .product-detail-media {
    padding: 12px;
  }

  .product-detail-main-image {
    min-height: 224px;
  }

  .product-detail-main-image img {
    max-height: 240px;
  }

  .product-detail-main {
    padding: 14px 12px;
  }

  .product-detail-main h1 {
    font-size: 22px;
  }

  .product-variant-options {
    grid-template-columns: 1fr;
  }
}


/* Product actions, rich description and comparison 7.10.2 */
.product-detail-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: -3px;
}

.product-detail-secondary-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  color: #344054;
  border: 1px solid #cbd7e9;
  border-radius: 9px;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.product-detail-secondary-button {
  cursor: pointer;
}

.product-detail-secondary-button .icon {
  width: 17px;
  height: 17px;
}

.product-detail-secondary-button:hover,
.product-detail-secondary-button:focus-visible {
  color: var(--blue);
  border-color: #9dbbe2;
  background: #f4f8ff;
}

.product-detail-secondary-button.is-active {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.product-detail-secondary-button[data-favorite-toggle].is-active .icon {
  fill: currentColor;
}

.product-detail-description-body {
  display: grid;
  gap: 10px;
  color: #475467;
  font-size: 14px;
  line-height: 1.7;
}

.product-detail-description-body p,
.product-detail-description-body ul,
.product-detail-description-body ol {
  margin: 0;
}

.product-detail-description-body ul,
.product-detail-description-body ol {
  display: grid;
  gap: 6px;
  padding-left: 22px;
}

.product-detail-description-body li {
  padding-left: 2px;
}

.product-detail-description-body strong,
.product-detail-description-body b {
  color: #26364d;
}

.compare-page {
  min-height: 620px;
  overflow-x: clip;
  background:
    linear-gradient(180deg, #fbfdff 0%, #fff 320px),
    #fff;
}

.compare-section {
  padding: 34px 0 76px;
}

.compare-container {
  max-width: 1480px;
}

.compare-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
}

.compare-heading h1 {
  margin: 0;
  color: #0f172a;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.08;
}

.compare-heading p {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.compare-count {
  display: grid;
  min-width: 110px;
  min-height: 68px;
  place-items: center;
  padding: 9px 14px;
  color: #667085;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}

.compare-count strong {
  color: var(--blue);
  font-size: 26px;
  line-height: 1;
}

.compare-content {
  margin-top: 22px;
}

.compare-table-scroll {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(0, 55, 130, 0.07);
}

.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;
}

.compare-table th,
.compare-table td {
  min-width: 220px;
  padding: 14px 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
  text-align: left;
}

.compare-table th:first-child,
.compare-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 170px;
  width: 170px;
  color: #667085;
  border-left: 0;
  background: #f8fbff;
  font-size: 12px;
  font-weight: 900;
}

.compare-table thead th {
  padding-top: 18px;
  padding-bottom: 18px;
  background: #fff;
}

.compare-table thead th:first-child {
  z-index: 4;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-product {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.compare-product-image {
  display: grid;
  width: 100%;
  height: 150px;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: #f8fbff;
}

.compare-product-image img {
  width: 100%;
  height: 138px;
  object-fit: contain;
}

.compare-product h2 {
  margin: 0;
  color: #101828;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.compare-product h2 a {
  color: inherit;
}

.compare-product-price {
  color: #101828;
  font-size: 17px;
  font-weight: 900;
}

.compare-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.compare-remove,
.compare-product-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
}

.compare-remove {
  color: #b42318;
  border: 1px solid #f1b8b3;
  background: #fff7f6;
}

.compare-product-link {
  color: var(--blue);
  border: 1px solid #cfe0f7;
  background: #f7fbff;
}

.compare-cell-value {
  color: #26364d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.compare-empty {
  min-height: 260px;
}

.compare-empty a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 0 15px;
  color: #fff;
  border-radius: 9px;
  background: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 820px) {
  .compare-section {
    padding-top: 22px;
    padding-bottom: 54px;
  }

  .compare-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .compare-count {
    width: max-content;
    min-width: 96px;
    min-height: 54px;
  }

  .compare-table th,
  .compare-table td {
    min-width: 200px;
    padding: 12px;
  }

  .compare-table th:first-child,
  .compare-table td:first-child {
    min-width: 135px;
    width: 135px;
  }
}

@media (max-width: 640px) {
  .product-detail-secondary-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .product-detail-secondary-button {
    width: 100%;
    min-width: 0;
    padding: 0 8px;
    font-size: 10px;
  }

  .product-detail-description-body {
    gap: 8px;
    font-size: 12px;
    line-height: 1.6;
  }

  .compare-section {
    padding-top: 16px;
    padding-bottom: 34px;
  }

  .compare-section .breadcrumbs {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .compare-heading {
    margin-top: 12px;
  }

  .compare-heading h1 {
    font-size: 28px;
  }

  .compare-heading p {
    font-size: 12px;
  }

  .compare-count {
    min-height: 44px;
    grid-template-columns: auto auto;
    gap: 7px;
    padding: 7px 11px;
  }

  .compare-count strong {
    font-size: 20px;
  }

  .compare-table-scroll {
    margin-right: -14px;
    margin-left: -14px;
    width: calc(100% + 28px);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .compare-table {
    min-width: 650px;
  }

  .compare-table th,
  .compare-table td {
    min-width: 188px;
    padding: 10px;
  }

  .compare-table th:first-child,
  .compare-table td:first-child {
    min-width: 112px;
    width: 112px;
    font-size: 10px;
  }

  .compare-product-image {
    height: 112px;
  }

  .compare-product-image img {
    height: 102px;
  }

  .compare-product h2 {
    font-size: 12px;
  }

  .compare-product-price {
    font-size: 14px;
  }

  .compare-cell-value {
    font-size: 11px;
  }
}


/* Product card summary correction 7.10.3 */
.shop-card-summary {
  display: -webkit-box;
  max-height: calc(1.42em * 3);
  margin: 9px 0 14px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

@media (max-width: 640px) {
  .shop-card-body > p.shop-card-summary {
    display: -webkit-box;
    max-height: calc(1.32em * 2);
    margin: 7px 0 9px;
    overflow: hidden;
    font-size: 10px;
    line-height: 1.32;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
}

/* Product detail frontend cleanup 7.10.7 */
.product-detail-layout,
.product-detail-main,
.product-detail-main > *,
.product-detail-status,
.product-detail-secondary-actions,
.product-detail-description,
.product-detail-description-body,
.product-detail-actions {
  min-width: 0;
  max-width: 100%;
}

.product-detail-main {
  overflow: visible;
}

.product-detail-main h1 {
  width: 100%;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.product-detail-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.product-detail-actions {
  margin-top: 0;
}

.product-detail-secondary-button {
  flex: 0 1 auto;
  max-width: 100%;
}

.product-detail-secondary-button {
  appearance: none;
}

.product-detail-article[hidden] {
  display: none !important;
}

.product-detail-article,
.product-detail-subtitle,
.product-detail-sale-info,
.product-detail-status strong,
.product-detail-status span,
.product-detail-description-body,
.product-detail-description-body p,
.product-detail-description-body li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.product-detail-subtitle {
  font-weight: 600;
}

.product-detail-description-body {
  width: 100%;
}

.product-detail-description-body > * {
  max-width: 100%;
}

.product-detail-description-body p,
.product-detail-description-body ul,
.product-detail-description-body ol {
  margin: 0;
}

.product-detail-description-body ul,
.product-detail-description-body ol {
  padding-left: 20px;
}

@media (max-width: 820px) {
  .product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .product-detail-media,
  .product-detail-main {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .product-detail-section {
    padding-top: 14px;
    padding-bottom: 34px;
  }

  .product-detail-section .product-category-container {
    padding-right: 10px;
    padding-left: 10px;
  }

  .product-detail-layout {
    gap: 10px;
    margin-top: 10px;
  }

  .product-detail-media,
  .product-detail-main {
    border-radius: 12px;
  }

  .product-detail-media {
    min-height: 0;
    padding: 12px;
  }

  .product-detail-main-image {
    min-height: 230px;
  }

  .product-detail-main-image img {
    max-height: 238px;
  }

  .product-detail-main {
    display: grid;
    gap: 11px;
    padding: 14px 12px 16px;
  }

  .product-detail-main .shop-card-category {
    margin: 0;
    font-size: 9px;
    line-height: 1.25;
  }

  .product-detail-main h1 {
    margin: 0;
    font-size: clamp(19px, 5.6vw, 23px);
    line-height: 1.15;
    letter-spacing: -0.02em;
  }

  .product-detail-secondary-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 0;
  }

  .product-detail-secondary-button {
    width: 100%;
    min-height: 40px;
    min-width: 0;
    padding: 0 8px;
    font-size: 10px;
  }

  .product-detail-secondary-button .icon {
    width: 15px;
    height: 15px;
  }

  .product-detail-article {
    margin: 0;
    font-size: 10px;
  }

  .product-detail-subtitle {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.45;
  }

  .product-detail-sale-info {
    margin: 0;
    padding: 9px 10px;
    font-size: 10px;
    line-height: 1.4;
  }

  .product-detail-status {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 11px;
  }

  .product-detail-status strong {
    font-size: 19px;
    line-height: 1.2;
  }

  .product-detail-status span {
    width: max-content;
    max-width: 100%;
    min-height: 26px;
    padding: 0 8px;
    font-size: 9px;
  }

  .product-variant-panel {
    padding: 11px;
  }

  .product-variant-head {
    gap: 5px;
  }

  .product-variant-head strong {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .product-variant-options {
    grid-template-columns: 1fr;
  }

  .product-props-list div {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 8px 0;
  }

  .product-props-list dt {
    font-size: 9px;
    text-transform: uppercase;
  }

  .product-props-list dd {
    font-size: 11px;
  }

  .product-detail-description {
    padding-top: 9px;
  }

  .product-detail-description h2,
  .product-props-head h2 {
    font-size: 15px;
  }

  .product-detail-description-body {
    gap: 7px;
    font-size: 11px;
    line-height: 1.55;
  }

  .product-detail-description-body ul,
  .product-detail-description-body ol {
    gap: 5px;
    padding-left: 18px;
  }

  .product-detail-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 2px;
  }

  .product-quantity {
    width: 100%;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  .product-quantity button,
  .product-quantity input,
  .product-detail-cart-button {
    min-height: 42px;
    height: 42px;
  }

  .product-detail-cart-button {
    width: 100%;
    min-width: 0;
  }
}


/* Cart and checkout responsive pass 7.11.1 */
.cart-drawer-shell {
  z-index: 2200;
}

.cart-drawer,
.cart-drawer-list,
.cart-line,
.cart-line-info,
.cart-line-controls,
.checkout-shell,
.checkout-form-panel,
.checkout-summary,
.checkout-line,
.checkout-line-info,
.checkout-form-section,
.checkout-payment-option {
  min-width: 0;
}

.cart-line-image {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #f8fbff;
}

.cart-line-image img {
  width: 78px;
  height: 78px;
  padding: 8px;
  object-fit: contain;
  background: transparent;
}

.cart-line-info h3,
.cart-line-info h3 a,
.checkout-line-info strong,
.checkout-line-info small,
.checkout-line-info span {
  overflow-wrap: anywhere;
}

.cart-line-info h3 a {
  color: inherit;
}

.cart-line-controls {
  display: grid;
  grid-template-columns: auto minmax(90px, 1fr) 34px;
  align-items: center;
}

.cart-line-subtotal {
  display: grid;
  gap: 2px;
  justify-items: end;
  min-width: 0;
}

.cart-line-subtotal span {
  color: #667085;
  font-size: 10px;
  font-weight: 800;
}

.cart-line-subtotal strong {
  color: #101828;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.cart-drawer-footer {
  position: relative;
  z-index: 2;
  box-shadow: 0 -10px 24px rgba(0, 55, 130, 0.05);
}

.checkout-page {
  overflow-x: clip;
}

.checkout-shell {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 392px);
}

.checkout-form-panel,
.checkout-summary {
  border-radius: 14px;
}

.checkout-form-body {
  gap: 22px;
}

.checkout-form-section {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  background: #fbfdff;
}

.checkout-form-section-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkout-form-section-head > span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  color: var(--blue);
  border-radius: 8px;
  background: #eaf3ff;
  font-size: 10px;
  font-weight: 900;
}

.checkout-form-section-head > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.checkout-form-section-head strong {
  color: #101828;
  font-size: 14px;
  font-weight: 900;
}

.checkout-form-section-head small,
.checkout-summary-note {
  color: #667085;
  font-size: 11px;
  line-height: 1.4;
}

.checkout-summary {
  position: sticky;
  top: 18px;
  max-height: calc(100dvh - 36px);
}

.checkout-summary-body {
  min-height: 0;
}

.checkout-items {
  max-height: min(52vh, 520px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
}

.checkout-line {
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: start;
}

.checkout-line img,
.checkout-line-placeholder {
  grid-row: 1 / span 2;
}

.checkout-line-info {
  display: grid;
  gap: 4px;
}

.checkout-line-info strong {
  color: #101828;
  font-size: 12px;
  line-height: 1.35;
}

.checkout-line-info small {
  color: #667085;
  font-size: 10px;
  line-height: 1.35;
}

.checkout-line-info span {
  color: #344054;
  font-size: 10px;
  font-weight: 800;
}

.checkout-line-total {
  grid-column: 2;
  justify-self: end;
  color: #101828;
  font-size: 13px;
  font-weight: 900;
}

.checkout-total-row strong {
  font-size: 20px;
}

.checkout-payment-option > span {
  min-height: 54px;
}

.checkout-submit {
  min-height: 46px;
}

.checkout-empty-link {
  display: inline-flex;
  margin-top: 10px;
}

@media (min-width: 821px) and (max-width: 1200px) {
  .cart-drawer {
    width: min(430px, calc(100vw - 24px));
  }

  .checkout-shell {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 18px;
  }

  .checkout-form-body {
    gap: 18px;
  }

  .checkout-form-section {
    padding: 14px;
  }

  .checkout-summary-body {
    padding: 16px;
  }

  .checkout-line {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
  }
}

@media (max-width: 820px) {
  .cart-drawer-shell {
    align-items: end;
  }

  .cart-drawer {
    width: min(100vw, 520px);
    height: 100dvh;
    border-left: 0;
  }

  .cart-drawer-list {
    padding-bottom: 18px;
  }

  .checkout-section {
    padding-top: 20px;
    padding-bottom: 44px;
  }

  .checkout-container {
    max-width: 760px;
  }

  .checkout-shell {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
  }

  .checkout-summary {
    position: static;
    order: -1;
    max-height: none;
    width: 100%;
  }

  .checkout-items {
    max-height: 360px;
  }

  .checkout-form-panel,
  .checkout-summary {
    width: 100%;
  }

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

@media (max-width: 640px) {
  .cart-drawer {
    width: 100vw;
  }

  .cart-drawer-head {
    padding: 13px 14px;
  }

  .cart-drawer-list {
    gap: 8px;
    padding: 8px 8px 14px;
  }

  .cart-line {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
    border-radius: 10px;
  }

  .cart-line-image,
  .cart-line-image img {
    width: 58px;
    height: 58px;
  }

  .cart-line-image img {
    padding: 5px;
  }

  .cart-line-info h3 {
    font-size: 12px;
    line-height: 1.3;
  }

  .cart-line-info p {
    margin: 4px 0;
    font-size: 10px;
  }

  .cart-line-info strong {
    font-size: 12px;
  }

  .cart-line-controls {
    grid-column: 1 / -1;
    grid-template-columns: auto minmax(0, 1fr) 40px;
    gap: 8px;
    min-height: 40px;
  }

  .cart-qty {
    grid-template-columns: 38px 42px 38px;
  }

  .cart-line-subtotal span {
    font-size: 9px;
  }

  .cart-line-subtotal strong {
    font-size: 12px;
  }

  .cart-remove {
    width: 40px;
    height: 40px;
  }

  .cart-drawer-footer {
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  }

  .cart-total-row strong {
    font-size: 18px;
  }

  .cart-checkout-link {
    min-height: 44px;
  }

  .checkout-section {
    padding-top: 14px;
    padding-bottom: 30px;
  }

  .checkout-section .breadcrumbs {
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .checkout-section .breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  .checkout-shell {
    gap: 10px;
    margin-top: 10px;
  }

  .checkout-form-panel,
  .checkout-summary {
    border-radius: 12px;
  }

  .checkout-form-panel .account-panel-head,
  .checkout-summary .account-panel-head {
    padding: 14px 12px;
  }

  .checkout-form-panel .account-panel-head h1 {
    font-size: 22px;
  }

  .checkout-summary .account-panel-head h2 {
    font-size: 18px;
  }

  .checkout-form-body,
  .checkout-summary-body {
    padding: 12px;
  }

  .checkout-form-body {
    gap: 12px;
  }

  .checkout-form-section {
    gap: 11px;
    padding: 11px;
    border-radius: 10px;
  }

  .checkout-form-section-head > span {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
  }

  .checkout-form-section-head strong {
    font-size: 12px;
  }

  .checkout-form-section-head small,
  .checkout-summary-note {
    font-size: 9px;
  }

  .checkout-form-section .account-form-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .checkout-form-section label > span:first-child,
  .checkout-payment legend {
    font-size: 11px;
  }

  .checkout-form-section .auth-field {
    min-height: 42px;
  }

  .checkout-form-section .auth-field input,
  .checkout-form-section .auth-field select,
  .checkout-form-section .auth-field textarea {
    font-size: 12px;
  }

  .checkout-form-section .auth-field-textarea {
    min-height: 82px;
  }

  .checkout-payment-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .checkout-payment-option > span {
    min-height: 46px;
  }

  .checkout-items {
    max-height: 300px;
    gap: 8px;
  }

  .checkout-line {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 8px;
    padding: 9px;
    border-radius: 9px;
  }

  .checkout-line img,
  .checkout-line-placeholder {
    width: 46px;
    height: 46px;
  }

  .checkout-line-info strong {
    font-size: 11px;
  }

  .checkout-line-info small,
  .checkout-line-info span {
    font-size: 9px;
  }

  .checkout-line-total {
    font-size: 11px;
  }

  .checkout-total-row {
    padding-top: 12px;
    font-size: 12px;
  }

  .checkout-total-row strong {
    font-size: 18px;
  }

  .checkout-submit {
    width: 100%;
    min-width: 0;
    min-height: 44px;
  }

  .checkout-field-error {
    font-size: 10px;
  }
}

@media (max-width: 390px) {
  .cart-line {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .cart-line-image,
  .cart-line-image img {
    width: 52px;
    height: 52px;
  }

  .cart-qty {
    grid-template-columns: 36px 40px 36px;
  }

  .checkout-form-panel .account-badge {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}


/* Auth and account responsive pass 7.12.1 */
.auth-page,
.account-page {
  overflow-x: clip;
}

.auth-layout,
.auth-card,
.auth-form,
.auth-client-fields,
.account-shell,
.account-sidebar,
.account-content,
.account-panel,
.account-form,
.account-orders-layout,
.account-detail,
.account-favorites-body,
.account-favorites-grid {
  min-width: 0;
}

.account-profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  justify-content: flex-end;
}

.account-verification-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  background: #f9fafb;
  color: #344054;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.account-verification-badge.is-new {
  color: #b54708;
  border-color: #fedf89;
  background: #fffaeb;
}

.account-verification-badge.is-verified {
  color: #087443;
  border-color: #b7e4cf;
  background: #ecfdf3;
}

.account-verification-notice {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid #fedf89;
  border-radius: 10px;
  background: #fffaeb;
}

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

.account-verification-notice strong {
  color: #93370d;
  font-size: 13px;
  font-weight: 900;
}

.account-verification-notice p {
  margin: 0;
  color: #b54708;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.account-favorites-body {
  display: grid;
  gap: 18px;
  padding: 24px 28px 28px;
}

.account-favorites-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.account-favorites-intro p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
}

.account-favorites-intro .account-secondary-button {
  flex: 0 0 auto;
}

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

.auth-options > span {
  min-width: 0;
}

@media (min-width: 821px) and (max-width: 1200px) {
  .auth-layout {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 28px;
  }

  .account-shell {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 18px;
  }

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

@media (max-width: 820px) {
  .auth-section,
  .account-section {
    padding-top: 20px;
    padding-bottom: 48px;
  }

  .auth-layout {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
  }

  .auth-card {
    order: -1;
    width: 100%;
  }

  .auth-info {
    max-width: none;
    padding: 18px;
    border: 1px solid var(--line-light);
    border-radius: 12px;
    background: #f8fbff;
  }

  .auth-info ul {
    margin-top: 16px;
  }

  .account-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 16px;
  }

  .account-sidebar {
    position: static;
    padding: 14px;
  }

  .account-tabs {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    margin-top: 14px;
    padding-bottom: 3px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .account-tabs::-webkit-scrollbar {
    display: none;
  }

  .account-tabs button {
    flex: 0 0 auto;
    width: auto;
    min-width: 136px;
    padding: 0 12px;
    scroll-snap-align: start;
  }

  .account-logout {
    margin-top: 12px;
  }

  .account-orders-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .account-favorites-intro {
    align-items: stretch;
    flex-direction: column;
  }

  .account-favorites-intro .account-secondary-button {
    width: max-content;
  }
}

@media (max-width: 640px) {
  .auth-section,
  .account-section {
    padding-top: 12px;
    padding-bottom: 34px;
  }

  .auth-section .breadcrumbs,
  .account-section .breadcrumbs {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .auth-card,
  .account-sidebar,
  .account-panel,
  .account-auth-state {
    border-radius: 12px;
  }

  .auth-tabs {
    padding: 6px;
  }

  .auth-tabs button {
    min-height: 40px;
    font-size: 12px;
  }

  .auth-form {
    gap: 13px;
    padding: 16px 12px;
  }

  .auth-field {
    min-height: 44px;
    padding: 0 11px;
  }

  .auth-field input,
  .auth-field select {
    height: 42px;
    font-size: 12px;
  }

  .auth-field textarea {
    font-size: 12px;
  }

  .auth-client-type {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-client-type legend {
    grid-column: 1 / -1;
  }

  .auth-client-type label:first-of-type {
    grid-column: 1 / -1;
  }

  .auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 11px;
  }

  .auth-info {
    padding: 14px 12px;
  }

  .auth-info h1 {
    font-size: 19px;
  }

  .auth-info li {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
    font-size: 11px;
  }

  .account-sidebar {
    padding: 11px;
  }

  .account-user-card {
    padding-bottom: 12px;
  }

  .account-tabs button {
    min-width: 126px;
    min-height: 38px;
    font-size: 11px;
  }

  .account-tabs .icon,
  .account-logout .icon {
    width: 17px;
    height: 17px;
  }

  .account-panel-head,
  .account-form,
  .account-orders-layout,
  .account-address-list,
  .account-favorites-body {
    padding: 12px;
  }

  .account-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-profile-badges {
    justify-content: flex-start;
  }

  .account-form {
    gap: 13px;
  }

  .account-form-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .account-avatar-editor {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .account-avatar-large {
    width: 54px;
    height: 54px;
  }

  .account-upload-button {
    min-height: 36px;
    padding: 0 10px;
    font-size: 10px;
  }

  .account-orders-layout {
    gap: 9px;
  }

  .account-list-item,
  .account-detail,
  .account-address-card {
    border-radius: 10px;
  }

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

  .account-favorites-grid {
    gap: 8px;
  }

  .account-favorites-intro .account-secondary-button {
    width: 100%;
  }

  .account-auth-state {
    padding: 18px 14px;
  }

  .account-auth-state h1 {
    font-size: 24px;
  }
}

@media (max-width: 390px) {
  .account-tabs button {
    min-width: 120px;
  }

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


/* Storefront preorder state */
.preorder-badge,
.stock-label.is-preorder {
  --preorder-bg: #fff4dd;
  --preorder-border: #f3c66f;
  --preorder-text: #8a5200;
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border: 1px solid var(--preorder-border);
  border-radius: 999px;
  background: var(--preorder-bg);
  color: var(--preorder-text);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.product-card.is-preorder {
  position: relative;
}

.product-card > .preorder-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  pointer-events: none;
}

.shop-card-preorder-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  color: #8a5200;
  font-size: 11px;
  line-height: 1.3;
}

.shop-card-preorder-meta strong {
  flex: 0 0 auto;
  font-weight: 800;
}

.shop-card-preorder-meta span {
  min-width: 0;
  color: var(--muted);
}

.product-detail-preorder {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid #f3c66f;
  border-radius: 12px;
  background: #fffaf0;
  color: #5c430f;
}

.product-detail-preorder-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.product-detail-preorder-head > strong {
  font-size: 14px;
  line-height: 1.35;
}

.product-detail-preorder p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.product-detail-preorder p > span {
  color: var(--muted);
}

.product-detail-preorder small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.product-detail-status.is-preorder span {
  border-color: #f3c66f;
  background: #fff4dd;
  color: #8a5200;
}

@media (max-width: 768px) {
  .shop-card-preorder-meta {
    display: grid;
    gap: 2px;
    margin-top: 7px;
    font-size: 9px;
  }

  .product-detail-preorder {
    gap: 7px;
    padding: 12px;
    border-radius: 10px;
  }

  .product-detail-preorder-head {
    align-items: flex-start;
  }

  .product-detail-preorder-head > strong {
    flex: 1 1 180px;
    font-size: 12px;
  }

  .product-detail-preorder p,
  .product-detail-preorder small {
    font-size: 10px;
  }
}


/* Mobile account orders drill-in */
.account-order-mobile-back {
  display: none;
}

@media (max-width: 640px) {
  [data-account-panel="orders"] .account-panel-head {
    padding-bottom: 10px;
  }

  .account-orders-layout {
    gap: 8px;
    padding: 8px;
    background: #f7f9fc;
  }

  .account-orders-layout:not(.is-order-detail-open) > .account-detail {
    display: none;
  }

  .account-orders-layout.is-order-detail-open > .account-list {
    display: none;
  }

  .account-orders-layout.is-order-detail-open {
    padding: 8px;
  }

  .account-order-card {
    gap: 9px;
    padding: 13px 14px;
    border-radius: 12px;
    box-shadow: none;
    transform: none;
  }

  .account-order-card:hover,
  .account-order-card:focus-visible {
    transform: none;
    box-shadow: 0 6px 18px rgba(15, 54, 96, 0.07);
  }

  .account-order-card.is-active::before {
    display: none;
  }

  .account-order-card-head {
    gap: 8px;
  }

  .account-order-card-head small {
    font-size: 9px;
  }

  .account-order-card-head strong {
    font-size: 13px;
  }

  .account-order-card-head time {
    font-size: 10px;
  }

  .account-order-card-statuses {
    gap: 5px;
  }

  .account-order-card-statuses .account-status,
  .account-order-card-statuses .preorder-badge {
    min-height: 22px;
    padding: 0 7px;
    font-size: 9px;
  }

  .account-order-card-payment {
    display: none;
  }

  .account-order-card-footer {
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 8px;
    padding-top: 8px;
  }

  .account-order-card-footer > span:first-child {
    display: none;
  }

  .account-order-card-footer b {
    justify-self: start;
    font-size: 15px;
  }

  .account-order-card-arrow {
    display: grid;
    width: 24px;
    height: 24px;
    justify-self: end;
    font-size: 14px;
  }

  .account-detail {
    padding: 10px;
    border-radius: 12px;
    box-shadow: none;
  }

  .account-order-mobile-back {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 7px;
    margin: 0 0 10px;
    padding: 0 10px;
    border: 0;
    border-radius: 9px;
    background: #eef6ff;
    color: var(--blue);
    font-size: 11px;
    font-weight: 900;
  }

  .account-order-mobile-back > span:first-child {
    font-size: 16px;
    line-height: 1;
  }

  .account-order-hero {
    gap: 12px;
    padding: 14px;
  }

  .account-order-hero h2 {
    font-size: 19px;
  }

  .account-order-hero-total {
    min-width: 0;
  }

  .account-order-hero-total strong {
    font-size: 21px;
  }
}


/* Marketplace-style mobile account 2026.09.16 */
.account-mobile-overview,
.account-mobile-subnav {
  display: none;
}

.account-mobile-overview[hidden],
.account-mobile-subnav[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  body.account-mobile-app .mobile-service-hub {
    display: none;
  }

  .account-page {
    background: #f4f7fb;
  }

  .account-section {
    padding-top: 0;
    padding-bottom: 96px;
  }

  .account-section .breadcrumbs {
    display: none;
  }

  .account-shell {
    display: block;
    margin-top: 0;
  }

  .account-sidebar {
    display: none;
  }

  .account-content {
    width: 100%;
  }

  .account-content > .account-panel {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .account-content > .account-panel:not(.account-mobile-overview) > .account-panel-head {
    display: none;
  }

  .account-mobile-overview {
    display: grid;
    gap: 14px;
    padding: 12px 0 4px;
  }

  .account-mobile-identity {
    position: relative;
    display: grid;
    min-width: 0;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    overflow: hidden;
    padding: 18px 16px;
    border-radius: 20px;
    background:
      radial-gradient(circle at 100% 0%, rgba(120, 190, 255, 0.42), transparent 36%),
      linear-gradient(135deg, #075fce 0%, #06489f 100%);
    box-shadow: 0 14px 32px rgba(6, 72, 159, 0.18);
  }

  .account-mobile-identity::after {
    position: absolute;
    right: -34px;
    bottom: -58px;
    width: 150px;
    height: 150px;
    border: 28px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    content: "";
    pointer-events: none;
  }

  .account-mobile-avatar {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  }

  .account-mobile-avatar .icon {
    width: 27px;
    height: 27px;
  }

  .account-mobile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
  }

  .account-mobile-identity-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
  }

  .account-mobile-identity-copy > span {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .account-mobile-identity-copy h1 {
    margin: 0;
    overflow: hidden;
    color: #fff;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.16;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .account-mobile-identity-copy p {
    margin: 4px 0 0;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .account-mobile-status {
    position: relative;
    z-index: 1;
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    white-space: nowrap;
  }

  .account-mobile-status.is-new {
    color: #fff4d6;
    border-color: rgba(255, 221, 145, 0.36);
    background: rgba(181, 91, 0, 0.28);
  }

  .account-mobile-status.is-verified {
    color: #e8fff3;
    border-color: rgba(173, 244, 208, 0.34);
    background: rgba(5, 111, 66, 0.3);
  }

  .account-mobile-primary-actions {
    display: grid;
    gap: 10px;
  }

  .account-mobile-action {
    appearance: none;
    width: 100%;
    border: 1px solid #e1e8f2;
    background: #fff;
    color: #172033;
    text-align: left;
    box-shadow: 0 8px 22px rgba(15, 54, 96, 0.05);
  }

  .account-mobile-action-orders {
    display: grid;
    min-height: 78px;
    grid-template-columns: 46px minmax(0, 1fr) 30px;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 16px;
  }

  .account-mobile-action-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: var(--blue);
    border-radius: 13px;
    background: #eaf4ff;
  }

  .account-mobile-action-icon .icon {
    width: 23px;
    height: 23px;
  }

  .account-mobile-action-copy {
    display: grid;
    min-width: 0;
    gap: 4px;
  }

  .account-mobile-action-copy strong {
    color: #101828;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
  }

  .account-mobile-action-copy small {
    color: #7a8799;
    font-size: 10px;
    font-weight: 700;
  }

  .account-mobile-action-arrow {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    justify-self: end;
    color: var(--blue);
    border-radius: 50%;
    background: #f1f7ff;
    font-size: 16px;
    font-weight: 900;
  }

  .account-mobile-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .account-mobile-action-small {
    display: grid;
    min-height: 112px;
    align-content: space-between;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
  }

  .account-mobile-action-small .account-mobile-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .account-mobile-action-small .account-mobile-action-icon .icon {
    width: 20px;
    height: 20px;
  }

  .account-mobile-latest,
  .account-mobile-settings {
    padding: 15px;
    border: 1px solid #e1e8f2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 54, 96, 0.045);
  }

  .account-mobile-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 11px;
  }

  .account-mobile-section-head > div > span {
    display: block;
    margin-bottom: 3px;
    color: var(--blue);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .account-mobile-section-head h2,
  .account-mobile-settings > h2 {
    margin: 0;
    color: #101828;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.2;
  }

  .account-mobile-section-head > button {
    min-height: 30px;
    padding: 0 9px;
    border: 0;
    border-radius: 9px;
    background: #eef6ff;
    color: var(--blue);
    font-size: 10px;
    font-weight: 900;
  }

  .account-mobile-latest-order {
    appearance: none;
    display: grid;
    width: 100%;
    gap: 11px;
    padding: 13px;
    border: 1px solid #dce7f5;
    border-radius: 14px;
    background: linear-gradient(180deg, #f9fcff 0%, #fff 100%);
    color: #172033;
    text-align: left;
  }

  .account-mobile-latest-order-top,
  .account-mobile-latest-order-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }

  .account-mobile-latest-order-top > span {
    display: grid;
    min-width: 0;
    gap: 2px;
  }

  .account-mobile-latest-order-top small {
    color: #98a2b3;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .account-mobile-latest-order-top strong {
    overflow: hidden;
    color: #101828;
    font-size: 13px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .account-mobile-latest-order-top time {
    flex: 0 0 auto;
    color: #7a8799;
    font-size: 10px;
    font-weight: 800;
  }

  .account-mobile-latest-order-status {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .account-mobile-latest-order-status .account-status {
    min-height: 22px;
    padding: 0 7px;
    font-size: 9px;
  }

  .account-mobile-latest-order-bottom {
    align-items: center;
    padding-top: 9px;
    border-top: 1px solid #edf2f7;
  }

  .account-mobile-latest-order-bottom > strong {
    color: var(--blue);
    font-size: 17px;
    font-weight: 900;
  }

  .account-mobile-latest-order-bottom > span {
    color: #667085;
    font-size: 10px;
    font-weight: 800;
  }

  .account-mobile-latest-order-bottom b {
    margin-left: 4px;
    color: var(--blue);
    font-size: 13px;
  }

  .account-mobile-empty-order {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 13px;
    border: 1px dashed #ccd9e9;
    border-radius: 14px;
    background: #f8fbff;
  }

  .account-mobile-empty-order-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--blue);
    border-radius: 12px;
    background: #eaf4ff;
  }

  .account-mobile-empty-order-icon .icon {
    width: 21px;
    height: 21px;
  }

  .account-mobile-empty-order strong {
    color: #101828;
    font-size: 12px;
    font-weight: 900;
  }

  .account-mobile-empty-order p {
    margin: 3px 0 0;
    color: #7a8799;
    font-size: 10px;
    line-height: 1.35;
  }

  .account-mobile-empty-order a {
    grid-column: 1 / -1;
    min-height: 36px;
    display: grid;
    place-items: center;
    color: var(--blue);
    border-radius: 10px;
    background: #eaf4ff;
    font-size: 10px;
    font-weight: 900;
  }

  .account-mobile-settings > h2 {
    margin-bottom: 11px;
  }

  .account-mobile-settings-card {
    overflow: hidden;
    border: 1px solid #e5ebf3;
    border-radius: 14px;
    background: #fff;
  }

  .account-mobile-settings-card > button,
  .account-mobile-settings-card > a {
    appearance: none;
    display: grid;
    width: 100%;
    min-height: 62px;
    grid-template-columns: 38px minmax(0, 1fr) 18px;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid #edf1f6;
    background: #fff;
    color: #172033;
    text-align: left;
  }

  .account-mobile-settings-card > :last-child {
    border-bottom: 0;
  }

  .account-mobile-settings-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--blue);
    border-radius: 11px;
    background: #f0f6ff;
  }

  .account-mobile-settings-icon .icon {
    width: 19px;
    height: 19px;
  }

  .account-mobile-settings-card > button > span:nth-child(2),
  .account-mobile-settings-card > a > span:nth-child(2) {
    display: grid;
    min-width: 0;
    gap: 3px;
  }

  .account-mobile-settings-card strong {
    color: #172033;
    font-size: 12px;
    font-weight: 900;
  }

  .account-mobile-settings-card small {
    color: #8a96a8;
    font-size: 9px;
    font-weight: 700;
  }

  .account-mobile-settings-card > button > span:last-child,
  .account-mobile-settings-card > a > span:last-child {
    justify-self: end;
    color: #98a2b3;
    font-size: 20px;
    font-weight: 500;
  }

  .account-mobile-settings-card .account-mobile-logout {
    color: #b42318;
  }

  .account-mobile-settings-card .account-mobile-logout .account-mobile-settings-icon {
    color: #d92d20;
    background: #fff1f0;
  }

  .account-mobile-settings-card .account-mobile-logout strong {
    color: #b42318;
  }

  .account-mobile-subnav {
    display: grid;
    min-height: 54px;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 10px;
    align-items: center;
    margin: 8px 0 10px;
    padding: 0 6px;
  }

  .account-mobile-subnav::after {
    width: 38px;
    content: "";
  }

  .account-mobile-subnav > button {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    padding: 0;
    border: 1px solid #dce5f0;
    border-radius: 12px;
    background: #fff;
    color: #172033;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(15, 54, 96, 0.04);
  }

  .account-mobile-subnav > strong {
    overflow: hidden;
    color: #101828;
    font-size: 17px;
    font-weight: 900;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .account-content > .account-panel:not(.account-mobile-overview) {
    padding: 0;
  }

  .account-content > .account-panel:not(.account-mobile-overview) .account-form,
  .account-content > .account-panel:not(.account-mobile-overview) .account-favorites-body {
    margin: 0;
    padding: 14px;
    border: 1px solid #e1e8f2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 54, 96, 0.045);
  }

  [data-account-panel="profile"] .account-form,
  [data-account-panel="security"] .account-form,
  [data-account-panel="addresses"] .account-form {
    gap: 15px;
  }

  [data-account-panel="profile"] .account-avatar-editor {
    margin: 0;
    border-color: #e6edf5;
    border-radius: 14px;
    background: #f8fbff;
  }

  [data-account-panel="orders"] .account-orders-layout {
    padding: 0;
    background: transparent;
  }

  [data-account-panel="addresses"] .account-address-list {
    margin-top: 12px;
    padding: 0;
  }

  [data-account-panel="addresses"] .account-address-card {
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(15, 54, 96, 0.04);
  }

  [data-account-panel="favorites"] .account-favorites-intro {
    padding-bottom: 12px;
    border-bottom: 1px solid #edf1f6;
  }

  [data-account-panel="favorites"] .account-favorites-grid {
    margin-top: 2px;
  }

  .account-mobile-placeholder {
    padding: 16px;
    color: #7a8799;
    border: 1px dashed #d5dfeb;
    border-radius: 14px;
    background: #f8fbff;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
  }

  .account-content .auth-field {
    border-radius: 12px;
    background: #fbfcfe;
  }

  .account-content .account-submit {
    width: 100%;
    min-height: 46px;
    border-radius: 12px;
  }

  .account-content .account-secondary-button,
  .account-content .account-danger-button {
    border-radius: 11px;
  }
}

@media (max-width: 390px) {
  .account-mobile-identity {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .account-mobile-avatar {
    width: 52px;
    height: 52px;
  }

  .account-mobile-status {
    grid-column: 2;
    justify-self: start;
    min-height: 23px;
    margin-top: -3px;
  }

  .account-mobile-action-grid {
    gap: 8px;
  }

  .account-mobile-action-small {
    min-height: 108px;
    padding: 12px;
  }
}


/* TipTop Pay account payment */
.account-tiptop-payment {
  border-color: #d8e7fb;
  background:
    radial-gradient(circle at top right, rgba(0, 87, 200, 0.08), transparent 44%),
    #fbfdff;
}

.account-tiptop-payment-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
}

.account-tiptop-payment-body > div {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.account-tiptop-payment-body strong {
  color: #101828;
  font-size: 14px;
  font-weight: 900;
}

.account-tiptop-payment-body span {
  max-width: 560px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.account-tiptop-pay-button {
  flex: 0 0 auto;
  min-width: 190px;
}

@media (max-width: 640px) {
  .account-tiptop-payment {
    padding: 14px;
  }

  .account-tiptop-payment-body {
    display: grid;
    gap: 12px;
  }

  .account-tiptop-pay-button {
    width: 100%;
    min-width: 0;
  }
}
