:root {
  --bg: #ffffff;
  --text: #000000;
  --muted: #6c6c6c;
  --surface: #f5f5f5;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.16);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1280px;
  --header-height: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none !important;
}

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

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

input,
textarea,
select {
  min-width: 0;
  max-width: 100%;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 40px 0 72px;
}

.section--contrast {
  background: var(--surface);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  background: rgba(0, 0, 0, 0.92);
  color-scheme: only light;
  transition: height 220ms ease;
}

.site-header.search-is-open {
  z-index: 70;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-height);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark__circle {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
}

.brand-mark__circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-mark__text {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: #fff;
}

.site-nav,
.header-actions,
.hero-actions,
.form-result-actions,
.document-actions,
.footer-actions,
.product-actions,
.mobile-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  transform: translateY(-1px);
}

.site-nav {
  gap: 18px;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.site-header.search-is-open .site-nav {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-2px) scale(0.98);
}

.header-search-shell {
  position: static;
  z-index: 4;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.header-search-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.header-search-shell.is-open .header-search-toggle {
  transform: translateX(var(--header-search-toggle-shift, 0px));
}

.header-search-toggle:hover,
.header-search-toggle:focus-visible,
.header-search-shell.is-open .header-search-toggle {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.header-search-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 3px;
}

.header-search-toggle__icon {
  display: block;
  width: 23px;
  height: 23px;
  border: 0;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.8'/%3E%3Cpath d='m16.1 16.1 4.4 4.4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 1;
}

.header-search-toggle__icon::after {
  content: none;
}

.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

.header-search {
  --header-search-offset-x: 0px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: min(480px, calc(100vw - 560px));
  min-width: 300px;
  min-height: 44px;
  padding: 0 8px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translate(calc(-50% + var(--header-search-offset-x)), -50%) scaleX(0.72);
  transform-origin: center center;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.search-is-open .header-search {
  opacity: 1;
  pointer-events: auto;
  transform: translate(calc(-50% + var(--header-search-offset-x)), -50%) scaleX(1);
}

.header-search:focus-within {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.header-search__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.header-search input {
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  line-height: 1;
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.header-search input::-webkit-search-cancel-button {
  display: none;
}

.header-search__clear {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.68);
  font-size: 22px;
  line-height: 1;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.header-search__clear:hover,
.header-search__clear:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition:
    transform 200ms ease,
    background-color 200ms ease,
    color 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.button--primary {
  border-color: #000;
  background: #000;
  color: #fff;
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #111;
}

.button--ghost {
  background: #fff;
  color: #000;
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: #000;
}

.button--full {
  width: 100%;
}

.cart-button {
  gap: 10px;
}

.cart-button__count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: currentColor;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.site-header .cart-button__count,
.mobile-cta .cart-button__count {
  background: #fff;
  color: #000;
}

.site-header .button--primary .cart-button__count,
.mobile-cta .button--primary .cart-button__count {
  background: #000;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero {
  padding-top: 44px;
}

.hero-grid,
.tailoring-layout,
.split-block,
.request-layout,
.product-layout {
  display: grid;
  gap: 44px;
}

.hero-copy h1,
.section-head h2,
.tailoring-copy h2,
.split-card h2,
.request-copy h2,
.footer-grid h2,
.product-panel h1 {
  margin: 0;
  letter-spacing: -0.05em;
}

.hero-copy h1 {
  font-size: clamp(54px, 12vw, 128px);
  line-height: 0.94;
}

.hero-copy {
  max-width: 610px;
  padding-top: 16px;
}

.hero-subtitle {
  margin: 18px 0 0;
  font-size: clamp(24px, 3.6vw, 36px);
  line-height: 1.08;
}

.hero-text,
.section-text,
.product-note,
.footer-link {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero-text {
  max-width: 560px;
  margin: 20px 0 0;
}

.hero-actions {
  margin-top: 30px;
  gap: 14px;
}

.hero-points,
.tailoring-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li,
.tailoring-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.hero-points li::before,
.tailoring-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #000;
}

.hero-visual {
  position: relative;
  min-height: 640px;
  padding: 10px 26px 52px 0;
}

.hero-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card--primary {
  width: min(100%, 520px);
  margin-left: auto;
}

.hero-card--primary img {
  aspect-ratio: 0.7;
}

.hero-card--secondary {
  position: absolute;
  left: 0;
  bottom: 24px;
  width: min(44vw, 260px);
  border: 10px solid #fff;
}

.hero-card--secondary img {
  aspect-ratio: 0.78;
}

.hero-note {
  position: absolute;
  right: 26px;
  bottom: -24px;
  display: grid;
  gap: 4px;
  width: min(86%, 280px);
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.hero-note span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-note strong {
  font-size: 15px;
}

.reason-grid,
.catalog-grid,
.footer-grid {
  display: grid;
  gap: 18px;
}

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

.reason-card,
.split-card,
.request-form,
.product-panel,
.product-visual,
.partnership {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.reason-card {
  padding: 24px;
}

.reason-mark {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.reason-card p {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}

.section-head h2,
.tailoring-copy h2,
.split-card h2,
.request-copy h2,
.footer-grid h2 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-chip {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.filter-chip.is-active,
.filter-chip:hover,
.filter-chip:focus-visible {
  color: #fff;
  border-color: #000;
  background: #000;
}

.catalog-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  justify-content: stretch;
  align-items: start;
  overflow-anchor: none;
}

.catalog-empty {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 12px;
  min-height: 260px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  text-align: center;
  overflow-anchor: none;
}

.catalog-empty h3 {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1;
}

.catalog-empty p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.catalog-empty .button {
  margin-top: 6px;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  min-height: 452px;
  gap: 12px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.catalog-card:hover,
.catalog-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.18);
}

.catalog-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  background: linear-gradient(180deg, #fafafa 0%, #f4f4f4 100%);
}

.catalog-card__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  transition: transform 380ms ease;
}

.catalog-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.88);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.catalog-card:hover .catalog-card__media img,
.catalog-card:focus-visible .catalog-card__media img {
  transform: scale(1.04);
}

.card-gallery-btn,
.gallery-nav {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.card-gallery-btn:hover,
.card-gallery-btn:focus-visible,
.gallery-nav:hover,
.gallery-nav:focus-visible {
  background: #fff;
  transform: translateY(-50%) scale(1.06);
}

.card-gallery-btn {
  top: 50%;
  z-index: 2;
  width: 34px;
  height: 34px;
  font-size: 24px;
  line-height: 1;
  transform: translateY(-50%);
}

.card-gallery-btn--prev {
  left: 10px;
}

.card-gallery-btn--next {
  right: 10px;
}

.card-gallery-count,
.gallery-count {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.card-gallery-count {
  left: 12px;
  bottom: 12px;
  padding: 6px 9px;
}

.catalog-card__body {
  display: grid;
  grid-template-rows: 28px minmax(64px, auto) 20px 26px;
  gap: 7px;
  flex: 1;
  padding: 6px 8px 8px;
}

.catalog-card__meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.catalog-card__label,
.tag-row span,
.detail-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.catalog-card__label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag-row span {
  min-height: 48px;
  padding: 0 18px;
  font-size: 16px;
  font-weight: 600;
  background: #f1f1f1;
  color: #222;
}

.catalog-card h3 {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.14;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.catalog-card__category,
.catalog-card__price {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.catalog-card__category {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-card__price {
  align-self: end;
  color: #000;
  font-size: 15px;
  font-weight: 800;
}

.tailoring-layout {
  align-items: start;
  gap: 56px;
}

.tailoring-copy {
  max-width: 600px;
  padding: 8px 0 0;
}

.tailoring-copy .section-text {
  max-width: 540px;
  margin-top: 18px;
}

.tailoring-copy .button {
  margin-top: 30px;
}

.tailoring-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 0.9;
  object-fit: cover;
  transition: transform 360ms ease;
}

.gallery-card:hover img {
  transform: scale(1.03);
}

.gallery-card__caption {
  padding: 14px 16px 18px;
  font-size: 14px;
  font-weight: 700;
}

.split-card,
.request-form,
.product-panel,
.product-visual,
.partnership {
  padding: 28px;
}

.split-card--compact {
  display: grid;
  gap: 22px;
}

.metric > span {
  display: block;
  font-size: clamp(34px, 8vw, 72px);
  font-weight: 800;
  letter-spacing: -0.06em;
}

.metric p {
  margin: 6px 0 0;
  color: var(--muted);
}

.metric [data-categories-list] {
  font: inherit;
  letter-spacing: 0;
  color: inherit;
}

.partnership {
  display: grid;
  gap: 28px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
}

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

.request-form label:not(.checkout-consent),
.request-form .form-control-group {
  display: grid;
  gap: 10px;
}

.request-form label:not(.checkout-consent):not(.file-drop) > span:first-child,
.request-form .form-control-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.request-form input:not([type="checkbox"]):not([type="file"]):not([type="hidden"]),
.request-form textarea,
.request-form select {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 16px 18px;
  color: #000;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.request-form textarea {
  min-height: 116px;
  resize: vertical;
}

.request-form select {
  appearance: none;
  padding-top: 0;
  padding-right: 52px;
  padding-bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m5 7 4 4 4-4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 17px center;
  background-size: 18px;
  cursor: pointer;
}

.request-form select option {
  background: #fff;
  color: #000;
}

.request-form input:not([type="checkbox"]):not([type="file"]):not([type="hidden"]):focus,
.request-form textarea:focus,
.request-form select:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.04);
}

.request-form .checkout-consent {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.request-form .checkout-consent > input {
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  margin: 2px 0 0;
  padding: 0;
}

.request-form .checkout-consent > span {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: none;
}

.site-select {
  position: relative;
  min-width: 0;
}

.site-select__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 55px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #fff;
  color: #000;
  text-align: left;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-select__button::after {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin-left: 18px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 180ms ease;
}

.site-select.is-open .site-select__button,
.site-select__button:focus-visible {
  border-color: #000;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.site-select.is-open .site-select__button::after {
  transform: rotate(225deg) translate(-2px, -1px);
}

.site-select__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 18;
  display: grid;
  gap: 4px;
  max-height: 310px;
  padding: 7px;
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 160ms ease,
    transform 180ms ease;
}

.site-select.is-open .site-select__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-select__menu button {
  min-height: 40px;
  padding: 0 13px;
  border-radius: 12px;
  color: #000;
  text-align: left;
  font-weight: 600;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.site-select__menu button:hover,
.site-select__menu button:focus-visible,
.site-select__menu button[aria-selected="true"] {
  background: #000;
  color: #fff;
}

.form-result {
  padding: 18px;
  border-radius: 20px;
  background: var(--surface);
}

.form-result p {
  margin: 0 0 14px;
  color: var(--muted);
}

.footer {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
  color: #fff;
}

.footer.section--tight {
  padding: 48px 0 0;
}

.footer-grid {
  /* four equal columns: brand, docs, contacts, actions */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  row-gap: 24px;
  column-gap: 32px;
}

.footer-main {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.footer-meta {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.footer-meta--brand {
  max-width: 360px;
  gap: 6px;
}

.footer-meta--brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.55;
}

.footer-docs {
  display: grid;
  justify-items: start;
  gap: 10px;
  text-align: left;
}

.footer-doc-list {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.footer-contacts {
  display: grid;
  justify-items: start;
  gap: 10px;
  text-align: left;
}

.footer-contacts-list {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.footer-link {
  display: inline-block;
  margin-top: 0;
}

.footer-link--muted {
  cursor: default;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 44px;
}

.contact-block {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: #fff;
}

.contact-block h3 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
}

.contact-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-header .brand-mark__circle {
  background: #fff;
  color: #000;
}

.site-header .button--primary,
.footer .button--primary {
  border-color: #fff;
  background: #fff;
  color: #000;
}

.site-header .button--primary:hover,
.site-header .button--primary:focus-visible,
.footer .button--primary:hover,
.footer .button--primary:focus-visible {
  background: #f0f0f0;
}

.site-header .button--ghost,
.footer .button--ghost {
  border-color: rgba(255, 255, 255, 0.24);
  background: transparent;
  color: #fff;
}

.site-header .button--ghost:hover,
.site-header .button--ghost:focus-visible,
.footer .button--ghost:hover,
.footer .button--ghost:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.footer .eyebrow,
.footer .footer-link {
  color: rgba(255, 255, 255, 0.7);
}

.footer .footer-grid h2 {
  line-height: 0.92;
  margin-bottom: 2px;
}

.footer .footer-actions {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.footer-actions-buttons {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.footer-email {
  margin: 8px 0 0;
  padding: 0;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
  font-size: 16px;
}

.footer .button,
.footer .footer-link {
  width: fit-content;
  transition: transform 180ms ease, color 180ms ease;
}

.footer .footer-link:hover,
.footer .footer-link:focus-visible {
  transform: translateY(-2px);
  color: #fff;
}

/* Bottom centered copyright block added in markup */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  margin-top: 40px;
  padding: 22px 0 24px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.mobile-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 28;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.mobile-cta .button {
  flex: 1;
}

body.cart-is-open {
  overflow: hidden;
}

body.mobile-menu-is-open {
  overflow: hidden;
}

.cart-shell {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

.cart-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.34);
  opacity: 0;
  transition: opacity 240ms ease;
}

.cart-drawer {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 12px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(calc(100vw - 24px), 430px);
  padding: 26px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: -18px 0 54px rgba(0, 0, 0, 0.16);
  transform: translateX(calc(100% + 24px));
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-is-open .cart-shell {
  pointer-events: auto;
}

.cart-is-open .cart-overlay {
  opacity: 1;
}

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

.cart-drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__head h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1;
}

.cart-drawer__close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #000;
  font-size: 26px;
  line-height: 1;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.cart-drawer__close:hover,
.cart-drawer__close:focus-visible {
  border-color: #000;
  background: var(--surface);
  transform: rotate(90deg);
}

.cart-drawer__items {
  display: grid;
  align-content: start;
  gap: 14px;
  overflow-y: auto;
  padding: 20px 2px;
}

.cart-empty {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 260px;
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 20px;
  text-align: center;
}

.cart-empty h3,
.cart-item h3 {
  margin: 0;
}

.cart-empty p,
.cart-drawer__footer p,
.cart-item__category,
.cart-item__price {
  margin: 0;
  color: var(--muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.cart-item img {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  background: var(--surface);
  object-fit: contain;
}

.cart-item__body {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.cart-item__category {
  margin-bottom: 4px;
  font-size: 12px;
}

.cart-item h3 {
  font-size: 15px;
  line-height: 1.25;
}

.cart-item__variant {
  margin: 6px 0 0;
  color: #333;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.cart-item__price {
  margin-top: 6px;
  color: #000;
  font-size: 14px;
  font-weight: 800;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-item__controls button,
.cart-item__controls span {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
}

.cart-item__controls button:hover,
.cart-item__controls button:focus-visible {
  border-color: #000;
}

.cart-item__controls span {
  border-color: transparent;
  background: var(--surface);
}

.cart-item__controls .cart-item__remove {
  width: auto;
  padding: 0 12px;
  color: var(--muted);
  font-size: 12px;
}

.cart-drawer__footer {
  display: grid;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.cart-drawer__footer p {
  font-size: 14px;
  line-height: 1.5;
}

.cart-drawer__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.cart-drawer__actions .button {
  box-shadow: none;
}

.cart-drawer__actions .button:hover,
.cart-drawer__actions .button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
}

.cart-drawer__actions .button--primary:hover,
.cart-drawer__actions .button--primary:focus-visible {
  border-color: #222;
  background: #222;
}

.cart-drawer__actions .button--ghost:hover,
.cart-drawer__actions .button--ghost:focus-visible {
  border-color: #000;
  background: #f4f4f4;
  color: #000;
}

.cart-toast {
  position: absolute;
  right: 24px;
  bottom: 24px;
  pointer-events: none;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: min(calc(100vw - 32px), 380px);
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.cart-toast__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.cart-toast--error {
  border-color: rgba(180, 28, 28, 0.2);
}

.cart-toast--error .cart-toast__mark {
  background: #b91c1c;
}

.cart-toast--error p {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.cart-toast--info .cart-toast__mark {
  background: #222;
}

.cart-toast strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
}

.cart-toast p {
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--muted);
}

.product-visual {
  overflow: hidden;
}

.product-slider {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.product-slider > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  will-change: transform, opacity;
  transition:
    opacity 260ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-slider > img.is-gallery-leaving {
  opacity: 0;
  transform: translateX(var(--gallery-slide-exit, -20px)) scale(0.985);
}

.product-slider > img.is-gallery-entering {
  opacity: 0;
  transform: translateX(var(--gallery-slide-enter, 20px)) scale(0.985);
}

.gallery-nav {
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-nav--prev {
  left: 14px;
}

.gallery-nav--next {
  right: 14px;
}

.gallery-count {
  right: 14px;
  bottom: 14px;
  padding: 7px 11px;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, 76px);
  justify-content: start;
  gap: 10px;
  margin-top: 14px;
}

.product-thumb {
  overflow: hidden;
  width: 76px;
  height: 76px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #fff;
  opacity: 0.78;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.product-thumb:hover,
.product-thumb:focus-visible,
.product-thumb.is-active {
  border-color: #000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  opacity: 1;
  transform: translateY(-1px);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.product-price {
  margin: 18px 0;
  font-size: 22px;
  font-weight: 800;
}

.detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.product-options {
  display: grid;
  gap: 18px;
  margin: 0 0 28px;
}

.product-option-group {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.product-option-group legend {
  margin: 0;
  color: #000;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.product-option:hover,
.product-option:focus-visible,
.product-option.is-selected {
  color: #000;
  border-color: #000;
  background: var(--surface);
  transform: translateY(-1px);
}

.product-option.is-selected {
  background: #000;
  color: #fff;
}

.product-option__swatch {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 50%;
  background: var(--product-option-swatch, #ececec);
}

.product-option--color.is-selected .product-option__swatch {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.22);
}

.product-option-group.is-invalid legend {
  color: #b91c1c;
}

.product-option-group.is-invalid .product-option {
  border-color: rgba(185, 28, 28, 0.34);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.06);
}

.catalog-grid--compact {
  margin-top: 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

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

@media (min-width: 860px) {
  .hero-grid,
  .tailoring-layout {
    grid-template-columns: minmax(0, 1fr) minmax(520px, 1.02fr);
    align-items: start;
  }

  .split-block,
  .request-layout,
  .product-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .section-head,
  .partnership {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }

  .footer-main {
    grid-column: 1;
  }

  .footer-docs {
    grid-column: 2;
    justify-self: start;
  }

  .footer-contacts {
    grid-column: 3;
  }

  .footer-actions {
    grid-column: 4;
  }

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

  .mobile-cta {
    display: none;
  }
}

@media (max-width: 1180px) and (min-width: 860px) {
  .site-nav {
    display: none;
  }

  .header-search {
    width: min(440px, calc(100vw - 460px));
    min-width: 300px;
  }

  .header-search-shell.is-open .header-search-toggle {
    transform: translateX(var(--header-search-toggle-shift, 0px));
  }

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

@media (max-width: 1040px) and (min-width: 860px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.document-page {
  background: #fff;
}

.document-hero {
  padding-top: 72px;
  padding-bottom: 44px;
}

.document-head {
  grid-template-columns: 1fr;
  margin-bottom: 0;
}

.document-layout {
  width: min(calc(100% - 32px), var(--container));
}

.document-content {
  padding-top: 24px;
}

.document-head h1,
.document-card h2 {
  margin: 0;
  letter-spacing: -0.05em;
}

.document-head h1 {
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.96;
}

.document-head .section-text {
  max-width: 560px;
  margin: 22px 0 0;
}

.document-card {
  max-width: 1060px;
  padding: 0;
  border: 0;
  background: #fff;
}

.document-card h2 {
  margin-bottom: 28px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1;
}

.document-card section {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.document-card h3 {
  margin: 0 0 18px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.document-card h4 {
  margin: 22px 0 10px;
  font-size: 17px;
  line-height: 1.4;
}

.document-card p,
.document-card li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.82;
}

.document-card p {
  margin: 0 0 16px;
}

.document-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding-left: 22px;
}

.document-card a {
  color: #000;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.document-card .button {
  text-decoration: none;
}

.document-card .button--primary {
  color: #fff;
}

.document-card .button--ghost {
  color: #000;
}

.document-actions {
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 24px;
}

.error-page-body {
  min-height: 100vh;
  background: var(--surface);
}

.error-page {
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.96), transparent 34%),
    var(--surface);
}

.error-hero {
  display: grid;
  min-height: calc(100svh - var(--header-height));
  padding: 56px 0;
}

.error-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
}

.error-copy {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: clamp(34px, 5vw, 66px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.error-code {
  margin: 0;
  color: #000;
  font-size: clamp(104px, 16vw, 210px);
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 0.72;
}

.error-copy h1 {
  max-width: 620px;
  margin: 34px 0 0;
  font-size: clamp(38px, 5.8vw, 76px);
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.error-text {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.error-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.error-links a:hover,
.error-links a:focus-visible {
  color: #000;
  transform: translateY(-1px);
}

.error-visual {
  position: relative;
  width: min(100%, 460px);
  margin: 0 auto;
}

.error-visual img {
  width: 100%;
  min-height: 570px;
  max-height: 720px;
  object-fit: cover;
  object-position: center 22%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.error-visual__note {
  position: absolute;
  right: -24px;
  bottom: 30px;
  display: grid;
  gap: 5px;
  width: min(82%, 280px);
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.09);
  backdrop-filter: blur(12px);
}

.error-visual__note span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.error-visual__note strong {
  font-size: 15px;
  line-height: 1.35;
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  flex-wrap: wrap;
  text-align: center;
}

.footer-bottom > div {
  width: min(calc(100% - 32px), var(--container));
  margin-right: auto;
  margin-left: auto;
}

.checkout-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #fff 0%, #f7f7f7 42%, #fff 100%);
}

.checkout-page .reveal {
  opacity: 1;
  transform: none;
}

.checkout-hero {
  padding-top: 60px;
  padding-bottom: 28px;
}

.checkout-title {
  max-width: 760px;
}

.checkout-title h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.checkout-title .section-text {
  max-width: 640px;
  margin: 22px 0 0;
}

.checkout-content {
  padding-top: 22px;
}

.checkout-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

.checkout-form,
.checkout-summary {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.checkout-form {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.checkout-block {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 4vw, 36px);
}

.checkout-block + .checkout-block {
  border-top: 1px solid var(--line);
}

.checkout-block__head,
.checkout-summary__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.checkout-block__head {
  justify-content: flex-start;
}

.checkout-block__head > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.checkout-block h2,
.checkout-summary h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.checkout-fields {
  display: grid;
  gap: 16px;
}

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

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

.checkout-fields label,
.checkout-block > label {
  display: grid;
  gap: 8px;
}

.checkout-fields span,
.checkout-block > label > span,
.checkout-options legend {
  color: #000;
  font-size: 14px;
  font-weight: 800;
}

.checkout-fields input,
.checkout-block textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  color: #000;
  padding: 0 14px;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.checkout-block textarea {
  min-height: 118px;
  padding: 14px;
  resize: vertical;
}

.checkout-fields input:focus,
.checkout-block textarea:focus {
  border-color: #000;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}

.checkout-fields input.is-invalid,
.checkout-block textarea.is-invalid,
.checkout-consent input.is-invalid {
  border-color: #b91c1c;
  box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.08);
}

.checkout-select {
  position: relative;
}

.checkout-select__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  color: #000;
  text-align: left;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.checkout-select__button::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 180ms ease;
}

.checkout-select.is-open .checkout-select__button,
.checkout-select__button:focus-visible {
  border-color: #000;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}

.checkout-select.is-open .checkout-select__button::after {
  transform: rotate(225deg) translate(-2px, -1px);
}

.checkout-select__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 12;
  display: grid;
  gap: 4px;
  width: auto;
  min-width: 100%;
  max-width: none;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 160ms ease,
    transform 180ms ease;
}

.checkout-select.is-open .checkout-select__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.checkout-select__menu button {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  color: #000;
  text-align: left;
  font-weight: 700;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.checkout-select__menu button:hover,
.checkout-select__menu button:focus-visible,
.checkout-select__menu button[aria-selected="true"] {
  background: #000;
  color: #fff;
}

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

.checkout-options legend {
  margin-bottom: 4px;
}

.checkout-option {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.checkout-option:hover,
.checkout-option:has(input:checked) {
  background: #fafafa;
  box-shadow: none;
}

.checkout-option:hover {
  border-color: rgba(0, 0, 0, 0.28);
}

.checkout-option:has(input:checked) {
  border-color: rgba(0, 0, 0, 0.42);
  background: #f7f7f7;
}

.checkout-option--mono {
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 72px;
  border-color: #dfe3e8;
  border-radius: 16px;
  background: #fff;
}

.checkout-option--mono:hover,
.checkout-option--mono:has(input:checked) {
  border-color: #d7dde3;
  background: #fff;
}

.checkout-option input {
  margin-top: 4px;
}

.checkout-option--mono input {
  margin-top: 0;
  accent-color: #111;
}

.checkout-option span {
  display: grid;
  gap: 5px;
}

.checkout-option strong {
  font-size: 15px;
  line-height: 1.35;
}

.checkout-option small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.checkout-option .checkout-payment-label {
  display: grid;
  align-content: center;
}

.checkout-option .checkout-payment-logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 300px;
  align-self: center;
  line-height: 0;
}

.checkout-payment-logos img {
  display: block;
  width: auto;
  max-width: 145px;
  height: 56px;
  max-height: 56px;
  object-fit: contain;
}

.checkout-consent {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.checkout-consent input {
  appearance: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.checkout-consent input::before {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  opacity: 0;
  transform: rotate(-45deg) translateY(-1px);
}

.checkout-consent input:checked {
  border-color: #000;
  background: #000;
}

.checkout-consent input:checked::before {
  opacity: 1;
}

.checkout-consent input:focus-visible {
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
}

.checkout-consent a,
.checkout-summary__head a,
.checkout-support a {
  color: #000;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.checkout-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 12px;
}

.checkout-actions .button {
  width: 100%;
}

.checkout-summary {
  position: sticky;
  top: calc(var(--header-height) + 22px);
  display: grid;
  gap: 22px;
  padding: clamp(22px, 4vw, 30px);
}

.checkout-summary__head h2 {
  margin-top: -4px;
}

.checkout-summary__head .eyebrow {
  margin-bottom: 10px;
}

.checkout-items {
  display: grid;
  gap: 12px;
  max-height: 390px;
  overflow-y: auto;
  padding-right: 2px;
}

.checkout-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.checkout-item img {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  background: var(--surface);
  object-fit: contain;
}

.checkout-item__body {
  min-width: 0;
}

.checkout-item p,
.checkout-item h3,
.checkout-item span,
.checkout-item strong {
  margin: 0;
}

.checkout-item p,
.checkout-item span {
  color: var(--muted);
  font-size: 12px;
}

.checkout-item h3 {
  margin: 3px 0 5px;
  font-size: 14px;
  line-height: 1.3;
}

.checkout-item__variant {
  margin-bottom: 5px !important;
  color: #333 !important;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.35;
}

.checkout-item strong {
  white-space: nowrap;
  font-size: 14px;
}

.checkout-totals {
  display: grid;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.checkout-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.checkout-totals strong {
  color: #000;
}

.checkout-totals__final {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: #000 !important;
  font-size: 20px;
  font-weight: 800;
}

.checkout-note {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  background: #f8f8f8;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.checkout-support {
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.checkout-support h3 {
  margin: 0 0 3px;
  font-size: 17px;
}

.checkout-support p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.checkout-result {
  padding: 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.55;
}

.checkout-result strong,
.checkout-result p {
  margin: 0;
}

.checkout-result p {
  margin-top: 6px;
}

.checkout-result--success {
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #f4f4f4;
}

.checkout-result--error {
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #fff4f4;
}

.checkout-result--info {
  border: 1px solid var(--line);
  background: #f8f8f8;
}

.checkout-result__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.checkout-result__email {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  color: var(--muted);
  font-weight: 800;
}

.checkout-empty {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 22px;
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
}

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

.checkout-empty p {
  color: var(--muted);
}

@media (min-width: 960px) {
  .document-head {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 980px) {
  .checkout-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.56fr);
  }
}

@media (max-width: 859px) {
  :root {
    --header-height: 64px;
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-header {
    height: var(--header-height);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    background: #000;
    backdrop-filter: none;
  }

  .site-header.search-is-open {
    height: calc(var(--header-height) + 64px);
    background: #000;
  }

  .site-header.mobile-menu-is-open {
    z-index: 70;
  }

  .header-inner {
    gap: 10px;
    min-height: var(--header-height);
  }

  .brand-mark {
    min-width: 0;
    gap: 8px;
  }

  .brand-mark__circle {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-mark__text {
    max-width: 84px;
    overflow: hidden;
    font-size: 10px;
    letter-spacing: 0.22em;
    line-height: 1.2;
    text-overflow: ellipsis;
  }

  .header-actions {
    flex: 0 0 auto;
    gap: 8px;
    margin-left: auto;
  }

  .header-search-shell {
    order: 0;
    margin-left: 0;
    position: relative;
  }

  .header-search-toggle {
    width: 42px;
    height: 42px;
  }

  .header-search-toggle__icon {
    width: 20px;
    height: 20px;
  }

  .mobile-menu-toggle {
    position: relative;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition:
      border-color 180ms ease,
      background-color 180ms ease,
      transform 180ms ease;
  }

  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:focus-visible,
  .mobile-menu-toggle[aria-expanded="true"] {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.14);
  }

  .mobile-menu-toggle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.72);
    outline-offset: 3px;
  }

  .mobile-menu-toggle__icon {
    position: relative;
    display: grid;
    gap: 4px;
    width: 19px;
  }

  .mobile-menu-toggle__icon span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition:
      opacity 180ms ease,
      transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__icon span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.4);
  }

  .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__icon span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  .mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 220ms ease;
  }

  .mobile-menu.is-open .mobile-menu__overlay {
    opacity: 1;
  }

  .mobile-menu__panel {
    position: relative;
    z-index: 1;
    width: calc(100% - 24px);
    margin: 0 auto;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 0;
    border-radius: 0 0 24px 24px;
    background: #0b0b0b;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    transform: translateY(-18px);
    transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-menu.is-open .mobile-menu__panel {
    transform: translateY(0);
  }

  .mobile-menu__nav {
    display: grid;
  }

  .mobile-menu__nav a {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    transition:
      background-color 180ms ease,
      color 180ms ease,
      padding-left 180ms ease;
  }

  .mobile-menu__nav a:hover,
  .mobile-menu__nav a:focus-visible {
    padding-left: 18px;
    background: rgba(255, 255, 255, 0.08);
  }

  .mobile-menu__nav .mobile-menu__request {
    justify-content: center;
    min-height: 50px;
    margin-top: 12px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #000;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
  }

  .mobile-menu__nav .mobile-menu__request:hover,
  .mobile-menu__nav .mobile-menu__request:focus-visible {
    padding-left: 14px;
    background: #f0f0f0;
  }

  .header-search {
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    width: auto;
    min-width: 0;
    min-height: 48px;
    padding: 0 6px 0 16px;
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(24, 24, 24, 0.98);
    box-shadow: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: center top;
  }

  .header-search-shell.is-open .header-search-toggle {
    transform: none;
  }

  .site-header.search-is-open .header-search {
    transform: translateY(0) scale(1);
  }

  .header-search__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    padding: 0;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .header-search input {
    height: 46px;
    font-size: 15px;
  }

  .header-search__clear {
    width: 32px;
    height: 32px;
  }

  .site-header .button {
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }

  .site-header .button--primary {
    max-width: 128px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-actions .button--primary {
    display: none;
  }

  .site-nav,
  .header-actions .button--ghost:not(.cart-button) {
    display: none;
  }

  .section {
    padding: 52px 0;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 54px;
  }

  .eyebrow {
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: 0.22em;
  }

  .hero .eyebrow {
    max-width: 100%;
    margin-bottom: 16px;
    overflow-wrap: anywhere;
  }

  .hero-copy h1 {
    font-size: clamp(50px, 17vw, 66px);
    letter-spacing: -0.06em;
  }

  .hero-subtitle {
    margin-top: 16px;
    font-size: 24px;
    line-height: 1.12;
  }

  .hero-text,
  .section-text,
  .product-note,
  .footer-link {
    font-size: 14px;
    line-height: 1.62;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .button {
    min-height: 46px;
    padding: 0 18px;
    font-size: 14px;
  }

  .hero-copy,
  .tailoring-copy {
    max-width: none;
    padding-top: 0;
  }

  .hero-visual {
    display: none;
  }

  .hero-points {
    gap: 14px;
    margin-top: 28px;
  }

  .hero-points li {
    padding-left: 22px;
    font-size: 15px;
    line-height: 1.4;
  }

  .hero-points li::before {
    top: 9px;
    width: 7px;
    height: 7px;
  }

  .section-head h2,
  .tailoring-copy h2,
  .split-card h2,
  .request-copy h2,
  .footer-grid h2 {
    font-size: clamp(30px, 10vw, 40px);
    line-height: 1.03;
  }

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

  .catalog-grid,
  .catalog-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .catalog-card {
    min-height: 0;
    gap: 9px;
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.035);
  }

  .catalog-card__media {
    border-radius: 12px;
  }

  .catalog-card__badge {
    top: 8px;
    left: 8px;
    min-height: 24px;
    padding: 0 8px;
    font-size: 9px;
    letter-spacing: 0.06em;
  }

  .catalog-card__body {
    grid-template-rows: 24px minmax(48px, auto) 18px 22px;
    gap: 5px;
    padding: 3px 3px 5px;
  }

  .catalog-card__label {
    min-height: 24px;
    padding: 0 8px;
    font-size: 11px;
  }

  .catalog-card h3 {
    font-size: 14px;
    line-height: 1.16;
  }

  .catalog-card__category {
    font-size: 12px;
  }

  .catalog-card__price {
    font-size: 13px;
  }

  .filter-bar {
    flex-wrap: nowrap;
    gap: 8px;
    margin-right: -12px;
    margin-left: -12px;
    padding: 0 12px 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    min-height: 38px;
    flex: 0 0 auto;
    padding: 0 13px;
    font-size: 13px;
  }

  .catalog-empty {
    min-height: 220px;
    padding: 26px 18px;
  }

  #tailoring {
    padding-top: 42px;
    padding-bottom: 96px;
  }

  .tailoring-layout {
    gap: 26px;
  }

  .tailoring-copy .eyebrow {
    margin-bottom: 10px;
  }

  .tailoring-copy .section-text {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.58;
  }

  .tailoring-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    margin-top: 18px;
  }

  .tailoring-list li {
    min-width: 0;
    padding-left: 18px;
    color: #4f4f4f;
    font-size: 15px;
    line-height: 1.32;
  }

  .tailoring-list li::before {
    top: 8px;
    width: 7px;
    height: 7px;
  }

  .tailoring-list li:last-child {
    grid-column: 1 / -1;
  }

  .tailoring-copy .button {
    width: 100%;
    margin-top: 24px;
  }

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

  .gallery-card {
    display: grid;
    grid-template-rows: minmax(138px, 1fr) auto;
    min-height: 214px;
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.045);
  }

  .gallery-card img {
    width: 100%;
    height: 100%;
    min-height: 138px;
    aspect-ratio: auto;
    padding: 14px 12px 6px;
    object-fit: contain;
  }

  .gallery-card__caption {
    display: flex;
    align-items: flex-end;
    min-height: 58px;
    padding: 4px 14px 16px;
    font-size: 18px;
    line-height: 1.08;
  }

  .reason-card,
  .split-card,
  .request-form,
  .product-panel,
  .product-visual,
  .partnership {
    padding: 18px;
  }

  .product-options {
    gap: 14px;
    margin-bottom: 22px;
  }

  .product-option-list {
    gap: 8px;
  }

  .product-option {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .footer-actions,
  .product-actions,
  .hero-actions,
  .form-result-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer .footer-actions {
    align-items: flex-start;
  }

  .footer-docs,
  .footer-doc-list {
    justify-items: start;
    text-align: left;
  }

  .footer .button {
    width: auto;
  }

  .document-hero {
    padding-top: 34px;
    padding-bottom: 18px;
  }

  .document-content {
    padding-top: 4px;
  }

  .document-layout {
    width: min(calc(100% - 24px), var(--container));
  }

  .document-head h1 {
    font-size: clamp(38px, 13vw, 52px);
    line-height: 0.98;
  }

  .document-head .section-text {
    max-width: none;
    margin-top: 16px;
  }

  .document-card h2 {
    margin-bottom: 18px;
    font-size: clamp(30px, 10vw, 40px);
  }

  .document-card h3 {
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 1.12;
  }

  .document-card p,
  .document-card li {
    font-size: 15px;
    line-height: 1.58;
  }

  .document-card section {
    margin-top: 26px !important;
    padding-top: 22px;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 26px;
  }

  .contact-block {
    min-width: 0;
    padding: 18px;
    border-radius: 16px;
  }

  .contact-block h3 {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.15;
  }

  .contact-block p,
  .contact-block a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .contact-block p {
    font-size: 15px;
    line-height: 1.55;
  }

  .back-link {
    margin-bottom: 14px;
    font-size: 14px;
  }

  .mobile-cta {
    left: 12px;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    gap: 8px;
    padding: 6px;
  }

  .mobile-cta .button {
    min-height: 44px;
    padding: 0 12px;
  }

  .cart-drawer {
    top: auto;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: 8px;
    width: auto;
    max-height: min(78dvh, 620px);
    padding: 18px 16px;
    border-radius: 22px;
    transform: translateY(calc(100% + 18px));
  }

  .cart-is-open .cart-drawer {
    transform: translateY(0);
  }

  .cart-drawer__head {
    gap: 12px;
    padding-bottom: 16px;
  }

  .cart-drawer__head h2 {
    font-size: 30px;
  }

  .cart-drawer__close {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .cart-drawer__items {
    gap: 10px;
    max-height: calc(78dvh - 250px);
    padding: 14px 1px;
  }

  .cart-empty {
    min-height: 170px;
    padding: 18px;
    border-radius: 16px;
  }

  .cart-empty h3,
  .cart-item h3 {
    font-size: 18px;
  }

  .cart-empty p,
  .cart-drawer__footer p {
    font-size: 14px;
    line-height: 1.45;
  }

  .cart-drawer__footer {
    gap: 12px;
    padding-top: 14px;
  }

  .cart-drawer__actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cart-drawer__actions .button {
    min-height: 46px;
  }

  .cart-toast {
    right: 12px;
    bottom: 78px;
    width: min(calc(100vw - 24px), 360px);
  }

  .footer {
    padding-bottom: 96px;
  }

  .checkout-hero {
    padding-top: 36px;
    padding-bottom: 18px;
  }

  .checkout-title h1 {
    font-size: clamp(34px, 12vw, 48px);
    line-height: 1;
  }

  .checkout-title .section-text {
    margin-top: 16px;
  }

  .checkout-content {
    padding-top: 12px;
  }

  .checkout-layout {
    gap: 16px;
  }

  .checkout-form,
  .checkout-summary {
    border-radius: 20px;
  }

  .checkout-block {
    gap: 16px;
    padding: 18px;
  }

  .checkout-block__head,
  .checkout-summary__head {
    gap: 12px;
  }

  .checkout-block__head > span {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: 12px;
  }

  .checkout-block h2,
  .checkout-summary h2 {
    font-size: 24px;
  }

  .checkout-fields {
    gap: 12px;
  }

  .checkout-fields input,
  .checkout-block textarea,
  .checkout-select__button {
    min-height: 48px;
    border-radius: 12px;
    font-size: 14px;
  }

  .checkout-block textarea {
    min-height: 104px;
  }

  .checkout-option {
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
  }

  .checkout-option strong {
    font-size: 14px;
  }

  .checkout-option small {
    font-size: 12px;
  }

  .checkout-fields--two,
  .checkout-actions {
    grid-template-columns: 1fr;
  }

  .checkout-option--mono {
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .checkout-option .checkout-payment-logos {
    grid-column: 2;
    justify-content: flex-start;
    min-width: 0;
    gap: 8px;
  }

  .checkout-payment-logos img {
    max-width: 112px;
    height: 42px;
  }

  .checkout-summary {
    position: static;
    gap: 16px;
    padding: 18px;
  }

  .checkout-item {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 10px;
    padding: 8px;
    border-radius: 14px;
  }

  .checkout-item img {
    width: 62px;
    height: 62px;
    border-radius: 12px;
  }

  .checkout-item strong {
    grid-column: 2;
  }
}

@media (max-width: 370px) {
  .brand-mark__text {
    display: none;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand-mark__circle {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand-mark__text {
    max-width: 76px;
    font-size: 9px;
    letter-spacing: 0.2em;
  }

  .header-actions {
    gap: 6px;
  }

  .site-header .cart-button {
    min-width: 84px;
    padding: 0 14px;
  }

  .hero-copy h1 {
    font-size: clamp(48px, 18vw, 62px);
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .tailoring-list {
    gap: 10px 12px;
  }

  .tailoring-list li {
    font-size: 14px;
  }

  .tailoring-gallery {
    gap: 10px;
  }

  .gallery-card {
    min-height: 196px;
  }

  .gallery-card img {
    min-height: 124px;
    padding: 12px 10px 4px;
  }

  .gallery-card__caption {
    min-height: 56px;
    padding: 4px 12px 14px;
    font-size: 17px;
  }
}

@media (max-width: 380px) {
  .brand-mark__text {
    display: none;
  }

  .site-header .button {
    padding: 0 12px;
  }

  .catalog-grid,
  .catalog-grid--compact {
    gap: 8px;
  }

  .catalog-card h3 {
    font-size: 13px;
  }
}

@media (max-width: 980px) {
  .error-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.64fr);
    gap: 24px;
  }

  .error-visual__note {
    right: -10px;
  }
}

@media (max-width: 859px) {
  .error-hero {
    min-height: auto;
    padding: 24px 0 52px;
  }

  .error-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .error-copy {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .error-code {
    font-size: clamp(94px, 35vw, 150px);
  }

  .error-copy h1 {
    margin-top: 24px;
    font-size: clamp(36px, 12vw, 50px);
  }

  .error-text {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.62;
  }

  .error-actions {
    display: grid;
    margin-top: 24px;
  }

  .error-actions .button {
    width: 100%;
  }

  .error-links {
    display: grid;
    gap: 12px;
    margin-top: 26px;
    padding-top: 20px;
  }

  .error-visual {
    width: 100%;
  }

  .error-visual img {
    min-height: 340px;
    max-height: 460px;
    object-position: center 20%;
    border-radius: 22px;
  }

  .error-visual__note {
    right: 12px;
    bottom: 12px;
    width: min(calc(100% - 24px), 280px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Multi-page storefront */

.site-nav a[aria-current="page"] {
  color: #fff;
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 4px;
  left: 10px;
  height: 1px;
  background: #fff;
}

.site-nav a {
  position: relative;
}

.header-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.header-account:hover,
.header-account:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.header-account__icon {
  position: relative;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  border: 1.6px solid currentColor;
  border-radius: 50%;
}

.header-account__icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -5px;
  left: -4px;
  height: 8px;
  border: 1.6px solid currentColor;
  border-top: 0;
  border-radius: 0 0 10px 10px;
}

.mobile-menu__nav .mobile-menu__account {
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.inner-page {
  min-height: 70vh;
}

.home-hero {
  padding: 48px 0 84px;
  background:
    radial-gradient(circle at 12% 10%, #fff 0, transparent 34%),
    var(--surface);
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(430px, 0.78fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}

.home-hero__copy h1,
.page-hero h1,
.request-page__hero h1,
.dashboard-hero h1,
.admin-hero h1,
.auth-copy h1 {
  margin: 0;
  font-size: clamp(48px, 7.2vw, 96px);
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.home-hero__lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.home-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 44px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.home-facts div {
  display: grid;
  gap: 6px;
}

.home-facts dt {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.home-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.home-hero__visual {
  position: relative;
  width: min(100%, 500px);
  margin-left: auto;
}

.home-hero__visual img {
  width: 100%;
  max-height: 690px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.home-hero__stamp {
  position: absolute;
  right: -24px;
  bottom: 32px;
  display: grid;
  gap: 5px;
  width: min(82%, 310px);
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.1);
}

.home-hero__stamp span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.home-hero__stamp strong {
  font-size: 16px;
  line-height: 1.35;
}

.home-directions,
.service-grid,
.value-grid,
.process-grid {
  display: grid;
  gap: 18px;
}

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

.home-direction {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.home-direction:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.home-direction--dark {
  background: #000;
  color: #fff;
}

.home-direction > span,
.service-grid article > span,
.process-grid li > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.home-direction--dark > span,
.home-direction--dark p {
  color: rgba(255, 255, 255, 0.62);
}

.home-direction h3,
.service-grid h3,
.value-grid h3,
.process-grid h3 {
  margin: auto 0 14px;
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.home-direction p,
.service-grid p,
.value-grid p,
.process-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.home-direction strong {
  margin-top: 22px;
  font-size: 13px;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-grid li {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 24px;
  border-top: 1px solid #000;
}

.process-grid h3 {
  margin-top: auto;
}

.home-cta__card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(28px, 5vw, 58px);
  border-radius: var(--radius-xl);
  background: #000;
  color: #fff;
}

.home-cta__card h2,
.about-story h2,
.tailoring-details h2,
.request-sidebar h2,
.admin-toolbar h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.home-cta__card .section-text,
.home-cta__card .eyebrow {
  color: rgba(255, 255, 255, 0.64);
}

.home-cta__card .button--primary {
  flex: 0 0 auto;
  border-color: #fff;
  background: #fff;
  color: #000;
}

.page-hero {
  padding-top: 70px;
  padding-bottom: 64px;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
}

.page-hero .section-text,
.request-page__hero .section-text {
  max-width: 680px;
  margin-top: 24px;
  font-size: 18px;
}

.page-hero__aside {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: #000;
  color: #fff;
  text-align: center;
}

.page-hero__aside strong {
  font-size: clamp(70px, 10vw, 126px);
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.page-hero__aside span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.page-hero__image {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.catalog-page-section {
  padding-top: 18px;
}

.catalog-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 14px;
}

.catalog-status p {
  margin: 0;
}

.catalog-loading {
  grid-column: 1 / -1;
  min-height: 260px;
  display: grid;
  place-items: center;
  color: var(--muted);
}

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

.service-grid article,
.value-grid article {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.tailoring-details,
.about-story {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(36px, 8vw, 120px);
  align-items: start;
}

.material-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.material-list span {
  padding: 13px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
}

.about-story > div:last-child p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.8;
}

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

.value-grid article h3 {
  margin-top: auto;
}

.request-page {
  background: linear-gradient(180deg, var(--surface) 0, #fff 28%);
}

.request-page__hero {
  padding-bottom: 44px;
}

.request-note {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.request-note > span {
  font-weight: 800;
}

.request-note ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.request-page__content {
  padding-top: 20px;
}

.request-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 28px;
  align-items: start;
}

.request-form--detailed {
  display: grid;
  gap: 18px;
  padding: 0;
  border: 0;
}

.form-section {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.form-section__head {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.form-section__head > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.form-section h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.form-section__head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

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

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

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

.auth-form input,
.admin-form input:not([type="checkbox"]):not([type="file"]):not([type="hidden"]),
.admin-form textarea,
.admin-form select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  outline: 0;
  background: #fff;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.admin-form input:not([type="checkbox"]):not([type="file"]):not([type="hidden"]):focus,
.admin-form textarea:focus,
.admin-form select:focus {
  border-color: #000;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.admin-form input[type="file"] {
  width: 100%;
  padding: 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--muted);
}

.admin-form input[type="file"]::file-selector-button {
  min-height: 38px;
  margin-right: 12px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.admin-form textarea {
  min-height: 110px;
  padding-top: 14px;
  resize: vertical;
}

.admin-control {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.admin-site-select .site-select__button {
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
}

.admin-site-select .site-select__menu {
  max-height: 285px;
  border-radius: 16px;
}

.admin-number {
  position: relative;
  min-width: 0;
}

.admin-number input {
  appearance: textfield;
  padding-right: 52px;
}

.admin-number input::-webkit-inner-spin-button,
.admin-number input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.admin-number__buttons {
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  width: 42px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  border-radius: 0 13px 13px 0;
}

.admin-number__buttons button {
  display: grid;
  place-items: center;
  min-height: 0;
  color: #000;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.admin-number__buttons button::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(2px) rotate(45deg);
}

.admin-number__buttons button:last-child::before {
  transform: translateY(-2px) rotate(225deg);
}

.admin-number__buttons button + button {
  border-top: 1px solid var(--line);
}

.admin-number__buttons button:hover,
.admin-number__buttons button:focus-visible {
  background: #000;
  color: #fff;
}

.file-drop {
  display: grid;
  place-items: center;
  min-height: 170px;
  margin-bottom: 16px;
  padding: 24px;
  border: 1px dashed rgba(0, 0, 0, 0.28);
  border-radius: 18px;
  background: var(--surface);
  text-align: center;
  cursor: pointer;
}

.file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.file-drop__title {
  font-size: 18px;
  font-weight: 800;
}

.file-drop__hint {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.file-preview {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.file-preview__item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 13px;
  border-radius: 12px;
  background: var(--surface);
  font-size: 13px;
}

.file-preview__item small {
  color: var(--muted);
}

.request-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 14px;
}

.request-sidebar__card,
.request-sidebar__contact {
  padding: 26px;
  border-radius: var(--radius-lg);
}

.request-sidebar__card {
  background: #000;
  color: #fff;
}

.request-sidebar__card .eyebrow {
  color: rgba(255, 255, 255, 0.56);
}

.request-sidebar__card ol {
  display: grid;
  gap: 16px;
  margin: 26px 0 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.request-sidebar__contact {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
}

.request-sidebar__contact span {
  color: var(--muted);
  font-size: 13px;
}

.request-sidebar__contact a {
  font-weight: 800;
}

.form-result--success {
  color: #146c43;
}

.form-result--error,
.auth-result {
  color: #a81818;
}

.auth-page {
  display: grid;
  min-height: calc(100svh - var(--header-height));
  place-items: center;
  padding: 56px 16px;
  background: var(--surface);
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.56fr);
  width: min(100%, 1080px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow);
}

.auth-copy,
.auth-card {
  padding: clamp(34px, 6vw, 70px);
}

.auth-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 600px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.88)),
    url("assets/images/gallery-detail.jpg") center / cover;
  color: #fff;
}

.auth-copy .eyebrow,
.auth-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.auth-copy h1 {
  font-size: clamp(44px, 6vw, 76px);
}

.auth-copy p {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.7;
}

.auth-card {
  align-self: center;
}

.auth-card h2 {
  margin: 0 0 28px;
  font-size: 36px;
  letter-spacing: -0.04em;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-form label,
.admin-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.auth-form small {
  color: var(--muted);
  font-weight: 400;
}

.auth-result {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff0f0;
}

.auth-switch {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.auth-switch a {
  color: #000;
  font-weight: 800;
  text-decoration: underline;
}

.dashboard-page,
.admin-page {
  min-height: calc(100svh - var(--header-height));
  background: var(--surface);
}

.dashboard-hero,
.admin-hero {
  padding-bottom: 34px;
}

.dashboard-hero h1,
.admin-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
}

.dashboard-hero__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.dashboard-content,
.admin-content {
  padding-top: 0;
}

.dashboard-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.dashboard-tabs button {
  min-height: 42px;
  flex: 0 0 auto;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
}

.dashboard-tabs button.is-active {
  background: #000;
  color: #fff;
}

.order-list {
  display: grid;
  gap: 14px;
}

.order-card,
.dashboard-empty {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.order-card__head,
.order-card__total {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.order-card__head span {
  color: var(--muted);
  font-size: 12px;
}

.order-card h3 {
  margin: 6px 0 0;
  font-size: 22px;
}

.order-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.order-card li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.order-card p {
  color: var(--muted);
  line-height: 1.6;
}

.status-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #eeeeee;
  color: #333 !important;
  font-size: 11px !important;
  font-weight: 800;
}

.status-badge--completed {
  background: #dcfce7;
  color: #166534 !important;
}

.status-badge--cancelled {
  background: #fee2e2;
  color: #991b1b !important;
}

.status-badge--production,
.status-badge--calculation {
  background: #fef3c7;
  color: #92400e !important;
}

.dashboard-empty {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.dashboard-empty h3 {
  margin: 0;
  font-size: 28px;
}

.dashboard-empty p {
  color: var(--muted);
}

.admin-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.admin-toolbar h2 {
  font-size: 40px;
}

.admin-toolbar p {
  margin: 8px 0 0;
  color: var(--muted);
}

.admin-products {
  display: grid;
  gap: 12px;
}

.admin-product {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.admin-product img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 13px;
  background: var(--surface);
}

.admin-product h3 {
  margin: 5px 0;
  font-size: 19px;
}

.admin-product p,
.admin-product span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.admin-product__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-danger {
  color: #a81818;
  font-size: 12px;
  font-weight: 800;
}

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

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.admin-modal__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(5px);
}

.admin-modal__card {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  max-height: calc(100svh - 40px);
  padding: 0;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.26);
  scrollbar-gutter: stable;
}

.admin-modal__head {
  position: sticky;
  top: 0;
  z-index: 24;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 26px 28px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.admin-modal__head h2 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.admin-modal__head > button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: var(--surface);
  font-size: 26px;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.admin-modal__head > button:hover,
.admin-modal__head > button:focus-visible {
  background: #000;
  color: #fff;
  transform: rotate(5deg);
}

.admin-form {
  padding: 24px 28px 28px;
}

.admin-checks,
.admin-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 20px;
}

.admin-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
}

.admin-checks input {
  appearance: none;
  display: grid;
  place-items: center;
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
}

.admin-checks input::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  opacity: 0;
  transform: rotate(-45deg) translateY(-1px);
}

.admin-checks input:checked {
  border-color: #000;
  background: #000;
}

.admin-checks input:checked::before {
  opacity: 1;
}

.admin-form__label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

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

.admin-image-list > p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-image-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface);
}

.admin-image-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.admin-image-item button {
  position: absolute;
  right: 6px;
  bottom: 6px;
  left: 6px;
  min-height: 30px;
  padding: 0 8px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

body.admin-modal-open {
  overflow: hidden;
}

.admin-status-select {
  width: min(100%, 210px);
  flex: 0 0 210px;
}

.admin-status-select .site-select__button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.admin-status-select .site-select__menu {
  right: 0;
  left: auto;
  width: 210px;
  max-height: none;
  border-radius: 16px;
}

.admin-status-select .site-select__menu button {
  min-height: 36px;
  font-size: 12px;
}

@media (max-width: 1180px) and (min-width: 860px) {
  .site-nav {
    gap: 4px;
  }

  .site-nav a {
    padding: 0 6px;
    font-size: 13px;
  }

  .header-account__label {
    display: none;
  }

  .header-account {
    width: 50px;
    padding: 0;
  }

  .home-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.68fr);
  }
}

@media (max-width: 859px) {
  .header-account {
    width: 42px;
    min-height: 42px;
    padding: 0;
  }

  .header-account__label {
    display: none;
  }

  .site-header .header-actions {
    gap: 6px;
  }

  .site-header .cart-button {
    min-width: 78px;
  }

  .home-hero {
    padding: 28px 0 54px;
  }

  .home-hero__grid,
  .page-hero__grid,
  .request-page__layout,
  .tailoring-details,
  .about-story {
    grid-template-columns: 1fr;
  }

  .home-hero__copy h1,
  .page-hero h1,
  .request-page__hero h1,
  .auth-copy h1 {
    font-size: clamp(42px, 14vw, 58px);
  }

  .home-hero__lead,
  .page-hero .section-text,
  .request-page__hero .section-text {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.62;
  }

  .home-hero__actions {
    display: grid;
    margin-top: 24px;
  }

  .home-hero__actions .button {
    width: 100%;
  }

  .home-facts {
    gap: 10px;
    margin-top: 30px;
  }

  .home-facts dt {
    font-size: 22px;
  }

  .home-facts dd {
    font-size: 10px;
  }

  .home-hero__visual {
    width: 100%;
    margin-top: 6px;
  }

  .home-hero__visual img {
    max-height: 470px;
  }

  .home-hero__stamp {
    right: 12px;
    bottom: 12px;
  }

  .home-directions,
  .service-grid,
  .value-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .home-direction {
    min-height: 290px;
    padding: 22px;
  }

  .service-grid article,
  .value-grid article {
    min-height: 220px;
    padding: 22px;
  }

  .process-grid li {
    min-height: 190px;
    padding: 20px 0;
  }

  .home-cta__card {
    display: grid;
    align-items: start;
    padding: 26px 22px;
  }

  .home-cta__card .button {
    width: 100%;
  }

  .page-hero {
    padding-top: 38px;
    padding-bottom: 36px;
  }

  .page-hero__aside {
    min-height: 180px;
  }

  .page-hero__image {
    max-height: 420px;
  }

  .catalog-page-section {
    padding-top: 4px;
  }

  .about-story > div:last-child p {
    font-size: 16px;
    line-height: 1.68;
  }

  .request-page__hero {
    padding-top: 36px;
    padding-bottom: 24px;
  }

  .request-page__content {
    padding-top: 4px;
  }

  .request-sidebar {
    position: static;
  }

  .form-section {
    padding: 20px 16px;
  }

  .request-form--detailed {
    padding: 0;
  }

  .form-grid--two,
  .form-grid--three {
    grid-template-columns: 1fr;
  }

  .form-field-wide {
    grid-column: auto;
  }

  .file-drop {
    min-height: 140px;
  }

  .auth-page {
    padding: 20px 12px 90px;
  }

  .auth-layout {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .auth-copy {
    min-height: 310px;
    padding: 28px 22px;
  }

  .auth-card {
    padding: 30px 22px;
  }

  .dashboard-hero,
  .admin-hero {
    padding-top: 36px;
  }

  .dashboard-hero__inner,
  .admin-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-hero__inner .button,
  .admin-toolbar .button {
    width: 100%;
  }

  .order-card,
  .dashboard-empty {
    padding: 18px;
  }

  .order-card__head,
  .order-card__total {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-product {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .admin-product img {
    width: 74px;
    height: 74px;
  }

  .admin-product__actions {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .admin-modal {
    padding: 8px;
  }

  .admin-modal__card {
    max-height: calc(100svh - 16px);
    border-radius: 20px;
  }

  .admin-modal__head {
    padding: 20px 16px 16px;
  }

  .admin-form {
    padding: 18px 16px 22px;
  }

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

  .admin-status-select {
    width: 100%;
    flex-basis: 100%;
  }

  .admin-status-select .site-select__menu {
    right: 0;
    left: 0;
    width: auto;
  }

  .footer.section--tight {
    padding-bottom: 96px;
  }
}

@media (max-width: 420px) {
  .site-header .cart-button {
    min-width: 72px;
    padding: 0 10px;
  }

  .header-account {
    width: 40px;
    min-height: 40px;
  }

  .home-facts {
    grid-template-columns: 1fr;
  }

  .home-facts div {
    grid-template-columns: 58px 1fr;
    align-items: center;
  }

  .dashboard-tabs {
    border-radius: 18px;
  }
}
