/* Shared public typography, spacing and controls. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/manrope/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/manrope/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --font-sans: "Manrope", "Segoe UI", Arial, sans-serif;
  --ink: #292a27;
  --muted: #706f68;
  --line: #e6e4dd;
  --content-width: 1260px;
  --page-gutter: 24px;
  --section-space: clamp(48px, 6vw, 80px);
  --page-top: 132px;
  --control-radius: 12px;
  --surface-shadow: 0 8px 28px rgba(40, 37, 29, .05);
}
body, body :is(button, input, select, textarea, h1, h2, h3, h4, .display, .brand-name, .trust-number, .step-num, .choice-index, .service-icon, .mobile-menu nav a) {
  font-family: var(--font-sans);
}
body { color: var(--ink); }
body :is(h1, h2, h3, .display) { letter-spacing: -.025em; overflow-wrap: anywhere; }
body :is(p, li) { overflow-wrap: break-word; }
body :is(button, input, select, textarea) { accent-color: var(--brand, #d71920); }
body :is(.container, .checkout-shell, .delivery-shell),
body .site-footer .container {
  width: min(var(--content-width), calc(100% - var(--page-gutter) * 2));
  margin-inline: auto;
}
body :is(.section, .story-section, .choices-section, .service-section, .steps-section) {
  padding-block: var(--section-space);
}
body :is(.page-hero, .catalog-compare-hero) { padding-bottom: 40px; }
body.header-offset :is(.page-hero, .catalog-compare-hero),
body .checkout-shell { padding-top: var(--page-top); }
body .product-breadcrumb-band { padding-top: calc(var(--page-top) - 12px); }
body :is(.page-hero h1, .catalog-compare-heading h1, .checkout-heading h1, .delivery-hero h1) {
  font-size: clamp(36px, 4.8vw, 64px);
  font-weight: 600;
  line-height: 1.1;
}
body :is(.section-title, .catalog-results-head h2) {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.15;
  font-weight: 600;
}
body .cm-development-banner-v2 {
  top: 108px;
  bottom: auto;
  left: 50%;
  width: min(560px, calc(100% - 32px));
  transform: translateX(-50%);
  animation: none !important;
  font-family: var(--font-sans);
}
@media (max-width: 700px) {
  body .cm-development-banner-v2 { top: 90px; }
}
body:is(.modal-open, .ui-modal-open, .product-lightbox-open, .product-review-dialog-open) .cm-development-banner-v2,
body:has(dialog[open]) .cm-development-banner-v2 { visibility: hidden; }
body .site-header .header-shell { box-shadow: var(--surface-shadow); }
body .site-header .desktop-nav { gap: clamp(12px, 1.2vw, 22px); }
body .site-header :is(.desktop-nav a, .desktop-nav-trigger) { font-weight: 700; }
body :is(.btn, .product-back-link, .catalog-reset, .delivery-btn, .reviews-primary-button, .vacancy-card-open, .catalog-fabric-link, .card-fabric-link, .ui-icon-button, .card-action-button, .catalog-compare-choice, .catalog-cart-button, .product-cart-button, .modal-cart-button, .modal-compare-button, .modal-action-button, .reviews-filters button, .cart-checkout, .cart-clear, .cart-quantity button, .thumb-strip-arrow, .catalog-review-button) {
  border-color: transparent !important;
  box-shadow: var(--surface-shadow);
}
body :is(.btn, .product-back-link, .delivery-btn, .reviews-primary-button, .vacancy-card-open) {
  min-height: 44px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
body :is(.btn-outline, .product-back-link, .delivery-btn-light) {
  color: var(--ink);
  background: #fff;
}
body :is(.btn-outline, .product-back-link, .delivery-btn-light):hover {
  color: var(--brand);
  background: #f9edea;
}
body :is(.ui-icon-button, .card-action-button, .catalog-compare-choice, .catalog-fabric-link, .card-fabric-link):hover {
  box-shadow: 0 6px 18px rgba(40, 37, 29, .1);
}
body :is(button, a, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid #a2a49c;
  outline-offset: 3px;
}
body :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  border-color: var(--line);
  border-radius: var(--control-radius);
}
body :is(input, select, textarea):focus {
  border-color: #a2a49c;
  box-shadow: 0 0 0 3px rgba(68, 72, 65, .08);
}
body .product-size-picker select:focus-visible {
  outline: 2px solid #a2a49c;
  outline-offset: 3px;
}
body :is(.product-tab, .modal-tab).active { border-bottom-color: var(--brand); }
body :is(.product-upholstery-option, .variant-btn).active,
body .catalog-upholstery-swatch.is-active {
  outline-color: #c49990;
  border-color: #c49990;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #d3b6af;
}
body :is(.checkout-method, .checkout-pickup):has(input:checked) {
  border-color: #d3b6af;
  box-shadow: 0 0 0 1px #d3b6af;
}
body :is(.news-card, .vacancy-card, .reviews-card, .fabric-card, .checkout-section, .checkout-summary) {
  border-color: var(--line);
  box-shadow: var(--surface-shadow);
}
body .product-details-shell > * { min-width: 0; }
body .product-price-row { gap: 16px; }
body .product-info h1 { font-weight: 600; }
body .product-configuration { gap: 12px; }
body .product-size-picker { margin-bottom: 8px; }
body .product-size-picker select { border-color: var(--line); background-color: #fff; }
/* Product choices and compact facts. */
body .product-choice-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 18px 0; }
body .product-choice-row .product-configuration { gap: 12px; }
body .product-choice-row .product-size-picker { margin: 0; }
body .product-choice-row .product-configuration .product-size-picker:first-child { width: 5rem; }
body .product-choice-row .product-configuration .product-size-picker:not(:first-child) { width: 8.25rem; }
body .product-choice-row .product-size-picker { position: relative; min-width: 0; }
body .product-choice-row .product-size-picker.is-enhanced > select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
body .product-choice-trigger { display: flex; align-items: center; justify-content: space-between; gap: 5px; width: 100%; height: 44px; padding: 0 10px; border: 0; border-radius: 13px; color: var(--ink); background: #fff; box-shadow: 0 5px 18px rgba(37,39,34,.08); font: inherit; font-size: 11px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background .2s ease, box-shadow .2s ease; }
body .product-choice-trigger::after { content: ''; width: 7px; height: 7px; flex: 0 0 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
body .product-choice-trigger:hover, body .product-choice-trigger[aria-expanded="true"] { background: #f2f3ef; box-shadow: 0 6px 20px rgba(37,39,34,.11); }
body .product-choice-menu { position: absolute; z-index: 30; top: calc(100% + 5px); left: 0; min-width: max(100%, 156px); max-width: min(260px, calc(100vw - 32px)); padding: 5px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: 0 12px 30px rgba(37,39,34,.14); }
body .product-choice-menu[hidden] { display: none; }
body .product-choice-option { display: block; width: 100%; min-height: 38px; padding: 8px 10px; border: 0; border-radius: 8px; color: var(--ink); background: transparent; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
body .product-choice-option:hover, body .product-choice-option:focus-visible { background: #f2f3ef; }
body .product-choice-option[aria-selected="true"] { font-weight: 800; }
body .product-choice-row .product-fabric-picker { margin: 0; padding: 0; border: 0; background: transparent; }
body .product-choice-row .product-fabric-picker-head { display: grid; gap: 7px; }
body .product-choice-row .product-fabric-picker-head h2 { font-size: 13px; font-weight: 700; line-height: 1.3; }
body .product-choice-row .catalog-fabric-link { min-height: 44px; padding: 0 13px; border: 1px solid var(--line) !important; background: #fff; }
body .product-choice-row .product-fabric-selected { margin-top: 7px; }
body .product-actions .product-characteristics-button { width: max-content !important; flex: 0 0 auto; padding-inline: 16px; border: 1px solid #d8dbd4 !important; background: #fff; box-shadow: 0 5px 18px rgba(37, 39, 34, .08); }
body .product-actions .product-characteristics-button:hover { background: #f2f3ef; }
body .product-quick-facts > div { display: grid; grid-template-rows: 1fr auto; }
body .product-quick-facts dd { align-self: end; }
@media (max-width: 700px) {
  body .product-quick-facts > div { grid-template-columns: 1fr auto; grid-template-rows: auto; align-items: center; }
}
body :is(.modal-tabs, .product-tabs) { scrollbar-width: thin; }
body .product-review-dialog { box-shadow: 0 24px 80px rgba(35, 32, 27, .16); }

/* Homepage and catalogue share card measurements and interaction states. */
body :is(.catalog-grid, .catalog-comparison-grid) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
body .cm-product-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0;
  height: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--surface-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
body .cm-product-card[hidden] { display: none !important; }
body .cm-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(40, 37, 29, .10);
}
.cm-product-card :is(.card-media, .catalog-comparison-media) {
  position: relative;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 5 / 4 !important;
  overflow: hidden;
  border-radius: 23px;
}
.cm-product-card :is(.card-preview, .catalog-product-media-link) {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}
.cm-product-card :is(.card-preview, .catalog-product-media-link) > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body .cm-product-card :is(.card-body, .catalog-comparison-body) {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto !important;
  min-width: 0;
  min-height: 148px !important;
  height: auto !important;
  gap: 12px;
  padding: 16px !important;
}
.cm-product-card :is(.card-heading, .catalog-card-heading) {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.cm-product-card .card-heading-main { display: contents; }
.cm-product-card :is(.card-category, .catalog-page-category) {
  flex: 0 0 auto;
  margin: 0;
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.3;
  text-transform: uppercase;
}
body .cm-product-card :is(.card-title, .catalog-comparison-title) {
  min-width: 0;
  flex: 1 1 auto;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.3;
}
.cm-product-card :is(.card-title, .catalog-comparison-title) a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cm-product-card .product-rating { margin-left: auto; font-size: 11px; }
.cm-product-card .product-rating-count { display: inline; font-size: 10px; }
.cm-product-card :is(.card-upholstery, .catalog-card-upholstery) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 28px;
  margin: 0;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.cm-product-card .catalog-card-upholstery-label { margin: 0; font-size: 10px; }
.cm-product-card :is(.card-upholstery .swatch, .catalog-upholstery-swatch) {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  min-height: 0;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 50%;
  background: var(--swatch, #bbb);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.75), inset 0 -1px 2px rgba(0,0,0,.08), 0 2px 5px rgba(23,23,20,.12);
  cursor: pointer;
}
body .cm-product-card :is(.card-upholstery .swatch, .catalog-upholstery-swatch)::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 4px;
  right: 4px;
  height: 38%;
  border-radius: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,.72), transparent);
  pointer-events: none;
}
body .cm-product-card :is(.card-upholstery .swatch, .catalog-upholstery-swatch).is-active {
  box-shadow: inset 0 1px 1px rgba(255,255,255,.85), inset 0 -1px 2px rgba(0,0,0,.08), 0 4px 10px rgba(23,23,20,.18);
  transform: scale(1.08);
}
body .product-upholstery-option,
body .product-upholstery-option.active {
  border-color: rgba(255,255,255,.85);
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.75), inset 0 -1px 2px rgba(0,0,0,.08), 0 3px 8px rgba(23,23,20,.14);
}
body .product-upholstery-option:focus-visible { outline: 2px solid #a2a49c; outline-offset: 3px; }
.cm-product-card :is(.card-purchase, .catalog-card-purchase) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  margin-top: auto;
  gap: 10px;
}
body .cm-product-card :is(.card-price, .catalog-card-price) {
  flex: 1 1 auto;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}
.cm-product-card :is(.card-actions, .catalog-purchase-actions) {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
body .cm-product-card :is(.card-action-button, .card-fabric-link, .catalog-compare-choice, .catalog-card-fabric-link, .catalog-cart-button) {
  display: grid;
  place-items: center;
  flex: 0 0 42px !important;
  width: 42px !important;
  min-width: 42px;
  height: 42px !important;
  min-height: 42px !important;
  max-height: none !important;
  margin: 0;
  padding: 0;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  color: var(--ink) !important;
  background: #f4f3ef !important;
  box-shadow: none;
}
body .cm-product-card :is(.card-actions, .catalog-purchase-actions) .cm-ui-icon { width: 24px; height: 24px; }
body .cm-product-card :is(.card-action-button, .card-fabric-link, .catalog-compare-choice, .catalog-card-fabric-link, .catalog-cart-button):hover,
body .cm-product-card :is(.card-action-button.is-active, .catalog-compare-choice.active) {
  color: #fff !important;
  background: var(--brand) !important;
}
body .cm-product-card :is(.card-cart-button, .catalog-cart-button).is-added { background: #347451 !important; }
body .cm-product-card :is(.card-actions, .catalog-purchase-actions) :is(:hover, .is-active, .active, .is-added) .cm-file-icon {
  filter: brightness(0) invert(1);
}
body .cm-product-card :is(.card-favorite-button, .catalog-favorite-button) {
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 0;
  background: rgba(255,255,255,.94);
}
body .cm-product-card :is(.card-favorite-button, .catalog-favorite-button).is-active { background: #f9e7e5; color: var(--brand); }
body .cm-product-card :is(.card-badge-stack, .catalog-badge-stack) { top: 14px; left: 14px; }
body .cm-product-card :is(.card-badge, .catalog-page-badge) { font-size: 9px; letter-spacing: .08em; }

@media (max-width: 1100px) {
  body :is(.catalog-grid, .catalog-comparison-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 701px) and (max-width: 980px) {
  :root { --page-top: 164px; }
}
@media (max-width: 700px) {
  :root { --page-gutter: 16px; --page-top: 116px; --section-space: 48px; }
  body :is(.catalog-grid, .catalog-comparison-grid) { grid-template-columns: 1fr; gap: 16px; }
  body :is(.page-hero, .catalog-compare-hero) { padding-bottom: 28px; }
  body :is(.page-hero h1, .catalog-compare-heading h1, .checkout-heading h1, .delivery-hero h1) { font-size: clamp(34px, 9vw, 42px); }
  body .cm-product-card { border-radius: 20px; }
  .cm-product-card :is(.card-media, .catalog-comparison-media) { border-radius: 19px; }
}
@media (max-width: 360px) {
  body .cm-product-card :is(.card-category, .catalog-page-category) { font-size: 9px; }
  body .cm-product-card :is(.card-price, .catalog-card-price) { font-size: 14px; }
  .cm-product-card :is(.card-actions, .catalog-purchase-actions) { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  body .cm-product-card, body .cm-product-card:hover { transition: none; transform: none; }
}

/* Restore the outlined category pills shown in the homepage reference. */
body .filter-btn:not(.active) { border: 1px solid #dedbd3; box-shadow: none; }
body .filter-btn.active { border: 1px solid var(--ink); }

/* Restore the thin outline of the three header action buttons. */
body .site-header .header-icon-button { border: 1px solid rgba(23,23,20,.14) !important; }
body .site-header .header-icon-button:hover { border-color: rgba(23,23,20,.34) !important; }
