


:root {
  --red: #b62328;
  --red-dark: #8f1a1f;
  --grey: #4e4e4e;
  --green: #1e9b38;
  --bg: #f5f6f8;
  --line: #e2e5e9;
  --text: #24272b;
  --muted: #7b828c;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(20, 24, 32, .12);
}


.editor-promo-bar {
  position: relative;
  z-index: 10;
  flex: 0 0 auto;
  min-height: 44px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 7px 18px;
  background: #fff;
  border-bottom: 1px solid #dfe3e8;
  box-shadow: 0 3px 10px rgba(17, 20, 24, .05);
}
.editor-promo-icon,
.summary-promotion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #c11015;
}
.editor-promo-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(193, 16, 21, .09);
}
.editor-promo-icon svg,
.summary-promotion-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.editor-promo-body {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(330px, auto) minmax(150px, 1fr);
  align-items: center;
  gap: 14px;
}
.editor-promo-copy {
  min-width: 0;
  color: #20242a;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 750;
}
.editor-promo-copy strong {
  font-weight: 950;
}
.editor-promo-status {
  color: #c11015;
  font-size: 14px;
  white-space: nowrap;
}
.promo-progress {
  position: relative;
  width: 100%;
  min-width: 80px;
  height: 7px;
  overflow: visible;
  border-radius: 999px;
  background: #ead7d8;
}
.promo-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  max-width: 100%;
  border-radius: inherit;
  background: #c11015;
  transition: width .28s ease;
}
.promo-progress-marker {
  position: absolute;
  left: 40%;
  top: -3px;
  width: 2px;
  height: 13px;
  border-radius: 2px;
  background: #c11015;
  transform: translateX(-1px);
}

.summary-promotions {
  flex: 0 0 auto;
  display: grid;
  gap: 7px;
  margin: 0 0 10px;
  padding: 0 0 10px;
  border-bottom: 1px solid #dfe3e8;
}
.summary-promotion {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 7px 9px;
  border: 1px solid #e1e4e8;
  border-radius: 11px;
  background: #f8f9fa;
}
.summary-promotion.is-earned {
  border-color: rgba(193, 16, 21, .22);
  background: rgba(193, 16, 21, .045);
}
.summary-promotion-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e0e3e7;
}
.summary-promotion.is-earned .summary-promotion-icon {
  color: #fff;
  background: #c11015;
  border-color: #c11015;
}
.summary-promotion-body {
  min-width: 0;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 4px 12px;
}
.summary-promotion-body strong {
  color: #111;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 950;
}
.summary-promotion-body > span {
  min-width: 0;
  color: #4e5763;
  font-size: 13px;
  line-height: 1.25;
}
.summary-promotion-body .promo-progress {
  grid-column: 1 / -1;
  height: 5px;
  margin-top: 3px;
}
.summary-promotion-body .promo-progress-marker {
  top: -2px;
  height: 9px;
}
.top-summary-cart-total.discount strong {
  color: #c11015 !important;
}
.top-summary-cart-total.final {
  margin-top: 4px !important;
  padding-top: 8px !important;
  border-top: 1px solid #111 !important;
}
.top-summary-cart-total.final span,
.top-summary-cart-total.final strong {
  color: #c11015 !important;
  font-size: 20px !important;
  font-weight: 950 !important;
}

@media (max-width: 900px) {
  .editor-promo-bar {
    min-height: 50px;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 9px;
    padding: 6px 10px;
  }
  .editor-promo-icon {
    width: 28px;
    height: 28px;
  }
  .editor-promo-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .editor-promo-copy {
    font-size: 13px;
  }
  .editor-promo-status {
    display: none;
  }
  .promo-progress {
    height: 6px;
  }
}

@media (max-width: 620px) {
  .header-summary-wrap .top-summary-dropdown,
  .top-summary-dropdown {
    max-height: calc(100vh - 84px) !important;
  }
  .summary-promotions {
    gap: 6px;
  }
  .summary-promotion {
    grid-template-columns: 32px minmax(0, 1fr);
    min-height: 44px;
    gap: 8px;
    padding: 6px 7px;
  }
  .summary-promotion-icon {
    width: 32px;
    height: 32px;
  }
  .summary-promotion-icon svg {
    width: 19px;
    height: 19px;
  }
  .summary-promotion-body {
    display: block;
  }
  .summary-promotion-body strong,
  .summary-promotion-body > span {
    display: block;
  }
  .summary-promotion-body > span {
    margin-top: 2px;
    font-size: 12px;
  }
  .summary-promotion-body .promo-progress {
    margin-top: 5px;
  }
}
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: var(--text); background: var(--bg); }
button, input { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.app { height: 100vh; overflow: hidden; }

.start-screen { height: 100vh; display: flex; flex-direction: column; background: radial-gradient(circle at top, #ffffff 0, #f3f4f6 38%, #eceff2 100%); overflow: hidden; }
.start-header, .editor-header { flex: 0 0 auto; min-height: 76px; padding: 14px 24px; background: #111; color: #fff; border-bottom: 4px solid var(--red); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, #d9353b, #9f171c); display: grid; place-items: center; font-weight: 900; letter-spacing: -1px; box-shadow: 0 8px 20px rgba(182,35,40,.35); flex: 0 0 auto; }
.brand-title { font-size: 23px; font-weight: 900; line-height: 1; white-space: nowrap; }
.brand-subtitle { margin-top: 4px; font-size: 14px; color: #d8d8d8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.start-note { font-size: 14px; color: #ccc; }
.start-card { width: min(1060px, calc(100% - 32px)); max-height: calc(100vh - 112px); margin: 24px auto; background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); padding: clamp(22px, 3vw, 40px); overflow: auto; }
.start-copy { max-width: 760px; }
.eyebrow { color: var(--red); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; margin: 0 0 8px; }
h1 { font-size: clamp(32px, 4vw, 54px); line-height: 1.02; margin: 0 0 12px; }
h2 { font-size: 17px; margin: 0 0 12px; }
.start-copy p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.55; margin: 0; }
.chooser-block { margin-top: 26px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.depth-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }
.choice-card { min-height: 90px; border: 2px solid var(--line); border-radius: 22px; background: #fff; padding: 16px; text-align: left; display: flex; align-items: center; gap: 14px; transition: .18s ease; }
.choice-card:hover { transform: translateY(-2px); border-color: #cbd0d6; box-shadow: 0 12px 28px rgba(20,24,32,.08); }
.choice-card.active { border-color: var(--red); box-shadow: 0 0 0 4px rgba(182,35,40,.12); }
.swatch { width: 46px; height: 46px; border-radius: 14px; border: 1px solid rgba(0,0,0,.12); flex: 0 0 auto; }
.color-brush-swatch {
  width: 72px;
  height: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
}
.color-brush-swatch img {
  display: block;
  width: 72px;
  height: 24px;
  object-fit: contain;
}
.choice-label { display: block; font-weight: 900; font-size: 17px; }
.choice-desc { display: block; color: var(--muted); margin-top: 4px; font-size: 14px; }
.wall-input { display: grid; gap: 8px; max-width: 280px; }
.wall-input span { color: var(--muted); font-size: 14px; font-weight: 800; }
.wall-input input, .search-input { height: 46px; border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; background: #fff; outline: none; }
.wall-input input:focus, .search-input:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(182,35,40,.12); }
.start-actions { margin-top: 28px; }
.btn { border: 0; border-radius: 14px; height: 46px; padding: 0 18px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: .16s ease; white-space: nowrap; }
.btn.small { height: 34px; border-radius: 10px; padding: 0 12px; font-size: 14px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 20px rgba(182,35,40,.25); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-success { background: var(--green); color: #fff; }
.btn-success:disabled { opacity: .45; cursor: not-allowed; }
.btn-light { background: #fff; color: var(--text); border: 1px solid var(--line); }
.btn-danger { background: #c62828; color: #fff; }

.editor-screen { height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.editor-header { min-height: 68px; padding: 10px 18px; }
.editor-brand .brand-mark { width: 42px; height: 42px; border-radius: 12px; }
.editor-brand .brand-title { font-size: 19px; }
.editor-actions { display: flex; gap: 10px; flex-wrap: nowrap; justify-content: flex-end; align-items: center; }
.editor-total { color: #fff; font-weight: 900; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 9px 13px; white-space: nowrap; }
.editor-shell { flex: 1 1 auto; min-height: 0; height: calc(100vh - 68px); display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 0; overflow: hidden; }
.catalog-panel { background: #fff; border-right: 1px solid var(--line); min-height: 0; overflow: hidden; padding: 14px; display: flex; flex-direction: column; }
.detail-panel { display: none; }
.catalog-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; flex: 0 0 auto; }
.catalog-head h2, .detail-panel h2 { margin: 0; font-size: 20px; }
.catalog-status { font-size: 14px; color: var(--muted); text-align: right; max-width: 130px; }
.search-input { width: 100%; margin: 14px 0; flex: 0 0 auto; }
.category-tabs { display: flex; flex-wrap: nowrap; gap: 8px; margin-bottom: 12px; flex: 0 0 auto; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.category-tab { border: 1px solid var(--line); background: #fff; color: var(--grey); border-radius: 999px; padding: 8px 11px; font-size: 14px; font-weight: 800; white-space: nowrap; }
.category-tab.active { background: var(--red); color: #fff; border-color: var(--red); }

.workspace-panel { min-width: 0; min-height: 0; display: flex; flex-direction: column; background: #eef1f4; position: relative; overflow: hidden; }
.workspace-toolbar { flex: 0 0 auto; height: 50px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; gap: 12px; }
.toolbar-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.icon-btn { width: 34px; height: 34px; border: 1px solid var(--line); background: #fff; border-radius: 10px; font-weight: 900; color: #111; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease; }
.icon-btn:hover,
.icon-btn:focus-visible { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 8px 18px rgba(182,35,40,.18); }
.icon-btn:active { transform: translateY(1px); }
.history-toolbar-group { display: inline-flex; align-items: center; gap: 8px; }
.toolbar-history-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease, filter .18s ease;
}
.toolbar-history-btn:hover,
.toolbar-history-btn:focus-visible {
  transform: scale(1.08);
}
.toolbar-history-btn img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.toolbar-history-btn:disabled {
  opacity: .35;
  cursor: default;
  transform: none !important;
  filter: grayscale(.2);
}
.wall-stats { color: var(--muted); font-size: 14px; }
.stage-viewport { flex: 1 1 auto; min-height: 0; overflow: hidden; position: relative; padding: 18px 20px 96px 68px; touch-action: none; display: flex; align-items: flex-start; justify-content: flex-start; }
.stage { position: relative; background: linear-gradient(180deg, #f8fafb, #e7ebef); border: 1px solid #cad0d8; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), 0 14px 40px rgba(0,0,0,.08); transform-origin: top center; overflow: hidden; flex: 0 0 auto; }
.wall-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(90,100,115,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(90,100,115,.08) 1px, transparent 1px); background-size: 70px 70px; }
.grid-zone { position: absolute; left: 0; right: 0; border-top: 1px dashed rgba(78,78,78,.18); color: rgba(78,78,78,.24); font-weight: 900; font-size: 20px; padding: 8px 14px; pointer-events: none; }
.zone-top { top: 0; height: 28%; background: rgba(255,255,255,.18); }
.zone-middle { top: 28%; height: 32%; background: rgba(182,35,40,.035); }
.zone-bottom { top: 60%; bottom: 0; background: rgba(30,155,56,.09); border-top-color: rgba(30,155,56,.45); }
.floor-line { position: absolute; left: 0; right: 0; bottom: 34px; height: 2px; background: rgba(78,78,78,.22); }
.items-layer { position: absolute; inset: 0; }
.canvas-item { position: absolute; border: 2px solid transparent; border-radius: 6px; user-select: none; touch-action: none; display: grid; place-items: center; }
.canvas-item:hover { outline: 2px solid rgba(182,35,40,.25); }
.canvas-item img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; display: block; }
.canvas-item.selected { border-color: var(--red); box-shadow: 0 0 0 4px rgba(182,35,40,.16); z-index: 20 !important; }
.canvas-item.overlap { z-index: 3; }
.canvas-item.normal { z-index: 8; }
.canvas-fallback { background: linear-gradient(135deg, #73777c, #3e4145); color: #fff; width: 100%; height: 100%; border-radius: 4px; display: grid; place-items: center; text-align: center; font-size: 14px; padding: 4px; }
.mobile-nudge { flex: 0 0 auto; display: none; gap: 8px; align-items: center; justify-content: center; padding: 8px; background: #fff; border-top: 1px solid var(--line); }
.floating-summary { position: absolute; right: 18px; bottom: 18px; width: 260px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: 0 14px 34px rgba(0,0,0,.14); padding: 10px 12px; z-index: 50; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid #f0f1f3; font-size: 14px; }
.summary-row:last-child { border-bottom: 0; }
.summary-row.total { font-size: 17px; color: var(--red); font-weight: 900; }
.selected-detail { color: var(--muted); font-size: 14px; line-height: 1.5; }
.selected-detail.empty { padding: 16px; border: 1px dashed var(--line); border-radius: 16px; }
.detail-card { border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: #fff; }
.detail-card h3 { margin: 0 0 6px; font-size: 16px; }
.detail-card .code { color: var(--red); font-weight: 900; margin-bottom: 10px; }
.detail-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: #111; color: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: 0 14px 34px rgba(0,0,0,.28); z-index: 999; font-weight: 800; }

@media (max-width: 1100px) {
  .editor-shell { grid-template-columns: 285px minmax(0, 1fr); }
  .editor-actions .btn { height: 38px; padding: 0 12px; font-size: 14px; }
  .floating-summary { width: 230px; }
}
@media (max-width: 820px) {
  .start-header, .editor-header { padding: 10px 12px; align-items: stretch; gap: 8px; flex-direction: column; }
  .start-card { margin: 12px auto; max-height: calc(100vh - 112px); padding: 18px; border-radius: 22px; }
  .choice-grid, .depth-grid { grid-template-columns: 1fr; max-width: none; }
  .choice-card { min-height: 74px; padding: 12px; }
  .editor-shell { height: calc(100vh - 132px); grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) 260px; }
  .catalog-panel { order: 2; border-top: 1px solid var(--line); border-right: 0; padding: 10px; }
  .workspace-panel { order: 1; }
  .workspace-toolbar { height: auto; min-height: 44px; padding: 6px 10px; }
  .stage-viewport { padding: 10px; align-items: flex-start; }
  .mobile-nudge { display: flex; }
  .editor-actions { width: 100%; justify-content: flex-start; overflow-x: auto; }
  .editor-actions .btn { height: 36px; font-size: 14px; padding: 0 10px; }
  .brand-title { font-size: 19px; }
  .brand-subtitle { font-size: 14px; }
  .floating-summary { right: 10px; bottom: 56px; width: 210px; padding: 8px 10px; }
  .summary-row { font-size: 14px; padding: 4px 0; }
  .summary-row.total { font-size: 15px; }
}
@media (max-width: 520px) {
  .editor-shell { height: calc(100vh - 142px); grid-template-rows: minmax(0, 1fr) 240px; }
  .floating-summary { position: static; width: auto; box-shadow: none; border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0; }
}


.numeric-swatch { background:#fff; display:grid; place-items:center; font-weight:900; color:var(--red); }
.category-tabs { gap: 7px; padding: 0 0 9px; margin-bottom: 10px; border-bottom: 1px solid #eef0f2; }
.category-icon-tab { width: 46px; height: 46px; border: 1px solid var(--line); background: #f7f8fa; border-radius: 10px; display: grid; place-items: center; padding: 5px; flex: 0 0 auto; transition: .15s ease; }
.category-icon-tab img { max-width: 36px; max-height: 36px; object-fit: contain; display: block; }
.category-icon-tab:hover { border-color: var(--red); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(20,24,32,.08); }
.category-icon-tab.active { background: #fff; border-color: var(--red); box-shadow: inset 0 0 0 2px var(--red); }
.category-icon-tab .cat-all { font-size: 14px; font-weight: 900; color: var(--grey); }
.category-icon-tab.active .cat-all { color: var(--red); }
.selected-detail { position: absolute; left: 18px; bottom: 18px; width: min(360px, calc(100% - 320px)); z-index: 51; pointer-events: auto; }
.selected-detail.hidden { display: none; }
.detail-card { box-shadow: 0 12px 28px rgba(0,0,0,.12); }
@media (max-width: 820px) {
  .category-icon-tab { width: 42px; height: 42px; }
  .category-icon-tab img { max-width: 32px; max-height: 32px; }
  .selected-detail { left: 10px; bottom: 58px; width: calc(100% - 240px); }
}
@media (max-width: 520px) {
  .selected-detail { position: static; width: auto; padding: 8px 10px; }
}


.zone-top, .zone-middle, .zone-bottom { display: none; }
.grid-zone { display: block; font-size: clamp(14px, 1.1vw, 18px); padding: 7px 12px; }
.zone-kpg5 { top: 0; height: 20.45%; background: rgba(255,255,255,.28); }
.zone-kpg4 { top: 20.45%; height: 20.45%; background: rgba(182,35,40,.028); }
.zone-kpg3 { top: 40.9%; height: 20.45%; background: rgba(182,35,40,.045); }
.zone-kpg2 { top: 61.35%; height: 11.37%; background: rgba(30,155,56,.05); border-top-color: rgba(30,155,56,.25); }
.zone-kpg1 { top: 72.72%; height: 27.28%; background: rgba(30,155,56,.1); border-top-color: rgba(30,155,56,.45); }
.category-tabs { max-width: 100%; }
.category-icon-tab { flex-shrink: 0; }
.canvas-item { overflow: visible; }
.canvas-item img { object-fit: fill; }
.selected-detail { max-width: 360px; }

@media (max-width: 1280px) {
  .editor-shell { grid-template-columns: 300px minmax(0, 1fr); }
  .catalog-panel { padding: 10px; }
}


.stage { background: linear-gradient(180deg, #fbfcfd, #edf1f4); }
.zone-kpg5 { top: 0; height: 19.55%; background: rgba(255,255,255,.28); }
.zone-kpg4 { top: 19.55%; height: 16.37%; background: rgba(182,35,40,.024); }
.zone-kpg3 { top: 35.92%; height: 20.98%; background: rgba(182,35,40,.042); }
.zone-kpg2 { top: 56.90%; height: 1.73%; background: rgba(30,155,56,.06); border-top-color: rgba(30,155,56,.32); }
.zone-kpg1 { top: 58.63%; height: 41.37%; background: rgba(30,155,56,.1); border-top-color: rgba(30,155,56,.45); }
.grid-zone { font-size: clamp(14px, .95vw, 18px); opacity: .9; }
.selected-detail { left: 18px; bottom: 18px; }





.zone-kpg5 { top: 0; height: 17.5%; background: rgba(255,255,255,.28); }
.zone-kpg4 { top: 17.5%; height: 17.5%; background: rgba(182,35,40,.024); }
.zone-kpg3 { top: 35%; height: 17.6%; background: rgba(182,35,40,.042); }
.zone-kpg2 { top: 52.6%; height: 1.9%; background: rgba(30,155,56,.07); border-top-color: rgba(30,155,56,.35); }
.zone-kpg1 { top: 54.5%; height: 45.5%; background: rgba(30,155,56,.11); border-top-color: rgba(30,155,56,.45); }


.canvas-item { border: 1px solid transparent; border-radius: 2px; overflow: visible; }
.canvas-item:hover { outline: 1px solid rgba(182,35,40,.25); outline-offset: 0; }
.canvas-item.selected { border-color: transparent; box-shadow: inset 0 0 0 2px var(--red), 0 0 0 1px rgba(182,35,40,.25); z-index: 20 !important; }
.canvas-item img { object-fit: fill; }
.peg-rail { position: absolute; pointer-events: none; user-select: none; display: grid; place-items: stretch; overflow: visible; }
.peg-rail img { width: 100%; height: 100%; object-fit: fill; display: block; }
.peg-rail:empty { background: #252525; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.detail-card { position: relative; }
.detail-close { position: absolute; right: 10px; top: 8px; width: 26px; height: 26px; border: 1px solid var(--line); background: #fff; border-radius: 999px; font-weight: 900; cursor: pointer; line-height: 1; }
.detail-close:hover { border-color: var(--red); color: var(--red); }
.grid-zone { border-top-width: 1px; margin: 0; box-sizing: border-box; }



.canvas-item, .peg-rail { box-sizing: border-box; }


.canvas-item {
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
.canvas-item img {
  width: calc(100% + 2px) !important;
  height: calc(100% + 2px) !important;
  margin-left: -1px !important;
  margin-top: -1px !important;
  object-fit: fill !important;
  display: block !important;
}
.canvas-item.selected {
  box-shadow: inset 0 0 0 1.5px var(--red), 0 0 0 1px rgba(182,35,40,.22) !important;
}
.canvas-item:hover {
  outline: 1px solid rgba(182,35,40,.25) !important;
  outline-offset: 0 !important;
}
.peg-rail img {
  width: calc(100% + 2px) !important;
  height: calc(100% + 2px) !important;
  margin-left: -1px !important;
  margin-top: -1px !important;
  object-fit: fill !important;
}



.canvas-item.behavior-pegboard.selected,
.canvas-item.overlap.selected {
  z-index: 3 !important;
  box-shadow: inset 0 0 0 1.5px var(--red), 0 0 0 1px rgba(182,35,40,.22) !important;
}



.rail-summary {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(17,20,24,.10);
  font-size: 14px;
}
.rail-summary.hidden { display: none; }
.rail-title {
  font-weight: 900;
  color: #1f2933;
  margin-bottom: 4px;
}
.rail-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: baseline;
  color: #4e5965;
  line-height: 1.25;
}
.rail-row strong {
  color: #111;
  white-space: nowrap;
}



.category-tabs {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(44px, 1fr)) !important;
  grid-auto-rows: 44px !important;
  gap: 7px !important;
  overflow: visible !important;
  padding-bottom: 0 !important;
}
.category-icon-tab {
  width: 100% !important;
  min-width: 0 !important;
  height: 44px !important;
}
.category-icon-tab img {
  max-width: 34px !important;
  max-height: 34px !important;
  object-fit: contain !important;
}


.canvas-item:hover::after,
.canvas-item.selected::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--red);
  border-radius: 0;
  pointer-events: none;
  z-index: 30;
}
.canvas-item.behavior-pegboard:hover::after,
.canvas-item.behavior-pegboard.selected::after,
.canvas-item.overlap:hover::after,
.canvas-item.overlap.selected::after {
  z-index: 30;
}


.stage {
  overflow: visible !important;
}
.stage-viewport {
  overflow: auto !important;
}
.canvas-item {
  overflow: visible !important;
}
.canvas-item img {
  width: 100% !important;
  height: 100% !important;
  margin-left: 0 !important;
  margin-top: 0 !important;
  object-fit: fill !important;
}
.canvas-item.behavior-pegboard img,
.peg-rail img {
  width: calc(100% + 2px) !important;
  height: calc(100% + 2px) !important;
  margin-left: -1px !important;
  margin-top: -1px !important;
}



.peg-rail {
  z-index: 4 !important;
}


.canvas-item.behavior-pegboard.selected,
.canvas-item.behavior-pegboard:hover {
  z-index: 3 !important;
}
.canvas-item.behavior-wall_cabinet,
.canvas-item.behavior-tall_cabinet,
.canvas-item.behavior-rack,
.canvas-item.behavior-base_cabinet,
.canvas-item.behavior-workbench,
.canvas-item.behavior-mobile_cabinet {
  z-index: 12;
}



.peg-rail {
  overflow: hidden !important;
}
.peg-rail img {
  display: block !important;
  object-fit: fill !important;
}






.peg-rail.connector-left,
.peg-rail.connector-right {
  z-index: 4 !important;
}
.canvas-item.behavior-tall_cabinet,
.canvas-item.behavior-rack,
.canvas-item.behavior-base_cabinet,
.canvas-item.behavior-workbench,
.canvas-item.behavior-mobile_cabinet,
.canvas-item.behavior-wall_cabinet {
  z-index: 12 !important;
}



.peg-rail.connector-left,
.peg-rail.connector-right,
.peg-rail.connector {
  z-index: 4 !important;
}
.canvas-item.behavior-tall_cabinet,
.canvas-item.behavior-rack,
.canvas-item.behavior-base_cabinet,
.canvas-item.behavior-workbench,
.canvas-item.behavior-mobile_cabinet,
.canvas-item.behavior-wall_cabinet {
  z-index: 12 !important;
}



.stage-viewport {
  justify-content: flex-start !important;
  align-items: flex-start !important;
}
.stage {
  transform-origin: top left !important;
}



.wall-stats { display: none !important; }
.floating-summary { display: none !important; }

.top-summary-wrap {
  position: relative;
  margin-left: auto;
}
.top-summary-button {
  appearance: none;
  border: 1px solid #d9dee5;
  background: #fff;
  border-radius: 14px;
  padding: 8px 14px;
  min-width: 190px;
  text-align: right;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(17,20,24,.08);
}
.top-summary-main,
.top-summary-sub {
  display: block;
  line-height: 1.25;
  white-space: nowrap;
}
.top-summary-main {
  color: #4f5b6a;
  font-size: 14px;
}
.top-summary-main strong {
  color: #b62328;
  font-size: 17px;
  font-weight: 950;
}
.top-summary-sub {
  color: #7a8491;
  font-size: 14px;
  margin-top: 2px;
}
.top-summary-sub strong {
  color: #111;
}
.top-summary-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 360px;
  max-height: min(520px, calc(100vh - 170px));
  overflow: auto;
  background: #fff;
  border: 1px solid #dde2e8;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(17,20,24,.18);
  z-index: 100;
  padding: 14px;
}
.top-summary-dropdown.hidden { display: none; }
.summary-pop-title {
  font-weight: 950;
  color: #111;
  margin-bottom: 8px;
}
.summary-pop-section {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #edf0f3;
  font-size: 14px;
  font-weight: 900;
  color: #677282;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.top-summary-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  padding: 5px 0;
  border-bottom: 1px solid #f0f2f5;
  font-size: 14px;
}
.top-summary-line span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top-summary-line strong {
  white-space: nowrap;
}
.top-summary-line.total {
  font-weight: 900;
}
.top-summary-line.red strong,
.top-summary-line.red span {
  color: #b62328;
  font-size: 16px;
}
.top-summary-line.muted {
  color: #687384;
}


.stage-minimap {
  position: absolute;
  right: 18px;
  bottom: 14px;
  display: grid;
  grid-template-columns: 36px 190px 36px;
  gap: 6px;
  align-items: center;
  z-index: 55;
  pointer-events: auto;
}
.minimap-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: transform .18s ease;
}
.minimap-arrow:hover,
.minimap-arrow:focus-visible {
  transform: scale(1.08);
}
.minimap-arrow img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
  pointer-events: none;
}
.minimap-track {
  position: relative;
  height: 34px;
  background: #fff;
  border: 1px solid #cfd5dc;
  overflow: hidden;
  cursor: grab;
}
.minimap-track:active { cursor: grabbing; }
.minimap-content {
  position: absolute;
  left: 0;
  top: 13px;
  height: 8px;
  background: #d9dde3;
  border-radius: 2px;
}
.minimap-window {
  position: absolute;
  top: 0;
  height: 100%;
  border: 2px solid #e31f35;
  background: rgba(227,31,53,.04);
  box-sizing: border-box;
  cursor: grab;
}

.workspace-panel {
  position: relative;
}

@media (max-width: 900px) {
  .top-summary-button { min-width: 150px; padding: 7px 10px; }
  .top-summary-dropdown { width: min(330px, calc(100vw - 24px)); right: -4px; }
  .stage-minimap {
    right: 10px;
    bottom: 10px;
    grid-template-columns: 34px 150px 34px;
  }
}



.editor-header-right {
  gap: 24px !important;
}

.top-summary-cart-visual {
  width: 58px !important;
  height: 44px !important;
  flex: 0 0 58px !important;
}

.top-summary-cart-icon {
  inset: 7px 7px 0 0 !important;
  -webkit-mask: url('./kosik-ikona.svg?v=527') center / contain no-repeat !important;
  mask: url('./kosik-ikona.svg?v=527') center / contain no-repeat !important;
}

.top-summary-cart-badge {
  top: -1px !important;
  right: -2px !important;
  min-width: 23px !important;
  height: 23px !important;
  padding: 0 5px !important;
  font-size: 11px !important;
}

.help-modal {
  width: min(680px, calc(100vw - 32px)) !important;
  max-width: 680px !important;
  padding: 34px 42px !important;
  overflow: visible !important;
}

.help-modal-layout {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
}

.help-modal-figure {
  display: flex;
  align-items: center;
  justify-content: center;
}

.help-modal-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 150px;
}

.help-modal-copy h3 {
  margin: 0 42px 18px 0 !important;
  color: #c11015 !important;
  font-size: 25px !important;
  line-height: 1.18 !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

.help-modal-copy p {
  margin: 4px 0 !important;
  color: #252a30 !important;
  font-size: 18px !important;
  line-height: 1.45 !important;
}

.help-modal-copy .help-email-line {
  margin-top: 15px !important;
}

.help-contact-link {
  color: #c11015 !important;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.help-contact-link:hover,
.help-contact-link:focus-visible {
  color: #8f0c10 !important;
  text-decoration: underline;
  outline: none;
}

@media (min-width: 821px) {
  .editor-header .setup-param-chip,
  .editor-header .setup-param-chip:hover,
  .editor-header .setup-param-chip:focus-visible,
  .editor-header .setup-param-chip:active {
    font-size: 14px !important;
    font-weight: 800 !important;
    transform: none !important;
    scale: 1 !important;
    padding: 1px !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .editor-header .setup-param-chip {
    color: #fff !important;
    transition: color .2s ease !important;
  }

  .editor-header .setup-param-chip:hover,
  .editor-header .setup-param-chip:focus-visible,
  .editor-header .setup-param-chip:active {
    color: #c11015 !important;
  }

  .editor-header .brand-logo-swap .brand-logo-white {
    opacity: 1 !important;
    transition: none !important;
  }

  .editor-header .brand-logo-swap .brand-logo-hover-red {
    opacity: 1 !important;
    clip-path: inset(0 100% 0 0);
    transition: clip-path .32s ease !important;
  }

  .editor-header .brand-main-line:hover .brand-logo-white,
  .editor-header .brand-main-line:focus-within .brand-logo-white {
    opacity: 1 !important;
  }

  .editor-header .brand-main-line:hover .brand-logo-hover-red,
  .editor-header .brand-main-line:focus-within .brand-logo-hover-red {
    opacity: 1 !important;
    clip-path: inset(0 0 0 0);
  }

  .editor-header .brand-separator::before,
  .editor-header .brand-separator::after {
    transition: background-color .18s ease .27s !important;
  }

  .editor-header .brand-word {
    transition: color .2s ease .38s !important;
  }

  .editor-header .brand-main-line:hover .brand-separator::before,
  .editor-header .brand-main-line:hover .brand-separator::after,
  .editor-header .brand-main-line:focus-within .brand-separator::before,
  .editor-header .brand-main-line:focus-within .brand-separator::after {
    background: #c11015 !important;
  }

  .editor-header .brand-main-line:hover .brand-word,
  .editor-header .brand-main-line:focus-within .brand-word {
    color: #c11015 !important;
  }
}

@media (max-width: 1400px) {
  .editor-actions {
    display: none !important;
  }

  .header-menu-wrap {
    display: block !important;
  }

  .editor-header-right {
    gap: 8px !important;
  }
}

@media (max-width: 820px) {
  .editor-header.app-header {
    min-height: 62px !important;
    height: 62px !important;
    padding: 7px 8px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 4px !important;
    overflow: visible !important;
  }

  .editor-brand.app-brand {
    width: auto !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }

  .editor-brand .brand-main-line {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
  }

  .editor-brand .brand-logo {
    height: 30px !important;
    max-width: 128px !important;
  }

  .editor-brand .brand-separator {
    width: 12px !important;
    height: 27px !important;
    flex-basis: 12px !important;
    margin: 0 !important;
  }

  .editor-brand .brand-word {
    min-width: 0 !important;
    font-size: 19px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .editor-brand .brand-subtitle,
  .editor-brand .setup-label {
    display: none !important;
  }

  .editor-header-right {
    width: auto !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    flex: 0 0 auto !important;
    gap: 2px !important;
  }

  .header-menu-wrap,
  .header-summary-wrap {
    margin: 0 !important;
  }

  .header-menu-button,
  .header-menu-button:hover,
  .header-menu-button:focus,
  .header-menu-button:focus-visible,
  .header-menu-button:active {
    width: 42px !important;
    min-width: 42px !important;
    height: 46px !important;
  }

  .header-menu-label {
    font-size: 13px !important;
  }

  .header-menu-icon {
    width: 27px !important;
    height: 25px !important;
  }

  .header-menu-dropdown {
    right: 0 !important;
    left: auto !important;
    width: min(270px, calc(100vw - 16px)) !important;
  }

  .header-summary-wrap .top-summary-button {
    width: auto !important;
    min-width: 0 !important;
    height: 48px !important;
    padding: 0 2px 0 0 !important;
    gap: 6px !important;
    border-radius: 0 !important;
  }

  .top-summary-cart-visual {
    width: 56px !important;
    height: 43px !important;
    flex-basis: 56px !important;
  }

  .top-summary-cart-icon {
    inset: 7px 6px 0 0 !important;
  }

  .top-summary-cart-badge {
    top: 0 !important;
    right: -1px !important;
  }

  .header-summary-wrap .top-summary-main,
  .header-summary-wrap .top-summary-main strong {
    font-size: 18px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .editor-shell {
    height: calc(100vh - 62px) !important;
  }

  .help-overlay {
    padding: 12px !important;
  }

  .help-modal {
    width: min(620px, calc(100vw - 24px)) !important;
    padding: 28px 26px !important;
  }

  .help-modal-layout {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 22px;
  }

  .help-modal-copy h3 {
    margin-right: 34px !important;
    font-size: 22px !important;
  }

  .help-modal-copy p {
    font-size: 16px !important;
  }
}

@media (max-width: 460px) {
  .editor-brand .brand-separator,
  .editor-brand .brand-word {
    display: none !important;
  }

  .editor-brand .brand-logo {
    height: 29px !important;
    max-width: 118px !important;
  }

  .header-summary-wrap .top-summary-main,
  .header-summary-wrap .top-summary-main strong {
    font-size: 16px !important;
  }

  .help-modal {
    padding: 28px 22px 24px !important;
  }

  .help-modal-layout {
    grid-template-columns: 70px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
  }

  .help-modal-copy h3 {
    margin: 0 30px 13px 0 !important;
    font-size: 19px !important;
  }

  .help-modal-copy p {
    font-size: 15px !important;
  }

  .help-modal-copy .help-email-line {
    margin-top: 11px !important;
  }
}

@media (max-width: 370px) {
  .editor-brand .brand-logo {
    max-width: 108px !important;
  }

  .header-menu-button,
  .header-menu-button:hover,
  .header-menu-button:focus,
  .header-menu-button:focus-visible,
  .header-menu-button:active {
    width: 39px !important;
    min-width: 39px !important;
  }

  .top-summary-cart-visual {
    width: 52px !important;
    flex-basis: 52px !important;
  }

  .header-summary-wrap .top-summary-button {
    gap: 4px !important;
  }

  .header-summary-wrap .top-summary-main,
  .header-summary-wrap .top-summary-main strong {
    font-size: 15px !important;
  }

  .help-modal-layout {
    grid-template-columns: 1fr;
  }

  .help-modal-figure {
    display: none;
  }
}



.save-config-qr-wrap {
  position: relative;
}

.save-config-qr {
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.save-config-qr canvas,
.save-config-qr img {
  display: block;
  pointer-events: none;
}

.save-config-qr:hover,
.save-config-qr:focus-visible {
  box-shadow: 0 0 0 1px var(--red), 0 8px 22px rgba(182, 35, 40, .18);
  transform: translateY(-1px) scale(1.025);
  outline: none;
}

.save-config-qr.is-copied {
  box-shadow: 0 0 0 4px rgba(16, 142, 75, .15);
}

.save-config-qr.is-error {
  box-shadow: 0 0 0 4px rgba(193, 16, 21, .16);
}

.save-config-qr-wrap .save-config-qr-tooltip {
  position: absolute;
  z-index: 4;
  top: 42px;
  right: calc(100% + 12px);
  width: max-content;
  max-width: 200px;
  padding: 8px 10px;
  border-radius: 9px;
  background: #202833;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
  pointer-events: none;
  opacity: 0;
  transform: translate(6px, -50%);
  transition: opacity .16s ease, transform .16s ease;
}

.save-config-qr-wrap .save-config-qr-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  border: 6px solid transparent;
  border-left-color: #202833;
  transform: translateY(-50%);
}

.save-config-qr:hover ~ .save-config-qr-tooltip,
.save-config-qr:focus-visible ~ .save-config-qr-tooltip,
.save-config-qr.is-feedback ~ .save-config-qr-tooltip {
  opacity: 1;
  transform: translate(0, -50%);
}

.save-config-qr.is-error ~ .save-config-qr-tooltip {
  background: var(--red);
}

.save-config-qr.is-error ~ .save-config-qr-tooltip::after {
  border-left-color: var(--red);
}

.save-config-qr-caption {
  max-width: 176px;
  margin-top: 8px;
  color: #171b22;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.app-dialog-content .app-dialog-recommendation {
  margin-top: 8px;
  font-weight: 800;
  color: #303741;
}

.app-dialog-actions #appDialogSecondary,
.app-dialog-actions #appDialogCancel {
  background: #fff !important;
  color: var(--text) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease !important;
}

.app-dialog-actions #appDialogSecondary:hover,
.app-dialog-actions #appDialogSecondary:focus-visible,
.app-dialog-actions #appDialogCancel:hover,
.app-dialog-actions #appDialogCancel:focus-visible {
  background: #fff !important;
  color: var(--red) !important;
  border-color: var(--red) !important;
  box-shadow: 0 8px 18px rgba(182, 35, 40, .16) !important;
  transform: translateY(-1px) !important;
  outline: none !important;
}


.placement-preview {
  position: absolute;
  box-sizing: border-box;
  pointer-events: none;
  user-select: none;
  background: rgba(36, 190, 91, .25);
  border: 2px solid rgba(20, 178, 76, .92);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .44),
    0 0 12px rgba(20, 178, 76, .22);
}

@media (hover: none), (pointer: coarse) {
  .placement-preview {
    display: none !important;
  }
}

@media (min-width: 821px) {
  .editor-header .brand-word {
    position: relative !important;
    color: #fff !important;
    transition: none !important;
  }
  .editor-header .brand-word::after {
    content: attr(data-hover-text);
    position: absolute;
    inset: 0;
    color: #c11015;
    clip-path: inset(0 100% 0 0);
    pointer-events: none;
    transition: clip-path .28s ease .36s;
  }
  .editor-header .brand-main-line:hover .brand-word,
  .editor-header .brand-main-line:focus-within .brand-word {
    color: #fff !important;
  }
  .editor-header .brand-main-line:hover .brand-word::after,
  .editor-header .brand-main-line:focus-within .brand-word::after {
    clip-path: inset(0 0 0 0);
  }
}



.top-summary-cart-visual {
  width: 50px !important;
  height: 48px !important;
  flex: 0 0 50px !important;
}

.top-summary-cart-icon {
  inset: 8px 3px 0 0 !important;
  -webkit-mask: url('./kosik-ikona.svg?v=527') center / contain no-repeat !important;
  mask: url('./kosik-ikona.svg?v=527') center / contain no-repeat !important;
}

.top-summary-cart-badge {
  top: 0 !important;
  right: -1px !important;
}

@media (max-width: 820px) {
  .editor-header.app-header {
    min-height: 64px !important;
    height: 64px !important;
    padding: 7px 8px !important;
    gap: 8px !important;
  }

  .editor-brand.app-brand {
    justify-content: center !important;
  }

  .editor-brand .brand-main-line {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 2px !important;
  }

  .editor-brand .brand-logo {
    height: 30px !important;
    max-width: 130px !important;
  }

  .editor-brand .brand-separator {
    display: none !important;
  }

  .editor-brand .brand-word {
    display: block !important;
    position: static !important;
    max-width: 130px !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  .editor-brand .brand-word::after {
    display: none !important;
  }

  .editor-header-right {
    gap: 8px !important;
    align-items: center !important;
  }

  .header-menu-wrap,
  .header-summary-wrap {
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
  }

  .header-menu-button,
  .header-menu-button:hover,
  .header-menu-button:focus,
  .header-menu-button:focus-visible,
  .header-menu-button:active {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
  }

  .header-menu-button {
    gap: 0 !important;
  }

  .header-menu-label {
    font-size: 12px !important;
    line-height: 1 !important;
  }

  .header-menu-icon {
    width: 32px !important;
    height: 30px !important;
  }

  .header-summary-wrap .top-summary-button {
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 2px 0 0 !important;
    gap: 7px !important;
    align-items: center !important;
  }

  .top-summary-cart-visual {
    width: 50px !important;
    height: 48px !important;
    flex: 0 0 50px !important;
  }

  .top-summary-cart-icon {
    inset: 8px 3px 0 0 !important;
  }

  .top-summary-cart-badge {
    top: 0 !important;
    right: -1px !important;
  }

  .editor-shell {
    height: calc(100vh - 64px) !important;
  }
}

@media (max-width: 420px) {
  .editor-brand .brand-logo {
    height: 28px !important;
    max-width: 116px !important;
  }

  .editor-brand .brand-word {
    display: block !important;
    max-width: 116px !important;
    font-size: 14px !important;
  }

  .header-summary-wrap .top-summary-main,
  .header-summary-wrap .top-summary-main strong {
    font-size: 16px !important;
  }
}

@media (max-width: 370px) {
  .editor-brand .brand-logo {
    max-width: 106px !important;
  }

  .editor-brand .brand-word {
    max-width: 106px !important;
  }

  .editor-header-right {
    gap: 8px !important;
  }

  .header-summary-wrap .top-summary-button {
    gap: 4px !important;
  }

  .top-summary-cart-visual {
    width: 48px !important;
    flex-basis: 48px !important;
  }

  .header-summary-wrap .top-summary-main,
  .header-summary-wrap .top-summary-main strong {
    font-size: 15px !important;
  }
}



.top-summary-cart-visual {
  width: 50px !important;
  height: 48px !important;
  flex: 0 0 50px !important;
}
.top-summary-cart-icon {
  inset: 8px 3px 0 0 !important;
  -webkit-mask: url('./kosik-ikona.svg?v=527') center / contain no-repeat !important;
  mask: url('./kosik-ikona.svg?v=527') center / contain no-repeat !important;
}
.top-summary-cart-badge {
  top: 0 !important;
  right: -1px !important;
}

@media (max-width: 820px) {
  .editor-header.app-header {
    min-height: 64px !important;
    height: 64px !important;
    padding: 7px 8px !important;
    gap: 8px !important;
  }
  .editor-brand.app-brand {
    justify-content: center !important;
  }
  .editor-brand .brand-main-line {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 2px !important;
  }
  .editor-brand .brand-logo {
    height: 30px !important;
    max-width: 130px !important;
  }
  .editor-brand .brand-separator {
    display: none !important;
  }
  .editor-brand .brand-word {
    display: block !important;
    position: static !important;
    max-width: 130px !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  .editor-brand .brand-word::after {
    display: none !important;
  }
  .editor-header-right {
    gap: 8px !important;
    align-items: center !important;
  }
  .header-menu-wrap,
  .header-summary-wrap {
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
  }
  .header-menu-button,
  .header-menu-button:hover,
  .header-menu-button:focus,
  .header-menu-button:focus-visible,
  .header-menu-button:active {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
  }
  .header-menu-button {
    gap: 0 !important;
  }
  .header-menu-label {
    font-size: 12px !important;
    line-height: 1 !important;
  }
  .header-menu-icon {
    width: 32px !important;
    height: 30px !important;
  }
  .header-summary-wrap .top-summary-button {
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 2px 0 0 !important;
    gap: 7px !important;
    align-items: center !important;
  }
  .top-summary-cart-visual {
    width: 50px !important;
    height: 48px !important;
    flex: 0 0 50px !important;
  }
  .top-summary-cart-icon {
    inset: 8px 3px 0 0 !important;
  }
  .top-summary-cart-badge {
    top: 0 !important;
    right: -1px !important;
  }
  .editor-shell {
    height: calc(100vh - 64px) !important;
  }
}

@media (max-width: 420px) {
  .editor-brand .brand-logo {
    height: 28px !important;
    max-width: 116px !important;
  }
  .editor-brand .brand-word {
    display: block !important;
    max-width: 116px !important;
    font-size: 14px !important;
  }
  .header-summary-wrap .top-summary-main,
  .header-summary-wrap .top-summary-main strong {
    font-size: 16px !important;
  }
}

@media (max-width: 370px) {
  .editor-brand .brand-logo,
  .editor-brand .brand-word {
    max-width: 106px !important;
  }
  .editor-header-right {
    gap: 8px !important;
  }
  .header-summary-wrap .top-summary-button {
    gap: 4px !important;
  }
  .top-summary-cart-visual {
    width: 48px !important;
    flex-basis: 48px !important;
  }
  .header-summary-wrap .top-summary-main,
  .header-summary-wrap .top-summary-main strong {
    font-size: 15px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .editor-header .brand-logo-swap .brand-logo-hover-red,
  .editor-header .brand-separator::before,
  .editor-header .brand-separator::after,
  .editor-header .brand-word {
    transition: none !important;
  }
}



.canvas-item.behavior-mobile_cabinet {
  z-index: 13 !important;
}
.canvas-item.behavior-workbench {
  z-index: 8 !important;
}





#productList.product-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 0 10px 16px 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: thin !important;
  scrollbar-gutter: stable !important;
}

#productList .product-card,
#productList .product-card-ref {
  --pc-img-w: 96px;
  display: grid !important;
  grid-template-columns: var(--pc-img-w) minmax(0, 1fr) !important;
  grid-template-areas:
    "media main"
    "divider divider"
    "bottom bottom" !important;
  grid-template-rows: 98px 1px 42px !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 174px !important;
  height: auto !important;
  padding: 12px 14px 13px !important;
  gap: 7px 12px !important;
  border: 1px solid #dce2ea !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(20,24,32,.04) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  cursor: pointer !important;
}

#productList .product-card:hover,
#productList .product-card-ref:hover {
  border-color: var(--red) !important;
  box-shadow: 0 10px 26px rgba(20,24,32,.08) !important;
}

#productList .product-card.active,
#productList .product-card-ref.active {
  border-color: var(--red) !important;
  box-shadow: inset 0 0 0 1px var(--red), 0 8px 24px rgba(182,35,40,.09) !important;
}

#productList .product-media {
  grid-area: media !important;
  width: var(--pc-img-w) !important;
  min-width: var(--pc-img-w) !important;
  max-width: var(--pc-img-w) !important;
  height: 98px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

#productList .product-thumb {
  width: var(--pc-img-w) !important;
  height: 92px !important;
  min-width: var(--pc-img-w) !important;
  min-height: 92px !important;
  max-width: var(--pc-img-w) !important;
  max-height: 92px !important;
  padding: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

#productList .product-thumb img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: auto !important;
  background: transparent !important;
}

#productList .product-main {
  grid-area: main !important;
  min-width: 0 !important;
  height: 98px !important;
  padding-top: 2px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 5px !important;
  overflow: hidden !important;
}

#productList .product-title {
  margin: 0 !important;
  color: #0f141a !important;
  font-size: 14px !important;
  line-height: 1.18 !important;
  font-weight: 900 !important;
  max-width: 100% !important;
  max-height: 50px !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
}

#productList .product-code {
  margin: 0 !important;
  color: #111 !important;
  font-size: 14px !important;
  line-height: 1.15 !important;
  font-weight: 400 !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#productList .stock-line {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.15 !important;
  font-weight: 400 !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
#productList .stock-line strong { font-weight: 800 !important; }

#productList .product-card::after,
#productList .product-card-ref::after {
  content: "" !important;
  grid-area: divider !important;
  width: 100% !important;
  height: 1px !important;
  background: #e5e9ef !important;
  align-self: center !important;
  justify-self: stretch !important;
}

#productList .product-bottom {
  grid-area: bottom !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) !important;
  align-items: center !important;
  justify-items: center !important;
  column-gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

#productList .product-price {
  grid-column: 1 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  text-align: center !important;
  white-space: nowrap !important;
  align-self: center !important;
  justify-self: center !important;
}

#productList .price-sale,
#productList .price-old {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  text-align: center !important;
  align-self: center !important;
}

#productList .price-sale {
  color: var(--red) !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}

#productList .price-old {
  color: #737b86 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  text-decoration: line-through !important;
}

#productList .product-controls {
  grid-column: 2 !important;
  justify-self: center !important;
  align-self: center !important;
  display: grid !important;
  grid-template-columns: 24px 38px 24px !important;
  width: 86px !important;
  min-width: 86px !important;
  max-width: 86px !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #dfe5ec !important;
  border-radius: 11px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 3px 10px rgba(20,24,32,.035) !important;
  box-sizing: border-box !important;
}

#productList .product-sub,
#productList .product-add,
#productList .product-count,
#productList .product-count-input {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  line-height: 30px !important;
}

#productList .product-sub,
#productList .product-add {
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  background: #fff !important;
  color: #4e5965 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}
#productList .product-sub { border-right: 1px solid #e5e9ef !important; }
#productList .product-add { border-left: 1px solid #e5e9ef !important; }
#productList .product-sub:disabled { opacity: .35 !important; cursor: default !important; }

#productList .product-count,
#productList .product-count-input {
  border: 0 !important;
  background: #fff !important;
  color: #101418 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-align: center !important;
  outline: none !important;
  appearance: textfield !important;
  -moz-appearance: textfield !important;
}
#productList .product-count-input::-webkit-outer-spin-button,
#productList .product-count-input::-webkit-inner-spin-button {
  appearance: none !important;
  margin: 0 !important;
}

@media (max-width: 1500px) {
  #productList.product-list {
    padding: 0 9px 15px 0 !important;
    gap: 12px !important;
  }
  #productList .product-card,
  #productList .product-card-ref {
    --pc-img-w: 90px;
    grid-template-rows: 94px 1px 40px !important;
    min-height: 166px !important;
    padding: 11px 12px 12px !important;
    gap: 7px 10px !important;
  }
  #productList .product-media,
  #productList .product-main { height: 94px !important; }
  #productList .product-thumb {
    height: 88px !important;
    min-height: 88px !important;
    max-height: 88px !important;
  }
  #productList .product-bottom {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    column-gap: 7px !important;
  }
  #productList .product-controls {
    grid-template-columns: 23px 36px 23px !important;
    width: 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
    height: 29px !important;
    min-height: 29px !important;
    max-height: 29px !important;
  }
  #productList .product-sub,
  #productList .product-add,
  #productList .product-count,
  #productList .product-count-input {
    height: 29px !important;
    min-height: 29px !important;
    max-height: 29px !important;
    line-height: 29px !important;
  }
}

@media (max-width: 1100px) {
  #productList.product-list {
    padding: 0 8px 14px 0 !important;
    gap: 11px !important;
  }
  #productList .product-card,
  #productList .product-card-ref {
    --pc-img-w: 84px;
    grid-template-rows: 88px 1px 39px !important;
    min-height: 156px !important;
    padding: 10px 11px 11px !important;
    gap: 6px 9px !important;
  }
  #productList .product-media,
  #productList .product-main { height: 88px !important; }
  #productList .product-thumb {
    height: 82px !important;
    min-height: 82px !important;
    max-height: 82px !important;
  }
  #productList .product-title { font-size: 14px !important; }
  #productList .product-bottom {
    height: 39px !important;
    min-height: 39px !important;
    max-height: 39px !important;
    column-gap: 6px !important;
  }
  #productList .product-controls {
    grid-template-columns: 22px 34px 22px !important;
    width: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
  }
  #productList .product-sub,
  #productList .product-add,
  #productList .product-count,
  #productList .product-count-input {
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    line-height: 28px !important;
  }
  #productList .price-sale { font-size: 15px !important; }
  #productList .price-old { font-size: 14px !important; }
}



.canvas-item .canvas-remove-btn {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: var(--red);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 25px;
  font-weight: 900;
  line-height: 20px;
  cursor: pointer;
  z-index: 80;
  pointer-events: auto;
  box-shadow: 0 2px 7px rgba(0,0,0,.28);
}
.canvas-item:hover .canvas-remove-btn,
.canvas-item.selected .canvas-remove-btn {
  display: flex;
}
.canvas-item .canvas-remove-btn:hover {
  filter: brightness(.96);
  transform: translate(-50%, -50%) scale(1.05);
}
.canvas-item .canvas-remove-btn:active {
  transform: translate(-50%, -50%) scale(.96);
}
.canvas-item.behavior-pegboard .canvas-remove-btn,
.canvas-item.overlap .canvas-remove-btn {
  z-index: 90;
}
@media (max-width: 760px) {
  .canvas-item .canvas-remove-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    font-size: 30px;
  }
}





.canvas-item .canvas-remove-btn {
  left: 50% !important;
  top: 80% !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  transform: translate(-50%, -50%) scale(1) !important;
  transition: transform .14s ease, filter .14s ease !important;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.28)) !important;
}

.canvas-item.behavior-pegboard .canvas-remove-btn,
.canvas-item.behavior-worktop .canvas-remove-btn {
  top: 50% !important;
}

.canvas-item .canvas-remove-icon {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  overflow: visible !important;
  pointer-events: none !important;
}

.canvas-item .canvas-remove-icon circle {
  fill: var(--red) !important;
  stroke: #fff !important;
  stroke-width: 4 !important;
}

.canvas-item .canvas-remove-icon path {
  fill: none !important;
  stroke: #fff !important;
  stroke-width: 5 !important;
  stroke-linecap: round !important;
}

.canvas-item .canvas-remove-btn:hover {
  transform: translate(-50%, -50%) scale(1.16) !important;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,.38)) !important;
}

.canvas-item .canvas-remove-btn:active {
  transform: translate(-50%, -50%) scale(.96) !important;
}

@media (max-width: 760px) {
  .canvas-item .canvas-remove-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }
}



.canvas-item {
  overflow: visible !important;
}

.canvas-item:hover,
.canvas-item.selected,
.canvas-item.remove-proxy-hover {
  z-index: 90 !important;
}

.canvas-item.behavior-worktop:hover,
.canvas-item.behavior-worktop.selected,
.canvas-item.behavior-pegboard:hover,
.canvas-item.behavior-pegboard.selected {
  z-index: 120 !important;
}

.canvas-item .canvas-remove-btn {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  z-index: 2147483000 !important;
  isolation: isolate !important;
  transform: translate(-50%, -50%) scale(1) !important;
  transform-origin: center center !important;
}

.canvas-item:hover .canvas-remove-btn,
.canvas-item.selected .canvas-remove-btn,
.canvas-item.remove-proxy-hover .canvas-remove-btn {
  display: flex !important;
}


.canvas-item.remove-pos-pegboard-bottom .canvas-remove-btn {
  left: 50% !important;
  top: 82% !important;
}


.canvas-item.remove-pos-worktop-front .canvas-remove-btn {
  left: 50% !important;
  top: 50% !important;
}


.canvas-item.remove-pos-low .canvas-remove-btn {
  left: 50% !important;
  top: 82% !important;
}


.canvas-item.remove-pos-center .canvas-remove-btn {
  left: 50% !important;
  top: 50% !important;
}


.canvas-item.remove-pos-workbench-side.remove-side-left .canvas-remove-btn {
  left: 25% !important;
  top: 72% !important;
}

.canvas-item.remove-pos-workbench-side.remove-side-right .canvas-remove-btn {
  left: 75% !important;
  top: 72% !important;
}

.canvas-item .canvas-remove-btn:hover {
  transform: translate(-50%, -50%) scale(1.16) !important;
}

.canvas-item .canvas-remove-btn:active {
  transform: translate(-50%, -50%) scale(.96) !important;
}

.canvas-item .canvas-remove-icon circle {
  fill: var(--red) !important;
  stroke: #fff !important;
  stroke-width: 4 !important;
}

.canvas-item .canvas-remove-icon path {
  fill: none !important;
  stroke: #fff !important;
  stroke-width: 5 !important;
  stroke-linecap: round !important;
}

@media (max-width: 760px) {
  .canvas-item .canvas-remove-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
  }
}


.canvas-item .canvas-remove-btn {
  display: none !important;
}


.canvas-item.behavior-pegboard:hover,
.canvas-item.behavior-pegboard.selected,
.canvas-item.behavior-pegboard.remove-proxy-hover,
.canvas-item.overlap:hover,
.canvas-item.overlap.selected,
.canvas-item.overlap.remove-proxy-hover {
  z-index: 3 !important;
}
.canvas-item.behavior-worktop:hover,
.canvas-item.behavior-worktop.selected,
.canvas-item.behavior-worktop.remove-proxy-hover {
  z-index: 11 !important;
}
.canvas-item.behavior-workbench:hover,
.canvas-item.behavior-workbench.selected,
.canvas-item.behavior-workbench.remove-proxy-hover {
  z-index: 8 !important;
}
.canvas-item.behavior-base_cabinet:hover,
.canvas-item.behavior-base_cabinet.selected,
.canvas-item.behavior-base_cabinet.remove-proxy-hover {
  z-index: 10 !important;
}
.canvas-item.behavior-tall_cabinet:hover,
.canvas-item.behavior-tall_cabinet.selected,
.canvas-item.behavior-tall_cabinet.remove-proxy-hover,
.canvas-item.behavior-rack:hover,
.canvas-item.behavior-rack.selected,
.canvas-item.behavior-rack.remove-proxy-hover {
  z-index: 12 !important;
}
.canvas-item.behavior-mobile_cabinet:hover,
.canvas-item.behavior-mobile_cabinet.selected,
.canvas-item.behavior-mobile_cabinet.remove-proxy-hover {
  z-index: 13 !important;
}
.canvas-item.behavior-wall_cabinet:hover,
.canvas-item.behavior-wall_cabinet.selected,
.canvas-item.behavior-wall_cabinet.remove-proxy-hover {
  z-index: 14 !important;
}

.canvas-remove-overlay {
  position: absolute;
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  margin: 0;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  z-index: 500 !important;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.30));
  transition: transform .14s ease, filter .14s ease;
}

.canvas-item:hover + .canvas-remove-overlay,
.canvas-item.selected + .canvas-remove-overlay,
.canvas-item.remove-proxy-hover + .canvas-remove-overlay,
.canvas-remove-overlay:hover,
.canvas-remove-overlay.selected,
.canvas-remove-overlay.remove-proxy-hover {
  display: flex !important;
}

.canvas-remove-overlay:hover {
  transform: translate(-50%, -50%) scale(1.16);
  filter: drop-shadow(0 3px 8px rgba(0,0,0,.38));
}
.canvas-remove-overlay:active {
  transform: translate(-50%, -50%) scale(.96);
}
.canvas-remove-overlay .canvas-remove-icon {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  pointer-events: none;
}
.canvas-remove-overlay .canvas-remove-icon circle {
  fill: var(--red);
  stroke: #fff;
  stroke-width: 4;
}
.canvas-remove-overlay .canvas-remove-icon path {
  fill: none;
  stroke: #fff;
  stroke-width: 5;
  stroke-linecap: round;
}

@media (max-width: 760px) {
  .canvas-remove-overlay {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
  }
}



.canvas-remove-overlay {
  z-index: 2000 !important;
}
.canvas-remove-overlay.remove-side-center {
  display: none;
}
.canvas-item:hover + .canvas-remove-overlay.remove-side-center,
.canvas-item.selected + .canvas-remove-overlay.remove-side-center,
.canvas-item.remove-proxy-hover + .canvas-remove-overlay.remove-side-center,
.canvas-remove-overlay.remove-side-center:hover,
.canvas-remove-overlay.remove-side-center.selected,
.canvas-remove-overlay.remove-side-center.remove-proxy-hover {
  display: flex !important;
}
.canvas-remove-overlay.behavior-workbench.has-mobile-cart.remove-side-left,
.canvas-remove-overlay.behavior-workbench.has-mobile-cart.remove-side-center,
.canvas-remove-overlay.behavior-workbench.has-mobile-cart.remove-side-right {
  z-index: 2100 !important;
}
.canvas-remove-overlay.behavior-pegboard,
.canvas-remove-overlay.behavior-worktop {
  z-index: 2200 !important;
}



.canvas-remove-overlay.behavior-pegboard {
  z-index: 2400 !important;
}
.canvas-remove-overlay.behavior-worktop {
  z-index: 2400 !important;
}

.canvas-item.behavior-pegboard:hover,
.canvas-item.behavior-pegboard.selected,
.canvas-item.behavior-pegboard.remove-proxy-hover {
  z-index: 3 !important;
}

.canvas-remove-overlay.behavior-workbench.has-mobile-cart {
  z-index: 1800 !important;
}
.canvas-remove-overlay.behavior-mobile_cabinet {
  z-index: 2600 !important;
}



.editor-header {
  min-height: 64px !important;
  padding: 7px 16px !important;
  gap: 14px !important;
  align-items: center !important;
  flex-direction: row !important;
}
.editor-brand {
  min-width: 240px;
}
.editor-brand .brand-mark {
  display: none !important;
}
.editor-brand .brand-title {
  font-size: 20px !important;
  line-height: 1 !important;
  letter-spacing: -.02em;
}
.editor-brand .brand-subtitle {
  margin-top: 3px !important;
  font-size: 14px !important;
  color: #fff !important;
  opacity: .95;
}
.editor-header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}
.editor-actions {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
  justify-content: flex-end !important;
  overflow: visible !important;
}
.editor-actions .btn {
  height: 38px !important;
  padding: 0 16px !important;
  border-radius: 13px !important;
  font-size: 14px !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.14);
}
.editor-actions .btn-success {
  padding-inline: 18px !important;
}
.header-summary-wrap {
  margin-left: 2px !important;
  flex: 0 0 auto;
}
.header-summary-wrap .top-summary-button {
  min-width: 162px !important;
  height: 46px !important;
  padding: 6px 12px !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.22) !important;
}
.header-summary-wrap .top-summary-main {
  font-size: 14px !important;
  color: #4f5b6a !important;
}
.header-summary-wrap .top-summary-main strong {
  font-size: 18px !important;
  color: var(--red) !important;
}
.header-summary-wrap .top-summary-sub {
  font-size: 14px !important;
  margin-top: 0 !important;
}
.header-summary-wrap .top-summary-dropdown {
  top: calc(100% + 10px) !important;
  z-index: 5000 !important;
}
.workspace-toolbar {
  justify-content: flex-start !important;
}
.header-menu-wrap {
  position: relative;
  display: none;
  flex: 0 0 auto;
}
.header-menu-button {
  width: 62px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 13px;
  background: #fff;
  color: #111;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 4px 8px;
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
}
.header-menu-label {
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
}
.header-menu-icon {
  width: 28px;
  height: 22px;
}
.header-menu-icon path {
  fill: none;
  stroke: var(--red);
  stroke-width: 4;
  stroke-linecap: round;
}
.header-menu-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 250px;
  padding: 8px;
  background: #fff;
  border: 1px solid #dde2e8;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(17,20,24,.24);
  z-index: 5200;
}
.menu-action {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #111;
  font-weight: 900;
  text-align: left;
  padding: 0 12px;
}
.menu-action:hover {
  background: #f4f6f8;
}
.menu-action-success {
  color: #fff;
  background: var(--green);
  text-align: center;
  justify-content: center;
}
.menu-action-success:disabled {
  opacity: .48;
  cursor: not-allowed;
}

@media (max-width: 1180px) {
  .editor-actions {
    display: none !important;
  }
  .header-menu-wrap {
    display: block !important;
  }
  .editor-brand {
    min-width: 190px;
  }
}

@media (max-width: 820px) {
  .editor-header {
    min-height: 62px !important;
    padding: 7px 10px !important;
    align-items: center !important;
    flex-direction: row !important;
  }
  .editor-brand {
    min-width: 0;
    flex: 1 1 auto;
  }
  .editor-brand .brand-title {
    font-size: 17px !important;
  }
  .editor-brand .brand-subtitle {
    max-width: 38vw;
    font-size: 14px !important;
  }
  .editor-header-right {
    gap: 7px;
  }
  .header-summary-wrap .top-summary-button {
    min-width: 126px !important;
    height: 44px !important;
    padding: 5px 9px !important;
  }
  .header-summary-wrap .top-summary-main {
    font-size: 14px !important;
  }
  .header-summary-wrap .top-summary-main strong {
    font-size: 15px !important;
  }
  .header-summary-wrap .top-summary-sub {
    font-size: 14px !important;
  }
  .header-menu-button {
    width: 54px;
    height: 44px;
  }
  .header-menu-dropdown {
    width: min(250px, calc(100vw - 20px));
  }
  .editor-shell {
    height: calc(100vh - 62px) !important;
  }
}

@media (max-width: 560px) {
  .editor-brand .brand-title {
    font-size: 15px !important;
  }
  .editor-brand .brand-subtitle {
    max-width: 30vw;
  }
  .header-summary-wrap .top-summary-button {
    min-width: 112px !important;
  }
  .header-menu-button {
    width: 50px;
  }
}


.start-header.app-header,
.editor-header.app-header {
  min-height: 64px !important;
  padding: 8px 18px !important;
  background: #111 !important;
  color: #fff !important;
  border-bottom: 4px solid var(--red) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  flex-direction: row !important;
}

.app-brand,
.editor-brand.app-brand {
  display: flex !important;
  align-items: flex-start !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.brand-main-line,
.start-header .app-brand {
  display: flex !important;
  align-items: center !important;
  flex-direction: row !important;
  gap: 14px !important;
  min-width: 0 !important;
}

.brand-logo {
  display: block !important;
  width: auto !important;
  height: 34px !important;
  max-width: 210px !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
}

.brand-separator {
  position: relative !important;
  width: 18px !important;
  height: 34px !important;
  display: inline-block !important;
  flex: 0 0 18px !important;
}

.brand-separator::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 2px !important;
  bottom: 2px !important;
  width: 1px !important;
  background: rgba(255,255,255,.7) !important;
  transform: translateX(-50%) !important;
}

.brand-separator::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #fff !important;
  transform: translate(-50%, -50%) !important;
  box-shadow: 0 0 0 2px rgba(17,17,17,.9) !important;
}

.brand-word {
  color: #fff !important;
  font-size: 26px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  letter-spacing: -.02em !important;
  white-space: nowrap !important;
}

.editor-brand .brand-subtitle {
  margin-top: 0 !important;
  margin-left: 0 !important;
  color: rgba(255,255,255,.92) !important;
  font-size: 14px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 360px !important;
}

.start-note {
  color: rgba(255,255,255,.85) !important;
  font-size: 14px !important;
  white-space: nowrap !important;
}

.editor-header-right {
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  flex: 0 0 auto !important;
}

.editor-actions .btn,
.editor-actions .btn-success,
#continueButton.btn-light {
  height: 38px !important;
  padding: 0 16px !important;
  border-radius: 13px !important;
  background: #fff !important;
  color: #111 !important;
  border: 1px solid #d9dee5 !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.14) !important;
}

.editor-actions .btn:disabled,
#continueButton:disabled {
  opacity: .55 !important;
  cursor: not-allowed !important;
}

.header-menu-wrap {
  position: relative !important;
  display: none !important;
  flex: 0 0 auto !important;
  order: 1 !important;
}

.header-summary-wrap {
  margin-left: 0 !important;
  order: 2 !important;
}

.header-menu-button {
  width: 58px !important;
  height: 46px !important;
  border: 1px solid #d9dee5 !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #111 !important;
  display: grid !important;
  place-items: center !important;
  gap: 2px !important;
  padding: 4px 8px !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.18) !important;
}

.header-menu-label {
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

.header-menu-icon {
  width: 28px !important;
  height: 22px !important;
}

.header-menu-icon path {
  fill: none !important;
  stroke: var(--red) !important;
  stroke-width: 4 !important;
  stroke-linecap: round !important;
}

.header-menu-dropdown {
  right: auto !important;
  left: 0 !important;
  top: calc(100% + 10px) !important;
  z-index: 5200 !important;
}

.menu-action,
.menu-action-success {
  width: 100% !important;
  min-height: 42px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #111 !important;
  font-weight: 900 !important;
  text-align: left !important;
  padding: 0 12px !important;
}

.menu-action:hover,
.menu-action-success:hover {
  background: #f4f6f8 !important;
}

.menu-action:disabled,
.menu-action-success:disabled {
  opacity: .48 !important;
  cursor: not-allowed !important;
}

.top-summary-dropdown {
  max-height: min(560px, calc(100vh - 96px)) !important;
  overflow-y: auto !important;
}

.top-summary-line {
  color: #111 !important;
  min-height: 28px !important;
}

.top-summary-line span {
  display: block !important;
  min-width: 0 !important;
  color: inherit !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.top-summary-line strong {
  color: #111 !important;
  font-weight: 900 !important;
}

.top-summary-product-line span {
  color: #111 !important;
}

.top-summary-empty {
  padding: 8px 0 !important;
  color: #7a8491 !important;
  font-size: 14px !important;
}

@media (max-width: 1180px) {
  .editor-actions { display: none !important; }
  .header-menu-wrap { display: block !important; }
}

@media (max-width: 820px) {
  .start-header.app-header,
  .editor-header.app-header {
    min-height: 62px !important;
    padding: 7px 10px !important;
    gap: 8px !important;
  }

  .brand-logo { height: 27px !important; max-width: 145px !important; }
  .brand-separator { height: 28px !important; width: 14px !important; flex-basis: 14px !important; }
  .brand-word { font-size: 20px !important; }
  .editor-brand .brand-subtitle { max-width: 36vw !important; font-size: 14px !important; }
  .editor-header-right { gap: 7px !important; }
  .header-menu-button { width: 50px !important; height: 44px !important; }
  .header-summary-wrap .top-summary-button { min-width: 120px !important; }
  .header-menu-dropdown { width: min(250px, calc(100vw - 20px)) !important; }
}

@media (max-width: 560px) {
  .brand-logo { height: 23px !important; max-width: 112px !important; }
  .brand-word { font-size: 17px !important; }
  .brand-main-line { gap: 9px !important; }
  .editor-brand .brand-subtitle { max-width: 28vw !important; }
  .header-summary-wrap .top-summary-button { min-width: 108px !important; }
}


.start-header.app-header,
.editor-header.app-header {
  border-bottom-width: 2px !important;
}

.start-brand.app-brand,
.editor-brand.app-brand {
  gap: 5px !important;
}

.start-brand .brand-subtitle,
.editor-brand .brand-subtitle,
.setup-label {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  max-width: min(620px, 52vw) !important;
  min-height: 18px !important;
  margin-top: 2px !important;
  padding-top: 1px !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  line-height: 1.15 !important;
}

.setup-param-chip {
  appearance: none !important;
  border: 0 !important;
  background: transparent !important;
  color: rgba(255,255,255,.94) !important;
  font: inherit !important;
  font-size: 14px !important;
  line-height: 1.15 !important;
  padding: 1px 2px !important;
  margin: 0 !important;
  border-radius: 5px !important;
  cursor: pointer !important;
  text-align: left !important;
}

.setup-param-chip:hover,
.setup-param-chip:focus-visible {
  background: rgba(255,255,255,.13) !important;
  outline: none !important;
}

.setup-param-dot {
  color: rgba(255,255,255,.72) !important;
  font-size: 14px !important;
  line-height: 1 !important;
  user-select: none !important;
}

.editor-actions .btn:disabled,
#continueButton:disabled {
  background: #fff !important;
  color: #111 !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
}

.setup-param-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9000 !important;
  display: grid !important;
  place-items: start center !important;
  padding: 82px 16px 16px !important;
  background: rgba(10,14,20,.28) !important;
}

.setup-param-overlay.hidden {
  display: none !important;
}

.setup-param-modal {
  position: relative !important;
  width: min(420px, calc(100vw - 24px)) !important;
  max-height: calc(100vh - 110px) !important;
  overflow: auto !important;
  background: #fff !important;
  border: 1px solid #e0e5ec !important;
  border-radius: 18px !important;
  box-shadow: 0 22px 70px rgba(0,0,0,.22) !important;
  padding: 18px !important;
  color: #111 !important;
}

.setup-param-modal h3 {
  margin: 0 34px 14px 0 !important;
  font-size: 19px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
}

.setup-param-close {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  width: 34px !important;
  height: 34px !important;
  border: 1px solid #e0e5ec !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 24px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.setup-param-modal input,
.setup-param-modal textarea,
.setup-param-modal select,
.save-config-modal input,
.save-config-modal textarea,
.save-config-modal select {
  user-select: text !important;
  -webkit-user-select: text !important;
}

.setup-modal-options {
  display: grid !important;
  gap: 10px !important;
}

.setup-modal-option {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 62px !important;
  padding: 10px 12px !important;
  border: 1px solid #e0e5ec !important;
  border-radius: 14px !important;
  background: #fff !important;
  cursor: pointer !important;
}

.setup-modal-option.active,
.setup-modal-option:has(input:checked) {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 2px rgba(182,35,40,.12) !important;
}

.setup-modal-option input {
  width: 18px !important;
  height: 18px !important;
  accent-color: var(--red) !important;
}

.setup-modal-option .swatch {
  width: 38px !important;
  height: 38px !important;
  border-radius: 12px !important;
  flex: 0 0 auto !important;
}

.setup-modal-option .color-brush-swatch {
  width: 72px !important;
  height: 24px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

.setup-modal-option .color-brush-swatch img {
  display: block !important;
  width: 72px !important;
  height: 24px !important;
  object-fit: contain !important;
}

.setup-modal-option .numeric-swatch {
  display: grid !important;
  place-items: center !important;
  color: var(--red) !important;
  background: #fff !important;
  border: 1px solid #e0e5ec !important;
  font-weight: 900 !important;
  font-size: 14px !important;
}

.setup-modal-option strong,
.setup-modal-option small {
  display: block !important;
}

.setup-modal-option strong {
  font-size: 15px !important;
  line-height: 1.15 !important;
}

.setup-modal-option small {
  color: #6b7280 !important;
  margin-top: 3px !important;
  font-size: 14px !important;
}

.setup-modal-input {
  display: grid !important;
  gap: 7px !important;
}

.setup-modal-input span {
  font-size: 14px !important;
  color: #667085 !important;
  font-weight: 800 !important;
}

.setup-modal-input input {
  width: 100% !important;
  height: 46px !important;
  border: 1px solid #d9dee5 !important;
  border-radius: 12px !important;
  padding: 0 12px !important;
  font-size: 16px !important;
}

.setup-param-actions {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  margin-top: 16px !important;
}

@media (max-width: 820px) {
  .start-header.app-header,
  .editor-header.app-header {
    min-height: 66px !important;
    padding: 7px 10px !important;
  }

  .app-brand,
  .editor-brand.app-brand,
  .start-brand.app-brand {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .brand-main-line {
    width: 100% !important;
    gap: 9px !important;
  }

  .start-brand .brand-subtitle,
  .editor-brand .brand-subtitle,
  .setup-label {
    max-width: min(430px, 66vw) !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
    gap: 3px !important;
    min-height: 26px !important;
    align-content: flex-start !important;
    margin-top: 4px !important;
  }

  .setup-param-chip {
    font-size: 14px !important;
    padding: 1px 1px !important;
  }

  .setup-param-dot {
    font-size: 14px !important;
  }

  .setup-param-overlay {
    padding-top: 76px !important;
  }
}

@media (max-width: 560px) {
  .start-brand .brand-subtitle,
  .editor-brand .brand-subtitle,
  .setup-label {
    max-width: 72vw !important;
    min-height: 28px !important;
  }

  .header-menu-wrap {
    order: 1 !important;
  }
  .header-summary-wrap {
    order: 2 !important;
  }

  .header-menu-button {
    width: 46px !important;
    height: 42px !important;
  }

  .header-summary-wrap .top-summary-button {
    min-width: 104px !important;
  }
}



.start-header.app-header,
.editor-header.app-header {
  border-bottom-width: 2px !important;
}

.start-brand.app-brand,
.editor-brand.app-brand,
.app-brand {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 0 !important;
  min-width: 0 !important;
}

.brand-main-line {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  max-width: 100% !important;
}

.start-brand .brand-subtitle,
.editor-brand .brand-subtitle,
.setup-label {
  width: 100% !important;
  max-width: min(760px, 58vw) !important;
  min-height: 18px !important;
  margin-top: 5px !important;
  padding-top: 0 !important;
  display: flex !important;
  align-items: center !important;
  align-content: center !important;
  justify-content: flex-start !important;
  gap: 5px !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.setup-param-chip {
  padding: 2px 2px !important;
}

.wall-input input::placeholder {
  color: #9aa3af !important;
}

@media (max-width: 820px) {
  .start-header.app-header,
  .editor-header.app-header {
    min-height: 78px !important;
    padding: 8px 10px !important;
    align-items: stretch !important;
  }

  .start-brand.app-brand,
  .editor-brand.app-brand,
  .app-brand {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .brand-main-line {
    max-width: 100% !important;
  }

  .start-brand .brand-subtitle,
  .editor-brand .brand-subtitle,
  .setup-label {
    max-width: min(520px, 92vw) !important;
    min-height: 20px !important;
    margin-top: 6px !important;
    font-size: 14px !important;
    gap: 4px !important;
  }

  .setup-param-chip {
    font-size: 14px !important;
  }
}

@media (max-width: 560px) {
  .start-brand .brand-subtitle,
  .editor-brand .brand-subtitle,
  .setup-label {
    max-width: 96vw !important;
    min-height: 22px !important;
  }
}



#productList,
.product-list {
  overflow-anchor: none;
}
#productList .product-card,
#productList .product-controls,
#productList .product-count-input,
#productList .product-add,
#productList .product-sub {
  overflow-anchor: none;
}


.save-config-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000 !important;
  background: rgba(10, 13, 18, .55);
  display: grid;
  place-items: center;
  padding: 18px;
}
.save-config-modal {
  width: min(720px, calc(100vw - 28px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  position: relative;
  background: #fff;
  color: var(--text);
  border-radius: 24px;
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.25);
  padding: 24px;
}
.save-config-modal h3 {
  margin: 0 44px 14px 0;
  font-size: 23px;
  line-height: 1.15;
}
.save-config-status {
  border-radius: 16px;
  background: #edf5ff;
  color: #184d8f;
  border: 1px solid #cfe3ff;
  padding: 12px 14px;
  font-weight: 800;
}
.save-config-status.error {
  background: #fff0f0;
  color: #9d1c22;
  border-color: #ffd0d0;
}
.save-config-status.is-loader {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 172px;
  padding: 22px 18px;
  background: #fff;
  color: var(--text);
  border: 0;
  box-shadow: none;
}
.save-config-inline-loader {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}
.save-config-inline-loader-gear {
  width: 84px;
  height: 84px;
}
.save-config-inline-loader-title {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -.01em;
}
.save-config-content { margin-top: 16px; }
.save-config-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 176px;
  gap: 18px;
  align-items: start;
}
.save-config-main { display: grid; gap: 14px; }
.save-config-field { display: grid; gap: 7px; }
.save-config-field > span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.save-config-copyline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.save-config-copyline input {
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  background: #f8f9fb;
  min-width: 0;
}
.save-config-meta {
  display: grid;
  gap: 5px;
  font-size: 14px;
  color: var(--muted);
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}
.save-config-qr-wrap {
  border: 0;
  border-radius: 0;
  padding: 0;
  text-align: center;
  background: transparent;
  display: grid;
  justify-items: center;
  gap: 0;
}
.save-config-qr {
  width: 176px;
  height: 176px;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--muted);
}
.save-config-qr-wrap span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 800;
}
.save-config-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 680px) {
  .save-config-grid { grid-template-columns: 1fr; }
  .save-config-copyline { grid-template-columns: 1fr; }
  .save-config-actions { justify-content: stretch; }
  .save-config-actions .btn { flex: 1 1 auto; }
}


.save-config-load-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.save-config-load-inline {
  display: inline-grid;
  grid-template-columns: minmax(190px, 260px) auto;
  gap: 8px;
  align-items: center;
}
.save-config-load-inline input {
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 12px;
  background: #fff;
  min-width: 0;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.save-config-load-inline input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(182,35,40,.12);
}
.save-config-load-inline input.input-error {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(182,35,40,.18);
}
.save-config-actions .btn-light {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.save-config-actions .btn-light:hover {
  border-color: var(--red);
  box-shadow: 0 10px 22px rgba(182,35,40,.14);
  transform: translateY(-1px) scale(1.02);
  background: #fff;
}
@media (max-width: 680px) {
  .save-config-load-wrap,
  .save-config-load-inline {
    width: 100%;
  }
  .save-config-load-inline {
    grid-template-columns: 1fr;
  }
}


.editor-actions .btn-light,
.editor-actions .btn {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease !important;
}
.editor-actions .btn-light:hover,
.editor-actions .btn:hover {
  border-color: var(--red) !important;
  box-shadow: 0 10px 22px rgba(182,35,40,.14), 0 4px 14px rgba(0,0,0,.12) !important;
  transform: translateY(-1px) scale(1.02) !important;
  background: #fff !important;
}
.brand-home-logo {
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}
.brand-home-logo:hover {
  transform: scale(1.025);
  filter: brightness(1.08);
}
.workspace-toolbar {
  justify-content: space-between !important;
  gap: 14px !important;
}
.zoom-toolbar-group {
  flex: 0 0 auto;
}
.toolbar-minimap.stage-minimap {
  position: static !important;
  right: auto !important;
  bottom: auto !important;
  margin-left: auto !important;
  display: grid !important;
  grid-template-columns: 36px minmax(220px, 360px) 36px !important;
  width: min(460px, 48vw) !important;
  flex: 0 1 460px !important;
  z-index: 2 !important;
}
.toolbar-minimap .minimap-track {
  width: 100%;
}
.setup-modal-section {
  display: grid;
  gap: 10px;
}
.setup-modal-section + .setup-modal-section {
  margin-top: 18px;
}
.setup-modal-section h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  color: var(--text);
}
@media (max-width: 900px) {
  .workspace-toolbar {
    flex-wrap: wrap !important;
  }
  .toolbar-minimap.stage-minimap {
    width: 100% !important;
    flex: 1 1 100% !important;
    grid-template-columns: 34px minmax(140px, 1fr) 34px !important;
    margin-left: 0 !important;
  }
}




:root { --footer-height: 30px; }
.start-screen,
.editor-screen {
  height: calc(100vh - var(--footer-height));
}
.start-card {
  max-height: calc(100vh - 112px - var(--footer-height));
}
.app-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--footer-height);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 clamp(64px, 8vw, 150px);
  background: #fff;
  border-top: 2px solid var(--red);
  color: #24272b;
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 -4px 16px rgba(20, 24, 32, .05);
}
.app-footer-left,
.app-footer-right {
  min-width: 0;
  white-space: nowrap;
}
.app-footer-right a {
  color: var(--red);
  font-weight: 900;
  text-decoration: none;
}
.app-footer-right a:hover {
  text-decoration: underline;
}
@media (max-width: 720px) {
  :root { --footer-height: 30px; }
  .app-footer {
    padding: 0 14px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 14px;
    line-height: 1;
  }
  .app-footer-left,
  .app-footer-right {
    white-space: nowrap;
    overflow: visible;
  }
  .app-footer-right {
    text-align: right;
  }
}
@media (max-width: 380px) {
  .app-footer {
    padding: 0 10px;
    gap: 6px;
    font-size: 14px;
  }
}


.catalog-status {
  display: none !important;
}

@media (max-width: 1024px) {
  .editor-shell {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    height: auto !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .workspace-panel {
    order: 1 !important;
    width: 100% !important;
    flex: 0 0 min(58vh, 520px) !important;
    min-height: 320px !important;
    overflow: hidden !important;
  }

  .catalog-panel {
    order: 2 !important;
    width: 100% !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    border-right: 0 !important;
    border-top: 1px solid var(--line) !important;
    padding: 8px 8px 10px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .workspace-toolbar {
    height: 46px !important;
    min-height: 46px !important;
    padding: 5px 8px !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  .zoom-toolbar-group {
    flex: 0 0 auto !important;
    gap: 7px !important;
    flex-wrap: nowrap !important;
  }

  .history-toolbar-group {
    gap: 6px !important;
  }

  .zoom-toolbar-group .icon-btn {
    width: 32px !important;
    height: 32px !important;
  }

  .zoom-toolbar-group #zoomLabel {
    min-width: 44px !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .zoom-toolbar-group #fitButton {
    height: 32px !important;
    padding: 0 10px !important;
    white-space: nowrap !important;
  }

  .toolbar-minimap.stage-minimap {
    position: static !important;
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) 34px !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 150px !important;
    max-width: none !important;
    margin-left: 6px !important;
    gap: 6px !important;
  }

  .toolbar-minimap .minimap-arrow {
    width: 34px !important;
    height: 32px !important;
  }

  .toolbar-minimap .minimap-arrow img {
    width: 22px !important;
    height: 22px !important;
  }

  .toolbar-minimap .minimap-track {
    min-width: 0 !important;
    height: 32px !important;
  }

  .stage-viewport {
    width: 100% !important;
    padding: 0 !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    overflow: auto !important;
  }

  .stage {
    margin: 0 !important;
  }

  .mobile-nudge {
    padding: 6px 8px !important;
    gap: 8px !important;
    justify-content: center !important;
  }

  .catalog-head {
    display: none !important;
  }

  .search-input {
    display: none !important;
  }

  .category-tabs {
    order: 1 !important;
    display: flex !important;
    grid-template-columns: none !important;
    grid-auto-rows: auto !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 4px 2px 8px !important;
    margin: 0 0 8px !important;
    border-bottom: 1px solid #eef0f2 !important;
    scrollbar-width: thin !important;
  }

  .category-icon-tab {
    flex: 0 0 58px !important;
    width: 58px !important;
    height: 48px !important;
    min-width: 58px !important;
    border-radius: 12px !important;
  }

  .category-icon-tab img {
    max-width: 40px !important;
    max-height: 38px !important;
  }

  #productList.product-list {
    order: 2 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 2px 4px 12px !important;
    min-height: 172px !important;
    height: 174px !important;
    max-height: 174px !important;
    scrollbar-width: thin !important;
  }

  #productList .product-card,
  #productList .product-card-ref {
    flex: 0 0 236px !important;
    width: 236px !important;
    min-width: 236px !important;
    max-width: 236px !important;
    min-height: 156px !important;
    height: 156px !important;
    grid-template-columns: 76px minmax(0, 1fr) !important;
    grid-template-rows: 82px 1px 38px !important;
    padding: 9px 10px 10px !important;
    border-radius: 16px !important;
  }

  #productList .product-media,
  #productList .product-main {
    height: 82px !important;
  }

  #productList .product-thumb {
    height: 76px !important;
    min-height: 76px !important;
    max-height: 76px !important;
  }

  #productList .product-title {
    font-size: 14px !important;
    line-height: 1.1 !important;
    -webkit-line-clamp: 2 !important;
  }

  #productList .product-code,
  #productList .stock-line {
    font-size: 14px !important;
  }

  #productList .product-price-current {
    font-size: 14px !important;
  }

  #productList .product-price-old {
    font-size: 14px !important;
  }

  .floating-summary,
  .selected-detail {
    display: none !important;
  }
}

@media (max-width: 560px) {
  .workspace-panel {
    flex-basis: min(54vh, 410px) !important;
    min-height: 280px !important;
  }

  .workspace-toolbar {
    gap: 5px !important;
    padding: 5px !important;
  }

  .zoom-toolbar-group {
    gap: 4px !important;
  }

  .history-toolbar-group {
    gap: 4px !important;
  }

  .toolbar-history-btn,
  .toolbar-history-btn img {
    width: 30px !important;
    height: 30px !important;
  }

  .zoom-toolbar-group #zoomLabel {
    min-width: 40px !important;
    font-size: 14px !important;
  }

  .zoom-toolbar-group #fitButton {
    padding: 0 8px !important;
    font-size: 14px !important;
  }

  .toolbar-minimap.stage-minimap {
    min-width: 120px !important;
    grid-template-columns: 30px minmax(0, 1fr) 30px !important;
    margin-left: 4px !important;
  }

  .toolbar-minimap .minimap-arrow {
    width: 30px !important;
  }

  .toolbar-minimap .minimap-arrow img {
    width: 20px !important;
    height: 20px !important;
  }

  #productList.product-list {
    height: 162px !important;
    max-height: 162px !important;
    min-height: 162px !important;
  }

  #productList .product-card,
  #productList .product-card-ref {
    flex-basis: 220px !important;
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    height: 148px !important;
    min-height: 148px !important;
    grid-template-columns: 68px minmax(0, 1fr) !important;
    grid-template-rows: 76px 1px 36px !important;
  }
}


@media (max-width: 1024px) {
  .mobile-nudge {
    display: none !important;
  }

  .stage-viewport {
    touch-action: pan-x pan-y !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    cursor: grab;
  }

  .canvas-item {
    touch-action: none !important;
  }

  .editor-shell {
    padding-bottom: calc(var(--footer-height) + env(safe-area-inset-bottom, 0px)) !important;
  }

  .catalog-panel {
    padding-bottom: calc(var(--footer-height) + env(safe-area-inset-bottom, 0px) + 14px) !important;
  }

  #productList.product-list {
    padding-bottom: 16px !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 680px) {
  .editor-header.app-header {
    min-height: 88px !important;
    padding: 8px 10px 7px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 4px 8px !important;
  }

  .editor-brand.app-brand {
    min-width: 0 !important;
    width: auto !important;
    overflow: hidden !important;
  }

  .editor-brand .brand-main-line {
    min-width: 0 !important;
    max-width: 100% !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  .editor-brand .brand-logo {
    height: 34px !important;
    max-width: 128px !important;
    flex: 0 1 auto !important;
    object-fit: contain !important;
  }

  .brand-separator {
    height: 28px !important;
    margin-inline: 2px !important;
  }

  .brand-word {
    font-size: clamp(17px, 4.6vw, 22px) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    min-width: 0 !important;
  }

  .editor-brand .brand-subtitle,
  .editor-brand .setup-label {
    max-width: calc(100vw - 182px) !important;
    min-height: 16px !important;
    margin-top: 5px !important;
    font-size: 14px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    flex-wrap: nowrap !important;
    gap: 3px !important;
  }

  .editor-brand .setup-param-chip,
  .editor-brand .setup-param-dot {
    font-size: inherit !important;
    white-space: nowrap !important;
  }

  .editor-header-right {
    width: auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
  }

  .header-menu-wrap {
    display: block !important;
    flex: 0 0 auto !important;
  }

  .header-menu-button {
    width: 48px !important;
    height: 44px !important;
    border-radius: 15px !important;
    padding: 3px 6px !important;
  }

  .header-menu-label {
    font-size: 14px !important;
  }

  .header-menu-icon {
    width: 27px !important;
    height: 20px !important;
  }

  .header-summary-wrap {
    flex: 0 0 auto !important;
    margin-left: 0 !important;
  }

  .header-summary-wrap .top-summary-button {
    min-width: 132px !important;
    width: 132px !important;
    height: 44px !important;
    padding: 4px 8px !important;
    border-radius: 15px !important;
  }

  .header-summary-wrap .top-summary-main {
    font-size: 14px !important;
    line-height: 1.05 !important;
  }

  .header-summary-wrap .top-summary-main strong {
    font-size: 18px !important;
  }

  .header-summary-wrap .top-summary-sub {
    font-size: 14px !important;
    line-height: 1.05 !important;
  }

  .workspace-panel {
    flex-basis: min(55vh, 430px) !important;
    min-height: 300px !important;
  }

  .workspace-toolbar {
    height: 44px !important;
    min-height: 44px !important;
    overflow: hidden !important;
  }

  .toolbar-minimap.stage-minimap {
    display: grid !important;
    min-width: 132px !important;
    grid-template-columns: 34px minmax(58px, 1fr) 34px !important;
    gap: 5px !important;
    margin-left: 4px !important;
  }

  .toolbar-minimap .minimap-track {
    height: 32px !important;
  }

  .zoom-toolbar-group #fitButton {
    max-width: 116px !important;
  }
}

@media (max-width: 420px) {
  .editor-brand .brand-logo {
    height: 29px !important;
    max-width: 104px !important;
  }

  .brand-word {
    font-size: 17px !important;
  }

  .brand-separator {
    height: 24px !important;
  }

  .editor-brand .brand-subtitle,
  .editor-brand .setup-label {
    max-width: calc(100vw - 176px) !important;
    font-size: 14px !important;
  }

  .header-menu-button {
    width: 44px !important;
    height: 42px !important;
  }

  .header-summary-wrap .top-summary-button {
    min-width: 124px !important;
    width: 124px !important;
    height: 42px !important;
  }

  .header-summary-wrap .top-summary-main strong {
    font-size: 16px !important;
  }

  .workspace-toolbar {
    gap: 4px !important;
  }

  .zoom-toolbar-group #fitButton {
    max-width: 105px !important;
    padding: 0 8px !important;
  }

  .toolbar-minimap.stage-minimap {
    min-width: 118px !important;
    grid-template-columns: 31px minmax(48px, 1fr) 31px !important;
  }
}



.stage {
  background: #eef2f5 !important;
}
.wall-bg {
  position: absolute;
  inset: 0;
  background-image: url('./stage-background.svg') !important;
  background-repeat: repeat-x !important;
  
  background-size: auto 123.4% !important;
  background-position: left top !important;
}
.grid-zone {
  display: none !important;
}
.floor-line {
  display: none !important;
}


.assembly-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}
.assembly-swatch {
  display: grid;
  place-items: center;
  background: #f0f2f5;
  color: var(--red);
  font-weight: 900;
  border: 1px solid rgba(0,0,0,.12);
}


.stage { overflow: visible !important; }
.stage-viewport {
  position: relative;
  overflow: hidden !important;
}


.corner-module-part {
  cursor: pointer;
  overflow: visible !important;
}
.corner-module-part img { pointer-events: none; }
.corner-module-part[data-item-id="corner-base"],
.corner-module-base,
.corner-module-base.corner-base-fixed-height {
  overflow: visible !important;
  width: calc(var(--corner-base-width-mm, 864) * 0.25px) !important;
  height: calc(var(--corner-base-height-mm, 910) * 0.25px) !important;
  align-items: start !important;
  justify-items: stretch !important;
  place-items: start stretch !important;
}
.corner-module-base.corner-base-fixed-height > img,
.corner-module-part[data-item-id="corner-base"] > img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 100% !important;
  object-fit: fill !important;
  object-position: left top !important;
  clip-path: none !important;
  margin: 0 !important;
  transform: none !important;
  transform-origin: left top !important;
  align-self: start !important;
  justify-self: stretch !important;
  display: block !important;
}
.corner-empty-zone {
  position: absolute !important;
  pointer-events: none !important;
  background: transparent !important;
  border: 0 !important;
}


.corner-config-gear-body {
  position: fixed !important;
  width: 72px !important;
  height: 72px !important;
  padding: 0 !important;
  transform: translate(-50%, -50%) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #111 !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: none !important;
  z-index: 1200 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
}
.corner-config-gear-img,
.corner-config-gear-body svg {
  width: 58px !important;
  height: 58px !important;
  display: block !important;
  object-fit: contain !important;
  pointer-events: none !important;
  user-select: none !important;
  transition: transform .16s ease !important;
}
.corner-config-gear-body:hover,
.corner-config-gear-body:focus-visible {
  transform: translate(-50%, -50%) scale(1.08) !important;
}


.corner-config-modal {
  width: min(760px, calc(100vw - 28px)) !important;
  max-height: calc(100vh - 36px) !important;
  overflow: hidden !important;
  padding: 18px 18px 16px !important;
  border-radius: 10px !important;
}
.corner-config-modal h3 {
  margin: 0 0 12px !important;
  font-size: 22px !important;
  line-height: 1.12 !important;
}
.corner-config-content {
  overflow: visible !important;
}
.corner-modal-grid.corner-modal-grid-compact {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: start !important;
}
.corner-modal-preview {
  display: grid;
  gap: 8px;
  align-content: start !important;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}
.corner-preview-box {
  position: relative !important;
  width: 100% !important;
  height: 340px !important;
  min-height: 0 !important;
  display: block !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 6px;
  background: #f5f6f8 !important;
  border: 1px solid var(--line);
}
.corner-preview-box img.corner-preview-part,
.corner-preview-box .preview-rail-fallback {
  position: absolute !important;
  display: block !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: fill !important;
}
.corner-preview-box .preview-pegboard { z-index: 1; }
.corner-preview-box .preview-rail,
.corner-preview-box .preview-rail-fallback { z-index: 2; }
.corner-preview-box .preview-worktop { z-index: 3; }
.corner-preview-box .preview-base { z-index: 4; }
.corner-preview-box .preview-wall-cabinet { z-index: 5; }
.corner-preview-box .preview-rail-fallback { background: linear-gradient(90deg, #8f9397, #c7c9cb, #8f9397); }
.corner-preview-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #fff;
  border: 1px dashed #c6ccd4;
  color: var(--muted);
  font-weight: 800;
}
.compact-corner-options {
  display: grid !important;
  gap: 12px !important;
  align-content: start !important;
}
.corner-option-group h4 {
  margin: 0 0 7px !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}
.corner-option-row {
  display: grid !important;
  gap: 8px !important;
}
.corner-option-row.two-cols,
.corner-option-row.three-cols {
  grid-template-columns: 1fr !important;
}
.compact-corner-options .setup-modal-option {
  min-height: 44px !important;
  margin-bottom: 0 !important;
  padding: 8px 10px !important;
  align-items: center !important;
  border-radius: 8px !important;
}
.compact-corner-options .setup-modal-option strong {
  font-size: 15px !important;
  line-height: 1.12 !important;
}
.compact-corner-options .setup-modal-option small {
  font-size: 14px !important;
  line-height: 1.25 !important;
  margin-top: 2px !important;
}
.corner-config-modal .setup-param-actions {
  margin-top: 14px !important;
  padding-top: 0 !important;
}

@media (max-width: 820px) {
  .corner-config-modal {
    width: min(560px, calc(100vw - 24px)) !important;
    overflow: auto !important;
  }
  .corner-modal-grid.corner-modal-grid-compact { grid-template-columns: 1fr !important; }
  .corner-preview-box { height: 300px !important; max-width: 260px !important; }
}
@media (max-width: 720px) {
  .assembly-grid { grid-template-columns: 1fr; }
}



.corner-insert-panel {
  margin: 12px 0 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15,23,42,.05);
  flex: 0 0 auto;
}
.corner-insert-title {
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--black);
  letter-spacing: .01em;
}
.corner-insert-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.corner-insert-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: #f8fafc;
  border-radius: 12px;
  padding: 9px 8px;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.corner-insert-btn strong { display: block; font-size: 14px; line-height: 1.1; }
.corner-insert-btn small { display: block; margin-top: 3px; font-size: 14px; color: #667085; line-height: 1.15; }
.corner-insert-btn:hover,
.corner-insert-btn.active {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(182,35,40,.10);
}
.corner-remove-btn {
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-radius: 10px;
  background: #f1f5f9;
  color: #475569;
  font-weight: 800;
  padding: 8px 10px;
  cursor: pointer;
}
.corner-plan-preview {
  position: relative;
  height: 58px;
  margin-top: 10px;
  border-radius: 12px;
  background: linear-gradient(180deg,#f8fafc,#eef2f7);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}
.corner-plan-preview .plan-wall {
  position: absolute;
  display: block;
  background: #9aa3ad;
  border-radius: 999px;
}
.plan-wall-main { left: 18px; right: 18px; top: 30px; height: 8px; }
.plan-wall-corner-left { left: 20px; top: 12px; width: 8px; height: 26px; opacity: .25; }
.plan-wall-corner-right { right: 20px; top: 12px; width: 8px; height: 26px; opacity: .25; }
.plan-wall-corner-left.active,
.plan-wall-corner-right.active { opacity: 1; background: var(--red); }
.plan-corner {
  position: absolute;
  top: 25px;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #111827;
  opacity: .25;
}
.plan-corner.left { left: 16px; opacity: 1; }
.plan-corner.right { right: 16px; opacity: 1; }
.plan-line-label { position: absolute; right: 9px; bottom: 6px; font-size: 14px; color: #64748b; font-weight: 700; }
@media (max-width: 760px) {
  .corner-insert-buttons { grid-template-columns: 1fr; }
}


.corner-plan-preview{display:none!important;}



.corner-insert-panel.hidden { display: none !important; }
.editor-header .brand-logo, .brand-home-logo { cursor: pointer; }

@media (min-width: 821px) {
  .start-screen { overflow: hidden; }
  .start-card {
    width: min(1060px, calc(100% - 48px));
    max-height: none;
    margin: 18px auto;
    padding: clamp(20px, 2.2vw, 30px);
    overflow: visible;
  }
  .start-copy p:not(.eyebrow) { font-size: 15px; line-height: 1.35; }
  h1 { font-size: clamp(34px, 3.25vw, 48px); margin-bottom: 8px; }
  .chooser-block { margin-top: 18px; }
  .choice-card { min-height: 72px; padding: 13px 16px; border-radius: 18px; }
  .swatch { width: 42px; height: 42px; border-radius: 12px; }
  .color-brush-swatch { width: 64px; height: 22px; }
  .color-brush-swatch img { width: 64px; height: 22px; }
  .choice-label { font-size: 16px; }
  .choice-desc { font-size: 14px; margin-top: 2px; }
  .wall-input input, .search-input { height: 42px; }
  .start-actions { margin-top: 18px; }
}

@media (max-height: 820px) and (min-width: 821px) {
  .start-header { min-height: 64px; padding: 9px 20px; }
  .start-card { margin: 12px auto; padding: 20px 28px; }
  .eyebrow { margin-bottom: 4px; font-size: 14px; }
  h1 { font-size: 40px; }
  h2 { margin-bottom: 8px; }
  .chooser-block { margin-top: 14px; }
  .choice-card { min-height: 64px; padding: 10px 14px; }
  .start-actions { margin-top: 14px; }
}





.corner-preview-box {
  display: grid !important;
  place-items: center !important;
  padding: 10px !important;
  overflow: hidden !important;
}
.corner-preview-stage {
  width: 100% !important;
  height: 100% !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
}
.corner-preview-scene {
  position: relative !important;
  height: 100% !important;
  width: auto !important;
  aspect-ratio: 864 / 2000 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  overflow: visible !important;
}
.corner-preview-box img.corner-preview-part,
.corner-preview-box .preview-rail-fallback {
  position: absolute !important;
  display: block !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: fill !important;
  object-position: center center !important;
  transform: translateZ(0) !important;
  backface-visibility: hidden !important;
}
.corner-preview-box .preview-pegboard,
.corner-preview-box .preview-rail,
.corner-preview-box .preview-rail-fallback {
  z-index: 1 !important;
}
.corner-preview-box .preview-worktop { z-index: 3 !important; }
.corner-preview-box .preview-base { z-index: 4 !important; }
.corner-preview-box .preview-wall-cabinet { z-index: 5 !important; }
.corner-preview-box .preview-rail-fallback { background: linear-gradient(90deg, #8f9397, #c7c9cb, #8f9397) !important; }
.corner-preview-empty {
  position: absolute !important;
  left: 0 !important;
  top: 54.5% !important;
  width: 100% !important;
  height: 45.5% !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 6px !important;
  background: #fff !important;
  border: 1px dashed #c6ccd4 !important;
  color: var(--muted) !important;
  font-weight: 800 !important;
  text-align: center !important;
}
@media (max-width: 820px) {
  .corner-preview-box {
    height: clamp(220px, 52vh, 300px) !important;
    width: min(100%, 260px) !important;
    justify-self: center !important;
  }
}
@media (max-width: 460px) {
  .corner-config-modal {
    width: calc(100vw - 16px) !important;
    padding: 14px 12px 12px !important;
  }
  .corner-preview-box {
    height: 230px !important;
    width: min(100%, 220px) !important;
  }
}



.corner-preview-box {
  background: linear-gradient(180deg, #f7f8fa 0%, #f1f3f6 100%) !important;
}
.corner-preview-scene {
  overflow: hidden !important;
}
.corner-preview-box .preview-pegboard,
.corner-preview-box .preview-worktop,
.corner-preview-box .preview-base,
.corner-preview-box .preview-wall-cabinet,
.corner-preview-box .preview-rail,
.corner-preview-box .preview-rail-fallback {
  image-rendering: auto !important;
}
.corner-preview-box .preview-rail,
.corner-preview-box .preview-rail-fallback {
  z-index: 2 !important;
}
.corner-preview-box .preview-worktop {
  z-index: 3 !important;
}
.corner-preview-box .preview-base {
  z-index: 4 !important;
}
.corner-preview-box .preview-wall-cabinet {
  z-index: 5 !important;
}



body.has-overlay-modal .corner-config-gear-body {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.setup-param-overlay {
  z-index: 10000 !important;
}
.save-config-overlay {
  z-index: 10000 !important;
}





.corner-preview-box .corner-preview-part {
  position: absolute !important;
  display: block !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  transform: translateZ(0) !important;
  backface-visibility: hidden !important;
}
.corner-preview-box .corner-preview-img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: fill !important;
  object-position: center center !important;
  pointer-events: none !important;
}
.corner-preview-box .preview-worktop .corner-preview-img {
  width: calc(100% + 46px) !important;
  margin-left: -23px !important;
}
.corner-preview-box .preview-rail .corner-preview-img {
  width: calc(100% + 12px) !important;
  margin-left: -6px !important;
}
.corner-preview-box .preview-pegboard .corner-preview-img {
  width: calc(100% + 10px) !important;
  margin-left: -5px !important;
}
.corner-preview-box .preview-base .corner-preview-img,
.corner-preview-box .preview-wall-cabinet .corner-preview-img {
  width: calc(100% + 4px) !important;
  margin-left: -2px !important;
}



.corner-preview-box {
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
}
.corner-preview-canvas-stage {
  width: 100% !important;
  height: 100% !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
}
.corner-preview-canvas-wrap {
  position: relative !important;
  width: 142.56px !important;
  height: 330px !important;
  overflow: visible !important;
}
.corner-preview-canvas-scene {
  position: absolute !important;
  left: 50% !important;
  top: 0 !important;
  transform: translateX(-50%) scale(.66) !important;
  transform-origin: top center !important;
  overflow: visible !important;
  background: transparent !important;
}
.corner-preview-canvas-scene .canvas-item,
.corner-preview-canvas-scene .peg-rail {
  pointer-events: none !important;
  user-select: none !important;
  cursor: default !important;
}
.corner-preview-canvas-scene .canvas-item:hover,
.corner-preview-canvas-scene .canvas-item.selected {
  outline: none !important;
  box-shadow: none !important;
}
.corner-preview-canvas-scene .canvas-item:hover::after,
.corner-preview-canvas-scene .canvas-item.selected::after {
  display: none !important;
  content: none !important;
}
.corner-preview-canvas-scene .canvas-item img {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: fill !important;
  display: block !important;
}
.corner-preview-canvas-scene .canvas-item.behavior-pegboard img,
.corner-preview-canvas-scene .peg-rail img {
  width: calc(100% + 2px) !important;
  height: calc(100% + 2px) !important;
  margin-left: -1px !important;
  margin-top: -1px !important;
  object-fit: fill !important;
}
.corner-preview-canvas-scene .peg-rail {
  overflow: hidden !important;
}
.corner-preview-canvas-scene .preview-rail-fallback {
  background: linear-gradient(90deg, #8f9397, #c7c9cb, #8f9397) !important;
}
@media (max-width: 820px) {
  .corner-preview-canvas-wrap {
    width: 125.28px !important;
    height: 290px !important;
  }
  .corner-preview-canvas-scene {
    transform: translateX(-50%) scale(.58) !important;
  }
}
@media (max-width: 460px) {
  .corner-preview-canvas-wrap {
    width: 95.04px !important;
    height: 220px !important;
  }
  .corner-preview-canvas-scene {
    transform: translateX(-50%) scale(.44) !important;
  }
}






.corner-config-modal .corner-preview-box {
  padding: 0 !important;
  overflow: hidden !important;
}
.corner-config-modal .corner-preview-canvas-stage {
  padding: 0 !important;
  overflow: hidden !important;
}
.corner-config-modal .corner-preview-canvas-wrap {
  height: 330px !important;
  width: 142.56px !important;
}
@media (max-width: 820px) {
  .corner-config-modal .corner-preview-canvas-wrap {
    height: 290px !important;
    width: 125.28px !important;
  }
}
@media (max-width: 460px) {
  .corner-config-modal .corner-preview-canvas-wrap {
    height: 220px !important;
    width: 95.04px !important;
  }
}



#cornerConfigOverlay.setup-param-overlay {
  padding: clamp(6px, 2dvh, 18px) 10px !important;
  place-items: center !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
}
.corner-config-modal {
  width: min(760px, calc(100vw - 20px)) !important;
  max-height: calc(100dvh - 20px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  padding: clamp(12px, 2vw, 18px) !important;
}
.corner-config-modal h3 {
  flex: 0 0 auto !important;
}
.corner-config-content {
  min-height: 0 !important;
  overflow: visible !important;
}
.corner-config-modal .setup-param-actions {
  position: sticky !important;
  bottom: 0 !important;
  z-index: 20 !important;
  background: linear-gradient(180deg, rgba(255,255,255,.88), #fff 35%) !important;
  padding-top: 12px !important;
  padding-bottom: 0 !important;
  margin-top: 12px !important;
}
.corner-config-modal .corner-preview-box {
  height: 350px !important;
  max-height: min(350px, calc(100dvh - 170px)) !important;
}
.corner-config-modal .corner-preview-canvas-wrap {
  width: 138.24px !important;
  height: 337.92px !important;
}
.corner-config-modal .corner-preview-canvas-scene {
  transform: translateX(-50%) scale(.64) !important;
  transform-origin: top center !important;
}
.corner-config-modal .corner-preview-canvas-stage,
.corner-config-modal .corner-preview-canvas-wrap,
.corner-config-modal .corner-preview-canvas-scene {
  overflow: visible !important;
}
.corner-config-modal .corner-preview-box {
  overflow: hidden !important;
}

@media (max-width: 820px) {
  #cornerConfigOverlay.setup-param-overlay {
    align-items: center !important;
  }
  .corner-config-modal {
    width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 16px) !important;
    border-radius: 12px !important;
  }
  .corner-modal-grid.corner-modal-grid-compact {
    grid-template-columns: minmax(170px, 220px) minmax(0, 1fr) !important;
    gap: 14px !important;
  }
  .corner-config-modal .corner-preview-box {
    height: 296px !important;
    max-width: none !important;
    width: 100% !important;
  }
  .corner-config-modal .corner-preview-canvas-wrap {
    width: 116.64px !important;
    height: 285.12px !important;
  }
  .corner-config-modal .corner-preview-canvas-scene {
    transform: translateX(-50%) scale(.54) !important;
  }
  .compact-corner-options {
    gap: 9px !important;
  }
  .corner-option-group h4 {
    margin: 0 0 6px !important;
    font-size: 14px !important;
  }
  .compact-corner-options .setup-modal-option {
    min-height: 44px !important;
    padding: 7px 9px !important;
  }
}

@media (max-width: 560px), (max-height: 620px) {
  #cornerConfigOverlay.setup-param-overlay {
    place-items: start center !important;
    padding: 6px 6px !important;
  }
  .corner-config-modal {
    width: calc(100vw - 12px) !important;
    max-height: calc(100dvh - 12px) !important;
    padding: 10px !important;
  }
  .corner-config-modal h3 {
    font-size: 19px !important;
    margin: 0 38px 8px 0 !important;
  }
  .corner-modal-grid.corner-modal-grid-compact {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .corner-modal-preview {
    justify-items: center !important;
  }
  .corner-modal-preview small {
    display: none !important;
  }
  .corner-config-modal .corner-preview-box {
    width: min(100%, 210px) !important;
    height: 226px !important;
    justify-self: center !important;
  }
  .corner-config-modal .corner-preview-canvas-wrap {
    width: 86.4px !important;
    height: 211.2px !important;
  }
  .corner-config-modal .corner-preview-canvas-scene {
    transform: translateX(-50%) scale(.40) !important;
  }
  .corner-option-row,
  .compact-corner-options {
    gap: 7px !important;
  }
  .compact-corner-options .setup-modal-option {
    min-height: 40px !important;
    padding: 6px 8px !important;
  }
  .compact-corner-options .setup-modal-option strong {
    font-size: 14px !important;
  }
  .compact-corner-options .setup-modal-option small {
    font-size: 14px !important;
  }
}



.wall-boundary-line {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 2px !important;
  background: #e31f35 !important;
  pointer-events: none !important;
  z-index: 2147482000 !important;
  box-shadow: -1px 0 0 rgba(255,255,255,.95), 1px 0 0 rgba(255,255,255,.75) !important;
  opacity: .98 !important;
}
.wall-boundary-start { left: -1px !important; }
.stock-ok { color: rgb(22 163 74) !important; }
.stock-transit { color: rgb(5, 81, 171) !important; display: inline-flex !important; align-items: center !important; gap: 4px !important; position: relative !important; }
.stock-none { color: rgb(220 38 38) !important; }
.stock-info {
  width: 15px !important;
  height: 15px !important;
  border: 2px solid currentColor !important;
  border-radius: 999px !important;
  display: inline-grid !important;
  place-items: center !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  cursor: help !important;
  position: relative !important;
  flex: 0 0 auto !important;
}
.stock-info::after {
  content: attr(data-tooltip) !important;
  position: absolute !important;
  left: 50% !important;
  bottom: calc(100% + 8px) !important;
  transform: translateX(-50%) !important;
  min-width: 220px !important;
  max-width: 280px !important;
  padding: 9px 11px !important;
  border-radius: 10px !important;
  background: #111827 !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.22) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: 9000 !important;
  white-space: normal !important;
  text-align: left !important;
}
.stock-info:hover::after,
.stock-info:focus::after {
  opacity: 1 !important;
  visibility: visible !important;
}



#productList .stock-line {
  overflow: visible !important;
}
#productList .product-main {
  overflow: visible !important;
}
#productList .stock-transit[data-stock-tooltip] {
  width: 100% !important;
  cursor: help !important;
}
#productList .stock-info {
  cursor: help !important;
}
.stock-info::after {
  display: none !important;
  content: none !important;
}
.stock-tooltip-float {
  position: fixed !important;
  z-index: 20000 !important;
  max-width: min(340px, calc(100vw - 24px)) !important;
  padding: 8px 10px !important;
  border: 1px solid #111827 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 500 !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.18) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  white-space: nowrap !important;
}
.stock-tooltip-float.visible {
  opacity: 1 !important;
  visibility: visible !important;
}



#itemsLayer .wall-boundary-line {
  z-index: 2147482000 !important;
  width: 2px !important;
  background: #e31f35 !important;
  box-shadow: -1px 0 0 rgba(255,255,255,.95), 1px 0 0 rgba(255,255,255,.75) !important;
  pointer-events: none !important;
}
#itemsLayer .wall-boundary-start {
  transform: translateX(-1px) !important;
}
#itemsLayer .wall-boundary-end {
  transform: translateX(1px) !important;
}



.detail-card-v135 {
  color: #111 !important;
  padding: 16px 18px 14px !important;
}
.detail-card-v135 h3 {
  color: #111 !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  margin: 0 32px 9px 0 !important;
}
.detail-card-v135 .detail-code {
  color: #111 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
  margin: 0 0 12px !important;
}
.detail-card-v135 .detail-dimensions {
  color: #667085 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  margin-bottom: 4px !important;
}
.detail-card-v135 .detail-price {
  margin: 6px 0 4px !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}
.detail-card-v135 .detail-price .price-sale {
  color: var(--red) !important;
  font-size: 18px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}
.detail-card-v135 .detail-price .price-old {
  color: #737b86 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  text-decoration: line-through !important;
}
.detail-card-v135 .detail-stock {
  margin-top: 5px !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}
.detail-card-v135 .detail-stock-date {
  display: block !important;
  margin-top: 3px !important;
  color: #475467 !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}
.detail-web-link {
  display: inline-flex !important;
  align-items: center !important;
  margin-top: 10px !important;
  color: rgb(5, 81, 171) !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}
.detail-web-link:hover {
  color: var(--red) !important;
}
.detail-card-v135 .detail-actions {
  margin-top: 14px !important;
}



.detail-card-v135 .detail-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
}
.detail-card-v135 .detail-eshop-btn {
  text-decoration: none !important;
  color: #111 !important;
}
.detail-card-v135 .detail-eshop-btn:hover {
  border-color: var(--red) !important;
  color: var(--red) !important;
}



.detail-card-v135 .detail-actions .btn,
.detail-card-v135 .detail-actions .btn-light,
.detail-card-v135 .detail-actions .btn-danger,
.detail-card-v135 .detail-eshop-btn,
.editor-actions .btn,
.editor-actions .btn-light,
.header-menu-button,
.header-summary-wrap .top-summary-button,
#productList .product-add,
#productList .product-sub {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, filter .18s ease !important;
}

.detail-card-v135 .detail-actions .btn-light:hover,
.detail-card-v135 .detail-actions .detail-eshop-btn:hover,
.editor-actions .btn-light:hover,
.editor-actions .btn:hover,
.header-menu-button:hover,
.header-summary-wrap .top-summary-button:hover {
  border-color: var(--red) !important;
  color: var(--red) !important;
  background: #fff !important;
  box-shadow: 0 10px 22px rgba(182,35,40,.14), 0 4px 14px rgba(0,0,0,.10) !important;
  transform: translateY(-1px) scale(1.02) !important;
}

.detail-card-v135 .detail-actions .btn-danger:hover {
  background: var(--red-dark) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(182,35,40,.22), 0 4px 14px rgba(0,0,0,.12) !important;
  transform: translateY(-1px) scale(1.02) !important;
  filter: brightness(1.02) !important;
}

#productList .product-add:hover,
#productList .product-sub:not(:disabled):hover {
  color: var(--red) !important;
  background: #fff7f7 !important;
  box-shadow: inset 0 0 0 1px rgba(182,35,40,.18) !important;
}

#productList .product-add:active,
#productList .product-sub:not(:disabled):active,
.detail-card-v135 .detail-actions .btn:active,
.detail-card-v135 .detail-eshop-btn:active,
.editor-actions .btn:active,
.header-menu-button:active,
.header-summary-wrap .top-summary-button:active {
  transform: translateY(0) scale(.99) !important;
}

#productList .product-sub:disabled:hover {
  color: #4e5965 !important;
  background: #fff !important;
  box-shadow: none !important;
}



.detail-card-v135 .detail-meta-line {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin: 0 0 8px !important;
}
.detail-card-v135 .detail-meta-line .detail-code,
.detail-card-v135 .detail-meta-line .detail-dimensions {
  color: #111 !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 500 !important;
  margin: 0 !important;
  white-space: nowrap !important;
}
.detail-card-v135 .detail-meta-line .detail-code {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: left !important;
}
.detail-card-v135 .detail-meta-line .detail-dimensions {
  flex: 0 0 auto !important;
  text-align: right !important;
}
@media (max-width: 430px) {
  .detail-card-v135 .detail-meta-line {
    gap: 8px !important;
  }
  .detail-card-v135 .detail-meta-line .detail-code,
  .detail-card-v135 .detail-meta-line .detail-dimensions {
    font-size: 14px !important;
  }
}


.detail-card-v135 .detail-meta-line {
  display: grid !important;
  grid-template-columns: max-content max-content !important;
  justify-content: start !important;
  align-items: baseline !important;
  column-gap: clamp(18px, 5vw, 42px) !important;
  margin: 0 0 8px !important;
}
.detail-card-v135 .detail-meta-line .detail-code {
  flex: none !important;
  min-width: 0 !important;
  max-width: 145px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: left !important;
}
.detail-card-v135 .detail-meta-line .detail-dimensions {
  flex: none !important;
  text-align: right !important;
  justify-self: end !important;
}
@media (max-width: 430px) {
  .detail-card-v135 .detail-meta-line {
    column-gap: 14px !important;
  }
  .detail-card-v135 .detail-meta-line .detail-code {
    max-width: 120px !important;
  }
}



.selected-detail {
  max-width: min(360px, calc(100% - 28px));
}
@media (min-width: 521px) {
  .selected-detail {
    left: 18px;
    top: auto;
    bottom: 18px;
    right: auto;
  }
}
@media (max-width: 520px) {
  .selected-detail {
    max-width: none;
  }
}



.stage-dimension-layer {
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 2147482500 !important;
  color: var(--red) !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  line-height: 1 !important;
}
.stage-dimension {
  position: absolute !important;
  pointer-events: none !important;
}
.stage-dimension-left {
  left: -34px !important;
  top: 0 !important;
  width: 24px !important;
}
.stage-dimension-products {
  position: absolute !important;
  inset: 0 auto auto 0 !important;
}
.stage-product-dimension {
  position: absolute !important;
  height: 22px !important;
  min-width: 36px !important;
}
.stage-product-dimension-line {
  position: absolute !important;
  left: 0 !important;
  top: 8px !important;
  width: 100% !important;
  height: 1px !important;
  display: block !important;
  background: var(--red) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.85) !important;
}
.stage-product-dimension-line::before,
.stage-product-dimension-line::after {
  content: "" !important;
  position: absolute !important;
  top: -4px !important;
  width: 0 !important;
  height: 0 !important;
  border-top: 4px solid transparent !important;
  border-bottom: 4px solid transparent !important;
}
.stage-product-dimension-line::before {
  left: -1px !important;
  border-right: 6px solid var(--red) !important;
}
.stage-product-dimension-line::after {
  right: -1px !important;
  border-left: 6px solid var(--red) !important;
}
.stage-product-dimension-label {
  position: absolute !important;
  left: 50% !important;
  top: 11px !important;
  transform: translateX(-50%) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 2px 6px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.88) !important;
  box-shadow: 0 1px 5px rgba(20,24,32,.08) !important;
  white-space: nowrap !important;
}
.stage-dimension-bottom {
  left: 0 !important;
  height: 20px !important;
}
.stage-dimension-line {
  position: absolute !important;
  display: block !important;
  background: var(--red) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.85) !important;
}
.stage-dimension-left .stage-dimension-line {
  left: 10px !important;
  top: 0 !important;
  width: 1px !important;
  height: 100% !important;
}
.stage-dimension-bottom .stage-dimension-line {
  left: 0 !important;
  top: 8px !important;
  width: 100% !important;
  height: 1px !important;
}
.stage-dimension-left .stage-dimension-line::before,
.stage-dimension-left .stage-dimension-line::after,
.stage-dimension-bottom .stage-dimension-line::before,
.stage-dimension-bottom .stage-dimension-line::after {
  content: "" !important;
  position: absolute !important;
  background: var(--red) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.85) !important;
}
.stage-dimension-left .stage-dimension-line::before,
.stage-dimension-left .stage-dimension-line::after {
  left: -4px !important;
  width: 9px !important;
  height: 1px !important;
}
.stage-dimension-left .stage-dimension-line::before { top: 0 !important; }
.stage-dimension-left .stage-dimension-line::after { bottom: 0 !important; }
.stage-dimension-bottom .stage-dimension-line::before,
.stage-dimension-bottom .stage-dimension-line::after {
  top: -4px !important;
  width: 1px !important;
  height: 9px !important;
}
.stage-dimension-bottom .stage-dimension-line::before { left: 0 !important; }
.stage-dimension-bottom .stage-dimension-line::after { right: 0 !important; }
.stage-dimension-label {
  position: absolute !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 2px 5px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.88) !important;
  box-shadow: 0 1px 5px rgba(20,24,32,.08) !important;
  white-space: nowrap !important;
}
.stage-dimension-left .stage-dimension-label {
  left: -31px !important;
  top: 50% !important;
  transform: translateY(-50%) rotate(-90deg) !important;
  transform-origin: center center !important;
}
.stage-dimension-bottom .stage-dimension-label {
  left: 50% !important;
  top: -2px !important;
  transform: translateX(-50%) !important;
}
@media (max-width: 900px) {
  .stage-viewport { padding: 14px 14px 82px 46px !important; }
  .stage-dimension-left { left: -24px !important; }
  .stage-dimension-left .stage-dimension-label { left: -28px !important; }
  .stage-dimension-layer { font-size: 14px !important; }
  .stage-product-dimension-label { font-size: 14px !important; }
}


.checkout-screen {
  min-height: 100vh;
  background: #f5f6f8;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.checkout-header {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 70px;
  background: #111;
  color: #fff;
  border-bottom: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 22px;
}
.checkout-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 25px;
  font-weight: 900;
}
.checkout-logo {
  width: 190px;
  max-height: 42px;
  object-fit: contain;
}
.checkout-page {
  width: min(1280px, calc(100% - 44px));
  margin: 0 auto;
  padding: 34px 0 80px;
}
.checkout-hero-card,
.checkout-layout,
.ahp-konfigurator-form-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(20,24,32,.08);
}
.checkout-hero-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px;
  margin-bottom: 22px;
}
.checkout-eyebrow {
  margin: 0 0 8px;
  color: var(--red);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.checkout-hero-card h1,
.ahp-konfigurator-form-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  font-weight: 1000;
  letter-spacing: -.03em;
}
.checkout-hero-card p,
.ahp-konfigurator-form-heading p { margin: 0; color: var(--muted); }
.checkout-setup-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px,1fr));
  gap: 10px;
  min-width: min(430px, 100%);
}
.checkout-setup-box div {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 13px;
  background: #f8f9fb;
}
.checkout-setup-box span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 3px;
}
.checkout-setup-box strong { font-size: 15px; }
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(360px, .85fr);
  gap: 24px;
  padding: 28px;
  margin-bottom: 22px;
}
.checkout-main h2,
.checkout-side h2,
.checkout-rails h2 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.2;
}
.checkout-items,
.checkout-rails { display: grid; gap: 13px; }
.checkout-rails { margin-top: 30px; }
.checkout-row {
  display: grid;
  grid-template-columns: 72px minmax(240px, 1fr) 110px 132px 132px;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #e8ebef;
}
.checkout-row-media {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: #f2f4f7;
  border-radius: 12px;
  overflow: hidden;
}
.checkout-row-media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.checkout-row-media span { font-size: 14px; font-weight: 900; color: var(--muted); }
.checkout-row-main { display: grid; gap: 4px; }
.checkout-row-main strong { font-size: 16px; line-height: 1.25; }
.checkout-row-code { font-weight: 900; color: var(--text); font-size: 15px; }
.checkout-row-dim { color: var(--muted); font-size: 14px; }
.checkout-row-qty span,
.checkout-row-price span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 5px;
}
.checkout-row-price strong,
.checkout-row-qty strong { font-size: 15px; }
.checkout-side { display: grid; gap: 18px; align-content: start; }
.checkout-preview-card,
.checkout-totals {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: #f8f9fb;
}
.checkout-preview-placeholder {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: linear-gradient(180deg,#eef2f5,#fff);
  border: 1px solid #dce2e8;
  border-radius: 14px;
}
.checkout-stage-clone {
  position: absolute !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
.checkout-total-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid #e2e5e9;
  font-size: 15px;
}
.checkout-total-line:last-child { border-bottom: 0; }
.checkout-total-line.total {
  font-size: 20px;
  font-weight: 1000;
  color: var(--red);
}
.checkout-empty {
  padding: 26px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
  background: #fafbfc;
}
.ahp-konfigurator-form-section { padding: 34px; }
.ahp-konfigurator-form-heading { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.ahp-konfigurator-form { max-width: 760px; margin: 0 auto; }
.ahp-konfigurator-form-inner {
  background: #fff;
  border: 1px solid rgba(20,24,32,.12);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 14px 40px rgba(20,24,32,.07);
}
.ahp-konfigurator-form-title {
  margin: 0 0 24px;
  text-align: center;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 1000;
}
.ahp-konfigurator-form label {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: #111;
  margin-bottom: 14px;
}
.ahp-label-text { display: inline-flex; gap: 4px; margin-bottom: 8px; }
.ahp-required-star { color: var(--red); }
.ahp-field-label-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.ahp-char-counter { color: #111; font-size: 14px; font-weight: 900; }
.ahp-konfigurator-form input,
.ahp-konfigurator-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #767676;
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
  background: #fff;
  color: #111;
}
.ahp-konfigurator-form textarea { resize: vertical; min-height: 130px; padding-right: 36px; }
.ahp-konfigurator-form input:focus,
.ahp-konfigurator-form textarea:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(17,17,17,.12);
}
.ahp-phone-control { display: flex; width: 100%; }
.ahp-phone-prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid #767676;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: #f8f9fb;
  font-size: 16px;
  font-weight: 900;
}
.ahp-konfigurator-form label.ahp-phone-field input { border-radius: 0 8px 8px 0; }
.ahp-field-error-message,
.ahp-upload-message {
  display: none;
  margin: -8px 0 12px;
  color: #b00020;
  font-size: 14px;
  font-weight: 800;
}
.ahp-field-error-message.ahp-show,
.ahp-upload-message:not(:empty) { display: block; }
.ahp-textarea-wrap { position: relative; display: block; }
.ahp-textarea-corner-handle {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  cursor: ns-resize;
}
.ahp-attachment-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.ahp-attachment-head label { margin: 0; }
.ahp-file-tooltip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(182,35,40,.10);
  color: var(--red);
  font-size: 14px;
  font-weight: 1000;
  cursor: help;
}
.ahp-file-tooltip {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  width: min(320px, calc(100vw - 48px));
  padding: 12px 14px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: .15s;
  z-index: 999;
}
.ahp-file-tooltip-wrap:hover .ahp-file-tooltip,
.ahp-file-tooltip-wrap:focus .ahp-file-tooltip { opacity: 1; visibility: visible; transform: translateY(0); }
.ahp-file-help,
.ahp-form-inquiry-note,
.ahp-form-note,
.ahp-recaptcha-note { color: #111; font-size: 14px; line-height: 1.55; }
.ahp-form-note a { color: var(--red) !important; font-weight: 900; }
.ahp-upload-box {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 145px;
  padding: 24px;
  border: 2px dashed rgba(20,24,32,.22);
  border-radius: 14px;
  background: #f8f9fb;
  cursor: pointer;
  margin: 12px 0 14px;
}
.ahp-upload-box:hover,
.ahp-upload-box.ahp-drag-over { border-color: var(--red); background: rgba(182,35,40,.04); }
.ahp-upload-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}
.ahp-upload-box-content { text-align: center; pointer-events: none; display: grid; gap: 6px; }
.ahp-upload-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 4px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--red);
  font-size: 28px;
  font-weight: 1000;
  box-shadow: 0 6px 18px rgba(20,24,32,.08);
}
.ahp-upload-title { font-weight: 900; }
.ahp-upload-subtitle { font-size: 14px; color: var(--muted); }
.ahp-upload-preview { display: grid; gap: 10px; }
.ahp-upload-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 10px 44px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8f9fb;
}
.ahp-upload-thumb {
  width: 56px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: var(--red);
  font-size: 14px;
  font-weight: 1000;
  text-transform: uppercase;
}
.ahp-upload-name { font-size: 14px; font-weight: 900; word-break: break-word; }
.ahp-upload-size { font-size: 14px; color: var(--muted); }
.ahp-upload-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 1000;
  cursor: pointer;
}
.ahp-submit-row { display: grid; justify-items: center; gap: 12px; margin: 28px 0 24px; }
.ahp-submit-row .ahp-btn-primary {
  border: 0;
  border-radius: 12px;
  padding: 18px 34px;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(182,35,40,.22);
}
.ahp-submit-row .ahp-btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.ahp-submit-row .ahp-btn-primary[disabled] { opacity: .65; cursor: wait; }
.ahp-form-status { margin: 0; text-align: center; font-size: 16px; font-weight: 900; }
.ahp-form-status--success { color: #2f8f46; }
.ahp-form-status--error { color: #b00020; }
.ahp-form-status--loading { color: #111; }
.grecaptcha-badge { visibility: hidden !important; }
@media (max-width: 1050px) {
  .checkout-hero-card { align-items: stretch; flex-direction: column; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-row { grid-template-columns: 64px minmax(0,1fr); }
  .checkout-row-qty,
  .checkout-row-price { grid-column: 2; display: flex; justify-content: space-between; gap: 16px; }
  .checkout-row-qty span,
  .checkout-row-price span { margin: 0; }
}
@media (max-width: 640px) {
  .checkout-page { width: min(100% - 20px, 1280px); padding-top: 18px; }
  .checkout-header { padding: 10px 12px; }
  .checkout-logo { width: 140px; }
  .checkout-brand { font-size: 20px; }
  .checkout-hero-card,
  .checkout-layout,
  .ahp-konfigurator-form-section { padding: 18px; border-radius: 16px; }
  .checkout-setup-box { grid-template-columns: 1fr; }
  .ahp-konfigurator-form-inner { padding: 18px; }
}


.header-summary-wrap .top-summary-dropdown,
.top-summary-dropdown {
  width: min(760px, calc(100vw - 32px)) !important;
  max-height: min(680px, calc(100vh - 110px)) !important;
  padding: 18px !important;
}
.top-summary-cart-head,
.top-summary-cart-row {
  display: grid !important;
  grid-template-columns: 62px minmax(180px, 1fr) 86px 118px 118px !important;
  gap: 12px !important;
  align-items: center !important;
}
.top-summary-cart-head {
  padding: 8px 0 10px !important;
  border-bottom: 1px solid #e5e9ee !important;
  color: #687384 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}
.top-summary-cart-row {
  padding: 10px 0 !important;
  border-bottom: 1px solid #edf0f3 !important;
  color: #111 !important;
}
.top-summary-cart-media {
  width: 58px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f4f6f8 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}
.top-summary-cart-media img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}
.top-summary-cart-main strong {
  display: block !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  color: #111 !important;
}
.top-summary-cart-main small,
.top-summary-cart-price small {
  display: block !important;
  color: #687384 !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
}
.top-summary-cart-qty,
.top-summary-cart-price strong {
  font-size: 14px !important;
  font-weight: 900 !important;
  color: #111 !important;
  white-space: nowrap !important;
}
.top-summary-cart-total {
  display: flex !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 10px 0 0 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}
.top-summary-cart-total.red,
.top-summary-cart-total.red strong {
  color: #b62328 !important;
  font-size: 17px !important;
}
.top-summary-cart-cta {
  margin-top: 14px !important;
  width: 100% !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--red) !important;
  color: #fff !important;
  font-weight: 900 !important;
  padding: 12px 16px !important;
  cursor: pointer !important;
  box-shadow: 0 10px 24px rgba(182,35,40,.2) !important;
}
.top-summary-cart-cta:hover { background: var(--red-dark) !important; transform: translateY(-1px) !important; }
@media (max-width: 760px) {
  .top-summary-cart-head { display: none !important; }
  .top-summary-cart-row { grid-template-columns: 54px 1fr auto !important; gap: 10px !important; }
  .top-summary-cart-price { grid-column: 2 / -1 !important; display: flex !important; justify-content: space-between !important; }
  .top-summary-cart-price small { display: inline !important; }
}


.top-summary-wrap::after,
.header-summary-wrap::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 100% !important;
  height: 18px !important;
  pointer-events: auto !important;
}
.header-summary-wrap .top-summary-dropdown,
.top-summary-dropdown {
  top: calc(100% + 4px) !important;
}



body:not(.editor-active) .corner-config-gear-body,
body:not(.editor-active) .corner-empty-zone,
body:not(.editor-active) #cornerControlsLayer {
  display: none !important;
  pointer-events: none !important;
}

.choice-card.disabled,.setup-modal-option.disabled{opacity:.45;cursor:not-allowed;filter:grayscale(.25)}
.choice-card.disabled:hover,.setup-modal-option.disabled:hover{transform:none!important;box-shadow:none!important}



.canvas-item.corner-module-worktop.corner-worktop-stainless,
.corner-preview-canvas-item.corner-module-worktop.corner-worktop-stainless {
  background: linear-gradient(180deg, #b8bdc0 0%, #858b90 48%, #51575d 100%) !important;
}
.canvas-item.corner-module-worktop img,
.corner-preview-canvas-item.corner-module-worktop img {
  position: relative !important;
  z-index: 1 !important;
}





.canvas-item.corner-module-base.corner-base-depth-615,
.corner-module-part[data-item-id="corner-base"].corner-base-depth-615,
.corner-preview-canvas-item.corner-module-base.corner-base-depth-615 {
  position: absolute !important;
  overflow: visible !important;
  width: calc(var(--corner-base-width-mm, 1016) * 0.25px) !important;
  height: calc(var(--corner-base-height-mm, 910) * 0.25px) !important;
  display: block !important;
}
.canvas-item.corner-module-base.corner-base-depth-615 > img,
.corner-module-part[data-item-id="corner-base"].corner-base-depth-615 > img,
.corner-preview-canvas-item.corner-module-base.corner-base-depth-615 > img {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
  width: 100% !important;
  height: calc(var(--corner-base-visual-height-mm, 992) * 0.25px) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: fill !important;
  object-position: center top !important;
  shape-rendering: geometricPrecision;
  display: block !important;
  margin: 0 !important;
  transform: none !important;
}
.canvas-item.corner-module-worktop,
.corner-preview-canvas-item.corner-module-worktop {
  z-index: 11 !important;
}





.canvas-item.corner-module-wall_cabinet,
.corner-module-part[data-item-id="corner-wall_cabinet"],
.corner-preview-canvas-item.corner-module-wall_cabinet {
  overflow: hidden !important;
  display: block !important;
  place-items: initial !important;
}
.canvas-item.corner-module-wall_cabinet > img,
.corner-module-part[data-item-id="corner-wall_cabinet"] > img,
.corner-preview-canvas-item.corner-module-wall_cabinet > img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: fill !important;
  object-position: left top !important;
  display: block !important;
  margin: 0 !important;
  transform: none !important;
}



.canvas-item.sink-worktop-aligned:hover,
.canvas-item.sink-worktop-aligned.selected {
  outline: 0 !important;
  box-shadow: none !important;
}
.canvas-item.sink-worktop-aligned:hover::after,
.canvas-item.sink-worktop-aligned.selected::after {
  inset: 0 0 var(--sink-bottom-crop-px, 0px) 0 !important;
}
.stage-viewport {
  padding-bottom: 148px !important;
}
@media (max-width: 900px) {
  .stage-viewport { padding-bottom: 132px !important; }
}





.canvas-item.behavior-mobile_cabinet.product-mtgc1307wa,
.canvas-item.behavior-mobile_cabinet.product-rtgc1305wa,
.canvas-item.behavior-mobile_cabinet.product-rtgc1307wa,
.canvas-item.behavior-mobile_cabinet.product-tgc1307wa {
  box-sizing: border-box !important;
  background: transparent !important;
  box-shadow: none !important;
}
.canvas-item.behavior-mobile_cabinet.product-mtgc1307wa > img,
.canvas-item.behavior-mobile_cabinet.product-rtgc1305wa > img,
.canvas-item.behavior-mobile_cabinet.product-rtgc1307wa > img,
.canvas-item.behavior-mobile_cabinet.product-tgc1307wa > img {
  position: absolute !important;
  left: 1px !important;
  right: 1px !important;
  top: 0 !important;
  bottom: 0 !important;
  width: calc(100% - 2px) !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: fill !important;
  object-position: center bottom !important;
  transform: none !important;
}



.corner-config-modal .corner-preview-canvas-stage[data-corner-depth="615"] .corner-preview-canvas-wrap {
  width: 162.56px !important;
}
@media (max-width: 820px) {
  .corner-config-modal .corner-preview-canvas-stage[data-corner-depth="615"] .corner-preview-canvas-wrap {
    width: 137.16px !important;
  }
}
@media (max-width: 560px), (max-height: 620px) {
  .corner-config-modal .corner-preview-canvas-stage[data-corner-depth="615"] .corner-preview-canvas-wrap {
    width: 101.6px !important;
  }
}


.stage-dimension-total .stage-dimension-label {
  z-index: 3 !important;
  background: rgba(255,255,255,.96) !important;
}
.stage-dimension-current-marker {
  position: absolute !important;
  top: 1px !important;
  width: 2px !important;
  height: 16px !important;
  display: block !important;
  transform: translateX(-1px) !important;
  background: var(--red) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.9) !important;
  z-index: 2 !important;
}
.stage-dimension-current-marker::after {
  content: none !important;
  display: none !important;
}
.stage-dimension-total.is-over-limit .stage-dimension-line {
  height: 2px !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.95), 0 0 6px rgba(182,35,40,.45) !important;
}
.stage-dimension-total.is-over-limit .stage-dimension-label {
  border: 1px solid var(--red) !important;
  background: #fff !important;
}


small {
  font-size: 14px !important;
}
button,
input,
select,
textarea {
  font-size: 14px;
}










.canvas-item.behavior-wall_cabinet,
.corner-preview-canvas-item.behavior-wall_cabinet {
  background: #2b2b2d !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

.canvas-item.behavior-wall_cabinet > img,
.corner-preview-canvas-item.behavior-wall_cabinet > img {
  position: relative !important;
  z-index: 1 !important;
  top: 0 !important;
  height: 100% !important;
  margin-top: 0 !important;
  transform: none !important;
}

.canvas-item.corner-module-wall_cabinet > img,
.corner-module-part[data-item-id="corner-wall_cabinet"] > img,
.corner-preview-canvas-item.corner-module-wall_cabinet > img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  transform: none !important;
}

.canvas-item.behavior-worktop > img,
.corner-preview-canvas-item.behavior-worktop > img {
  height: 100% !important;
  max-height: none !important;
  margin-top: 0 !important;
  transform: none !important;
}


.app-footer {
  justify-content: center !important;
  background: #111 !important;
  border-top-color: var(--red) !important;
  color: #fff !important;
  text-align: center !important;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .18) !important;
}
.app-footer-left,
.app-footer-right {
  color: #fff !important;
  text-align: center !important;
}
.app-footer-right a,
.app-footer-right a:hover {
  color: #fff !important;
}
@media (max-width: 720px) {
  .app-footer {
    justify-content: center !important;
  }
  .app-footer-right {
    text-align: center !important;
  }
}

.header-summary-wrap .top-summary-dropdown,
.top-summary-dropdown {
  overflow: hidden !important;
  scrollbar-color: var(--red) #eceff2;
}
.header-summary-wrap .top-summary-dropdown:not(.hidden),
.top-summary-dropdown:not(.hidden) {
  display: flex !important;
  flex-direction: column !important;
}
.header-summary-wrap .top-summary-dropdown.hidden,
.top-summary-dropdown.hidden {
  display: none !important;
}
.top-summary-cart-head {
  flex: 0 0 auto !important;
  color: #111 !important;
}
.top-summary-cart-scroll {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: 8px !important;
  margin-right: -4px !important;
  scrollbar-width: thin;
  scrollbar-color: var(--red) #eceff2;
  overscroll-behavior: contain;
}
.top-summary-cart-scroll::-webkit-scrollbar {
  width: 10px;
}
.top-summary-cart-scroll::-webkit-scrollbar-track {
  background: #eceff2;
  border-radius: 999px;
}
.top-summary-cart-scroll::-webkit-scrollbar-thumb {
  background: var(--red);
  border: 2px solid #eceff2;
  border-radius: 999px;
}
.top-summary-cart-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--red-dark);
}
.top-summary-cart-footer {
  flex: 0 0 auto !important;
  position: relative !important;
  z-index: 2 !important;
  margin: 0 -18px -18px !important;
  padding: 10px 18px 18px !important;
  border-top: 1px solid #dfe4ea !important;
  background: #fff !important;
  box-shadow: 0 -8px 18px rgba(17, 20, 24, .08) !important;
}
.top-summary-cart-footer .top-summary-cart-cta {
  margin-top: 12px !important;
}




.header-summary-wrap .top-summary-dropdown,
.top-summary-dropdown {
  width: min(700px, calc(100vw - 28px)) !important;
  max-height: min(640px, calc(100vh - 104px)) !important;
  padding: 14px !important;
}
.top-summary-cart-head,
.top-summary-cart-row,
.top-summary-section-total {
  display: grid !important;
  grid-template-columns: 56px minmax(160px, 1fr) 82px 112px 112px !important;
  gap: 10px !important;
  align-items: center !important;
}
.top-summary-cart-head {
  padding: 4px 0 8px !important;
  color: #111 !important;
  font-size: 14px !important;
  border-bottom: 1px solid #e2e6eb !important;
}
.top-summary-cart-row {
  padding: 8px 0 !important;
}
.top-summary-cart-media {
  width: 52px !important;
  height: 42px !important;
  border-radius: 8px !important;
}
.top-summary-cart-main strong {
  font-size: 14px !important;
}
.top-summary-cart-main small,
.top-summary-cart-price small,
.top-summary-cart-qty,
.top-summary-cart-price strong,
.top-summary-cart-total,
.top-summary-section-total,
.top-summary-section-total strong,
.top-summary-empty.compact {
  font-size: 14px !important;
}
.top-summary-cart-scroll {
  padding-right: 6px !important;
}
.top-summary-section {
  margin-top: 10px !important;
}
.top-summary-section:first-child {
  margin-top: 0 !important;
}
.top-summary-section-title {
  margin: 0 0 4px !important;
  padding: 8px 0 6px !important;
  border-bottom: 1px solid #edf0f3 !important;
  color: #111 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}
.top-summary-section-body {
  display: block !important;
}
.top-summary-section-total {
  padding: 8px 0 0 !important;
  margin-top: 2px !important;
  border-top: 1px dashed #d7dde4 !important;
}
.top-summary-section-total-spacer {
  display: block !important;
}
.top-summary-section-total-label {
  font-weight: 900 !important;
  color: #111 !important;
}
.top-summary-section-total-qty,
.top-summary-section-total-price {
  font-weight: 900 !important;
  color: #111 !important;
  white-space: nowrap !important;
}
.top-summary-section-total-price.red {
  color: var(--red) !important;
}
.top-summary-empty.compact {
  padding: 10px 0 !important;
  color: #687384 !important;
}
.top-summary-cart-footer {
  margin: 0 -14px -14px !important;
  padding: 10px 14px 14px !important;
}
.top-summary-cart-total {
  padding-top: 6px !important;
}
.top-summary-cart-total-count {
  color: #111 !important;
}
.top-summary-cart-total-count strong {
  color: #111 !important;
  font-size: 14px !important;
}
.top-summary-cart-footer .top-summary-cart-cta {
  margin-top: 10px !important;
  padding: 11px 14px !important;
}
.editor-actions .btn-light:hover,
.editor-actions .btn:hover {
  border-color: #d9dee5 !important;
  color: var(--red) !important;
  background: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}
.brand-home-logo,
.editor-header .brand-logo,
.app-footer-right a {
  transition: color .18s ease, filter .18s ease, opacity .18s ease !important;
}
.brand-home-logo:hover,
.editor-header .brand-logo:hover {
  transform: none !important;
  filter: brightness(0) saturate(100%) invert(17%) sepia(76%) saturate(3035%) hue-rotate(339deg) brightness(90%) contrast(96%) !important;
}
.app-footer-right a {
  color: #fff !important;
  text-decoration: none !important;
}
.app-footer-right a:hover {
  color: var(--red) !important;
  text-decoration: none !important;
}
@media (max-width: 760px) {
  .top-summary-section-total {
    grid-template-columns: 0 1fr auto auto auto !important;
  }
  .top-summary-section-total-spacer {
    display: none !important;
  }
}



.top-summary-cart-head {
  text-transform: none !important;
  text-align: left !important;
}
.top-summary-cart-head span {
  text-align: left !important;
}
.top-summary-section-total {
  margin-top: 8px !important;
  padding: 8px 0 !important;
  border-top: 1px solid #111 !important;
}
.top-summary-section-body + .top-summary-section-total {
  margin-bottom: 2px !important;
}
.top-summary-cart-scroll > .top-summary-section:last-child {
  margin-bottom: 16px !important;
}
.top-summary-cart-footer {
  box-shadow: 0 -10px 20px rgba(17,20,24,.07) !important;
}



.header-summary-wrap .top-summary-dropdown,
.top-summary-dropdown {
  width: min(696px, calc(100vw - 24px)) !important;
  max-height: min(620px, calc(100vh - 96px)) !important;
  padding: 12px !important;
  border: 2px solid #111 !important;
  border-radius: 18px !important;
}
.top-summary-cart-head,
.top-summary-cart-row,
.top-summary-section-total {
  grid-template-columns: 48px minmax(150px, 1fr) 84px 104px 104px !important;
  gap: 8px !important;
}
.top-summary-cart-head {
  padding: 2px 0 8px !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  text-align: left !important;
}
.top-summary-cart-head span {
  text-align: left !important;
}
.top-summary-cart-row {
  padding: 6px 0 !important;
}
.top-summary-cart-media {
  width: 44px !important;
  height: 36px !important;
  border-radius: 6px !important;
}
.top-summary-cart-main strong {
  font-size: 13px !important;
  line-height: 1.2 !important;
}
.top-summary-cart-main small,
.top-summary-cart-price small,
.top-summary-cart-qty,
.top-summary-cart-price strong,
.top-summary-cart-total,
.top-summary-section-total,
.top-summary-section-total strong,
.top-summary-empty.compact {
  font-size: 14px !important;
  line-height: 1.22 !important;
}
.top-summary-section {
  margin-top: 8px !important;
}
.top-summary-section-title {
  margin: 0 0 2px !important;
  padding: 6px 0 5px !important;
  font-size: 14px !important;
}
.top-summary-cart-scroll {
  padding-right: 4px !important;
}
.top-summary-cart-scroll > .top-summary-section:last-child {
  margin-bottom: 18px !important;
}
.top-summary-cart-footer {
  margin: 0 -12px -12px !important;
  padding: 10px 12px 12px !important;
  border-top: 1px solid #111 !important;
  box-shadow: none !important;
}
.top-summary-cart-total {
  padding-top: 4px !important;
}
.top-summary-cart-total.red,
.top-summary-cart-total.red strong {
  font-size: 18px !important;
}
.top-summary-cart-footer .top-summary-cart-cta {
  margin-top: 10px !important;
  padding: 10px 14px !important;
}



.top-summary-cart-head {
  display: grid !important;
  grid-template-columns: 48px minmax(150px, 1fr) 84px 104px 104px !important;
  gap: 8px !important;
  padding: 2px 0 8px !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  text-align: left !important;
}
.top-summary-cart-head span:first-child {
  display: none !important;
}
.top-summary-cart-head span:nth-child(2) {
  grid-column: 1 / span 2 !important;
  text-align: left !important;
}
.top-summary-cart-head span:nth-child(3) {
  grid-column: 3 !important;
  text-align: left !important;
}
.top-summary-cart-head span:nth-child(4) {
  grid-column: 4 !important;
  text-align: left !important;
}
.top-summary-cart-head span:nth-child(5) {
  grid-column: 5 !important;
  text-align: left !important;
}
.top-summary-section-total {
  border-top: none !important;
  margin-top: 4px !important;
  padding: 6px 0 8px !important;
}
.top-summary-section-body + .top-summary-section-total {
  margin-bottom: 6px !important;
}
.top-summary-cart-footer {
  border-top: 2px solid #111 !important;
  margin: 0 -12px -12px !important;
  padding: 12px 12px 12px !important;
}
.top-summary-cart-total {
  padding-top: 4px !important;
}
.top-summary-cart-total:first-child {
  padding-top: 0 !important;
}
.top-summary-cart-total:not(.red) strong {
  color: #111 !important;
}
.top-summary-cart-total span,
.top-summary-cart-total strong {
  font-size: 15px !important;
}
.top-summary-cart-total.red span,
.top-summary-cart-total.red strong {
  font-size: 18px !important;
}



.top-summary-cart-head span:nth-child(3),
.top-summary-cart-head span:nth-child(4),
.top-summary-cart-head span:nth-child(5) {
  justify-self: start !important;
  text-align: left !important;
}
.top-summary-cart-qty,
.top-summary-cart-price {
  justify-self: start !important;
  text-align: left !important;
}
.top-summary-cart-price small {
  display: none !important;
}
.top-summary-cart-total span,
.top-summary-cart-total strong,
.top-summary-cart-total:not(.red) span,
.top-summary-cart-total:not(.red) strong {
  color: #111 !important;
}
.top-summary-cart-total.red span,
.top-summary-cart-total.red strong {
  color: var(--red) !important;
}
.top-summary-section-title {
  font-size: 17px !important;
  line-height: 1.25 !important;
}



.brand-logo-swap {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  cursor: pointer !important;
}
.brand-logo-swap .brand-logo-white {
  position: relative !important;
  z-index: 1 !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  transition: opacity .16s ease !important;
}
.brand-logo-swap .brand-logo-hover-red {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  display: block !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity .16s ease !important;
}
.brand-logo-swap:hover .brand-logo-white,
.brand-logo-swap:focus-within .brand-logo-white {
  opacity: 0 !important;
  filter: none !important;
  transform: none !important;
}
.brand-logo-swap:hover .brand-logo-hover-red,
.brand-logo-swap:focus-within .brand-logo-hover-red {
  opacity: 1 !important;
}
.brand-home-logo:hover,
.editor-header .brand-logo:hover {
  filter: none !important;
  transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .brand-logo-swap .brand-logo-white,
  .brand-logo-swap .brand-logo-hover-red {
    transition: none !important;
  }
}



.setup-param-chip {
  transition: color .18s ease !important;
}
.setup-param-chip:hover,
.setup-param-chip:focus-visible,
.setup-param-chip:active {
  background: transparent !important;
  color: var(--red) !important;
  box-shadow: none !important;
  outline: none !important;
}



.setup-label,
.start-brand .brand-subtitle,
.editor-brand .brand-subtitle {
  gap: 8px !important;
}

.setup-param-chip {
  font-weight: 800 !important;
}

.setup-param-chip:hover,
.setup-param-chip:focus-visible {
  background: transparent !important;
  color: var(--red) !important;
  font-weight: 800 !important;
  outline: none !important;
  box-shadow: none !important;
}

.setup-param-dot {
  font-size: 26px !important;
  line-height: .75 !important;
  font-weight: 800 !important;
  color: rgba(255,255,255,.8) !important;
  transform: translateY(-1px) !important;
  display: inline-block !important;
}



.editor-actions {
  gap: 18px !important;
}

.editor-actions .btn,
.editor-actions .btn-light,
.editor-actions .btn-success {
  height: auto !important;
  min-height: 0 !important;
  padding: 2px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  position: relative !important;
}

.editor-actions .btn::after,
.editor-actions .btn-light::after,
.editor-actions .btn-success::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .18s ease;
}

.editor-actions .btn:hover,
.editor-actions .btn-light:hover,
.editor-actions .btn-success:hover,
.editor-actions .btn:focus-visible,
.editor-actions .btn-light:focus-visible,
.editor-actions .btn-success:focus-visible {
  background: transparent !important;
  color: var(--red) !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  outline: none !important;
}

.editor-actions .btn:hover::after,
.editor-actions .btn-light:hover::after,
.editor-actions .btn-success:hover::after,
.editor-actions .btn:focus-visible::after,
.editor-actions .btn-light:focus-visible::after,
.editor-actions .btn-success:focus-visible::after {
  transform: scaleX(1);
}

.editor-actions .btn:disabled,
.editor-actions .btn-light:disabled,
.editor-actions .btn-success:disabled {
  opacity: .55 !important;
  color: rgba(255,255,255,.65) !important;
}

@media (max-width: 1180px) {
  .editor-actions {
    gap: 14px !important;
  }
  .editor-actions .btn,
  .editor-actions .btn-light,
  .editor-actions .btn-success {
    font-size: 15px !important;
  }
}



.header-summary-wrap .top-summary-button {
  min-width: auto !important;
  width: auto !important;
  height: auto !important;
  padding: 2px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: right !important;
  position: relative !important;
}

.header-summary-wrap .top-summary-button::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .18s ease;
}

.header-summary-wrap .top-summary-button:hover,
.header-summary-wrap .top-summary-button:focus-visible {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  outline: none !important;
}

.header-summary-wrap .top-summary-button:hover::after,
.header-summary-wrap .top-summary-button:focus-visible::after {
  transform: scaleX(1) !important;
}

.header-summary-wrap .top-summary-main {
  font-size: 15px !important;
  color: rgba(255,255,255,.9) !important;
}

.header-summary-wrap .top-summary-main strong {
  font-size: 20px !important;
  color: var(--red) !important;
  font-weight: 950 !important;
}

.header-summary-wrap .top-summary-sub {
  font-size: 15px !important;
  line-height: 1.05 !important;
  color: rgba(255,255,255,.86) !important;
  margin-top: 1px !important;
}

.header-summary-wrap .top-summary-sub strong {
  font-weight: 900 !important;
  color: #fff !important;
}

@media (max-width: 1180px) {
  .header-summary-wrap .top-summary-main strong {
    font-size: 19px !important;
  }
  .header-summary-wrap .top-summary-sub {
    font-size: 14px !important;
  }
}



.editor-actions {
  margin-right: 20px !important;
}

.setup-param-chip {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

@media (max-width: 1180px) {
  .editor-actions {
    margin-right: 14px !important;
  }
  .setup-param-chip {
    font-size: 15px !important;
  }
}



.editor-header-right {
  gap: 50px !important;
}

.setup-param-chip {
  font-size: 14px !important;
}

@media (max-width: 1180px) {
  .editor-header-right {
    gap: 50px !important;
  }
  .setup-param-chip {
    font-size: 14px !important;
  }
}



.setup-param-close,
.detail-close {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: transform .16s ease, filter .16s ease !important;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.18)) !important;
}

.setup-param-close .canvas-remove-icon,
.detail-close .canvas-remove-icon {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  overflow: visible !important;
  pointer-events: none !important;
}

.setup-param-close .canvas-remove-icon circle,
.detail-close .canvas-remove-icon circle {
  fill: var(--red) !important;
  stroke: #fff !important;
  stroke-width: 4 !important;
}

.setup-param-close .canvas-remove-icon path,
.detail-close .canvas-remove-icon path {
  fill: none !important;
  stroke: #fff !important;
  stroke-width: 5 !important;
  stroke-linecap: round !important;
}

.setup-param-close:hover,
.setup-param-close:focus-visible,
.detail-close:hover,
.detail-close:focus-visible {
  background: transparent !important;
  border: 0 !important;
  color: transparent !important;
  outline: none !important;
  transform: scale(1.14) !important;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,.28)) !important;
}



.toast {
  bottom: calc(var(--footer-height, 44px) + 18px) !important;
  max-width: min(92vw, 640px) !important;
}

html,
body,
#productList,
.product-list,
.category-tabs,
.top-summary-cart-scroll,
.setup-param-body,
.setup-param-options,
.setup-param-options-grid,
.corner-config-body,
.save-config-body,
.save-config-list,
.modal-body,
textarea,
select {
  scrollbar-width: thin !important;
  scrollbar-color: var(--red) #eceff2 !important;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
*::-webkit-scrollbar-track {
  background: #eceff2;
  border-radius: 999px;
}
*::-webkit-scrollbar-thumb {
  background: var(--red);
  border: 2px solid #eceff2;
  border-radius: 999px;
}
*::-webkit-scrollbar-thumb:hover {
  background: var(--red-dark, #8f1d21);
}



.corner-config-gear-body {
  width: 78px !important;
  height: 78px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.corner-config-gear-img,
.corner-config-gear-body svg {
  width: 64px !important;
  height: 64px !important;
  transform-origin: 50% 50% !important;
  will-change: transform !important;
}
.corner-config-gear-body:hover .corner-config-gear-img,
.corner-config-gear-body:focus-visible .corner-config-gear-img,
.corner-config-gear-body:hover svg,
.corner-config-gear-body:focus-visible svg {
  animation: ahpCornerGearSpin 1.8s linear infinite;
}
@keyframes ahpCornerGearSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
#fitButton {
  display: none !important;
}


.wall-inputs {
  display: grid;
  grid-template-columns: minmax(0, 280px);
  gap: 14px;
  max-width: 580px;
}
.wall-inputs.corner-mode {
  grid-template-columns: repeat(2, minmax(0, 280px));
}
.wall-inputs .wall-input {
  max-width: none;
}
.setup-modal-wall-fields {
  display: grid;
  gap: 12px;
}
.setup-modal-wall-straight {
  max-width: 100%;
}
.setup-modal-wall-corner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.setup-modal-wall-corner .setup-modal-input {
  min-width: 0;
}
@media (max-width: 680px) {
  .wall-inputs.corner-mode,
  .setup-modal-wall-corner {
    grid-template-columns: 1fr;
  }
}



.setup-modal-input.hidden,
.setup-modal-wall-straight.hidden,
.setup-modal-wall-corner.hidden {
  display: none !important;
}



:root {
  --red-on-dark: #c11015;
}

.corner-depth-blocked-overlay {
  z-index: 9400 !important;
  place-items: center !important;
  padding: 18px !important;
  background: rgba(10, 14, 20, .48) !important;
}
.corner-depth-blocked-modal {
  width: min(520px, calc(100vw - 28px)) !important;
  max-height: min(560px, calc(100vh - 36px)) !important;
  overflow: auto !important;
}
.corner-depth-blocked-content {
  display: grid;
  gap: 12px;
  color: #31363d;
  font-size: 15px;
  line-height: 1.5;
}
.corner-depth-blocked-content p {
  margin: 0;
}
.corner-depth-blocked-content ul {
  margin: 0;
  padding: 12px 16px 12px 34px;
  border: 1px solid #e1e5ea;
  border-radius: 12px;
  background: #f7f8fa;
}
.corner-depth-blocked-content li + li {
  margin-top: 6px;
}

.start-header,
.editor-header,
.start-header.app-header,
.editor-header.app-header,
.app-footer {
  --red: var(--red-on-dark);
  --red-dark: var(--red-on-dark);
  border-color: var(--red-on-dark) !important;
}
.start-header .setup-param-chip:hover,
.start-header .setup-param-chip:focus-visible,
.editor-header .setup-param-chip:hover,
.editor-header .setup-param-chip:focus-visible,
.editor-actions .btn:hover,
.editor-actions .btn-light:hover,
.editor-actions .btn-success:hover,
.editor-actions .btn:focus-visible,
.editor-actions .btn-light:focus-visible,
.editor-actions .btn-success:focus-visible,
.header-summary-wrap .top-summary-main strong,
.app-footer-right a:hover {
  color: var(--red-on-dark) !important;
}
.editor-actions .btn::after,
.editor-actions .btn-light::after,
.editor-actions .btn-success::after,
.header-summary-wrap .top-summary-button::after {
  background: var(--red-on-dark) !important;
}
.header-menu-icon path {
  stroke: var(--red-on-dark) !important;
}



.corner-depth-blocked-overlay {
  z-index: 16000 !important;
}

.app-dialog-overlay {
  z-index: 18000 !important;
  place-items: center !important;
  padding: 18px !important;
  background: rgba(10, 14, 20, .52) !important;
}

.app-dialog-modal {
  width: min(480px, calc(100vw - 28px)) !important;
  max-height: min(520px, calc(100vh - 36px)) !important;
  overflow: auto !important;
  border: 1px solid #dce1e7 !important;
}

.app-dialog-content {
  color: #3f4650;
  font-size: 15px;
  line-height: 1.55;
}

.app-dialog-content p {
  margin: 0;
}

.app-dialog-actions {
  margin-top: 20px !important;
  justify-content: flex-end !important;
}

.app-dialog-actions .btn {
  min-width: 104px;
}






.canvas-item.corner-module-worktop > img,
.corner-preview-canvas-item.corner-module-worktop > img {
  width: calc(100% + 1px) !important;
  margin-left: -1px !important;
  height: 100% !important;
  margin-top: 0 !important;
  object-fit: fill !important;
}


.canvas-item.behavior-pegboard > img {
  height: 100% !important;
  margin-top: 0 !important;
}


.canvas-item.corner-module-base:hover,
.canvas-item.corner-module-base.selected {
  z-index: 121 !important;
}
.canvas-item.corner-module-base:hover::after,
.canvas-item.corner-module-base.selected::after {
  inset: 0 !important;
  z-index: 2147482000 !important;
}




.canvas-item.corner-module-worktop.product-tgw34d > img,
.corner-preview-canvas-item.corner-module-worktop.product-tgw34d > img {
  height: calc(100% + 0.5px) !important;
  margin-top: 0 !important;
}



.layout-toolbar-group {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: nowrap !important;
}
.toolbar-layout-btn {
  width: 34px !important;
  height: 34px !important;
  padding: 5px !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: var(--red) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease !important;
}
.toolbar-layout-btn svg {
  width: 23px !important;
  height: 23px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  pointer-events: none !important;
}
.toolbar-layout-btn:hover,
.toolbar-layout-btn:focus-visible {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 18px rgba(182,35,40,.18) !important;
}
.toolbar-layout-btn:disabled {
  opacity: .35 !important;
  cursor: default !important;
  transform: none !important;
  box-shadow: none !important;
}


.corner-config-gear-body {
  width: var(--corner-gear-hit-size, 78px) !important;
  height: var(--corner-gear-hit-size, 78px) !important;
}
.corner-config-gear-img,
.corner-config-gear-body svg {
  width: var(--corner-gear-icon-size, 64px) !important;
  height: var(--corner-gear-icon-size, 64px) !important;
}


.stage-dimension-layer {
  z-index: 60 !important;
}
body.has-overlay-modal .stage-dimension-layer {
  opacity: 0 !important;
  visibility: hidden !important;
}

@media (max-width: 760px) {
  .layout-toolbar-group { gap: 4px !important; }
  .toolbar-layout-btn {
    width: 30px !important;
    height: 30px !important;
    padding: 4px !important;
  }
  .toolbar-layout-btn svg {
    width: 20px !important;
    height: 20px !important;
  }
}



.dimension-toolbar-group {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}
.toolbar-dimension-btn.is-active {
  border-color: var(--red) !important;
  background: rgba(182, 35, 40, .07) !important;
  color: var(--red) !important;
  box-shadow: inset 0 0 0 1px rgba(182, 35, 40, .14) !important;
}
.toolbar-dimension-btn.is-active:hover,
.toolbar-dimension-btn.is-active:focus-visible {
  background: var(--red) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(182,35,40,.18) !important;
}
.toolbar-dimension-btn:not(.is-active) {
  color: #6b7280 !important;
}



body.has-selected-detail .stage-dimension-layer {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.selected-detail {
  z-index: 90 !important;
}

@media (max-width: 760px) {
  .dimension-toolbar-group { gap: 4px !important; }
}





.editor-header.app-header {
  position: relative !important;
  z-index: 20000 !important;
  overflow: visible !important;
  isolation: isolate !important;
}

.editor-shell {
  position: relative !important;
  z-index: 0 !important;
  isolation: isolate !important;
}

.workspace-panel {
  position: relative !important;
  z-index: 0 !important;
  isolation: isolate !important;
}


.stage-viewport {
  position: relative !important;
  z-index: 0 !important;
  isolation: isolate !important;
}
.stage {
  position: relative !important;
  z-index: 0 !important;
  isolation: isolate !important;
}


.header-summary-wrap,
.top-summary-wrap {
  position: relative !important;
  z-index: 20 !important;
}
.header-summary-wrap .top-summary-dropdown,
.top-summary-dropdown {
  z-index: 100 !important;
}



body > .setup-param-overlay,
body > .save-config-overlay,
body > .corner-depth-blocked-overlay,
body > .app-dialog-overlay,
body > [role="dialog"].modal-overlay,
body > [aria-modal="true"].modal-overlay {
  z-index: 2147483000 !important;
}



.workspace-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  min-width: 0 !important;
  height: 50px !important;
  min-height: 50px !important;
  padding: 7px 12px !important;
  overflow: hidden !important;
}
.toolbar-main-controls {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  min-width: max-content !important;
  white-space: nowrap !important;
}
.toolbar-main-controls .toolbar-group,
.history-toolbar-group,
.layout-toolbar-group,
.dimension-toolbar-group,
.zoom-toolbar-group {
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  flex: 0 0 auto !important;
  min-width: max-content !important;
}


.zoom-toolbar-group {
  gap: 0 !important;
  height: 36px !important;
  border: 1px solid #d8dde4 !important;
  border-radius: 11px !important;
  background: #fff !important;
  overflow: hidden !important;
}
.zoom-toolbar-group .icon-btn {
  width: 30px !important;
  height: 34px !important;
  min-width: 30px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 19px !important;
  line-height: 1 !important;
  padding: 0 !important;
}
.zoom-toolbar-group .icon-btn:hover,
.zoom-toolbar-group .icon-btn:focus-visible {
  transform: none !important;
  box-shadow: none !important;
}
.zoom-value-btn {
  width: 48px !important;
  min-width: 48px !important;
  height: 34px !important;
  padding: 0 4px !important;
  border: 0 !important;
  border-left: 1px solid #e2e6eb !important;
  border-right: 1px solid #e2e6eb !important;
  background: #f7f8fa !important;
  color: #20242a !important;
  font: inherit !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}
.zoom-value-btn:hover,
.zoom-value-btn:focus-visible {
  background: rgba(182,35,40,.08) !important;
  color: var(--red) !important;
}


.history-toolbar-group {
  gap: 0 !important;
  height: 36px !important;
  border: 1px solid #d8dde4 !important;
  border-radius: 11px !important;
  background: #fff !important;
  overflow: hidden !important;
}
.history-toolbar-group .toolbar-history-btn {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border-radius: 0 !important;
}
.history-toolbar-group .toolbar-history-btn + .toolbar-history-btn {
  border-left: 1px solid #e2e6eb !important;
}
.history-toolbar-group .toolbar-history-btn img {
  width: 28px !important;
  height: 28px !important;
}
.history-toolbar-group .toolbar-history-btn:hover,
.history-toolbar-group .toolbar-history-btn:focus-visible {
  background: rgba(182,35,40,.06) !important;
  transform: none !important;
}


.layout-toolbar-group {
  gap: 0 !important;
  height: 36px !important;
  border: 1px solid #d8dde4 !important;
  border-radius: 11px !important;
  background: #fff !important;
  overflow: hidden !important;
}
.layout-toolbar-group .toolbar-layout-btn {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.layout-toolbar-group .toolbar-layout-btn + .toolbar-layout-btn {
  border-left: 1px solid #e2e6eb !important;
}
.layout-toolbar-group .toolbar-layout-btn:hover,
.layout-toolbar-group .toolbar-layout-btn:focus-visible {
  transform: none !important;
  box-shadow: none !important;
}
.dimension-toolbar-group {
  gap: 0 !important;
}
.dimension-toolbar-group .toolbar-layout-btn {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
}


.toolbar-minimap.stage-minimap {
  position: static !important;
  display: grid !important;
  grid-template-columns: 32px 132px 32px !important;
  align-items: center !important;
  gap: 4px !important;
  width: 208px !important;
  min-width: 208px !important;
  max-width: 208px !important;
  height: 38px !important;
  flex: 0 0 208px !important;
  margin-left: auto !important;
  padding: 2px 3px !important;
  border: 1px solid #d8dde4 !important;
  border-radius: 12px !important;
  background: #f7f8fa !important;
  box-shadow: none !important;
  overflow: hidden !important;
}
.toolbar-minimap .minimap-arrow {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  border-radius: 9px !important;
  background: transparent !important;
}
.toolbar-minimap .minimap-arrow:hover,
.toolbar-minimap .minimap-arrow:focus-visible {
  background: rgba(182,35,40,.08) !important;
  transform: none !important;
}
.toolbar-minimap .minimap-arrow img {
  width: 22px !important;
  height: 22px !important;
}
.toolbar-minimap .minimap-track {
  align-self: center !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 12px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #e3e7ec !important;
  box-shadow: inset 0 1px 2px rgba(31,41,55,.08) !important;
  overflow: hidden !important;
}
.toolbar-minimap .minimap-content {
  top: 2px !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: #c8ced6 !important;
}
.toolbar-minimap .minimap-window {
  top: 0 !important;
  height: 12px !important;
  border: 2px solid var(--red) !important;
  border-radius: 999px !important;
  background: rgba(182,35,40,.10) !important;
}

@media (max-width: 1180px) {
  .workspace-toolbar { gap: 7px !important; padding-inline: 8px !important; }
  .toolbar-main-controls { gap: 6px !important; }
  .toolbar-minimap.stage-minimap {
    grid-template-columns: 30px 92px 30px !important;
    width: 162px !important;
    min-width: 162px !important;
    max-width: 162px !important;
    flex-basis: 162px !important;
  }
  .toolbar-minimap .minimap-arrow {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
  }
}

@media (max-width: 760px) {
  .workspace-toolbar {
    height: 46px !important;
    min-height: 46px !important;
    gap: 5px !important;
    padding: 5px 6px !important;
  }
  .toolbar-main-controls { gap: 4px !important; }
  .zoom-toolbar-group,
  .history-toolbar-group,
  .layout-toolbar-group {
    height: 34px !important;
    border-radius: 10px !important;
  }
  .zoom-toolbar-group .icon-btn {
    width: 28px !important;
    min-width: 28px !important;
    height: 32px !important;
  }
  .zoom-value-btn {
    width: 42px !important;
    min-width: 42px !important;
    height: 32px !important;
    font-size: 13px !important;
    padding-inline: 2px !important;
  }
  .history-toolbar-group .toolbar-history-btn,
  .layout-toolbar-group .toolbar-layout-btn {
    width: 31px !important;
    min-width: 31px !important;
    height: 32px !important;
  }
  .history-toolbar-group .toolbar-history-btn img {
    width: 25px !important;
    height: 25px !important;
  }
  .layout-toolbar-group .toolbar-layout-btn svg,
  .dimension-toolbar-group .toolbar-layout-btn svg {
    width: 19px !important;
    height: 19px !important;
  }
  .dimension-toolbar-group .toolbar-layout-btn {
    width: 32px !important;
    min-width: 32px !important;
    height: 34px !important;
  }
  .toolbar-minimap.stage-minimap {
    grid-template-columns: 29px 62px 29px !important;
    width: 130px !important;
    min-width: 130px !important;
    max-width: 130px !important;
    height: 36px !important;
    flex-basis: 130px !important;
    gap: 3px !important;
    padding-inline: 2px !important;
  }
  .toolbar-minimap .minimap-arrow {
    width: 29px !important;
    min-width: 29px !important;
    height: 29px !important;
  }
  .toolbar-minimap .minimap-arrow img {
    width: 20px !important;
    height: 20px !important;
  }
}

@media (max-width: 520px) {
  .workspace-toolbar {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .workspace-toolbar::-webkit-scrollbar { display: none !important; }
  .toolbar-minimap.stage-minimap {
    grid-template-columns: 29px 29px !important;
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    flex-basis: 64px !important;
    margin-left: 0 !important;
  }
  .toolbar-minimap .minimap-track { display: none !important; }
}

@media (max-width: 390px) {
  .workspace-toolbar { gap: 3px !important; padding-inline: 4px !important; }
  .toolbar-main-controls { gap: 3px !important; }
  .zoom-toolbar-group .icon-btn {
    width: 26px !important;
    min-width: 26px !important;
  }
  .zoom-value-btn {
    width: 38px !important;
    min-width: 38px !important;
    font-size: 12px !important;
  }
  .history-toolbar-group .toolbar-history-btn,
  .layout-toolbar-group .toolbar-layout-btn {
    width: 29px !important;
    min-width: 29px !important;
  }
  .dimension-toolbar-group .toolbar-layout-btn {
    width: 30px !important;
    min-width: 30px !important;
  }
  .toolbar-minimap.stage-minimap {
    grid-template-columns: 27px 27px !important;
    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    flex-basis: 60px !important;
  }
  .toolbar-minimap .minimap-arrow {
    width: 27px !important;
    min-width: 27px !important;
    height: 29px !important;
  }
}


.stage-dimension-bottom .stage-dimension-viewport-label {
  left: var(--dimension-label-left, 50%) !important;
}


.floorplan-toolbar-group {
  gap: 0 !important;
  min-width: max-content !important;
}
.floorplan-toolbar-button {
  height: 36px;
  min-width: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px 0 8px;
  border: 1px solid #d8dde4;
  border-radius: 11px;
  background: #fff;
  color: #252a31;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.floorplan-toolbar-button img {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: block;
}
.floorplan-toolbar-button:hover,
.floorplan-toolbar-button:focus-visible {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
  box-shadow: 0 7px 16px rgba(182,35,40,.18);
  outline: none;
}
.floorplan-toolbar-button:hover img,
.floorplan-toolbar-button:focus-visible img {
  filter: brightness(0) invert(1);
}

.floorplan-overlay {
  z-index: 2147483550 !important;
  padding: 16px !important;
}
.floorplan-modal {
  width: min(1320px, calc(100vw - 32px)) !important;
  max-width: none !important;
  height: min(900px, calc(100vh - 32px)) !important;
  max-height: none !important;
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 13px !important;
  overflow: hidden !important;
  background: #fff !important;
  color: #111827 !important;
  border: 1px solid #d8dde4 !important;
  border-radius: 18px !important;
  box-shadow: 0 28px 70px rgba(16,24,40,.28) !important;
}
.floorplan-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex: 0 0 auto;
}
.floorplan-modal-head h3 {
  margin: 1px 0 4px !important;
  font-size: 24px !important;
  line-height: 1.15 !important;
  color: inherit !important;
}
.floorplan-meta {
  color: #606a76;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}
.floorplan-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}
.floorplan-control-button {
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  white-space: nowrap !important;
}
.floorplan-control-button svg,
.floorplan-control-button img {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
}
.floorplan-control-button svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.floorplan-control-button.is-active {
  border-color: #fff !important;
  background: #fff !important;
  color: #111827 !important;
}
.floorplan-theme-button {
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease !important;
}
.floorplan-theme-button:hover,
.floorplan-theme-button:focus-visible,
.floorplan-theme-button.is-active:hover,
.floorplan-theme-button.is-active:focus-visible {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
  box-shadow: none !important;
  outline: none !important;
}
.floorplan-theme-button:active,
.floorplan-theme-button.is-active:active {
  transform: translateY(0) !important;
  box-shadow: none !important;
}
.floorplan-zoom-controls {
  height: 38px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid #d8dde4;
  border-radius: 11px;
  background: #fff;
}
.floorplan-zoom-button,
.floorplan-zoom-label {
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #20242a;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, filter .18s ease;
}
.floorplan-zoom-button {
  width: 36px;
  min-width: 36px;
  padding: 0;
}
.floorplan-zoom-button img {
  width: 19px;
  height: 19px;
  display: block;
  pointer-events: none;
}
.floorplan-zoom-label {
  min-width: 58px;
  padding: 0 7px;
  border-left: 1px solid #e2e6eb;
  border-right: 1px solid #e2e6eb;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}
.floorplan-zoom-button:hover,
.floorplan-zoom-button:focus-visible,
.floorplan-zoom-label:hover,
.floorplan-zoom-label:focus-visible {
  background: var(--red);
  color: #fff;
  outline: none;
}
.floorplan-zoom-button:hover img,
.floorplan-zoom-button:focus-visible img {
  filter: brightness(0) invert(1);
}
.floorplan-zoom-button:disabled {
  background: #f1f3f5;
  cursor: default;
  opacity: .42;
  pointer-events: none;
}
.floorplan-close.setup-param-close {
  position: static !important;
  inset: auto !important;
  flex: 0 0 38px !important;
  width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
}

.floorplan-overlay .floorplan-zoom-controls,
.floorplan-overlay .floorplan-actions button,
.floorplan-overlay .floorplan-actions button:hover,
.floorplan-overlay .floorplan-actions button:focus,
.floorplan-overlay .floorplan-actions button:focus-visible,
.floorplan-overlay .floorplan-actions button:active,
.floorplan-overlay .floorplan-actions button.is-active,
.floorplan-overlay .floorplan-actions button.is-active:hover,
.floorplan-overlay .floorplan-actions button.is-active:focus,
.floorplan-overlay .floorplan-actions button.is-active:focus-visible,
.floorplan-overlay .floorplan-actions button.is-active:active {
  box-shadow: none !important;
  filter: none !important;
}
.floorplan-canvas-wrap {
  min-height: 0;
  flex: 1 1 auto;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #d8dde4;
  border-radius: 14px;
  background-color: #f5f6f8;
  background-image: linear-gradient(rgba(17,24,39,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(17,24,39,.035) 1px, transparent 1px);
  background-size: 20px 20px;
  scrollbar-color: #aeb6c0 transparent;
}
.floorplan-canvas {
  width: max-content;
  min-width: 100%;
  min-height: 100%;
  padding: 18px;
  box-sizing: border-box;
}
.floorplan-svg {
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 5px 24px rgba(16,24,40,.08);
}
.floorplan-overlay.is-dark {
  background: rgba(0,0,0,.82) !important;
}
.floorplan-overlay.is-dark .floorplan-modal {
  border-color: #344152 !important;
  background: #111827 !important;
  color: #f8fafc !important;
}
.floorplan-overlay.is-dark .floorplan-meta {
  color: #aab5c2 !important;
}
.floorplan-overlay.is-dark .floorplan-canvas-wrap {
  border-color: #344152;
  background-color: #0b1016;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
}
.floorplan-overlay.is-dark .floorplan-svg {
  box-shadow: 0 7px 28px rgba(0,0,0,.45);
}
.floorplan-overlay.is-dark .floorplan-zoom-controls {
  border-color: #405064;
  background: #18212c;
}
.floorplan-overlay.is-dark .floorplan-zoom-button,
.floorplan-overlay.is-dark .floorplan-zoom-label {
  border-color: #405064;
  background: #18212c;
  color: #f8fafc;
}
.floorplan-overlay.is-dark .floorplan-zoom-button:hover,
.floorplan-overlay.is-dark .floorplan-zoom-button:focus-visible,
.floorplan-overlay.is-dark .floorplan-zoom-label:hover,
.floorplan-overlay.is-dark .floorplan-zoom-label:focus-visible {
  background: var(--red);
  color: #fff;
}
.floorplan-overlay.is-dark .floorplan-close circle,
.floorplan-overlay.is-dark .floorplan-close path {
  stroke: #fff !important;
}

@media (max-width: 900px) {
  .floorplan-toolbar-button {
    width: 36px;
    padding: 0;
  }
  .floorplan-toolbar-button span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
  .floorplan-modal-head {
    flex-direction: column;
    gap: 10px;
  }
  .floorplan-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .floorplan-close.setup-param-close {
    margin-left: auto !important;
  }
}

@media (max-width: 560px) {
  .floorplan-overlay { padding: 6px !important; }
  .floorplan-modal {
    width: calc(100vw - 12px) !important;
    height: calc(100vh - 12px) !important;
    padding: 12px !important;
    border-radius: 13px !important;
  }
  .floorplan-modal-head h3 { font-size: 21px !important; }
  .floorplan-meta { font-size: 13px; }
  .floorplan-control-button { padding-inline: 10px !important; }
  .floorplan-canvas { padding: 10px; }
}



.zoom-toolbar-group {
  gap: 0 !important;
}
.zoom-toolbar-group .zoom-icon-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff !important;
}
.zoom-toolbar-group .zoom-icon-btn img {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  color: var(--red) !important;
  pointer-events: none !important;
}
.zoom-toolbar-group .zoom-icon-btn:hover,
.zoom-toolbar-group .zoom-icon-btn:focus-visible {
  background: rgba(182,35,40,.06) !important;
}
.zoom-value-btn {
  min-width: 52px !important;
  width: auto !important;
  padding: 0 8px !important;
}
@media (max-width: 768px) {
  .zoom-toolbar-group .zoom-icon-btn img {
    width: 17px !important;
    height: 17px !important;
  }
  .zoom-value-btn {
    min-width: 48px !important;
    padding: 0 6px !important;
  }
}



.toolbar-minimap.stage-minimap {
  grid-template-columns: 32px auto 32px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  flex-basis: auto !important;
}
.toolbar-minimap .minimap-track {
  position: relative !important;
  width: var(--minimap-track-w, 148px) !important;
  min-width: 56px !important;
  height: 30px !important;
  border: 1px solid #cfd5dc !important;
  border-radius: 4px !important;
  background: linear-gradient(to bottom, rgba(255,255,255,.96), rgba(244,246,248,.98)) !important;
  box-shadow: inset 0 1px 2px rgba(31,41,55,.08) !important;
  overflow: hidden !important;
}
.toolbar-minimap .minimap-content {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  height: 100% !important;
  min-width: 56px !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
.toolbar-minimap .minimap-content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 1px;
  background: rgba(96,102,111,.18);
}
.minimap-object,
.minimap-object-pegboard,
.minimap-object-worktop,
.minimap-object-rail,
.minimap-object-wall,
.minimap-object-tall,
.minimap-object-mobile,
.minimap-object-frame,
.minimap-object-cabinet {
  position: absolute;
  display: block;
  box-sizing: border-box;
  min-width: 1px;
  min-height: 1px;
  background: rgba(151, 155, 161, .78) !important;
  border: 0 !important;
  border-radius: 0 !important;
  opacity: 1;
}
.minimap-object-worktop { min-height: 2px; z-index: 5; }
.minimap-object-rail { min-width: 1px; z-index: 6; }
.minimap-object-mobile { background: rgba(143, 147, 153, .82) !important; }
.minimap-object-frame { background: rgba(164, 168, 174, .68) !important; }
.toolbar-minimap .minimap-window {
  box-sizing: border-box !important;
  top: 1px !important;
  height: calc(100% - 2px) !important;
  border: 2px solid var(--red) !important;
  border-radius: 2px !important;
  background: rgba(182,35,40,.06) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55) !important;
  z-index: 20 !important;
}

@media (max-width: 1180px) {
  .toolbar-minimap.stage-minimap {
    grid-template-columns: 30px auto 30px !important;
  }
  .toolbar-minimap .minimap-track,
  .toolbar-minimap .minimap-window { height: 28px !important; }
}

@media (max-width: 760px) {
  .toolbar-minimap.stage-minimap {
    grid-template-columns: 29px auto 29px !important;
  }
  .toolbar-minimap .minimap-track,
  .toolbar-minimap .minimap-window { height: 26px !important; }
}


.icon-btn:disabled,
.icon-btn[disabled] {
  opacity: .42 !important;
  cursor: default !important;
  color: #9ea6b0 !important;
  border-color: #d7dde5 !important;
  background: #f3f5f7 !important;
  box-shadow: none !important;
  transform: none !important;
  pointer-events: none !important;
}
.icon-btn:disabled img,
.icon-btn[disabled] img {
  opacity: .48 !important;
}
.icon-btn:disabled:hover,
.icon-btn[disabled]:hover,
.icon-btn:disabled:focus-visible,
.icon-btn[disabled]:focus-visible {
  background: #f3f5f7 !important;
  color: #9ea6b0 !important;
  border-color: #d7dde5 !important;
  box-shadow: none !important;
  transform: none !important;
}
.minimap-arrow:disabled,
.minimap-arrow[disabled] {
  opacity: .42 !important;
  cursor: default !important;
  pointer-events: none !important;
}
.minimap-arrow:disabled img,
.minimap-arrow[disabled] img {
  opacity: .48 !important;
}
.minimap-arrow:disabled:hover,
.minimap-arrow[disabled]:hover,
.minimap-arrow:disabled:focus-visible,
.minimap-arrow[disabled]:focus-visible {
  background: transparent !important;
  transform: none !important;
}
.toolbar-minimap .minimap-window {
  top: -1px !important;
  height: calc(100% + 2px) !important;
  border: 1px solid var(--red) !important;
  border-radius: 3px !important;
  background: rgba(182,35,40,.02) !important;
  box-shadow: none !important;
}


.zoom-toolbar-group .zoom-icon-btn,
.zoom-toolbar-group .zoom-value-btn,
.history-toolbar-group .toolbar-history-btn,
.toolbar-minimap .minimap-arrow {
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}

.zoom-toolbar-group .zoom-icon-btn:hover,
.zoom-toolbar-group .zoom-icon-btn:focus-visible,
.zoom-toolbar-group .zoom-value-btn:hover,
.zoom-toolbar-group .zoom-value-btn:focus-visible,
.history-toolbar-group .toolbar-history-btn:hover,
.history-toolbar-group .toolbar-history-btn:focus-visible,
.toolbar-minimap .minimap-arrow:hover,
.toolbar-minimap .minimap-arrow:focus-visible {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: #fff !important;
  transform: none !important;
  box-shadow: 0 8px 18px rgba(182,35,40,.18) !important;
}

.zoom-toolbar-group .zoom-icon-btn:hover img,
.zoom-toolbar-group .zoom-icon-btn:focus-visible img,
.history-toolbar-group .toolbar-history-btn:hover img,
.history-toolbar-group .toolbar-history-btn:focus-visible img,
.toolbar-minimap .minimap-arrow:hover img,
.toolbar-minimap .minimap-arrow:focus-visible img {
  filter: brightness(0) invert(1) !important;
}

.zoom-toolbar-group .zoom-value-btn:hover,
.zoom-toolbar-group .zoom-value-btn:focus-visible {
  border-left-color: rgba(255,255,255,.25) !important;
  border-right-color: rgba(255,255,255,.25) !important;
}

.toolbar-minimap.stage-minimap {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 40px !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.toolbar-minimap .minimap-arrow {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  background: #fff !important;
  padding: 0 !important;
}

.toolbar-minimap .minimap-arrow img {
  width: 22px !important;
  height: 22px !important;
}

.toolbar-minimap .minimap-track {
  position: relative !important;
  width: var(--minimap-track-w, 184px) !important;
  min-width: 72px !important;
  height: 30px !important;
  border: 1px solid #cfd5dc !important;
  border-radius: 4px !important;
  background: linear-gradient(to bottom, rgba(255,255,255,.98), rgba(244,246,248,.98)) !important;
  box-shadow: inset 0 1px 2px rgba(31,41,55,.08) !important;
  overflow: hidden !important;
}

.toolbar-minimap .minimap-content {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.toolbar-minimap .minimap-window {
  box-sizing: border-box !important;
  top: 0 !important;
  height: 100% !important;
  border: 1px solid var(--red) !important;
  border-radius: 2px !important;
  background: rgba(182,35,40,.02) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.42) !important;
  z-index: 20 !important;
}

.toolbar-minimap .minimap-window.is-full-view {
  left: 0 !important;
  right: 0 !important;
  width: auto !important;
}

@media (max-width: 1180px) {
  .toolbar-minimap.stage-minimap {
    gap: 6px !important;
    height: 38px !important;
  }
  .toolbar-minimap .minimap-track {
    width: var(--minimap-track-w, 156px) !important;
    height: 28px !important;
  }
  .toolbar-minimap .minimap-arrow {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
  }
}

@media (max-width: 760px) {
  .toolbar-minimap.stage-minimap {
    gap: 5px !important;
    height: 36px !important;
  }
  .toolbar-minimap .minimap-track {
    width: var(--minimap-track-w, 124px) !important;
    min-width: 66px !important;
    height: 26px !important;
  }
  .toolbar-minimap .minimap-arrow {
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    border-radius: 9px !important;
  }
  .toolbar-minimap .minimap-arrow img {
    width: 20px !important;
    height: 20px !important;
  }
}

@media (max-width: 520px) {
  .toolbar-minimap.stage-minimap {
    gap: 4px !important;
  }
  .toolbar-minimap .minimap-track {
    display: block !important;
    min-width: 58px !important;
  }
}



.zoom-toolbar-group .zoom-icon-btn,
.zoom-toolbar-group .zoom-value-btn {
  -webkit-appearance: none !important;
  appearance: none !important;
}

.zoom-toolbar-group .zoom-icon-btn:disabled,
.zoom-toolbar-group .zoom-icon-btn[disabled] {
  opacity: 1 !important;
  background: #fff !important;
  border-color: #d7dde5 !important;
  color: #a9b1bb !important;
  box-shadow: none !important;
  transform: none !important;
  pointer-events: none !important;
  cursor: default !important;
  filter: none !important;
}

.zoom-toolbar-group .zoom-icon-btn:disabled img,
.zoom-toolbar-group .zoom-icon-btn[disabled] img {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  opacity: .38 !important;
  filter: grayscale(1) brightness(.95) !important;
  transform: none !important;
}

.zoom-toolbar-group .zoom-icon-btn:disabled:hover,
.zoom-toolbar-group .zoom-icon-btn[disabled]:hover,
.zoom-toolbar-group .zoom-icon-btn:disabled:focus-visible,
.zoom-toolbar-group .zoom-icon-btn[disabled]:focus-visible {
  opacity: 1 !important;
  background: #fff !important;
  border-color: #d7dde5 !important;
  color: #a9b1bb !important;
  box-shadow: none !important;
  transform: none !important;
}

.zoom-toolbar-group .zoom-icon-btn:disabled:hover img,
.zoom-toolbar-group .zoom-icon-btn[disabled]:hover img,
.zoom-toolbar-group .zoom-icon-btn:disabled:focus-visible img,
.zoom-toolbar-group .zoom-icon-btn[disabled]:focus-visible img {
  width: 18px !important;
  height: 18px !important;
  opacity: .38 !important;
  filter: grayscale(1) brightness(.95) !important;
}

@media (max-width: 768px) {
  .zoom-toolbar-group .zoom-icon-btn:disabled img,
  .zoom-toolbar-group .zoom-icon-btn[disabled] img,
  .zoom-toolbar-group .zoom-icon-btn:disabled:hover img,
  .zoom-toolbar-group .zoom-icon-btn[disabled]:hover img,
  .zoom-toolbar-group .zoom-icon-btn:disabled:focus-visible img,
  .zoom-toolbar-group .zoom-icon-btn[disabled]:focus-visible img {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    min-height: 17px !important;
  }
}



.zoom-toolbar-group .zoom-icon-btn,
.zoom-toolbar-group .zoom-icon-btn img,
.toolbar-minimap .minimap-arrow,
.toolbar-minimap .minimap-arrow img {
  -webkit-user-select: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
  user-drag: none !important;
  -webkit-touch-callout: none !important;
}
.zoom-toolbar-group .zoom-icon-btn img,
.toolbar-minimap .minimap-arrow img {
  pointer-events: none !important;
}



#editorScreen,
#editorScreen * {
  -webkit-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}

#editorScreen img,
#editorScreen svg {
  -webkit-user-drag: none !important;
  user-drag: none !important;
}


#editorScreen input,
#editorScreen textarea,
#editorScreen select,
#editorScreen [contenteditable="true"],
#editorScreen .allow-text-selection {
  -webkit-user-select: text !important;
  user-select: text !important;
  -webkit-touch-callout: default !important;
}


.app-dialog-content .app-dialog-secondary-text {
  margin-top: 12px !important;
  padding-top: 12px;
  border-top: 1px solid #e6e9ee;
  color: #5c6470;
}

.app-dialog-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.app-dialog-actions #appDialogAlternative {
  margin-right: auto;
  min-width: 210px;
}

@media (max-width: 560px) {
  .app-dialog-actions {
    align-items: stretch !important;
    flex-direction: column-reverse !important;
  }
  .app-dialog-actions .btn,
  .app-dialog-actions #appDialogAlternative {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
}



.app-dialog-actions #appDialogAlternative {
  background: rgba(182, 35, 40, .10) !important;
  color: var(--red) !important;
  border: 1px solid rgba(182, 35, 40, .42) !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease !important;
}

.app-dialog-actions #appDialogAlternative:hover,
.app-dialog-actions #appDialogAlternative:focus-visible {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 18px rgba(182, 35, 40, .24) !important;
  outline: none !important;
}

.app-dialog-actions #appDialogAlternative:active {
  background: var(--red-dark) !important;
  border-color: var(--red-dark) !important;
  transform: translateY(0) !important;
  box-shadow: 0 4px 10px rgba(182, 35, 40, .18) !important;
}



.header-menu-button,
.header-menu-button:hover,
.header-menu-button:focus,
.header-menu-button:focus-visible,
.header-menu-button:active {
  width: 58px !important;
  height: 46px !important;
  min-width: 58px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.header-menu-button {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  color: #fff !important;
  cursor: pointer !important;
  transition: color .3s ease !important;
}

.header-menu-label {
  color: inherit !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  transition: color .3s ease !important;
}

.header-menu-icon {
  width: 30px !important;
  height: 28px !important;
  display: block !important;
  overflow: visible !important;
  color: inherit !important;
}

.header-menu-icon .header-menu-line {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 3 !important;
  stroke-linecap: round !important;
  transform-box: view-box;
  transform-origin: center;
  transition: stroke .3s ease, transform .3s ease !important;
}

.header-menu-icon .header-menu-line-middle {
  transform: scaleX(.8);
}

.header-menu-button:hover,
.header-menu-button:focus-visible {
  color: #c11015 !important;
  outline: none !important;
}

.header-menu-button:hover .header-menu-line-middle,
.header-menu-button:focus-visible .header-menu-line-middle {
  transform: scaleX(1);
}

@media (max-width: 820px) {
  .header-menu-button,
  .header-menu-button:hover,
  .header-menu-button:focus,
  .header-menu-button:focus-visible,
  .header-menu-button:active {
    width: 50px !important;
    min-width: 50px !important;
    height: 44px !important;
  }
  .header-menu-icon {
    width: 29px !important;
    height: 27px !important;
  }
}

@media (max-width: 560px) {
  .header-menu-button,
  .header-menu-button:hover,
  .header-menu-button:focus,
  .header-menu-button:focus-visible,
  .header-menu-button:active {
    width: 46px !important;
    min-width: 46px !important;
    height: 42px !important;
  }
  .header-menu-icon {
    width: 28px !important;
    height: 26px !important;
  }
}



.header-summary-wrap .top-summary-button {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
}

.top-summary-cart-visual {
  position: relative;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: block;
  color: #fff;
  transition: color .3s ease;
}

.top-summary-cart-icon {
  position: absolute;
  inset: 2px;
  display: block;
  background-color: currentColor;
  -webkit-mask: url('./kosik-ikona.svg?v=527') center / contain no-repeat;
  mask: url('./kosik-ikona.svg?v=527') center / contain no-repeat;
  transition: background-color .3s ease;
}

.top-summary-cart-badge {
  position: absolute;
  top: -5px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 2px solid currentColor;
  background: #111;
  box-shadow: 0 0 0 2px #111;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  transition: color .3s ease, border-color .3s ease;
}

.top-summary-cart-badge > span {
  color: currentColor;
  transition: color .3s ease;
}

.header-summary-wrap .top-summary-button:hover .top-summary-cart-visual,
.header-summary-wrap .top-summary-button:focus .top-summary-cart-visual,
.header-summary-wrap .top-summary-button:focus-visible .top-summary-cart-visual {
  color: #c11015;
}

@media (max-width: 820px) {
  .header-summary-wrap .top-summary-button {
    gap: 8px !important;
  }
  .top-summary-cart-visual {
    width: 33px;
    height: 33px;
    flex-basis: 33px;
  }
  .top-summary-cart-badge {
    top: -4px;
    right: -6px;
    min-width: 19px;
    height: 19px;
    padding-inline: 4px;
    font-size: 11px;
  }
}



.editor-header-right {
  gap: 24px !important;
}

@media (max-width: 1400px) {
  .editor-actions {
    display: none !important;
  }
  .header-menu-wrap {
    display: block !important;
  }
  .editor-header-right {
    gap: 8px !important;
  }
}

@media (max-width: 820px) {
  .editor-header.app-header {
    min-height: 62px !important;
    height: 62px !important;
    padding: 7px 8px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 4px !important;
    overflow: visible !important;
  }
  .editor-brand.app-brand {
    width: auto !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }
  .editor-brand .brand-main-line {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
  }
  .editor-brand .brand-logo {
    height: 30px !important;
    max-width: 128px !important;
  }
  .editor-brand .brand-separator {
    width: 12px !important;
    height: 27px !important;
    flex-basis: 12px !important;
    margin: 0 !important;
  }
  .editor-brand .brand-word {
    min-width: 0 !important;
    font-size: 19px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .editor-brand .brand-subtitle,
  .editor-brand .setup-label {
    display: none !important;
  }
  .editor-header-right {
    width: auto !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    flex: 0 0 auto !important;
    gap: 2px !important;
  }
  .header-menu-wrap,
  .header-summary-wrap {
    margin: 0 !important;
  }
  .header-menu-button,
  .header-menu-button:hover,
  .header-menu-button:focus,
  .header-menu-button:focus-visible,
  .header-menu-button:active {
    width: 42px !important;
    min-width: 42px !important;
    height: 46px !important;
  }
  .header-menu-label {
    font-size: 13px !important;
  }
  .header-menu-icon {
    width: 27px !important;
    height: 25px !important;
  }
  .header-menu-dropdown {
    right: 0 !important;
    left: auto !important;
    width: min(270px, calc(100vw - 16px)) !important;
  }
  .header-summary-wrap .top-summary-button {
    width: auto !important;
    min-width: 0 !important;
    height: 48px !important;
    padding: 0 2px 0 0 !important;
    gap: 6px !important;
    border-radius: 0 !important;
  }
  .top-summary-cart-visual {
    width: 56px !important;
    height: 43px !important;
    flex-basis: 56px !important;
  }
  .top-summary-cart-icon {
    inset: 7px 6px 0 0 !important;
  }
  .top-summary-cart-badge {
    top: 0 !important;
    right: -1px !important;
    min-width: 23px !important;
    height: 23px !important;
    padding: 0 5px !important;
    font-size: 11px !important;
  }
  .header-summary-wrap .top-summary-main,
  .header-summary-wrap .top-summary-main strong {
    font-size: 18px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
  .editor-shell {
    height: calc(100vh - 62px) !important;
  }
}

@media (max-width: 460px) {
  .editor-brand .brand-separator,
  .editor-brand .brand-word {
    display: none !important;
  }
  .editor-brand .brand-logo {
    height: 29px !important;
    max-width: 118px !important;
  }
  .header-summary-wrap .top-summary-main,
  .header-summary-wrap .top-summary-main strong {
    font-size: 16px !important;
  }
}

@media (max-width: 370px) {
  .editor-brand .brand-logo {
    max-width: 108px !important;
  }
  .header-menu-button,
  .header-menu-button:hover,
  .header-menu-button:focus,
  .header-menu-button:focus-visible,
  .header-menu-button:active {
    width: 39px !important;
    min-width: 39px !important;
  }
  .top-summary-cart-visual {
    width: 52px !important;
    flex-basis: 52px !important;
  }
  .header-summary-wrap .top-summary-button {
    gap: 4px !important;
  }
  .header-summary-wrap .top-summary-main,
  .header-summary-wrap .top-summary-main strong {
    font-size: 15px !important;
  }
}



#copyConfigIdButton,
#copyConfigUrlButton {
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

#copyConfigIdButton:hover,
#copyConfigIdButton:focus-visible,
#copyConfigUrlButton:hover,
#copyConfigUrlButton:focus-visible {
  background: #fff;
  color: var(--red);
  border-color: var(--red);
  box-shadow: 0 8px 18px rgba(182, 35, 40, .16);
  transform: translateY(-1px);
  outline: none;
}



.save-config-overlay.has-copy-feedback {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
}

.save-config-overlay.has-copy-feedback .save-config-modal {
  max-height: calc(100vh - 104px) !important;
}

.save-config-copy-feedback {
  position: relative;
  z-index: 2;
  width: max-content;
  max-width: min(92vw, 640px);
  margin: 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: #111;
  color: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.32);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  pointer-events: none;
}

.save-config-qr canvas {
  width: 176px !important;
  height: 176px !important;
  image-rendering: auto;
}

.save-config-content.is-load-open #loadConfigButton {
  display: none;
}

.save-config-load-inline {
  width: 100%;
  margin-top: 12px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 34px;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f7f8fa;
}

.save-config-load-inline input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.save-config-load-inline #confirmLoadConfigButton {
  min-width: 134px;
}

.save-config-load-inline #confirmLoadConfigButton:hover,
.save-config-load-inline #confirmLoadConfigButton:focus-visible {
  background: #fff;
  color: var(--red);
  border-color: var(--red);
  box-shadow: 0 8px 18px rgba(182, 35, 40, .16);
  transform: translateY(-1px);
  outline: none;
}

.save-config-load-close {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform .16s ease, filter .16s ease;
}

.save-config-load-close .canvas-remove-icon {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  pointer-events: none;
}

.save-config-load-close .canvas-remove-icon circle {
  fill: var(--red);
  stroke: #fff;
  stroke-width: 4;
}

.save-config-load-close .canvas-remove-icon path {
  fill: none;
  stroke: #fff;
  stroke-width: 5;
  stroke-linecap: round;
}

.save-config-load-close:hover,
.save-config-load-close:focus-visible {
  transform: scale(1.14);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .28));
  outline: none;
}

@media (max-width: 560px) {
  .save-config-load-inline {
    grid-template-columns: minmax(0, 1fr) 34px;
  }

  .save-config-load-inline input {
    grid-column: 1 / -1;
  }

  .save-config-load-inline #confirmLoadConfigButton {
    width: 100%;
    min-width: 0;
  }
}



.start-content-layout {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  margin: 0;
  position: relative;
}

.start-usp {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: calc(50% - 554px);
  width: min(280px, calc(50% - 554px));
  height: min(720px, calc(100% - 36px));
  min-width: 0;
  transform: translateX(-100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(26px, 3.3vh, 40px);
  padding: 4px 0;
}

.start-usp-item {
  color: #111;
  text-align: center;
  transition: transform .2s ease;
}

.start-usp-item:hover {
  transform: translateY(-2px);
}

.start-usp-icon {
  display: block;
  width: auto;
  height: clamp(66px, 8vh, 82px);
  max-width: 96px;
  margin: 0 auto 12px;
  object-fit: contain;
  transition: transform .2s ease, filter .2s ease;
}

.start-usp-icon-shipping {
  height: clamp(58px, 6.8vh, 70px);
  max-width: none;
}

.start-usp-item:hover .start-usp-icon {
  transform: scale(1.06);
  filter: drop-shadow(0 7px 12px rgba(193, 16, 21, .14));
}

.start-usp-item h2 {
  margin: 0 0 8px;
  color: #111;
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 900;
  line-height: 1.2;
}

.start-usp-item p {
  max-width: 290px;
  margin: 0 auto;
  color: #20242a;
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 500;
  line-height: 1.52;
}

@media (max-height: 780px) and (min-width: 1180px) {
  .start-usp {
    gap: 22px;
  }

  .start-usp-icon {
    height: 64px;
    margin-bottom: 8px;
  }

  .start-usp-icon-shipping {
    height: 56px;
  }

  .start-usp-item h2 {
    margin-bottom: 5px;
    font-size: 17px;
  }

  .start-usp-item p {
    font-size: 13.5px;
    line-height: 1.42;
  }
}

@media (max-width: 1439px) {
  .start-usp {
    display: none;
  }
}

@media (max-width: 820px) {
  .start-content-layout {
    min-height: auto;
  }
}



.pdf-download-progress-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647 !important;
  display: flex !important;
  isolation: isolate;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overscroll-behavior: contain;
  touch-action: none;
  pointer-events: none;
}

.pdf-download-progress-overlay.hidden {
  display: none !important;
}

.pdf-download-progress-card {
  position: relative;
  z-index: 1;
  width: min(330px, calc(100vw - 36px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px 22px 20px;
  border: 1px solid rgba(17, 17, 17, .10);
  border-radius: 22px;
  background: rgba(255, 255, 255, .98);
  color: #111;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
  pointer-events: auto;
}

.pdf-download-progress-gear {
  width: 92px;
  height: 92px;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, .14));
  transform-origin: center;
  animation: pdf-download-gear-spin 2.2s linear infinite;
}

.pdf-download-gear-base {
  fill: #fff;
  stroke: #111;
  stroke-width: .7;
  stroke-linejoin: round;
}

.pdf-download-gear-progress {
  fill: var(--red);
}

.pdf-download-gear-outline {
  fill: none;
  stroke: #111;
  stroke-width: .7;
  stroke-linejoin: round;
  pointer-events: none;
}

.pdf-download-progress-title {
  margin-top: 2px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -.01em;
}

.pdf-download-progress-phase {
  display: none;
}

body.pdf-download-busy {
  overflow: hidden !important;
}

#downloadConfigPdfButton:disabled {
  cursor: wait;
  opacity: .72;
}

@keyframes pdf-download-gear-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 560px) {
  .pdf-download-progress-overlay {
    padding: 16px;
  }

  .pdf-download-progress-card {
    width: min(300px, calc(100vw - 28px));
    padding: 23px 18px 21px;
    border-radius: 20px;
  }

  .pdf-download-progress-gear {
    width: 80px;
    height: 80px;
  }

  .pdf-download-progress-title {
    font-size: 17px;
  }

  .save-config-status.is-loader {
    min-height: 156px;
    padding: 18px 14px;
  }

  .save-config-inline-loader-gear {
    width: 76px;
    height: 76px;
  }

  .save-config-qr-wrap .save-config-qr-tooltip {
    top: auto;
    right: 50%;
    bottom: calc(100% + 10px);
    transform: translate(50%, 6px);
  }

  .save-config-qr-wrap .save-config-qr-tooltip::after {
    top: 100%;
    left: 50%;
    border-left-color: transparent;
    border-top-color: #202833;
    transform: translateX(-50%);
  }

  .save-config-qr:hover ~ .save-config-qr-tooltip,
  .save-config-qr:focus-visible ~ .save-config-qr-tooltip,
  .save-config-qr.is-feedback ~ .save-config-qr-tooltip {
    transform: translate(50%, 0);
  }

  .save-config-qr.is-error ~ .save-config-qr-tooltip::after {
    border-left-color: transparent;
    border-top-color: var(--red);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pdf-download-progress-gear {
    animation-duration: 7s;
  }
}



.stage-scale-shell {
  position: relative;
  flex: 0 0 auto;
  overflow: visible;
}
.stage-scale-shell > .stage {
  position: absolute;
  left: 0;
  top: 0;
}
.stage.stage-composite-scale {
  transform-origin: top left !important;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  isolation: isolate;
  contain: paint;
}


.canvas-item.behavior-worktop:not(.corner-module-worktop) > img,
.corner-preview-canvas-item.behavior-worktop:not(.corner-module-worktop) > img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: fill !important;
  transform: none !important;
}



.canvas-item > img,
.peg-rail > img,
.corner-preview-canvas-item > img,
.corner-preview-canvas-rail > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: fill !important;
  object-position: 0 0 !important;
}
.canvas-item.behavior-worktop,
.corner-preview-canvas-item.behavior-worktop {
  overflow: hidden !important;
}
.canvas-item.behavior-worktop > img,
.corner-preview-canvas-item.behavior-worktop > img {
  position: absolute !important;
  inset: 0 !important;
  margin: 0 !important;
  transform: none !important;
}



.save-config-value-row {
  display: grid;
  grid-template-columns: auto 1px minmax(0, 1fr) 42px;
  align-items: center;
  min-height: 48px;
  overflow: visible;
  border: 1px solid #dce1e7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(16, 24, 40, .055);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.save-config-value-row:hover {
  border-color: #c9cfd7;
  box-shadow: 0 6px 18px rgba(16, 24, 40, .08);
}
.save-config-value-row:focus-within {
  border-color: rgba(193, 16, 21, .62);
  box-shadow: 0 0 0 3px rgba(193, 16, 21, .10), 0 7px 20px rgba(16, 24, 40, .08);
}
.save-config-value-label {
  min-width: 42px;
  padding: 0 12px 0 14px;
  color: #171b22;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .025em;
}
.save-config-value-divider {
  width: 1px;
  height: 22px;
  background: #dfe3e8;
}
.save-config-value-input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 10px 0 12px;
  overflow-x: auto;
  border: 0;
  outline: 0;
  background: transparent;
  color: #242830;
  font: inherit;
  font-size: 13px;
  line-height: 46px;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: text;
  box-shadow: none !important;
}
.save-config-value-input:focus {
  text-overflow: clip;
}
.save-config-copy-control {
  position: relative;
  width: 42px;
  height: 46px;
  display: grid;
  place-items: center;
}
#copyConfigIdButton.save-config-copy-icon,
#copyConfigUrlButton.save-config-copy-icon {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0 !important;
  border-radius: 10px;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
  transform: none !important;
  transition: background-color .16s ease, transform .16s ease !important;
}
#copyConfigIdButton.save-config-copy-icon:hover,
#copyConfigIdButton.save-config-copy-icon:focus-visible,
#copyConfigUrlButton.save-config-copy-icon:hover,
#copyConfigUrlButton.save-config-copy-icon:focus-visible {
  background: rgba(193, 16, 21, .075) !important;
  outline: none;
  transform: scale(1.06) !important;
}
.save-config-copy-icon img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 24px;
  display: block;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: opacity .16s ease;
}
.save-config-copy-icon-red { opacity: 0; }
.save-config-copy-icon:hover .save-config-copy-icon-black,
.save-config-copy-icon:focus-visible .save-config-copy-icon-black { opacity: 0; }
.save-config-copy-icon:hover .save-config-copy-icon-red,
.save-config-copy-icon:focus-visible .save-config-copy-icon-red { opacity: 1; }
.save-config-copy-tooltip {
  position: absolute;
  z-index: 20;
  right: 0;
  bottom: calc(100% + 7px);
  width: max-content;
  max-width: 180px;
  padding: 7px 9px;
  border-radius: 8px;
  background: #20242b;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease;
}
.save-config-copy-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 13px;
  border: 5px solid transparent;
  border-top-color: #20242b;
}
.save-config-copy-icon:hover + .save-config-copy-tooltip,
.save-config-copy-icon:focus-visible + .save-config-copy-tooltip {
  opacity: 1;
  transform: translateY(0);
}
.save-config-validity {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  padding: 1px 3px 0;
  color: #767e89;
  font-size: 13.5px;
  line-height: 1.45;
}
.save-config-validity strong {
  color: #303640;
  font-weight: 850;
}
.save-config-scroll-area {
  min-width: 0;
}
.save-config-actions {
  flex-wrap: nowrap;
}
.save-config-actions #loadConfigButton,
.save-config-actions #downloadConfigPdfButton {
  min-width: 132px;
}

@media (max-width: 680px) {
  .save-config-overlay {
    padding: 10px;
  }
  .save-config-modal {
    width: min(100%, 390px);
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 20px 18px 0;
    border-radius: 22px;
  }
  .save-config-modal h3 {
    flex: 0 0 auto;
    margin-bottom: 10px;
  }
  .save-config-status:not(.hidden) {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
  }
  .save-config-content:not(.hidden) {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    margin-top: 8px;
  }
  .save-config-scroll-area {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 18px;
  }
  .save-config-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .save-config-main {
    gap: 11px;
  }
  .save-config-value-row {
    grid-template-columns: auto 1px minmax(0, 1fr) 42px;
  }
  .save-config-value-input {
    font-size: 13px;
  }
  .save-config-validity {
    padding: 2px 2px 0;
  }
  .save-config-qr-wrap {
    padding-top: 2px;
  }
  .save-config-actions {
    position: relative;
    z-index: 5;
    flex: 0 0 auto;
    width: auto;
    margin: 0 -18px;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    border-top: 1px solid #e6e9ed;
    background: rgba(255,255,255,.98);
    box-shadow: 0 -10px 24px rgba(16,24,40,.08);
  }
  .save-config-actions .btn,
  .save-config-actions #loadConfigButton,
  .save-config-actions #downloadConfigPdfButton {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap;
  }
  .save-config-content.is-load-open .save-config-actions {
    grid-template-columns: 1fr;
  }
  .save-config-load-inline {
    margin-top: 16px;
    margin-bottom: 2px;
  }
  .save-config-overlay.has-copy-feedback .save-config-modal {
    max-height: calc(100vh - 94px) !important;
    max-height: calc(100dvh - 94px) !important;
  }
}



.save-config-value-row:focus-within {
  border-color: #c9cfd7;
  box-shadow: 0 6px 18px rgba(16, 24, 40, .08);
}
.save-config-value-row.is-copied,
.save-config-value-row.is-copied:focus-within {
  border-color: rgba(16, 142, 75, .72);
  box-shadow: 0 0 0 4px rgba(16, 142, 75, .15), 0 6px 18px rgba(16, 24, 40, .08);
}
.save-config-value-row.is-error,
.save-config-value-row.is-error:focus-within {
  border-color: rgba(193, 16, 21, .62);
  box-shadow: 0 0 0 4px rgba(193, 16, 21, .14), 0 6px 18px rgba(16, 24, 40, .08);
}
#copyConfigIdButton.save-config-copy-icon,
#copyConfigUrlButton.save-config-copy-icon {
  background: transparent !important;
  transition: transform .16s ease !important;
}
#copyConfigIdButton.save-config-copy-icon:hover,
#copyConfigIdButton.save-config-copy-icon:focus-visible,
#copyConfigUrlButton.save-config-copy-icon:hover,
#copyConfigUrlButton.save-config-copy-icon:focus-visible {
  background: transparent !important;
  transform: scale(1.045) !important;
}
.save-config-value-row.is-feedback .save-config-copy-tooltip,
.save-config-value-row.is-feedback .save-config-copy-icon + .save-config-copy-tooltip {
  opacity: 1;
  transform: translateY(0);
}
.save-config-value-row.is-error .save-config-copy-tooltip {
  background: var(--red);
}
.save-config-value-row.is-error .save-config-copy-tooltip::after {
  border-top-color: var(--red);
}
.save-config-validity {
  align-items: center;
  gap: 5px;
  color: #171b22;
}
.save-config-validity > span:first-child,
.save-config-validity strong {
  color: #171b22;
}
.save-config-validity-help-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  margin-left: 2px;
}
.save-config-validity-help {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #262b33;
  border-radius: 50%;
  background: #fff;
  color: #171b22;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: help;
  transition: border-color .16s ease, color .16s ease, transform .16s ease;
}
.save-config-validity-help:hover,
.save-config-validity-help:focus-visible {
  border-color: var(--red);
  color: var(--red);
  outline: none;
  transform: scale(1.06);
}
.save-config-validity-tooltip {
  position: absolute;
  z-index: 30;
  right: -8px;
  bottom: calc(100% + 9px);
  width: max-content;
  max-width: min(310px, calc(100vw - 48px));
  padding: 9px 11px;
  border-radius: 9px;
  background: #20242b;
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  text-align: left;
  pointer-events: none;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .15s ease, transform .15s ease;
}
.save-config-validity-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 11px;
  border: 5px solid transparent;
  border-top-color: #20242b;
}
.save-config-validity-help:hover + .save-config-validity-tooltip,
.save-config-validity-help:focus-visible + .save-config-validity-tooltip {
  opacity: 1;
  transform: translateY(0);
}



.save-config-validity { position: relative; }
.save-config-validity-help-wrap { position: static; }
.save-config-validity-tooltip {
  left: 50%;
  right: auto;
  bottom: calc(100% + 10px);
  width: min(300px, calc(100vw - 72px));
  max-width: 300px;
  transform: translate(-50%, 5px);
  text-align: center;
}
.save-config-validity-tooltip::after { display: none; }
.save-config-validity-help-wrap.is-open .save-config-validity-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (hover: hover) and (pointer: fine) {
  .save-config-validity-help-wrap:not(.is-click-dismissed) .save-config-validity-help:hover + .save-config-validity-tooltip {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
.save-config-validity-help:focus-visible + .save-config-validity-tooltip { opacity: 0; }
.save-config-validity-help-wrap.is-open .save-config-validity-help:focus-visible + .save-config-validity-tooltip { opacity: 1; }
.save-config-validity-help-wrap.is-click-dismissed .save-config-validity-help:hover + .save-config-validity-tooltip,
.save-config-validity-help-wrap.is-click-dismissed .save-config-validity-help:focus-visible + .save-config-validity-tooltip {
  opacity: 0 !important;
  transform: translate(-50%, 5px) !important;
}

.save-config-value-row.is-feedback .save-config-copy-tooltip { transition-duration: .1s; }
.save-config-qr.is-copying,
.save-config-qr.is-copying:hover,
.save-config-qr.is-copying:focus-visible {
  box-shadow: none !important;
  transform: none !important;
}
.save-config-qr.is-copying ~ .save-config-qr-tooltip { opacity: 0 !important; }
.save-config-qr.is-copied,
.save-config-qr.is-copied:hover,
.save-config-qr.is-copied:focus-visible {
  box-shadow: 0 0 0 1px rgba(16, 142, 75, .72), 0 0 0 5px rgba(16, 142, 75, .14) !important;
  transform: none !important;
}
@media (hover: none), (pointer: coarse) {
  .save-config-qr:hover,
  .save-config-qr:focus-visible { box-shadow: none; transform: none; }
  .save-config-qr:hover ~ .save-config-qr-tooltip,
  .save-config-qr:focus-visible ~ .save-config-qr-tooltip { opacity: 0; }
  .save-config-qr.is-feedback ~ .save-config-qr-tooltip { opacity: 1; }
  .save-config-qr.is-copied,
  .save-config-qr.is-copied:hover,
  .save-config-qr.is-copied:focus-visible {
    box-shadow: 0 0 0 1px rgba(16, 142, 75, .72), 0 0 0 5px rgba(16, 142, 75, .14) !important;
  }
  .save-config-copy-icon:hover + .save-config-copy-tooltip,
  .save-config-copy-icon:focus-visible + .save-config-copy-tooltip { opacity: 0; }
  .save-config-value-row.is-feedback .save-config-copy-tooltip,
  .save-config-value-row.is-feedback .save-config-copy-icon + .save-config-copy-tooltip {
    opacity: 1;
    transform: translateY(0);
  }
}

.save-config-load-inline { position: relative; }
.save-config-load-inline input:focus,
.save-config-load-inline input:focus-visible {
  border-color: #aeb6c1;
  box-shadow: 0 0 0 3px rgba(54, 65, 82, .09);
  outline: none;
}
.save-config-load-inline input.input-error,
.save-config-load-inline input.input-error:focus,
.save-config-load-inline input.input-error:focus-visible {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(193, 16, 21, .14);
}
.save-config-load-tooltip {
  position: absolute;
  z-index: 40;
  left: 12px;
  bottom: calc(100% + 8px);
  width: max-content;
  max-width: min(380px, calc(100vw - 72px));
  padding: 9px 11px;
  border-radius: 9px;
  background: #20242b;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
  pointer-events: none;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .14s ease, transform .14s ease;
}
.save-config-load-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 24px;
  border: 5px solid transparent;
  border-top-color: #20242b;
}
.save-config-load-inline.has-error .save-config-load-tooltip {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 680px) {
  .save-config-validity-tooltip { width: min(290px, calc(100vw - 72px)); }
  .save-config-load-tooltip { left: 8px; max-width: calc(100vw - 78px); }
}



@media (hover: none), (pointer: coarse), (max-width: 680px) {
  .save-config-copy-control .save-config-copy-tooltip {
    top: 50%;
    right: calc(100% + 7px);
    bottom: auto;
    width: max-content;
    max-width: min(245px, calc(100vw - 150px));
    white-space: normal;
    text-align: center;
    transform: translate(6px, -50%);
  }
  .save-config-copy-control .save-config-copy-tooltip::after {
    top: 50%;
    left: 100%;
    right: auto;
    border: 5px solid transparent;
    border-left-color: #20242b;
    border-top-color: transparent;
    transform: translateY(-50%);
  }
  .save-config-value-row.is-feedback .save-config-copy-tooltip,
  .save-config-value-row.is-feedback .save-config-copy-icon + .save-config-copy-tooltip {
    opacity: 1;
    transform: translate(0, -50%);
  }
  .save-config-value-row.is-error .save-config-copy-tooltip::after {
    border-left-color: var(--red);
    border-top-color: transparent;
  }
  .save-config-load-inline.has-error {
    scroll-margin-top: 74px;
    scroll-margin-bottom: 96px;
  }
}





.top-summary-cart-visual {
  width: 50px !important;
  height: 48px !important;
  flex: 0 0 50px !important;
}

.top-summary-cart-icon {
  inset: 8px 3px 0 0 !important;
  -webkit-mask: url('./kosik-ikona.svg?v=527') center / contain no-repeat !important;
  mask: url('./kosik-ikona.svg?v=527') center / contain no-repeat !important;
}

.top-summary-cart-badge {
  top: 0 !important;
  right: -1px !important;
}

@media (max-width: 820px) {
  .editor-header.app-header {
    min-height: 64px !important;
    height: 64px !important;
    padding: 7px 8px !important;
    gap: 8px !important;
  }

  .editor-brand.app-brand {
    justify-content: center !important;
  }

  .editor-brand .brand-main-line {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 2px !important;
  }

  .editor-brand .brand-logo {
    height: 30px !important;
    max-width: 130px !important;
  }

  .editor-brand .brand-separator {
    display: none !important;
  }

  .editor-brand .brand-word {
    display: block !important;
    position: static !important;
    max-width: 130px !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  .editor-brand .brand-word::after {
    display: none !important;
  }

  .editor-header-right {
    gap: 8px !important;
    align-items: center !important;
  }

  .header-menu-wrap,
  .header-summary-wrap {
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
  }

  .header-menu-button,
  .header-menu-button:hover,
  .header-menu-button:focus,
  .header-menu-button:focus-visible,
  .header-menu-button:active {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
  }

  .header-menu-button {
    gap: 0 !important;
  }

  .header-menu-label {
    font-size: 12px !important;
    line-height: 1 !important;
  }

  .header-menu-icon {
    width: 32px !important;
    height: 30px !important;
  }

  .header-summary-wrap .top-summary-button {
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 2px 0 0 !important;
    gap: 7px !important;
    align-items: center !important;
  }

  .top-summary-cart-visual {
    width: 50px !important;
    height: 48px !important;
    flex: 0 0 50px !important;
  }

  .top-summary-cart-icon {
    inset: 8px 3px 0 0 !important;
  }

  .top-summary-cart-badge {
    top: 0 !important;
    right: -1px !important;
  }

  .editor-shell {
    height: calc(100vh - 64px) !important;
  }
}

@media (max-width: 420px) {
  .editor-brand .brand-logo {
    height: 28px !important;
    max-width: 116px !important;
  }

  .editor-brand .brand-word {
    display: block !important;
    max-width: 116px !important;
    font-size: 14px !important;
  }

  .header-summary-wrap .top-summary-main,
  .header-summary-wrap .top-summary-main strong {
    font-size: 16px !important;
  }
}

@media (max-width: 370px) {
  .editor-brand .brand-logo,
  .editor-brand .brand-word {
    max-width: 106px !important;
  }

  .editor-header-right {
    gap: 8px !important;
  }

  .header-summary-wrap .top-summary-button {
    gap: 4px !important;
  }

  .top-summary-cart-visual {
    width: 48px !important;
    flex-basis: 48px !important;
  }

  .header-summary-wrap .top-summary-main,
  .header-summary-wrap .top-summary-main strong {
    font-size: 15px !important;
  }
}





.editor-header,
.editor-header button,
.editor-header .brand-word,
.editor-header .setup-label,
.editor-header .top-summary-button,
.header-menu-dropdown {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

.editor-header .setup-label {
  gap: 3px !important;
  font-size: 13px !important;
}

.editor-header .setup-param-group {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.15;
  white-space: nowrap;
}

.editor-header .setup-param-label,
.editor-header .setup-param-slash,
.editor-header .setup-param-dot,
.editor-header .setup-param-chip {
  font-size: 13px !important;
  line-height: 1.15 !important;
}

.editor-header .setup-param-label {
  color: rgba(255, 255, 255, .78);
  font-weight: 700;
}

.editor-header .setup-param-chip {
  padding: 0 !important;
}

.editor-header .setup-param-dot {
  margin: 0 1px !important;
}

.editor-header .setup-param-wall-group {
  gap: 3px;
}

.app-footer {
  justify-content: center !important;
  font-size: 12px !important;
}

.help-modal {
  width: min(650px, calc(100vw - 32px)) !important;
  max-width: 650px !important;
  padding: 32px 40px !important;
}

.help-modal-layout {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 18px !important;
}

.help-modal-heading {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
  padding-right: 36px;
}

.help-modal-heading .help-modal-figure {
  width: 92px;
  height: 108px;
  flex: 0 0 92px;
}

.help-modal-heading .help-modal-figure img {
  width: 100%;
  height: 100%;
  max-height: 108px;
  object-fit: contain;
}

.help-modal-heading h3 {
  margin: 0 !important;
  color: #c11015 !important;
  font-size: 25px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  text-transform: none !important;
}

.help-modal-copy {
  width: 100%;
}

.help-modal-copy p {
  margin: 5px 0 !important;
  font-size: 18px !important;
  line-height: 1.4 !important;
}

.help-modal-copy .help-email-line {
  margin-top: 14px !important;
}

@media (min-width: 821px) {
  .editor-header .brand-word {
    position: relative !important;
    overflow: visible !important;
    color: #fff !important;
    line-height: 1.08 !important;
    transition: none !important;
  }

  .editor-header .brand-word::after {
    content: attr(data-hover-text) !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: -.32em !important;
    left: 0 !important;
    height: calc(100% + .32em) !important;
    overflow: visible !important;
    color: #c11015 !important;
    line-height: 1.08 !important;
    clip-path: inset(0 100% 0 0);
    pointer-events: none;
    transition: clip-path .18s ease-out 0s !important;
  }

  .editor-header .brand-main-line:hover .brand-word,
  .editor-header .brand-main-line:focus-within .brand-word {
    color: #fff !important;
  }

  .editor-header .brand-main-line:hover .brand-word::after,
  .editor-header .brand-main-line:focus-within .brand-word::after {
    clip-path: inset(0 0 0 0);
    transition: clip-path .27s ease .34s !important;
  }

  .editor-header .brand-logo-swap .brand-logo-hover-red {
    transition: clip-path .18s ease-out .22s !important;
  }

  .editor-header .brand-main-line:hover .brand-logo-hover-red,
  .editor-header .brand-main-line:focus-within .brand-logo-hover-red {
    transition: clip-path .30s ease 0s !important;
  }

  .editor-header .brand-separator::before,
  .editor-header .brand-separator::after {
    transition: background-color .14s ease .12s !important;
  }

  .editor-header .brand-main-line:hover .brand-separator::before,
  .editor-header .brand-main-line:hover .brand-separator::after,
  .editor-header .brand-main-line:focus-within .brand-separator::before,
  .editor-header .brand-main-line:focus-within .brand-separator::after {
    transition: background-color .16s ease .27s !important;
  }
}

@media (max-width: 820px) {
  .editor-header.app-header {
    min-height: 68px !important;
    height: 68px !important;
  }

  .editor-brand .brand-word::after {
    display: none !important;
    content: none !important;
  }

  .editor-header-right {
    gap: 8px !important;
  }

  .header-menu-wrap,
  .header-summary-wrap {
    width: 52px !important;
    min-width: 52px !important;
    height: 52px !important;
    flex: 0 0 52px !important;
  }

  .header-menu-button,
  .header-menu-button:hover,
  .header-menu-button:focus,
  .header-menu-button:focus-visible,
  .header-menu-button:active,
  .header-summary-wrap .top-summary-button {
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    padding: 0 !important;
  }

  .header-menu-button,
  .header-menu-button:focus,
  .header-menu-button:active,
  .header-menu-button[aria-expanded="false"] {
    color: #fff !important;
  }

  .header-menu-button[aria-expanded="true"],
  .header-menu-button:focus-visible {
    color: #c11015 !important;
  }

  .header-menu-button[aria-expanded="false"] .header-menu-line-middle {
    transform: scaleX(.8) !important;
  }

  .header-menu-button[aria-expanded="true"] .header-menu-line-middle,
  .header-menu-button:focus-visible .header-menu-line-middle {
    transform: scaleX(1) !important;
  }

  .header-menu-icon {
    width: 34px !important;
    height: 31px !important;
  }

  .header-summary-wrap .top-summary-button {
    justify-content: center !important;
    gap: 0 !important;
  }

  .header-summary-wrap .top-summary-main,
  .header-summary-wrap .top-summary-sub {
    display: none !important;
  }

  .top-summary-cart-visual {
    width: 52px !important;
    height: 52px !important;
    flex: 0 0 52px !important;
  }

  .top-summary-cart-icon {
    inset: 10px 4px 0 1px !important;
  }

  .top-summary-cart-badge {
    top: 0 !important;
    right: 0 !important;
  }

  .editor-shell {
    height: calc(100vh - 68px) !important;
  }

  .help-modal {
    padding: 28px 24px !important;
  }

  .help-modal-heading {
    gap: 18px;
    padding-right: 28px;
  }

  .help-modal-heading .help-modal-figure {
    width: 74px;
    height: 88px;
    flex-basis: 74px;
  }

  .help-modal-heading .help-modal-figure img {
    max-height: 88px;
  }

  .help-modal-heading h3 {
    font-size: 21px !important;
  }

  .help-modal-copy p {
    font-size: 16px !important;
  }
}

@media (hover: hover) and (pointer: fine) {
  .header-menu-button[aria-expanded="false"]:hover {
    color: #c11015 !important;
  }

  .header-menu-button[aria-expanded="false"]:hover .header-menu-line-middle {
    transform: scaleX(1) !important;
  }
}

@media (max-width: 430px) {
  .help-modal-heading {
    gap: 14px;
  }

  .help-modal-heading .help-modal-figure {
    width: 62px;
    height: 76px;
    flex-basis: 62px;
  }

  .help-modal-heading .help-modal-figure img {
    max-height: 76px;
  }

  .help-modal-heading h3 {
    font-size: 18px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .editor-header .brand-word::after,
  .editor-header .brand-logo-swap .brand-logo-hover-red,
  .editor-header .brand-separator::before,
  .editor-header .brand-separator::after {
    transition: none !important;
  }
}





.start-header.app-header,
.editor-header.app-header {
  min-height: 58px !important;
  height: 58px !important;
  padding: 5px 16px !important;
}

.app-header .app-brand,
.app-header .brand-main-line {
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

.app-header .brand-main-line {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
}

.app-header .brand-logo-link,
.app-header .brand-word-link {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: none !important;
  transform: none !important;
}

.app-header .brand-logo-link,
.app-header .brand-logo-link:hover,
.app-header .brand-logo-link:focus,
.app-header .brand-logo-link:focus-visible,
.app-header .brand-logo-link:active {
  filter: none !important;
  opacity: 1 !important;
  outline-offset: 3px;
}

.app-header .brand-logo-link .brand-logo,
.app-header .brand-logo-link:hover .brand-logo,
.app-header .brand-logo-link:focus .brand-logo,
.app-header .brand-logo-link:active .brand-logo {
  display: block !important;
  width: auto !important;
  height: 34px !important;
  max-width: 197px !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.app-header .brand-word-link,
.app-header .brand-main-line:hover .brand-word-link,
.app-header .brand-main-line:focus-within .brand-word-link {
  position: static !important;
  overflow: visible !important;
  color: #fff !important;
  font: 800 20px/1 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  letter-spacing: 0 !important;
  transition: color .18s ease !important;
}

.app-header .brand-word-link::after {
  display: none !important;
  content: none !important;
}

.app-header .brand-word-link:hover,
.app-header .brand-word-link:focus-visible {
  color: #c11015 !important;
}

.app-header .brand-word-link:focus-visible {
  outline: 2px solid #c11015;
  outline-offset: 4px;
}

.app-header .brand-subtitle,
.app-header .setup-label,
.app-header .brand-separator,
.app-header .brand-logo-hover-red,
.app-header .brand-logo-white {
  display: none !important;
}

.editor-shell {
  height: calc(100vh - 58px) !important;
}

@media (max-width: 820px) {
  .start-header.app-header,
  .editor-header.app-header {
    min-height: 60px !important;
    height: 60px !important;
    padding: 4px 8px !important;
    gap: 8px !important;
  }

  .editor-brand.app-brand {
    justify-content: center !important;
  }

  .app-header .brand-main-line {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 2px !important;
  }

  .app-header .brand-logo-link .brand-logo,
  .app-header .brand-logo-link:hover .brand-logo,
  .app-header .brand-logo-link:focus .brand-logo,
  .app-header .brand-logo-link:active .brand-logo {
    height: 27px !important;
    max-width: 156px !important;
  }

  .app-header .brand-word-link,
  .app-header .brand-main-line:hover .brand-word-link,
  .app-header .brand-main-line:focus-within .brand-word-link {
    max-width: 156px !important;
    font-size: 14px !important;
    line-height: 1 !important;
  }

  .editor-header-right {
    gap: 10px !important;
    align-items: center !important;
  }

  .header-menu-wrap,
  .header-summary-wrap,
  .header-menu-button,
  .header-menu-button:hover,
  .header-menu-button:focus,
  .header-menu-button:focus-visible,
  .header-menu-button:active,
  .header-summary-wrap .top-summary-button {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
  }

  .header-menu-button {
    display: grid !important;
    grid-template-rows: 12px 34px !important;
    place-items: center !important;
    gap: 0 !important;
    padding: 1px 0 !important;
  }

  .header-menu-label {
    font-size: 11px !important;
    line-height: 12px !important;
  }

  .header-menu-icon {
    width: 38px !important;
    height: 34px !important;
  }

  .header-menu-icon .header-menu-line {
    stroke-width: 3 !important;
  }

  .header-summary-wrap .top-summary-button {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
  }

  .top-summary-cart-visual {
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;
  }

  .top-summary-cart-icon {
    inset: 7px 3px 2px 2px !important;
  }

  .top-summary-cart-badge {
    top: 0 !important;
    right: 0 !important;
  }

  .editor-shell {
    height: calc(100vh - 60px) !important;
  }
}

@media (max-width: 390px) {
  .app-header .brand-logo-link .brand-logo,
  .app-header .brand-logo-link:hover .brand-logo,
  .app-header .brand-logo-link:focus .brand-logo,
  .app-header .brand-logo-link:active .brand-logo {
    height: 25px !important;
    max-width: 145px !important;
  }

  .app-header .brand-word-link,
  .app-header .brand-main-line:hover .brand-word-link,
  .app-header .brand-main-line:focus-within .brand-word-link {
    max-width: 145px !important;
  }

  .editor-header-right {
    gap: 8px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-header .brand-word-link,
  .app-header .brand-word-link::after {
    transition: none !important;
  }
}


.app-header .brand-main-line .brand-word-link {
  position: relative !important;
}

.app-header .brand-main-line .brand-word-link::after {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  top: auto !important;
  right: 0 !important;
  bottom: -4px !important;
  left: 0 !important;
  width: auto !important;
  height: 2px !important;
  overflow: hidden !important;
  background: #c11015 !important;
  color: transparent !important;
  clip-path: none !important;
  transform: scaleX(0) !important;
  transform-origin: left center !important;
  transition: transform .18s ease !important;
  pointer-events: none !important;
}

.app-header .brand-main-line .brand-word-link:hover,
.app-header .brand-main-line .brand-word-link:focus-visible {
  color: #c11015 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.app-header .brand-main-line .brand-word-link:hover::after,
.app-header .brand-main-line .brand-word-link:focus-visible::after {
  transform: scaleX(1) !important;
}





.start-header.app-header,
.editor-header.app-header,
.start-header.app-header:hover,
.editor-header.app-header:hover,
.start-header.app-header:focus-within,
.editor-header.app-header:focus-within {
  border-bottom: 2px solid #c11015 !important;
  box-shadow: none !important;
  transition: none !important;
}

.app-header .brand-logo-link,
.app-header .brand-logo-link:hover,
.app-header .brand-logo-link:focus,
.app-header .brand-logo-link:focus-visible,
.app-header .brand-logo-link:active {
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.app-header .brand-logo-link .brand-logo,
.app-header .brand-logo-link:hover .brand-logo,
.app-header .brand-logo-link:focus .brand-logo,
.app-header .brand-logo-link:focus-visible .brand-logo,
.app-header .brand-logo-link:active .brand-logo {
  display: block !important;
  width: auto !important;
  height: 34px !important;
  max-width: 197px !important;
  object-fit: contain !important;
  object-position: left center !important;
  visibility: visible !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.app-header .brand-main-line .brand-word-link {
  position: relative !important;
  overflow: visible !important;
  padding: 0 0 5px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.app-header .brand-main-line .brand-word-link::after {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  top: auto !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: auto !important;
  height: 2px !important;
  overflow: visible !important;
  background: #c11015 !important;
  clip-path: none !important;
  opacity: 1 !important;
  transform: scaleX(0) !important;
  transform-origin: left center !important;
  transition: transform .18s ease !important;
  pointer-events: none !important;
}

.app-header .brand-main-line .brand-word-link:hover,
.app-header .brand-main-line .brand-word-link:focus-visible {
  color: #c11015 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.app-header .brand-main-line .brand-word-link:hover::after,
.app-header .brand-main-line .brand-word-link:focus-visible::after {
  transform: scaleX(1) !important;
}

@media (max-width: 820px) {
  .app-header .brand-logo-link .brand-logo,
  .app-header .brand-logo-link:hover .brand-logo,
  .app-header .brand-logo-link:focus .brand-logo,
  .app-header .brand-logo-link:focus-visible .brand-logo,
  .app-header .brand-logo-link:active .brand-logo {
    height: 27px !important;
    max-width: 156px !important;
  }

  .app-header .brand-main-line .brand-word-link {
    padding-bottom: 4px !important;
  }
}

@media (max-width: 390px) {
  .app-header .brand-logo-link .brand-logo,
  .app-header .brand-logo-link:hover .brand-logo,
  .app-header .brand-logo-link:focus .brand-logo,
  .app-header .brand-logo-link:focus-visible .brand-logo,
  .app-header .brand-logo-link:active .brand-logo {
    height: 25px !important;
    max-width: 145px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-header .brand-main-line .brand-word-link::after {
    transition: none !important;
  }
}





.app-header .brand-main-line {
  gap: 0 !important;
}

.app-header .brand-word,
.app-header .brand-word-link {
  display: none !important;
}

.app-header .brand-logo-link {
  cursor: pointer !important;
}





.start-action-set {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.start-action-set.hidden {
  display: none !important;
}

.start-actions .btn {
  min-height: 46px;
}

.start-actions .btn-light:hover,
.start-actions .btn-light:focus-visible {
  color: var(--red);
  border-color: var(--red);
  background: #fff;
}

.start-actions .btn-start-new {
  color: var(--red);
  border-color: rgba(182, 35, 40, .45);
}

.start-load-config-overlay {
  z-index: 17000 !important;
}

.start-load-config-modal {
  width: min(520px, calc(100vw - 24px)) !important;
  padding: 24px !important;
}

.start-load-config-description {
  margin: 0 0 18px;
  color: #667085;
  font-size: 15px;
  line-height: 1.55;
}

.start-load-config-field {
  display: grid;
  gap: 8px;
}

.start-load-config-field > span {
  color: #3f4650;
  font-size: 14px;
  font-weight: 900;
}

.start-load-config-field input {
  width: 100%;
  height: 48px;
  border: 1px solid #d9dee5;
  border-radius: 12px;
  padding: 0 14px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.start-load-config-field input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(182, 35, 40, .12);
}

.start-load-config-field input.input-error {
  border-color: var(--red);
}

.start-load-config-error {
  margin-top: 10px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.start-load-config-actions {
  margin-top: 22px !important;
}

@media (max-width: 680px) {
  .start-action-set {
    align-items: stretch;
    flex-direction: column;
  }

  .start-action-set .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .start-load-config-modal {
    padding: 20px !important;
  }

  .start-load-config-actions {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .start-load-config-actions .btn {
    width: 100%;
  }
}





.start-actions .btn-light {
  color: var(--text);
  border-color: var(--line);
  background: #fff;
}

.start-actions .btn-light:hover,
.start-actions .btn-light:focus-visible {
  color: var(--red);
  border-color: var(--red);
  background: #fff;
}





.app-dialog-content .depth-change-list {
  margin: 14px 0 0 !important;
  padding: 13px 16px 13px 35px !important;
  border: 1px solid #e1e5ea !important;
  border-radius: 12px !important;
  background: #f7f8fa !important;
  color: #31363d !important;
}

.app-dialog-content .depth-change-list li + li {
  margin-top: 8px !important;
}

.app-dialog-content .depth-change-list strong {
  color: #111 !important;
}

@media (max-width: 520px) {
  .app-dialog-content .depth-change-list {
    padding-left: 31px !important;
  }
}





.app-header .brand-logo-link .brand-logo {
  filter: brightness(0) invert(1) !important;
  transform: scale(1) !important;
  transform-origin: left center !important;
  transition: filter .22s ease, transform .22s ease !important;
  will-change: filter, transform;
}

.app-header .brand-logo-link:hover .brand-logo,
.app-header .brand-logo-link:focus .brand-logo,
.app-header .brand-logo-link:focus-visible .brand-logo {
  filter: none !important;
  transform: scale(1.06) !important;
}

.app-header .header-summary-wrap .top-summary-main strong {
  color: #fff !important;
  transition: color .3s ease !important;
}

.app-header .header-summary-wrap .top-summary-button:hover .top-summary-main strong,
.app-header .header-summary-wrap .top-summary-button:focus .top-summary-main strong,
.app-header .header-summary-wrap .top-summary-button:focus-visible .top-summary-main strong {
  color: #c11015 !important;
}

@media (prefers-reduced-motion: reduce) {
  .app-header .brand-logo-link .brand-logo,
  .app-header .header-summary-wrap .top-summary-main strong {
    transition: none !important;
  }
}






.app-header .brand-main-line {
  gap: 12px !important;
}

.app-header .brand-separator {
  position: relative !important;
  display: inline-block !important;
  width: 18px !important;
  height: 34px !important;
  flex: 0 0 18px !important;
}

.app-header .brand-separator::before {
  content: "" !important;
  position: absolute !important;
  top: 2px !important;
  bottom: 2px !important;
  left: 50% !important;
  width: 1px !important;
  background: rgba(255, 255, 255, .72) !important;
  transform: translateX(-50%) !important;
}

.app-header .brand-separator::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 0 0 2px #111 !important;
  transform: translate(-50%, -50%) !important;
}

.app-header .brand-word {
  display: inline-block !important;
  color: #fff !important;
  font: 800 20px/1 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

.start-copy {
  max-width: 780px;
}

.start-copy .start-title {
  max-width: 760px;
  margin: 0 0 6px;
  color: var(--red);
  font-size: clamp(28px, 2.35vw, 36px);
  font-weight: 900;
  letter-spacing: -.015em;
  line-height: 1.02;
  text-transform: uppercase;
}

.start-copy .start-subtitle {
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(27px, 2.45vw, 36px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.08;
}


@media (min-width: 1240px) and (max-width: 1439px) {
  .start-usp {
    display: flex;
    top: 12px;
    left: 14px;
    width: calc(50% - 554px);
    height: calc(100% - 24px);
    transform: none;
    gap: clamp(16px, 2.5vh, 24px);
  }

  .start-usp-icon {
    height: clamp(48px, 6.2vh, 62px);
    max-width: 76px;
    margin-bottom: 7px;
  }

  .start-usp-icon-shipping {
    height: clamp(43px, 5.5vh, 56px);
    max-width: none;
  }

  .start-usp-item h2 {
    margin-bottom: 4px;
    font-size: clamp(14px, 1.15vw, 17px);
  }

  .start-usp-item p {
    max-width: 100%;
    font-size: clamp(11px, .9vw, 13px);
    line-height: 1.38;
  }
}


@media (max-width: 1239px) {
  .start-content-layout {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .start-card {
    order: 1;
    flex: 0 0 auto;
    max-height: none;
    overflow: visible;
    margin-bottom: 14px;
  }

  .start-usp {
    position: static;
    order: 2;
    width: min(1060px, calc(100% - 48px));
    height: auto;
    transform: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 auto 20px;
    padding: 0;
  }

  .start-usp-item {
    min-width: 0;
    padding: 14px 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 22px rgba(20, 24, 32, .06);
  }

  .start-usp-icon {
    height: 52px;
    max-width: 72px;
    margin-bottom: 7px;
  }

  .start-usp-icon-shipping {
    height: 47px;
    max-width: none;
  }

  .start-usp-item h2 {
    margin-bottom: 4px;
    font-size: 16px;
  }

  .start-usp-item p {
    font-size: 12px;
    line-height: 1.38;
  }
}

@media (max-width: 820px) {
  .app-header .brand-main-line {
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .app-header .brand-separator {
    width: 14px !important;
    height: 27px !important;
    flex-basis: 14px !important;
  }

  .app-header .brand-word {
    max-width: none !important;
    font-size: 14px !important;
  }

  .start-card {
    margin-bottom: 12px;
  }

  .start-copy .start-title {
    font-size: clamp(24px, 5.8vw, 32px);
  }

  .start-copy .start-subtitle {
    margin-bottom: 14px;
    font-size: clamp(24px, 5.4vw, 30px);
  }

  .start-usp {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 14px;
  }

  .start-usp-item {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    padding: 11px 14px;
    text-align: left;
  }

  .start-usp-icon,
  .start-usp-icon-shipping {
    grid-row: 1 / 3;
    width: auto;
    height: auto;
    max-width: 62px;
    max-height: 54px;
    margin: 0 auto;
  }

  .start-usp-item h2,
  .start-usp-item p {
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    text-align: left;
  }
}

@media (max-width: 520px) {
  .app-header .brand-logo-link .brand-logo,
  .app-header .brand-logo-link:hover .brand-logo,
  .app-header .brand-logo-link:focus .brand-logo,
  .app-header .brand-logo-link:focus-visible .brand-logo {
    height: 24px !important;
    max-width: 132px !important;
  }

  .app-header .brand-separator {
    width: 11px !important;
    height: 24px !important;
    flex-basis: 11px !important;
  }

  .app-header .brand-word {
    font-size: 12px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .start-usp-item,
  .start-usp-icon {
    transition: none;
  }
}





.header-social-links {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: max-content !important;
  margin: 0 0 0 40px !important;
  padding: 0 !important;
  overflow: visible !important;
}

.header-social-link {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  flex: 0 0 32px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: inherit !important;
  text-decoration: none !important;
  overflow: visible !important;
  isolation: isolate !important;
  transition: transform .16s ease !important;
}

.header-social-icon {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
  pointer-events: none !important;
  transition: opacity .16s ease !important;
}

.header-social-icon-white {
  opacity: 1 !important;
}

.header-social-icon-red {
  opacity: 0 !important;
}

.header-social-link:hover,
.header-social-link:focus-visible {
  transform: translateY(-1px) !important;
  outline: none !important;
}

.header-social-link:hover .header-social-icon-white,
.header-social-link:focus-visible .header-social-icon-white {
  opacity: 0 !important;
}

.header-social-link:hover .header-social-icon-red,
.header-social-link:focus-visible .header-social-icon-red {
  opacity: 1 !important;
}

.header-social-link::before,
.header-social-link::after {
  position: absolute !important;
  left: 50% !important;
  z-index: 7000 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity .14s ease, transform .14s ease, visibility .14s ease !important;
}

.header-social-link::before {
  content: "" !important;
  top: calc(100% + 5px) !important;
  width: 9px !important;
  height: 9px !important;
  border-left: 1px solid #d9dee5 !important;
  border-top: 1px solid #d9dee5 !important;
  background: #fff !important;
  transform: translate(-50%, -3px) rotate(45deg) !important;
}

.header-social-link::after {
  content: attr(data-tooltip) !important;
  top: calc(100% + 9px) !important;
  padding: 8px 10px !important;
  border: 1px solid #d9dee5 !important;
  border-radius: 9px !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22) !important;
  color: #111 !important;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
  transform: translate(-50%, -3px) !important;
}

.header-social-link:hover::before,
.header-social-link:hover::after,
.header-social-link:focus-visible::before,
.header-social-link:focus-visible::after {
  opacity: 1 !important;
  visibility: visible !important;
}

.header-social-link:hover::before,
.header-social-link:focus-visible::before {
  transform: translate(-50%, 0) rotate(45deg) !important;
}

.header-social-link:hover::after,
.header-social-link:focus-visible::after {
  transform: translate(-50%, 0) !important;
}

.brand-main-line,
.start-header.app-header,
.editor-header.app-header,
.ahp-checkout-header,
.ahp-checkout-brand-cluster {
  overflow: visible !important;
}

.ahp-checkout-brand-cluster {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
}

.ahp-checkout-brand-cluster .ahp-checkout-brand {
  flex: 0 0 auto !important;
  overflow: visible !important;
}

.ahp-checkout-brand-cluster .ahp-checkout-brand .brand-main-line {
  gap: 0 !important;
}

@media (max-width: 820px) {
  .header-social-links {
    gap: 14px !important;
    margin-left: 34px !important;
  }

  .header-social-link {
    width: 27px !important;
    height: 27px !important;
    flex-basis: 27px !important;
  }

  .ahp-checkout-brand-cluster {
    gap: 10px !important;
  }
}

@media (max-width: 560px) {
  .header-social-links {
    gap: 12px !important;
    margin-left: 29px !important;
  }

  .header-social-link {
    width: 23px !important;
    height: 23px !important;
    flex-basis: 23px !important;
    border-radius: 6px !important;
  }

  .ahp-checkout-brand-cluster {
    gap: 9px !important;
  }
}

@media (max-width: 370px) {
  .header-social-links {
    gap: 10px !important;
    margin-left: 26px !important;
  }

  .header-social-link {
    width: 21px !important;
    height: 21px !important;
    flex-basis: 21px !important;
  }
}

@media (hover: none), (pointer: coarse) {
  .header-social-link::before,
  .header-social-link::after {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-social-link,
  .header-social-icon,
  .header-social-link::before,
  .header-social-link::after {
    transition: none !important;
  }
}





:root {
  --footer-height: 20px;
  --app-header-height: 45px;
}


html {
  zoom: 1 !important;
}

.app {
  height: 100vh !important;
}

.start-screen,
.editor-screen {
  height: calc(100vh - var(--footer-height)) !important;
  max-height: calc(100vh - var(--footer-height)) !important;
}

.start-header.app-header,
.editor-header.app-header {
  width: 100% !important;
  height: var(--app-header-height) !important;
  min-height: var(--app-header-height) !important;
  max-height: var(--app-header-height) !important;
  padding: 3px 14px !important;
  border-bottom-width: 2px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  overflow: visible !important;
}

.app-header .app-brand,
.app-header .brand-main-line,
.app-header .brand-logo-link {
  height: 100% !important;
  min-height: 0 !important;
  align-items: center !important;
}

.app-header .brand-main-line {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  overflow: visible !important;
}

.app-header .brand-logo-link {
  display: inline-flex !important;
  flex: 0 0 auto !important;
}

.app-header .brand-logo-link .brand-logo,
.app-header .brand-logo {
  width: auto !important;
  height: 27px !important;
  max-width: 142px !important;
  object-fit: contain !important;
}

.editor-brand.app-brand {
  min-width: 0 !important;
  overflow: visible !important;
}

.editor-header-right {
  min-width: 0 !important;
  gap: 18px !important;
}

.editor-actions {
  gap: 14px !important;
  margin: 0 !important;
}

.editor-actions .btn,
.editor-actions .btn-light,
.editor-actions .btn-success {
  font-size: 14px !important;
  line-height: 1.1 !important;
}

.header-summary-wrap .top-summary-button {
  min-height: 0 !important;
  height: 36px !important;
  padding: 0 !important;
  gap: 8px !important;
}

.top-summary-cart-visual {
  width: 31px !important;
  height: 31px !important;
  flex-basis: 31px !important;
}

.top-summary-cart-badge {
  top: -3px !important;
  right: -5px !important;
  min-width: 17px !important;
  height: 17px !important;
  padding: 0 4px !important;
  border-width: 1px !important;
  box-shadow: 0 0 0 1px #111 !important;
  font-size: 10px !important;
}

.header-summary-wrap .top-summary-main,
.header-summary-wrap .top-summary-main strong {
  font-size: 17px !important;
  line-height: 1 !important;
}

.header-menu-button,
.header-menu-button:hover,
.header-menu-button:focus,
.header-menu-button:focus-visible,
.header-menu-button:active {
  width: 48px !important;
  min-width: 48px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 1px 4px !important;
}

.header-menu-label {
  font-size: 11px !important;
}

.header-menu-icon {
  width: 23px !important;
  height: 20px !important;
}

.header-menu-dropdown {
  top: calc(100% + 6px) !important;
  right: 0 !important;
  left: auto !important;
}


.app-header .header-social-links {
  gap: 16px !important;
  margin-left: 40px !important;
}

.app-header .header-social-link {
  width: 25px !important;
  height: 25px !important;
  flex: 0 0 25px !important;
  border-radius: 6px !important;
}


.header-menu-social {
  margin-top: 7px;
  padding: 11px 12px 12px;
  border-radius: 12px;
  background: #111;
  color: #fff;
}

.header-menu-social > strong {
  display: block;
  margin: 0 0 9px;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 900;
}

.header-menu-social-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.header-menu-social-link {
  position: relative;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  text-decoration: none;
  transition: transform .16s ease;
}

.header-menu-social-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  transition: opacity .16s ease;
}

.header-menu-social-icon-white { opacity: 1; }
.header-menu-social-icon-red { opacity: 0; }

.header-menu-social-link:hover,
.header-menu-social-link:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.header-menu-social-link:hover .header-menu-social-icon-white,
.header-menu-social-link:focus-visible .header-menu-social-icon-white {
  opacity: 0;
}

.header-menu-social-link:hover .header-menu-social-icon-red,
.header-menu-social-link:focus-visible .header-menu-social-icon-red {
  opacity: 1;
}

@media (max-width: 1400px) {
  .editor-header .header-social-links {
    display: none !important;
  }
}


.editor-shell {
  height: auto !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}

.start-card {
  max-height: calc(100vh - var(--app-header-height) - var(--footer-height) - 24px) !important;
}


.catalog-panel > .editor-promo-bar {
  position: relative !important;
  z-index: 1 !important;
  flex: 0 0 auto !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: 27px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 8px !important;
  padding: 7px 9px !important;
  border: 1px solid #e0e4e9 !important;
  border-radius: 12px !important;
  background: #f8f9fa !important;
  box-shadow: none !important;
}

.catalog-panel > .editor-promo-bar.is-earned {
  border-color: rgba(193, 16, 21, .28) !important;
  background: rgba(193, 16, 21, .045) !important;
}

.catalog-panel > .editor-promo-bar .editor-promo-icon {
  width: 27px !important;
  height: 27px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.promotion-usp-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.catalog-panel > .editor-promo-bar .editor-promo-body {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 5px !important;
}

.catalog-panel > .editor-promo-bar .editor-promo-copy {
  min-width: 0 !important;
  color: #30353b !important;
  font-size: 12px !important;
  line-height: 1.22 !important;
  font-weight: 750 !important;
}

.catalog-panel > .editor-promo-bar .editor-promo-status {
  display: none !important;
}

.catalog-panel > .editor-promo-bar .promo-progress {
  width: 100% !important;
  min-width: 0 !important;
  height: 5px !important;
}

.catalog-panel > .editor-promo-bar .promo-progress-marker {
  top: -2px !important;
  height: 9px !important;
}


.summary-promotion-icon,
.summary-promotion.is-earned .summary-promotion-icon,
.ahp-promotion-icon,
.ahp-promotion.is-earned .ahp-promotion-icon {
  overflow: hidden !important;
  background: #fff !important;
  color: inherit !important;
}

.summary-promotion-icon .promotion-usp-image {
  width: 30px !important;
  height: 30px !important;
  margin: auto !important;
}

.ahp-promotion-icon .promotion-usp-image {
  width: 34px !important;
  height: 34px !important;
  margin: auto !important;
}


#productList.product-list {
  gap: 5px !important;
  scrollbar-width: thin !important;
  scrollbar-color: #c11015 transparent !important;
}

@media (min-width: 1025px) {
  #productList.product-list {
    width: calc(100% + 10px) !important;
    margin-right: -10px !important;
    padding-right: 0 !important;
    scrollbar-gutter: stable !important;
  }
}

#productList.product-list::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

#productList.product-list::-webkit-scrollbar-track {
  background: transparent;
}

#productList.product-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #c11015;
}


.app-footer {
  height: var(--footer-height) !important;
  min-height: var(--footer-height) !important;
  padding: 0 14px !important;
  border-top-width: 1px !important;
  gap: 8px !important;
  font-size: 11px !important;
  line-height: 1 !important;
}


@media (min-width: 641px) {
  .ahp-checkout-header {
    height: var(--app-header-height) !important;
    min-height: var(--app-header-height) !important;
    max-height: var(--app-header-height) !important;
    padding: 3px 14px !important;
    gap: 12px !important;
  }

  .ahp-checkout-brand img {
    height: 27px !important;
    max-width: 142px !important;
  }

  .ahp-checkout-header .header-social-links {
    gap: 16px !important;
    margin-left: 26px !important;
  }

  .ahp-checkout-header .header-social-link {
    width: 25px !important;
    height: 25px !important;
    flex: 0 0 25px !important;
  }

  .ahp-checkout-actions .ahp-btn {
    min-height: 32px !important;
    padding: 0 13px !important;
    border-radius: 9px !important;
    font-size: 12px !important;
  }
}

.ahp-checkout-footer {
  min-height: 20px !important;
  height: 20px !important;
  padding: 0 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 11px !important;
  line-height: 1 !important;
}

@media (max-width: 1024px) {
  .catalog-panel > .editor-promo-bar {
    grid-template-columns: 22px minmax(0, 1fr) !important;
    gap: 6px !important;
    margin-bottom: 5px !important;
    padding: 5px 7px !important;
    border-radius: 10px !important;
  }

  .catalog-panel > .editor-promo-bar .editor-promo-icon {
    width: 22px !important;
    height: 22px !important;
  }

  .catalog-panel > .editor-promo-bar .editor-promo-copy {
    font-size: 11px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #productList.product-list {
    gap: 5px !important;
  }
}

@media (max-width: 820px) {
  .start-header.app-header,
  .editor-header.app-header {
    height: var(--app-header-height) !important;
    min-height: var(--app-header-height) !important;
    max-height: var(--app-header-height) !important;
    padding: 3px 7px !important;
    gap: 4px !important;
  }

  .app-header .brand-logo-link .brand-logo,
  .app-header .brand-logo {
    height: 25px !important;
    max-width: 122px !important;
  }

  .start-header .header-social-links {
    gap: 12px !important;
    margin-left: 26px !important;
  }

  .start-header .header-social-link {
    width: 22px !important;
    height: 22px !important;
    flex-basis: 22px !important;
  }

  .editor-header-right {
    gap: 3px !important;
  }

  .header-menu-button,
  .header-menu-button:hover,
  .header-menu-button:focus,
  .header-menu-button:focus-visible,
  .header-menu-button:active {
    width: 42px !important;
    min-width: 42px !important;
    height: 36px !important;
  }

  .header-summary-wrap .top-summary-button {
    height: 36px !important;
    gap: 4px !important;
  }

  .top-summary-cart-visual {
    width: 29px !important;
    height: 29px !important;
    flex-basis: 29px !important;
  }

  .header-summary-wrap .top-summary-main,
  .header-summary-wrap .top-summary-main strong {
    font-size: 15px !important;
  }

  .editor-shell {
    height: auto !important;
  }
}

@media (max-width: 460px) {
  .app-header .brand-logo-link .brand-logo,
  .app-header .brand-logo {
    height: 24px !important;
    max-width: 108px !important;
  }

  .start-header .header-social-links {
    gap: 10px !important;
    margin-left: 20px !important;
  }

  .start-header .header-social-link {
    width: 21px !important;
    height: 21px !important;
    flex-basis: 21px !important;
  }

  .header-summary-wrap .top-summary-main,
  .header-summary-wrap .top-summary-main strong {
    font-size: 14px !important;
  }

  .app-footer {
    padding: 0 8px !important;
    font-size: 10px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-menu-social-link,
  .header-menu-social-icon {
    transition: none !important;
  }
}


.app-header .app-brand,
.editor-brand.app-brand,
.start-brand.app-brand {
  flex: 0 0 auto !important;
  justify-content: flex-start !important;
  align-items: center !important;
}

.start-header .app-brand,
.editor-header .editor-brand.app-brand {
  margin-right: auto !important;
}

.app-header .brand-main-line {
  justify-content: flex-start !important;
  gap: 0 !important;
}

.app-header .brand-logo-link .brand-logo,
.app-header .brand-logo {
  height: 29px !important;
  max-width: 152px !important;
  transform: scale(1) !important;
  transform-origin: left center !important;
  transition: filter .18s ease, transform .18s ease !important;
}

.app-header .brand-logo-link:hover .brand-logo,
.app-header .brand-logo-link:focus .brand-logo,
.app-header .brand-logo-link:focus-visible .brand-logo {
  transform: scale(1.03) !important;
}

.app-header .header-social-links {
  gap: 14px !important;
  margin-left: 22px !important;
}

.catalog-panel > .editor-promo-bar {
  padding: 8px 10px !important;
}

.catalog-panel > .editor-promo-bar.is-earned {
  border-color: rgba(30, 155, 56, .34) !important;
  background: rgba(30, 155, 56, .10) !important;
}

.catalog-panel > .editor-promo-bar .editor-promo-body {
  gap: 6px !important;
}

.catalog-panel > .editor-promo-bar .editor-promo-copy {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.summary-promotion--discount.is-earned {
  border-color: rgba(30, 155, 56, .28) !important;
  background: rgba(30, 155, 56, .10) !important;
}

.summary-promotion--discount.is-earned .summary-promotion-icon {
  border-color: #dbe6de !important;
}

.promo-discount-track {
  position: relative;
  width: 100%;
  height: 20px;
  margin-top: 2px;
}

.promo-discount-track-base,
.promo-discount-track-fill {
  position: absolute;
  left: 0;
  top: 50%;
  height: 6px;
  border-radius: 999px;
  transform: translateY(-50%);
}

.promo-discount-track-base {
  right: 0;
  background: #ead7d8;
  z-index: 1;
}

.promo-discount-track-fill {
  z-index: 2;
  background: #c11015;
  transition: width .28s ease, background .18s ease;
}

.editor-promo-bar.is-earned .promo-discount-track-fill,
.summary-promotion--discount.is-earned .promo-discount-track-fill {
  background: #1e9b38;
}

.promo-discount-track-label {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 14px;
  padding: 0 4px;
  border-radius: 999px;
  background: rgba(248, 249, 250, .96);
  color: #6e7680;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.editor-promo-bar.is-earned .promo-discount-track-label,
.summary-promotion--discount.is-earned .promo-discount-track-label {
  background: rgba(246, 252, 247, .98);
}

.promo-discount-track-label-3 {
  left: 25%;
}

.promo-discount-track-label-5 {
  left: 75%;
}

.promo-discount-check {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid #cfd5dd;
  border-radius: 50%;
  background: #eef1f4;
  box-shadow: 0 0 0 2px #f8f9fa;
  color: #99a1ab;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  cursor: help;
  user-select: none;
}

.editor-promo-bar.is-earned .promo-discount-check {
  box-shadow: 0 0 0 2px rgba(246, 252, 247, 1);
}

.promo-discount-check-3 {
  left: 50%;
  transform: translate(-50%, -50%);
}

.promo-discount-check-5 {
  right: 0;
  transform: translate(0, -50%);
}

.promo-discount-check.is-earned {
  border-color: #7fc58f;
  background: #e8f6eb;
  color: #1e9b38;
}

.promo-discount-check::before,
.promo-discount-check::after {
  position: absolute;
  left: 50%;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
}

.promo-discount-check::before {
  content: "";
  bottom: calc(100% + 5px);
  width: 9px;
  height: 9px;
  border-left: 1px solid #d9dee5;
  border-top: 1px solid #d9dee5;
  background: #fff;
  transform: translate(-50%, 4px) rotate(45deg);
}

.promo-discount-check::after {
  content: attr(data-tooltip);
  bottom: calc(100% + 9px);
  min-width: 180px;
  max-width: 240px;
  padding: 7px 9px;
  border: 1px solid #d9dee5;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  color: #111;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
  text-align: left;
  white-space: normal;
  transform: translate(-50%, 4px);
}

.promo-discount-check:hover::before,
.promo-discount-check:hover::after,
.promo-discount-check:focus-visible::before,
.promo-discount-check:focus-visible::after {
  opacity: 1;
  visibility: visible;
}

.promo-discount-check:hover::before,
.promo-discount-check:focus-visible::before {
  transform: translate(-50%, 0) rotate(45deg);
}

.promo-discount-check:hover::after,
.promo-discount-check:focus-visible::after {
  transform: translate(-50%, 0);
}

.promo-discount-check-5::before,
.promo-discount-check-5::after {
  left: auto;
  right: 0;
}

.promo-discount-check-5::before {
  transform: translate(0, 4px) rotate(45deg);
}

.promo-discount-check-5::after {
  transform: translate(0, 4px);
}

.promo-discount-check-5:hover::before,
.promo-discount-check-5:focus-visible::before {
  transform: translate(0, 0) rotate(45deg);
}

.promo-discount-check-5:hover::after,
.promo-discount-check-5:focus-visible::after {
  transform: translate(0, 0);
}

.summary-promotion-body .promo-discount-track {
  margin-top: 5px;
}

@media (max-width: 1024px) {
  .catalog-panel > .editor-promo-bar {
    padding: 6px 8px !important;
  }

  .catalog-panel > .editor-promo-bar .editor-promo-copy {
    font-size: 11px !important;
    line-height: 1.18 !important;
  }

  .promo-discount-track {
    height: 18px;
  }

  .promo-discount-track-base,
  .promo-discount-track-fill {
    height: 5px;
  }

  .promo-discount-track-label {
    font-size: 9px;
    min-height: 13px;
    padding: 0 3px;
  }

  .promo-discount-check {
    width: 16px;
    height: 16px;
    font-size: 10px;
  }
}

@media (max-width: 820px) {
  .app-header .brand-logo-link .brand-logo,
  .app-header .brand-logo {
    height: 26px !important;
    max-width: 132px !important;
  }

  .start-header .header-social-links {
    gap: 11px !important;
    margin-left: 18px !important;
  }

  .catalog-panel > .editor-promo-bar {
    margin-bottom: 6px !important;
  }

  .promo-discount-check::before,
  .promo-discount-check::after {
    display: none;
  }
}

@media (max-width: 460px) {
  .app-header .brand-logo-link .brand-logo,
  .app-header .brand-logo {
    height: 25px !important;
    max-width: 120px !important;
  }

  .start-header .header-social-links {
    gap: 10px !important;
    margin-left: 14px !important;
  }
}


.start-header.app-header,
.editor-header.app-header {
  position: relative !important;
  isolation: isolate !important;
}


.app-header .brand-logo-link {
  position: relative !important;
  width: 151px !important;
  min-width: 151px !important;
  max-width: 151px !important;
  height: 31px !important;
  flex: 0 0 151px !important;
  overflow: visible !important;
}

.app-header .brand-logo-link .brand-logo,
.app-header .brand-logo {
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  width: auto !important;
  height: 29px !important;
  max-width: 151px !important;
  transform: translateY(-50%) scale(1) !important;
  transform-origin: left center !important;
  filter: brightness(0) invert(1) !important;
  transition: filter .16s ease, transform .16s ease !important;
  will-change: transform, filter !important;
}

.app-header .brand-logo-link:hover .brand-logo,
.app-header .brand-logo-link:focus .brand-logo,
.app-header .brand-logo-link:focus-visible .brand-logo {
  transform: translateY(-50%) scale(1.012) !important;
  filter: none !important;
}

.editor-header-left,
.start-header-left,
.start-header-right,
.editor-stage-header-actions {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  min-width: 0 !important;
}

.editor-header-left {
  position: absolute !important;
  left: 9px !important;
  top: 50% !important;
  z-index: 5 !important;
  gap: 22px !important;
  transform: translateY(-50%) !important;
}

.editor-header-left .editor-brand.app-brand,
.start-header-left .start-brand.app-brand {
  width: 151px !important;
  min-width: 151px !important;
  max-width: 151px !important;
  flex: 0 0 151px !important;
  margin: 0 !important;
}

.editor-primary-actions,
.start-header-wip-actions {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 18px !important;
  margin: 0 !important;
}

.header-text-action,
.editor-primary-actions .btn,
.editor-primary-actions .btn-light,
.start-header-action {
  position: relative !important;
  width: auto !important;
  min-width: 0 !important;
  height: 31px !important;
  min-height: 31px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  font: 850 13px/1 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transform: none !important;
  transition: color .16s ease !important;
}

.header-text-action::after,
.editor-primary-actions .btn::after,
.editor-primary-actions .btn-light::after,
.start-header-action::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 2px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: #c11015 !important;
  transform: scaleX(0) !important;
  transform-origin: left center !important;
  transition: transform .16s ease !important;
}

.header-text-action:hover,
.header-text-action:focus-visible,
.editor-primary-actions .btn:hover,
.editor-primary-actions .btn:focus-visible,
.start-header-action:hover,
.start-header-action:focus-visible {
  color: #c11015 !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.header-text-action:hover::after,
.header-text-action:focus-visible::after,
.editor-primary-actions .btn:hover::after,
.editor-primary-actions .btn:focus-visible::after,
.start-header-action:hover::after,
.start-header-action:focus-visible::after {
  transform: scaleX(1) !important;
}


.editor-stage-header-actions {
  position: absolute !important;
  top: 50% !important;
  right: calc(100% - var(--editor-stage-end, 86%)) !important;
  z-index: 6 !important;
  gap: 22px !important;
  transform: translateY(-50%) !important;
}

.editor-stage-header-actions .header-social-links,
.start-header-right .header-social-links {
  gap: 14px !important;
  margin: 0 !important;
}

.editor-stage-header-actions .header-social-link,
.start-header-right .header-social-link {
  width: 25px !important;
  height: 25px !important;
  flex: 0 0 25px !important;
}


.editor-header .editor-header-right {
  position: absolute !important;
  top: 50% !important;
  right: calc(100% - var(--editor-cart-end, calc(100% - 12px))) !important;
  z-index: 8 !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding-left: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  transform: translateY(-50%) !important;
}

.editor-header .header-summary-wrap,
.start-header .header-summary-wrap {
  margin: 0 !important;
}

.editor-header .header-summary-wrap .top-summary-button,
.start-header .header-summary-wrap .top-summary-button {
  gap: 8px !important;
}


.start-header-left {
  flex: 0 0 auto !important;
  gap: 22px !important;
}

.start-header-right {
  margin-left: auto !important;
  justify-content: flex-end !important;
  gap: 22px !important;
}

.start-header-wip-actions.hidden,
.start-header-summary.hidden {
  display: none !important;
}

.start-header.has-work-in-progress .start-header-right {
  gap: 22px !important;
}

.start-header .start-header-summary {
  position: relative !important;
  padding-left: 22px !important;
}

.start-header .start-header-summary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 1px;
  background: rgba(255,255,255,.23);
}

.start-header .top-summary-dropdown {
  right: 0 !important;
  left: auto !important;
}


.catalog-panel > .editor-promo-bar {
  z-index: 30 !important;
  overflow: visible !important;
}

.promo-discount-track {
  z-index: 2 !important;
  overflow: visible !important;
}

.promo-discount-check::before,
.promo-discount-check::after {
  top: calc(100% + 5px) !important;
  bottom: auto !important;
}

.promo-discount-check::before {
  transform: translate(-50%, -4px) rotate(45deg) !important;
}

.promo-discount-check::after {
  transform: translate(-50%, -4px) !important;
}

.promo-discount-check:hover::before,
.promo-discount-check:focus-visible::before {
  transform: translate(-50%, 0) rotate(45deg) !important;
}

.promo-discount-check:hover::after,
.promo-discount-check:focus-visible::after {
  transform: translate(-50%, 0) !important;
}

.promo-discount-check-5::before,
.promo-discount-check-5::after {
  left: auto !important;
  right: 0 !important;
}

.promo-discount-check-5::before {
  transform: translate(0, -4px) rotate(45deg) !important;
}

.promo-discount-check-5::after {
  transform: translate(0, -4px) !important;
}

.promo-discount-check-5:hover::before,
.promo-discount-check-5:focus-visible::before {
  transform: translate(0, 0) rotate(45deg) !important;
}

.promo-discount-check-5:hover::after,
.promo-discount-check-5:focus-visible::after {
  transform: translate(0, 0) !important;
}


.catalog-head {
  position: relative !important;
  z-index: 1 !important;
}

@media (max-width: 1400px) {
  .editor-primary-actions,
  .editor-stage-header-actions {
    display: none !important;
  }

  .editor-header .header-menu-wrap {
    display: block !important;
  }

  .editor-header .editor-header-right {
    right: 8px !important;
    padding-left: 0 !important;
  }
}

@media (max-width: 1180px) {
  .start-header.has-work-in-progress .start-header-wip-actions {
    gap: 12px !important;
  }

  .start-header-action,
  .start-header .header-text-action {
    font-size: 12px !important;
  }

  .start-header-left,
  .start-header-right {
    gap: 15px !important;
  }
}

@media (max-width: 920px) {
  .start-header-wip-actions {
    display: none !important;
  }

  .start-header-right {
    gap: 12px !important;
  }

  .start-header .start-header-summary {
    padding-left: 12px !important;
  }

  .start-header .header-social-links {
    gap: 10px !important;
  }

  .start-header .header-social-link {
    width: 22px !important;
    height: 22px !important;
    flex-basis: 22px !important;
  }
}

@media (max-width: 820px) {
  .app-header .brand-logo-link {
    width: 124px !important;
    min-width: 124px !important;
    max-width: 124px !important;
    height: 29px !important;
    flex-basis: 124px !important;
  }

  .app-header .brand-logo-link .brand-logo,
  .app-header .brand-logo {
    height: 25px !important;
    max-width: 124px !important;
  }

  .editor-header-left {
    left: 7px !important;
  }

  .editor-header-left .editor-brand.app-brand,
  .start-header-left .start-brand.app-brand {
    width: 124px !important;
    min-width: 124px !important;
    max-width: 124px !important;
    flex-basis: 124px !important;
  }

  .editor-header .editor-header-right {
    right: 5px !important;
  }

  .start-header .start-help-button {
    font-size: 11px !important;
  }

  .promo-discount-check::before,
  .promo-discount-check::after {
    display: none !important;
  }
}

@media (max-width: 620px) {
  .start-header .start-help-button {
    font-size: 0 !important;
    width: 32px !important;
  }

  .start-header .start-help-button::before {
    content: "?";
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 50%;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
  }

  .start-header .start-help-button::after {
    display: none !important;
  }

  .start-header-summary .top-summary-main {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-header .brand-logo-link .brand-logo,
  .header-text-action,
  .start-header-action {
    transition: none !important;
  }
}


.app-header .brand-logo-link:hover .brand-logo,
.app-header .brand-logo-link:focus .brand-logo,
.app-header .brand-logo-link:focus-visible .brand-logo,
.editor-header .brand-logo:hover {
  width: auto !important;
  height: 29px !important;
  max-width: 151px !important;
  transform: translateY(-50%) scale(1.012) !important;
}

@media (max-width: 820px) {
  .app-header .brand-logo-link:hover .brand-logo,
  .app-header .brand-logo-link:focus .brand-logo,
  .app-header .brand-logo-link:focus-visible .brand-logo,
  .editor-header .brand-logo:hover {
    height: 25px !important;
    max-width: 124px !important;
  }
}


.editor-stage-header-actions {
  right: var(--editor-stage-right, 12%) !important;
}

.editor-header .editor-header-right {
  right: var(--editor-cart-right, 12px) !important;
}

@media (max-width: 1400px) {
  .editor-header .editor-header-right {
    right: var(--editor-cart-right, 8px) !important;
  }
}

@media (max-width: 820px) {
  .editor-header .editor-header-right {
    right: var(--editor-cart-right, 8px) !important;
  }
}


.editor-header-left {
  left: var(--editor-logo-start, 14px) !important;
  width: 151px !important;
  min-width: 151px !important;
  max-width: 151px !important;
  height: 31px !important;
  gap: 0 !important;
  overflow: visible !important;
}

.editor-header-left .editor-brand.app-brand {
  position: relative !important;
  z-index: 2 !important;
}

.editor-primary-actions {
  position: absolute !important;
  left: calc(var(--editor-stage-start, 374px) - var(--editor-logo-start, 14px)) !important;
  top: 0 !important;
  z-index: 3 !important;
  height: 31px !important;
  min-height: 31px !important;
  margin: 0 !important;
}


.editor-header .editor-header-right {
  right: calc(100% - var(--editor-cart-end, calc(100% - 12px))) !important;
}

@media (max-width: 1400px) {
  .editor-primary-actions {
    display: none !important;
  }
}

@media (max-width: 820px) {
  .editor-header-left {
    left: var(--editor-logo-start, 7px) !important;
    width: 124px !important;
    min-width: 124px !important;
    max-width: 124px !important;
    height: 29px !important;
  }
}


@media (min-width: 1401px) {
  .editor-header-left {
    left: 10px !important;
    right: auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .editor-primary-actions {
    position: absolute !important;
    left: 360px !important;
    right: auto !important;
    top: 0 !important;
    height: 31px !important;
    min-height: 31px !important;
  }

  
  .editor-stage-header-actions {
    position: absolute !important;
    left: 700px !important;
    right: auto !important;
    top: 50% !important;
    gap: 22px !important;
    transform: translateY(-50%) !important;
  }

  .editor-header .editor-header-right {
    position: absolute !important;
    left: auto !important;
    right: 32px !important;
    top: 50% !important;
    padding-left: 0 !important;
    transform: translateY(-50%) !important;
  }
}


@media (min-width: 821px) and (max-width: 1400px) {
  .editor-header .editor-header-right {
    left: auto !important;
    right: 18px !important;
    gap: 14px !important;
    padding-left: 0 !important;
  }
}


@media (max-width: 820px) {
  .editor-header .editor-header-right {
    left: auto !important;
    right: 8px !important;
    gap: 14px !important;
    padding-left: 0 !important;
  }
}

@media (max-width: 460px) {
  .editor-header .editor-header-right {
    right: 6px !important;
    gap: 12px !important;
  }
}


@media (min-width: 1401px) {
  .editor-header.app-header {
    padding: 3px 28px 3px 10px !important;
  }

  .editor-header-left {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    flex: 0 1 auto !important;
    gap: 0 !important;
    transform: none !important;
    overflow: visible !important;
  }

  .editor-header-left .editor-brand.app-brand {
    width: 151px !important;
    min-width: 151px !important;
    max-width: 151px !important;
    flex: 0 0 151px !important;
    margin: 0 24px 0 0 !important;
  }

  .editor-header-left > .header-social-links {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 46px 0 0 !important;
  }

  .editor-header-left > .header-social-links .header-social-link {
    width: 23px !important;
    height: 23px !important;
    flex: 0 0 23px !important;
  }

  .editor-primary-actions {
    position: static !important;
    left: auto !important;
    top: auto !important;
    display: flex !important;
    align-items: center !important;
    height: 31px !important;
    min-height: 31px !important;
    margin: 0 !important;
    transform: none !important;
  }

  .editor-header .editor-header-right {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 !important;
    transform: none !important;
  }

  .editor-header .editor-help-button {
    display: inline-flex !important;
    margin: 0 46px 0 0 !important;
  }

  .editor-header .header-menu-wrap {
    display: none !important;
  }
}


.start-header-left {
  gap: 0 !important;
}

.start-header-left .start-brand.app-brand {
  margin-right: 24px !important;
}

.start-header-left > .header-social-links {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 46px 0 0 !important;
}

.start-header-left > .header-social-links .header-social-link {
  width: 23px !important;
  height: 23px !important;
  flex: 0 0 23px !important;
}

.start-header-right {
  gap: 0 !important;
}

.start-header .start-help-button {
  margin-right: 46px !important;
}

.start-header .start-header-summary {
  padding-left: 0 !important;
}

.start-header .start-header-summary::before {
  display: none !important;
  content: none !important;
}


@media (max-width: 1400px) {
  .editor-header-left {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    flex: 0 0 auto !important;
    transform: none !important;
  }

  .editor-header-left > .header-social-links,
  .editor-header .editor-help-button,
  .editor-primary-actions {
    display: none !important;
  }

  .editor-header .editor-header-right {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    gap: 16px !important;
    transform: none !important;
  }

  .editor-header .header-menu-wrap {
    display: block !important;
  }
}

@media (max-width: 920px) {
  .start-header-left .start-brand.app-brand {
    margin-right: 16px !important;
  }

  .start-header-left > .header-social-links {
    gap: 10px !important;
    margin-right: 24px !important;
  }

  .start-header-left > .header-social-links .header-social-link {
    width: 21px !important;
    height: 21px !important;
    flex-basis: 21px !important;
  }

  .start-header .start-help-button {
    margin-right: 18px !important;
  }
}

@media (max-width: 620px) {
  .start-header .start-help-button {
    width: auto !important;
    min-width: 0 !important;
    margin-right: 12px !important;
    font-size: 10px !important;
  }

  .start-header .start-help-button::before {
    display: none !important;
    content: none !important;
  }

  .start-header-left > .header-social-links {
    gap: 8px !important;
    margin-right: 12px !important;
  }

  .start-header-left > .header-social-links .header-social-link {
    width: 19px !important;
    height: 19px !important;
    flex-basis: 19px !important;
  }
}

@media (max-width: 460px) {
  .editor-header .editor-header-right {
    gap: 16px !important;
  }

  .start-header-left .start-brand.app-brand {
    margin-right: 10px !important;
  }

  .start-header-left > .header-social-links {
    margin-right: 8px !important;
  }

  .start-header .start-help-button {
    margin-right: 8px !important;
    font-size: 9px !important;
  }
}


@media (min-width: 1401px) {
  .editor-header-left > .header-social-links,
  .start-header-left > .header-social-links {
    margin: 0 110px 0 0 !important;
  }

  .editor-header .editor-help-button,
  .start-header .start-help-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 31px !important;
    min-height: 31px !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}


@media (min-width: 821px) {
  .catalog-panel {
    padding-top: 8px !important;
  }
}

@media (max-width: 820px) {
  .catalog-panel {
    padding-top: 6px !important;
  }
}


.start-header.app-header {
  z-index: 5000 !important;
  overflow: visible !important;
}

.start-header .start-header-right,
.start-header .start-header-summary,
.start-header .header-summary-wrap {
  position: relative !important;
  z-index: 5100 !important;
}

.start-header .top-summary-dropdown,
.start-header .top-summary-dropdown:not(.hidden) {
  z-index: 5200 !important;
  background: #fff !important;
  opacity: 1 !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.start-content-layout {
  position: relative !important;
  z-index: 1 !important;
}

.start-card,
.start-usp {
  z-index: 1 !important;
}


@media (min-width: 1740px) {
  .start-screen {
    --start-card-left: calc(50% - 562px);
  }

  .start-card {
    margin: 24px 0 24px max(24px, var(--start-card-left)) !important;
  }

  .start-usp {
    top: 14px !important;
    left: calc(var(--start-card-left) - 24px) !important;
    width: 280px !important;
    height: calc(100% - 28px) !important;
    gap: clamp(14px, 1.9vh, 22px) !important;
    padding: 2px 0 !important;
  }

  .start-usp-icon {
    height: clamp(50px, 6.2vh, 66px) !important;
    max-width: 82px !important;
    margin-bottom: 6px !important;
  }

  .start-usp-icon-shipping {
    height: clamp(46px, 5.5vh, 59px) !important;
    max-width: 96px !important;
  }

  .start-usp-icon-warranty {
    height: clamp(54px, 6.7vh, 70px) !important;
    max-width: 76px !important;
  }

  .start-usp-item h2 {
    margin-bottom: 4px !important;
    font-size: clamp(15px, 1vw, 18px) !important;
  }

  .start-usp-item p {
    max-width: 270px !important;
    font-size: clamp(11.5px, .82vw, 13.5px) !important;
    line-height: 1.38 !important;
  }
}


@media (max-width: 1739px) {
  .start-content-layout {
    display: flex !important;
    flex-direction: column !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
  }

  .start-card {
    order: 1 !important;
    flex: 0 0 auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 18px auto 16px !important;
    transform: none !important;
  }

  .start-usp {
    position: static !important;
    order: 2 !important;
    width: min(1060px, calc(100% - 48px)) !important;
    height: auto !important;
    min-width: 0 !important;
    transform: none !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 14px !important;
    margin: 0 auto 20px !important;
    padding: 0 !important;
  }

  .start-usp-item {
    min-width: 0 !important;
    padding: 14px 12px !important;
    border: 1px solid var(--line) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: 0 8px 22px rgba(20, 24, 32, .06) !important;
  }

  .start-usp-icon,
  .start-usp-icon-shipping,
  .start-usp-icon-warranty {
    width: auto !important;
    height: 52px !important;
    max-width: 76px !important;
    max-height: 52px !important;
    margin: 0 auto 7px !important;
  }

  .start-usp-icon-shipping {
    max-width: 94px !important;
  }

  .start-usp-item h2 {
    margin-bottom: 4px !important;
    font-size: 16px !important;
  }

  .start-usp-item p {
    max-width: 100% !important;
    font-size: 12px !important;
    line-height: 1.38 !important;
  }
}

@media (max-width: 1100px) {
  .start-usp {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .start-usp {
    width: calc(100% - 24px) !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
  }

  .start-usp-item {
    display: grid !important;
    grid-template-columns: 62px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    column-gap: 12px !important;
    align-items: center !important;
    padding: 11px 14px !important;
    text-align: left !important;
  }

  .start-usp-icon,
  .start-usp-icon-shipping,
  .start-usp-icon-warranty {
    grid-row: 1 / 3 !important;
    width: auto !important;
    height: auto !important;
    max-width: 62px !important;
    max-height: 54px !important;
    margin: 0 auto !important;
  }

  .start-usp-item h2,
  .start-usp-item p {
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
  }
}

@media (max-height: 780px) and (min-width: 1740px) {
  .start-usp {
    gap: 10px !important;
  }

  .start-usp-icon,
  .start-usp-icon-shipping,
  .start-usp-icon-warranty {
    height: 46px !important;
    max-height: 46px !important;
    margin-bottom: 4px !important;
  }

  .start-usp-item h2 {
    margin-bottom: 3px !important;
    font-size: 15px !important;
  }

  .start-usp-item p {
    font-size: 11.5px !important;
    line-height: 1.3 !important;
  }
}


@media (min-width: 1401px) {
  .start-screen.is-nav-aligned .start-card {
    margin-left: max(24px, var(--start-card-left)) !important;
    margin-right: 0 !important;
  }
}

@media (min-width: 1401px) and (max-width: 1739px) {
  .start-screen.is-nav-aligned .start-usp {
    width: 1060px !important;
    margin-left: max(24px, var(--start-card-left)) !important;
    margin-right: 0 !important;
  }
}



.start-usp-icon-rich-red {
  filter: saturate(1.02) brightness(0.96) contrast(1.03);
}

.start-usp-item:hover .start-usp-icon-rich-red {
  filter: saturate(1.02) brightness(0.96) contrast(1.03) drop-shadow(0 7px 12px rgba(193, 16, 21, .14));
}

@media (min-width: 1740px) {
  .start-usp {
    top: 8px !important;
    height: calc(100% - 16px) !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    gap: 18px !important;
    padding: 8px 0 14px !important;
  }

  .start-usp-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .start-usp-icon {
    height: clamp(54px, 6.6vh, 70px) !important;
    max-width: 90px !important;
    margin-bottom: 10px !important;
  }

  .start-usp-icon-shipping {
    height: clamp(48px, 5.9vh, 62px) !important;
    max-width: 104px !important;
  }

  .start-usp-icon-warranty {
    height: clamp(58px, 7vh, 74px) !important;
    max-width: 82px !important;
  }

  .start-usp-item h2 {
    margin-bottom: 6px !important;
  }
}

@media (max-width: 1739px) {
  .start-usp {
    width: min(1040px, calc(100% - 48px)) !important;
    grid-template-columns: repeat(2, minmax(280px, 1fr)) !important;
    align-items: start !important;
    gap: 24px 28px !important;
    margin: 0 auto 24px !important;
    padding: 2px 0 0 !important;
  }

  .start-usp-item {
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center !important;
  }

  .start-usp-icon,
  .start-usp-icon-shipping,
  .start-usp-icon-warranty {
    width: auto !important;
    height: 60px !important;
    max-width: 92px !important;
    max-height: 60px !important;
    margin: 0 auto 10px !important;
  }

  .start-usp-icon-shipping {
    max-width: 108px !important;
  }

  .start-usp-item h2 {
    margin: 0 0 6px !important;
    font-size: 16px !important;
    line-height: 1.24 !important;
  }

  .start-usp-item p {
    max-width: 250px !important;
    margin: 0 auto !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
  }
}

@media (max-width: 980px) {
  .start-usp {
    width: calc(100% - 28px) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 20px !important;
  }

  .start-usp-item h2 {
    font-size: 15px !important;
  }

  .start-usp-item p {
    max-width: 220px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 640px) {
  .start-usp {
    width: calc(100% - 24px) !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-bottom: 18px !important;
  }

  .start-usp-item {
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  .start-usp-icon,
  .start-usp-icon-shipping,
  .start-usp-icon-warranty {
    height: 56px !important;
    max-height: 56px !important;
    margin-bottom: 8px !important;
  }

  .start-usp-item h2 {
    font-size: 14px !important;
  }

  .start-usp-item p {
    max-width: 280px !important;
    font-size: 11.5px !important;
    line-height: 1.42 !important;
  }
}

@media (max-height: 780px) and (min-width: 1740px) {
  .start-usp {
    gap: 12px !important;
    padding-top: 4px !important;
    padding-bottom: 8px !important;
  }
}



.start-card {
  position: relative !important;
  z-index: 2 !important;
}

.start-usp {
  z-index: 1 !important;
}


@media (min-width: 1700px) and (min-height: 830px) {
  .start-screen {
    --start-card-left: calc(50% - 530px);
  }

  .start-card {
    margin: 24px 0 24px max(24px, var(--start-card-left)) !important;
  }

  .start-usp {
    position: absolute !important;
    top: 24px !important;
    left: calc(max(24px, var(--start-card-left)) - 250px) !important;
    width: 220px !important;
    height: calc(100vh - var(--app-header-height) - var(--footer-height) - 48px) !important;
    max-height: 720px !important;
    min-height: 560px !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 0 !important;
    padding: 8px 0 10px !important;
  }

  .start-usp-item {
    width: 100% !important;
    max-width: 220px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center !important;
  }

  .start-usp-icon,
  .start-usp-icon-shipping,
  .start-usp-icon-warranty {
    height: 54px !important;
    max-height: 54px !important;
    max-width: 86px !important;
    margin: 0 auto 8px !important;
  }

  .start-usp-icon-shipping {
    max-width: 98px !important;
    height: 50px !important;
    max-height: 50px !important;
  }

  .start-usp-icon-warranty {
    max-width: 74px !important;
    height: 58px !important;
    max-height: 58px !important;
  }

  .start-usp-item h2 {
    margin: 0 0 5px !important;
    font-size: 16px !important;
    line-height: 1.18 !important;
  }

  .start-usp-item p {
    max-width: 210px !important;
    margin: 0 auto !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
}


@media (min-width: 1360px) and (max-width: 1699px),
       (min-width: 1700px) and (max-height: 829px) {
  .start-content-layout {
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
  }

  .start-card {
    margin: 20px auto 18px !important;
    max-height: calc(100vh - var(--app-header-height) - var(--footer-height) - 22px) !important;
  }

  .start-usp {
    position: absolute !important;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(1440px, calc(100% - 24px)) !important;
    height: calc(100vh - var(--app-header-height) - var(--footer-height) - 40px) !important;
    max-height: 710px !important;
    min-height: 500px !important;
    display: grid !important;
    grid-template-columns: clamp(150px, 11vw, 180px) minmax(0, 1fr) clamp(150px, 11vw, 180px) !important;
    grid-template-rows: 1fr 1fr !important;
    column-gap: clamp(20px, 2vw, 32px) !important;
    row-gap: 18px !important;
    align-items: center !important;
    justify-items: center !important;
    margin: 0 !important;
    padding: 6px 0 !important;
    pointer-events: none !important;
  }

  .start-usp-item {
    width: 100% !important;
    max-width: 180px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center !important;
    pointer-events: auto !important;
  }

  .start-usp-item:nth-child(1) { grid-column: 1 !important; grid-row: 1 !important; }
  .start-usp-item:nth-child(2) { grid-column: 3 !important; grid-row: 1 !important; }
  .start-usp-item:nth-child(3) { grid-column: 1 !important; grid-row: 2 !important; }
  .start-usp-item:nth-child(4) { grid-column: 3 !important; grid-row: 2 !important; }

  .start-usp-icon,
  .start-usp-icon-shipping,
  .start-usp-icon-warranty {
    height: 50px !important;
    max-height: 50px !important;
    max-width: 78px !important;
    margin: 0 auto 8px !important;
  }

  .start-usp-icon-shipping {
    max-width: 94px !important;
    height: 46px !important;
    max-height: 46px !important;
  }

  .start-usp-icon-warranty {
    max-width: 68px !important;
    height: 54px !important;
    max-height: 54px !important;
  }

  .start-usp-item h2 {
    margin: 0 0 4px !important;
    font-size: 15px !important;
    line-height: 1.16 !important;
  }

  .start-usp-item p {
    max-width: 175px !important;
    margin: 0 auto !important;
    font-size: 11px !important;
    line-height: 1.32 !important;
  }
}


@media (max-width: 1359px) {
  .start-content-layout {
    display: flex !important;
    flex-direction: column !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .start-card {
    order: 1 !important;
    margin: 16px auto 12px !important;
  }

  .start-usp {
    position: static !important;
    order: 2 !important;
    transform: none !important;
    width: min(960px, calc(100% - 32px)) !important;
    height: auto !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 26px !important;
    align-items: start !important;
    justify-items: center !important;
    margin: 0 auto 16px !important;
    padding: 2px 0 0 !important;
  }

  .start-usp-item {
    width: 100% !important;
    max-width: 280px !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center !important;
  }

  .start-usp-icon,
  .start-usp-icon-shipping,
  .start-usp-icon-warranty {
    height: 56px !important;
    max-height: 56px !important;
    max-width: 86px !important;
    margin: 0 auto 8px !important;
  }

  .start-usp-icon-shipping {
    max-width: 102px !important;
    height: 50px !important;
    max-height: 50px !important;
  }

  .start-usp-icon-warranty {
    max-width: 72px !important;
    height: 58px !important;
    max-height: 58px !important;
  }

  .start-usp-item h2 {
    margin: 0 0 4px !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
  }

  .start-usp-item p {
    max-width: 250px !important;
    margin: 0 auto !important;
    font-size: 12px !important;
    line-height: 1.38 !important;
  }
}

@media (max-width: 720px) {
  .start-usp {
    width: calc(100% - 24px) !important;
    gap: 16px 18px !important;
  }

  .start-usp-item {
    max-width: 240px !important;
  }

  .start-usp-icon,
  .start-usp-icon-shipping,
  .start-usp-icon-warranty {
    height: 50px !important;
    max-height: 50px !important;
    margin-bottom: 6px !important;
  }

  .start-usp-icon-shipping {
    height: 44px !important;
    max-height: 44px !important;
  }

  .start-usp-icon-warranty {
    height: 52px !important;
    max-height: 52px !important;
  }

  .start-usp-item h2 {
    font-size: 14px !important;
  }

  .start-usp-item p {
    font-size: 11.5px !important;
  }
}

@media (max-width: 520px) {
  .start-usp {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}







.start-usp .start-usp-icon,
.start-usp .start-usp-icon-shipping,
.start-usp .start-usp-icon-warranty {
  width: auto !important;
  height: 60px !important;
  max-width: 121px !important;
  max-height: 60px !important;
  object-fit: contain !important;
  filter: none !important;
}

.start-usp-item:hover .start-usp-icon,
.start-usp-item:hover .start-usp-icon-shipping,
.start-usp-item:hover .start-usp-icon-warranty {
  filter: drop-shadow(0 7px 12px rgba(193, 16, 21, .14)) !important;
}


.summary-promotion {
  grid-template-columns: 54px minmax(0, 1fr) !important;
}

.summary-promotion-icon,
.summary-promotion.is-earned .summary-promotion-icon {
  width: 52px !important;
  height: 31px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

.summary-promotion-icon .promotion-usp-image {
  display: block !important;
  width: auto !important;
  height: 25px !important;
  max-width: 50px !important;
  max-height: 25px !important;
  margin: auto !important;
  object-fit: contain !important;
  filter: none !important;
}


.ahp-promotion {
  grid-template-columns: 76px minmax(0, 1fr) !important;
  gap: 12px !important;
}

.ahp-promotion-icon,
.ahp-promotion.is-earned .ahp-promotion-icon {
  width: 72px !important;
  height: 41px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

.ahp-promotion-icon .promotion-usp-image {
  display: block !important;
  width: auto !important;
  height: 35px !important;
  max-width: 71px !important;
  max-height: 35px !important;
  margin: auto !important;
  object-fit: contain !important;
  filter: none !important;
}

@media (max-width: 620px) {
  .start-usp .start-usp-icon,
  .start-usp .start-usp-icon-shipping,
  .start-usp .start-usp-icon-warranty {
    height: 52px !important;
    max-width: 105px !important;
    max-height: 52px !important;
  }

  .summary-promotion {
    grid-template-columns: 54px minmax(0, 1fr) !important;
  }

  .summary-promotion-icon,
  .summary-promotion.is-earned .summary-promotion-icon {
    width: 52px !important;
    height: 29px !important;
  }

  .ahp-promotion {
    grid-template-columns: 68px minmax(0, 1fr) !important;
  }

  .ahp-promotion-icon,
  .ahp-promotion.is-earned .ahp-promotion-icon {
    width: 66px !important;
  }

  .ahp-promotion-icon .promotion-usp-image {
    max-width: 66px !important;
  }
}






.start-card {
  position: relative !important;
  z-index: 2 !important;
}

.start-usp {
  z-index: 1 !important;
}

.start-usp-item h2 {
  font-size: clamp(16px, 1.08vw, 18px) !important;
  line-height: 1.16 !important;
}

.start-usp-item p {
  font-size: 14px !important;
  line-height: 1.35 !important;
}


@media (min-width: 1700px) and (min-height: 830px) {
  .start-content-layout {
    position: relative !important;
    display: block !important;
  }

  .start-usp {
    top: 12px !important;
    height: calc(100% - 24px) !important;
    max-height: none !important;
    min-height: 0 !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 4px 0 6px !important;
  }

  .start-usp-item p {
    max-width: 210px !important;
  }
}


@media (min-width: 1360px) and (max-width: 1699px),
       (min-width: 1700px) and (max-height: 829px) {
  .start-content-layout {
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
  }

  .start-card {
    width: min(1020px, calc(100% - 340px)) !important;
    margin: 10px auto 8px !important;
    max-height: calc(100vh - var(--app-header-height) - var(--footer-height) - 10px) !important;
    padding: 16px 24px !important;
  }

  .start-copy {
    max-width: 720px !important;
  }

  .start-copy .start-title {
    max-width: 720px !important;
    margin: 0 0 4px !important;
    font-size: clamp(24px, 2.15vw, 32px) !important;
    line-height: 1 !important;
  }

  .start-copy .start-subtitle {
    margin: 0 0 10px !important;
    font-size: clamp(22px, 2.35vw, 30px) !important;
    line-height: 1.03 !important;
  }

  .chooser-block {
    margin-top: 12px !important;
  }

  .chooser-block > h2 {
    margin-bottom: 8px !important;
    font-size: clamp(18px, 1.45vw, 22px) !important;
  }

  .choice-grid {
    gap: 10px !important;
  }

  .choice-card {
    min-height: 58px !important;
    padding: 8px 12px !important;
    border-radius: 16px !important;
  }

  .swatch {
    width: 34px !important;
    height: 34px !important;
    border-radius: 11px !important;
  }

  .color-brush-swatch,
  .color-brush-swatch img {
    width: 52px !important;
    height: 18px !important;
  }

  .choice-label {
    font-size: 15px !important;
    line-height: 1.18 !important;
  }

  .choice-desc {
    margin-top: 2px !important;
    font-size: 13px !important;
    line-height: 1.28 !important;
  }

  .wall-inputs {
    gap: 10px !important;
  }

  .wall-input span {
    font-size: 14px !important;
  }

  .wall-input input,
  .search-input {
    height: 40px !important;
  }

  .start-actions {
    margin-top: 12px !important;
  }

  .btn {
    min-height: 44px !important;
    padding: 10px 18px !important;
  }

  .start-usp {
    position: absolute !important;
    top: 10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(1420px, calc(100% - 24px)) !important;
    height: calc(100% - 20px) !important;
    min-height: 0 !important;
    max-height: none !important;
    display: grid !important;
    grid-template-columns: clamp(140px, 10.5vw, 172px) minmax(0, 1fr) clamp(140px, 10.5vw, 172px) !important;
    grid-template-rows: repeat(2, min-content) !important;
    column-gap: clamp(18px, 1.6vw, 28px) !important;
    row-gap: clamp(10px, 1.8vh, 20px) !important;
    align-content: space-between !important;
    align-items: start !important;
    justify-items: center !important;
    margin: 0 !important;
    padding: 4px 0 !important;
    pointer-events: none !important;
  }

  .start-usp-item {
    width: 100% !important;
    max-width: 172px !important;
    text-align: center !important;
    pointer-events: auto !important;
  }

  .start-usp-item p {
    max-width: 168px !important;
  }

  .start-usp-icon,
  .start-usp-icon-shipping,
  .start-usp-icon-warranty {
    height: 48px !important;
    max-height: 48px !important;
    max-width: 76px !important;
    margin: 0 auto 6px !important;
  }

  .start-usp-icon-shipping {
    height: 42px !important;
    max-height: 42px !important;
    max-width: 88px !important;
  }

  .start-usp-icon-warranty {
    height: 52px !important;
    max-height: 52px !important;
    max-width: 64px !important;
  }
}


@media (min-width: 1100px) and (max-height: 820px) {
  .start-card {
    margin-top: 8px !important;
    margin-bottom: 6px !important;
    padding: 14px 22px !important;
  }

  .start-copy .start-title {
    margin-bottom: 2px !important;
    font-size: clamp(22px, 2vw, 30px) !important;
  }

  .start-copy .start-subtitle {
    margin-bottom: 8px !important;
    font-size: clamp(20px, 2.2vw, 28px) !important;
  }

  .chooser-block {
    margin-top: 10px !important;
  }

  .chooser-block > h2 {
    margin-bottom: 6px !important;
    font-size: 18px !important;
  }

  .choice-grid {
    gap: 8px !important;
  }

  .choice-card {
    min-height: 54px !important;
    padding: 7px 11px !important;
  }

  .swatch {
    width: 32px !important;
    height: 32px !important;
  }

  .color-brush-swatch,
  .color-brush-swatch img {
    width: 48px !important;
    height: 16px !important;
  }

  .choice-label {
    font-size: 14px !important;
  }

  .choice-desc {
    font-size: 12px !important;
    line-height: 1.25 !important;
  }

  .wall-input input,
  .search-input {
    height: 38px !important;
  }

  .start-actions {
    margin-top: 10px !important;
  }

  .btn {
    min-height: 42px !important;
    padding: 9px 16px !important;
  }
}


@media (max-width: 1359px) {
  .start-usp-item h2 {
    font-size: 16px !important;
  }

  .start-usp-item p {
    font-size: 14px !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 720px) {
  .start-usp-item p {
    font-size: 14px !important;
  }
}







@media (min-width: 1700px) and (min-height: 830px) {
  .start-content-layout {
    position: relative !important;
  }

  .start-usp {
    top: 50% !important;
    transform: translateY(-50%) !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    justify-content: flex-start !important;
    gap: 22px !important;
    padding: 0 !important;
  }

  .start-usp-item {
    max-width: 228px !important;
  }

  .start-usp-item p {
    max-width: 205px !important;
  }
}


@media (min-width: 1360px) and (max-width: 1699px),
       (min-width: 1700px) and (max-height: 829px) {
  .start-content-layout {
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
  }

  .start-usp {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: min(1420px, calc(100% - 24px)) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: grid !important;
    grid-template-columns: clamp(150px, 10.7vw, 178px) minmax(0, 1fr) clamp(150px, 10.7vw, 178px) !important;
    grid-template-rows: repeat(2, auto) !important;
    column-gap: clamp(18px, 1.5vw, 26px) !important;
    row-gap: 18px !important;
    align-content: center !important;
    align-items: start !important;
    justify-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
  }

  .start-usp-item {
    width: 100% !important;
    max-width: 178px !important;
    text-align: center !important;
    pointer-events: auto !important;
  }

  .start-usp-item:nth-child(1) {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .start-usp-item:nth-child(2) {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  .start-usp-item:nth-child(3) {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  .start-usp-item:nth-child(4) {
    grid-column: 3 !important;
    grid-row: 2 !important;
  }

  .start-usp-item p {
    max-width: 172px !important;
  }
}







@media (min-width: 1700px) and (min-height: 830px) {
  .start-content-layout {
    position: relative !important;
  }

  .start-usp {
    top: 14px !important;
    height: calc(100% - 28px) !important;
    bottom: auto !important;
    transform: none !important;
    justify-content: center !important;
    gap: 18px !important;
    padding: 0 !important;
  }

  .start-usp-item {
    max-width: 228px !important;
  }

  .start-usp-item p {
    max-width: 205px !important;
  }
}




@media (min-width: 1360px) and (max-width: 1699px),
       (min-width: 1700px) and (max-height: 829px) {
  .start-content-layout {
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
  }

  .start-usp {
    position: absolute !important;
    top: 10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(1420px, calc(100% - 24px)) !important;
    height: calc(100% - 20px) !important;
    min-height: 0 !important;
    max-height: none !important;
    display: grid !important;
    grid-template-columns: clamp(150px, 10.7vw, 178px) minmax(0, 1fr) clamp(150px, 10.7vw, 178px) !important;
    grid-template-rows: repeat(2, auto) !important;
    column-gap: clamp(18px, 1.5vw, 26px) !important;
    row-gap: 18px !important;
    align-content: center !important;
    align-items: start !important;
    justify-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
  }

  .start-usp-item {
    width: 100% !important;
    max-width: 178px !important;
    text-align: center !important;
    pointer-events: auto !important;
  }

  .start-usp-item:nth-child(1) {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .start-usp-item:nth-child(2) {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  .start-usp-item:nth-child(3) {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  .start-usp-item:nth-child(4) {
    grid-column: 3 !important;
    grid-row: 2 !important;
  }

  .start-usp-item p {
    max-width: 172px !important;
  }
}







@media (min-width: 1700px) and (min-height: 830px) {
  .start-content-layout {
    position: relative !important;
  }

  .start-usp {
    top: 24px !important;
    bottom: 24px !important;
    height: auto !important;
    min-height: 0 !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 0 !important;
  }

  .start-usp-item {
    max-width: 228px !important;
    margin: 0 !important;
  }

  .start-usp-item p {
    max-width: 205px !important;
  }
}


@media (min-width: 1360px) and (max-width: 1699px),
       (min-width: 1700px) and (max-height: 829px) {
  .start-content-layout {
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
  }

  .start-usp {
    position: absolute !important;
    top: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(1420px, calc(100% - 24px)) !important;
    height: calc(100% - 48px) !important;
    min-height: 0 !important;
    max-height: none !important;
    display: grid !important;
    grid-template-columns: clamp(150px, 10.7vw, 178px) minmax(0, 1fr) clamp(150px, 10.7vw, 178px) !important;
    grid-template-rows: repeat(2, auto) !important;
    column-gap: clamp(18px, 1.5vw, 26px) !important;
    row-gap: 18px !important;
    align-content: center !important;
    align-items: start !important;
    justify-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
  }

  .start-usp-item {
    width: 100% !important;
    max-width: 178px !important;
    text-align: center !important;
    pointer-events: auto !important;
    margin: 0 !important;
  }

  .start-usp-item:nth-child(1) { grid-column: 1 !important; grid-row: 1 !important; }
  .start-usp-item:nth-child(2) { grid-column: 3 !important; grid-row: 1 !important; }
  .start-usp-item:nth-child(3) { grid-column: 1 !important; grid-row: 2 !important; }
  .start-usp-item:nth-child(4) { grid-column: 3 !important; grid-row: 2 !important; }

  .start-usp-item p {
    max-width: 172px !important;
  }
}








@media (min-width: 1700px) {
  .start-content-layout {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(190px, 250px) minmax(960px, 1140px) !important;
    column-gap: clamp(26px, 2vw, 38px) !important;
    justify-content: center !important;
    align-items: stretch !important;
    width: min(1540px, calc(100% - 40px)) !important;
    margin: 0 auto !important;
    overflow: visible !important;
  }

  .start-card {
    grid-column: 2 !important;
    margin: 24px 0 !important;
    max-width: none !important;
    width: 100% !important;
  }

  .start-usp {
    position: static !important;
    grid-column: 1 !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 24px 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 22px !important;
    align-self: stretch !important;
    transform: none !important;
  }

  .start-usp-item {
    width: 100% !important;
    max-width: 236px !important;
    margin: 0 !important;
  }

  .start-usp-item p {
    max-width: 210px !important;
  }
}


@media (min-width: 1360px) and (max-width: 1699px),
       (min-width: 1700px) and (max-height: 829px) {
  .start-content-layout {
    position: relative !important;
    display: block !important;
    width: min(100%, 100%) !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .start-usp {
    top: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(1420px, calc(100% - 24px)) !important;
    height: calc(100% - 48px) !important;
    display: grid !important;
    grid-template-columns: clamp(150px, 10.7vw, 178px) minmax(0, 1fr) clamp(150px, 10.7vw, 178px) !important;
    grid-template-rows: repeat(2, auto) !important;
    column-gap: clamp(18px, 1.5vw, 26px) !important;
    row-gap: 18px !important;
    align-content: center !important;
    align-items: start !important;
    justify-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}







@media (min-width: 1700px) and (min-height: 830px) {
  .start-content-layout {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(960px, 1060px) minmax(0, 1fr) !important;
    column-gap: 0 !important;
    justify-content: stretch !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  .start-card {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: 1060px !important;
    margin: 24px 0 !important;
    justify-self: center !important;
  }

  .start-usp {
    position: static !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: stretch !important;
    width: min(250px, calc(100% - 28px)) !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 24px 28px 24px 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 22px !important;
    transform: none !important;
  }

  .start-usp-item {
    width: 100% !important;
    max-width: 236px !important;
    margin: 0 !important;
  }

  .start-usp-item p {
    max-width: 210px !important;
  }
}






.start-copy {
  max-width: none !important;
}

.start-copy .start-title {
  max-width: none !important;
  color: #17191d !important;
  font-size: clamp(25px, 2.05vw, 34px) !important;
  line-height: 1.04 !important;
  white-space: nowrap !important;
}

.start-title-brand {
  color: var(--red) !important;
}

.start-title-rest {
  color: #17191d !important;
}

.start-card .choice-card {
  position: relative !important;
}

.start-card .choice-card.active,
.start-card .choice-card.active:hover,
.start-card .choice-card.active:focus-visible {
  border-color: #1b9b4b !important;
  box-shadow: 0 0 0 4px rgba(27, 155, 75, .14) !important;
}

.start-card .choice-card.active {
  padding-right: 44px !important;
}

.start-card .choice-card.active::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #1b9b4b;
  box-shadow: 0 2px 7px rgba(22, 112, 56, .28);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.start-card .wall-input {
  position: relative !important;
}

.start-card .wall-input.is-valid input,
.start-card .wall-input input.is-valid {
  padding-right: 42px !important;
  border-color: #1b9b4b !important;
  box-shadow: 0 0 0 4px rgba(27, 155, 75, .14) !important;
}

.start-card .wall-input.is-valid::after {
  content: "✓";
  position: absolute;
  top: 30px;
  right: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #1b9b4b;
  box-shadow: 0 2px 7px rgba(22, 112, 56, .26);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

@media (max-width: 820px) {
  .start-copy .start-title {
    white-space: normal !important;
  }
}






.wall-input-label-line {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  gap: 6px;
  overflow: visible;
}

.wall-input-label-line > span:first-child {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.wall-range-help {
  position: relative;
  z-index: 20;
  display: inline-grid !important;
  place-items: center;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  padding: 0;
  border: 1px solid #aeb6c1;
  border-radius: 50%;
  background: #fff;
  color: #4f5864 !important;
  font: 800 11px/1 Arial, sans-serif !important;
  cursor: help;
  user-select: none;
  outline: none;
}

.wall-range-help:hover,
.wall-range-help:focus-visible,
.wall-range-help:focus {
  border-color: var(--red);
  color: var(--red) !important;
  box-shadow: 0 0 0 3px rgba(193, 16, 21, .10);
}

.wall-range-help::before,
.wall-range-help::after {
  position: absolute;
  right: -8px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
}

.wall-range-help::before {
  content: "";
  bottom: calc(100% + 6px);
  width: 9px;
  height: 9px;
  border-right: 1px solid #d7dde4;
  border-bottom: 1px solid #d7dde4;
  background: #fff;
  transform: translate(-14px, 4px) rotate(45deg);
}

.wall-range-help::after {
  content: attr(data-tooltip);
  bottom: calc(100% + 10px);
  width: min(300px, calc(100vw - 36px));
  padding: 9px 11px;
  border: 1px solid #d7dde4;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(20, 24, 32, .18);
  color: #1d232b !important;
  font: 700 12px/1.38 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  text-align: left;
  white-space: normal;
  transform: translateY(4px);
}

.wall-range-help:hover::before,
.wall-range-help:hover::after,
.wall-range-help:focus::before,
.wall-range-help:focus::after,
.wall-range-help:focus-visible::before,
.wall-range-help:focus-visible::after {
  opacity: 1;
  visibility: visible;
}

.wall-range-help:hover::before,
.wall-range-help:focus::before,
.wall-range-help:focus-visible::before,
.wall-range-help:hover::after,
.wall-range-help:focus::after,
.wall-range-help:focus-visible::after {
  transform: translateY(0);
}

.setup-modal-input .wall-input-label-line {
  display: inline-flex !important;
  margin-bottom: 0;
}

.setup-modal-input .wall-range-help::after {
  width: min(310px, calc(100vw - 44px));
}

@media (max-width: 620px) {
  .wall-input-label-line {
    gap: 5px;
  }

  .wall-range-help {
    flex-basis: 18px;
    width: 18px;
    height: 18px;
    font-size: 12px !important;
  }

  .wall-range-help::after {
    right: -12px;
    width: min(270px, calc(100vw - 28px));
    font-size: 11.5px !important;
  }
}








#cornerConfigOverlay.setup-param-overlay {
  padding: 8px 10px !important;
}

.corner-config-modal {
  width: min(940px, calc(100vw - 20px)) !important;
  max-height: calc(100dvh - 16px) !important;
  padding: 13px 14px 12px !important;
  border-radius: 12px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.corner-config-modal h3 {
  margin: 0 40px 9px 0 !important;
  font-size: 21px !important;
  line-height: 1.12 !important;
}

.corner-config-content {
  min-height: 0 !important;
}

.corner-modal-grid.corner-modal-grid-compact {
  display: grid !important;
  grid-template-columns: 220px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 14px !important;
}

.corner-modal-preview {
  display: block !important;
  min-width: 0 !important;
}

.corner-config-modal .corner-preview-box {
  width: 100% !important;
  height: 310px !important;
  max-height: none !important;
  padding: 0 !important;
  border-radius: 8px !important;
}

.corner-config-modal .corner-preview-canvas-wrap {
  width: 125.28px !important;
  height: 306.24px !important;
}

.corner-config-modal .corner-preview-canvas-scene {
  transform: translateX(-50%) scale(.58) !important;
  transform-origin: top center !important;
}

.corner-config-modal .corner-preview-canvas-stage[data-corner-depth="615"] .corner-preview-canvas-wrap {
  width: 147.32px !important;
}

.compact-corner-options {
  display: grid !important;
  gap: 8px !important;
  align-content: start !important;
  min-width: 0 !important;
}

.corner-option-group {
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
}

.corner-option-group h4 {
  margin: 0 0 4px !important;
  font-size: 14px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
}

.corner-option-row {
  display: grid !important;
  gap: 6px !important;
  min-width: 0 !important;
}

.corner-option-row.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.corner-option-row.three-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.compact-corner-options .setup-modal-option {
  position: relative !important;
  min-width: 0 !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 6px 28px 6px 8px !important;
  gap: 7px !important;
  align-items: center !important;
  border: 1px solid #d8dee7 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease, transform .16s ease !important;
}

.compact-corner-options .setup-modal-option:hover {
  border-color: #9ba6b4 !important;
  background: #fbfcfd !important;
}

.compact-corner-options .setup-modal-option input[type="radio"] {
  flex: 0 0 auto !important;
  margin: 0 !important;
  accent-color: #20a34a !important;
}

.compact-corner-options .setup-modal-option > span {
  min-width: 0 !important;
}

.compact-corner-options .setup-modal-option strong {
  display: block !important;
  overflow: hidden !important;
  font-size: 14px !important;
  line-height: 1.12 !important;
  text-overflow: ellipsis !important;
}

.compact-corner-options .setup-modal-option small {
  display: block !important;
  margin-top: 1px !important;
  overflow: hidden !important;
  color: #6b7685 !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}


.corner-config-modal .setup-modal-option.active,
.corner-config-modal .setup-modal-option:has(input:checked) {
  border-color: #20a34a !important;
  background: #f6fff8 !important;
  box-shadow: 0 0 0 2px rgba(32,163,74,.14) !important;
}

.corner-config-modal .setup-modal-option.active::after,
.corner-config-modal .setup-modal-option:has(input:checked)::after {
  content: "✓" !important;
  position: absolute !important;
  top: 5px !important;
  right: 5px !important;
  width: 18px !important;
  height: 18px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid #16873b !important;
  border-radius: 999px !important;
  background: #20a34a !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  box-shadow: 0 1px 3px rgba(22,135,59,.24) !important;
}

.corner-color-option-body {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
}

.corner-color-option .color-brush-swatch,
.corner-color-option .color-brush-swatch img {
  width: 46px !important;
  height: 16px !important;
  min-width: 46px !important;
  border-radius: 4px !important;
  object-fit: cover !important;
}

.corner-config-modal .setup-param-actions {
  position: static !important;
  margin-top: 9px !important;
  padding: 0 !important;
  gap: 8px !important;
  background: transparent !important;
}

.corner-config-modal .setup-param-actions .btn {
  min-height: 40px !important;
  padding: 8px 16px !important;
}


#cornerConfigCancel {
  transition: color .16s ease, border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease !important;
}

#cornerConfigCancel:hover,
#cornerConfigCancel:focus-visible {
  color: var(--red) !important;
  border-color: var(--red) !important;
  background: #fff5f5 !important;
  box-shadow: 0 6px 14px rgba(182,35,40,.12) !important;
  transform: translateY(-1px) !important;
}


.stage-dimension-total.stage-dimension-top {
  top: -18px !important;
  bottom: auto !important;
  height: 18px !important;
}

.stage-dimension-total.stage-dimension-top .stage-dimension-line {
  top: 11px !important;
}

.stage-dimension-total.stage-dimension-top .stage-dimension-label {
  top: 1px !important;
}

.stage-dimension-total.stage-dimension-top .stage-dimension-current-marker {
  top: 4px !important;
  height: 14px !important;
}


.workspace-toolbar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content !important;
  align-items: center !important;
  column-gap: 10px !important;
}

.toolbar-main-controls {
  grid-column: 1 !important;
  justify-self: start !important;
}

.toolbar-minimap.stage-minimap {
  grid-column: 2 !important;
  justify-self: end !important;
  margin-left: 0 !important;
}


.catalog-panel > .editor-promo-bar {
  margin-bottom: 3px !important;
}

.catalog-head {
  min-height: 0 !important;
  margin: 0 0 3px !important;
  padding: 0 !important;
  align-items: center !important;
}

.catalog-head h2 {
  margin: 0 !important;
  line-height: 1.05 !important;
}

.corner-insert-panel {
  margin: 3px 0 7px !important;
  padding: 7px 8px !important;
  border-radius: 11px !important;
  box-shadow: 0 4px 12px rgba(15,23,42,.04) !important;
}

.corner-insert-head {
  display: grid !important;
  grid-template-columns: max-content minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 8px !important;
}

.corner-insert-title {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}

.corner-insert-buttons {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 5px !important;
}

.corner-insert-btn {
  min-height: 32px !important;
  padding: 5px 6px !important;
  border-radius: 8px !important;
  text-align: center !important;
}

.corner-insert-btn strong {
  display: block !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
}

@media (max-width: 900px) {
  .corner-config-modal {
    width: calc(100vw - 16px) !important;
  }

  .corner-modal-grid.corner-modal-grid-compact {
    grid-template-columns: 190px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .corner-config-modal .corner-preview-box {
    height: 280px !important;
  }

  .corner-config-modal .corner-preview-canvas-wrap {
    width: 112.32px !important;
    height: 274.56px !important;
  }

  .corner-config-modal .corner-preview-canvas-scene {
    transform: translateX(-50%) scale(.52) !important;
  }

  .corner-config-modal .corner-preview-canvas-stage[data-corner-depth="615"] .corner-preview-canvas-wrap {
    width: 132.08px !important;
  }

  .stage-dimension-total.stage-dimension-top {
    top: -14px !important;
  }
}

@media (max-width: 700px) {
  .corner-modal-grid.corner-modal-grid-compact {
    grid-template-columns: 1fr !important;
  }

  .corner-modal-preview {
    display: grid !important;
    justify-items: center !important;
  }

  .corner-config-modal .corner-preview-box {
    width: min(100%, 220px) !important;
    height: 205px !important;
  }

  .corner-config-modal .corner-preview-canvas-wrap {
    width: 82.08px !important;
    height: 200.64px !important;
  }

  .corner-config-modal .corner-preview-canvas-scene {
    transform: translateX(-50%) scale(.38) !important;
  }

  .corner-config-modal .corner-preview-canvas-stage[data-corner-depth="615"] .corner-preview-canvas-wrap {
    width: 96.52px !important;
  }

  .workspace-toolbar {
    display: flex !important;
    overflow-x: auto !important;
  }

  .toolbar-minimap.stage-minimap {
    margin-left: auto !important;
  }
}

@media (max-width: 520px) {
  .corner-config-modal {
    padding: 10px !important;
  }

  .corner-option-row.three-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .corner-color-row .corner-color-option:last-child {
    grid-column: 1 / -1 !important;
  }

  .compact-corner-options .setup-modal-option {
    min-height: 42px !important;
  }
}













.canvas-item.corner-module-base:not(.corner-base-depth-615) > img,
.corner-module-part[data-item-id="corner-base"]:not(.corner-base-depth-615) > img,
.corner-preview-canvas-item.corner-module-base:not(.corner-base-depth-615) > img {
  min-height: auto !important;
}









.promo-discount-track-fill-first,
.promo-discount-track-fill-next {
  right: auto !important;
  max-width: none !important;
}
.promo-discount-track-fill-first:not(.is-complete),
.editor-promo-bar.is-earned .promo-discount-track-fill-first:not(.is-complete),
.summary-promotion--discount.is-earned .promo-discount-track-fill-first:not(.is-complete) {
  background: #209b42 !important;
}
.promo-discount-track-fill-first.is-complete,
.editor-promo-bar.is-earned .promo-discount-track-fill-first.is-complete,
.summary-promotion--discount.is-earned .promo-discount-track-fill-first.is-complete {
  background: #209b42 !important;
}
.promo-discount-track-fill-next:not(.is-complete),
.editor-promo-bar.is-earned .promo-discount-track-fill-next:not(.is-complete),
.summary-promotion--discount.is-earned .promo-discount-track-fill-next:not(.is-complete) {
  background: #c11015 !important;
}
.promo-discount-track-fill-next.is-complete,
.editor-promo-bar.is-earned .promo-discount-track-fill-next.is-complete,
.summary-promotion--discount.is-earned .promo-discount-track-fill-next.is-complete {
  background: #209b42 !important;
}



.header-summary-wrap .top-summary-dropdown,
.top-summary-dropdown {
  width: min(780px, calc(100vw - 24px)) !important;
  height: min(680px, calc(100dvh - 96px)) !important;
  max-height: min(680px, calc(100dvh - 96px)) !important;
  min-height: min(520px, calc(100dvh - 96px)) !important;
  padding: 12px !important;
  overflow: hidden !important;
}
.header-summary-wrap .top-summary-dropdown:not(.hidden),
.top-summary-dropdown:not(.hidden) {
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto minmax(0, 2fr) minmax(0, 1fr) !important;
  align-content: stretch !important;
}

.summary-promotions {
  min-height: 0 !important;
  height: auto !important;
  display: grid !important;
  grid-template-rows: repeat(4, minmax(0, 1fr)) !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 0 0 7px !important;
  overflow: hidden !important;
}
.summary-promotion,
.summary-promotion.is-earned {
  min-height: 0 !important;
  height: auto !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 5px 8px !important;
  padding: 3px 7px !important;
  border-radius: 8px !important;
}
.summary-promotion-icon,
.summary-promotion.is-earned .summary-promotion-icon {
  width: 40px !important;
  height: 27px !important;
}
.summary-promotion-icon .promotion-usp-image {
  height: 23px !important;
  max-height: 23px !important;
  max-width: 40px !important;
}
.summary-promotion-body {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: 155px minmax(0, 1fr) !important;
  grid-template-rows: auto 4px !important;
  align-items: center !important;
  gap: 2px 9px !important;
}
.summary-promotion-body strong {
  grid-column: 1 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  font-size: 13px !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.summary-promotion-body > span:not(.promo-progress):not(.promo-discount-track) {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.summary-promotion-body .promo-progress,
.summary-promotion-body .promo-discount-track {
  grid-column: 2 !important;
  grid-row: 2 !important;
  width: 100% !important;
  height: 4px !important;
  min-height: 4px !important;
  margin: 0 !important;
}
.summary-promotion-body .promo-discount-track-label,
.summary-promotion-body .promo-discount-check {
  transform: scale(.78) !important;
  transform-origin: center !important;
}

.top-summary-cart-head {
  padding: 4px 0 5px !important;
  font-size: 12px !important;
  line-height: 1.05 !important;
}
.top-summary-cart-scroll {
  min-height: 0 !important;
  margin: 0 -2px 0 0 !important;
  padding: 0 5px 0 0 !important;
}
.top-summary-cart-row {
  padding: 6px 0 !important;
}
.top-summary-cart-media {
  width: 50px !important;
  height: 40px !important;
}
.top-summary-cart-main strong,
.top-summary-cart-main small,
.top-summary-cart-qty,
.top-summary-cart-price strong,
.top-summary-cart-price small {
  font-size: 12px !important;
  line-height: 1.15 !important;
}
.top-summary-cart-footer {
  min-height: 0 !important;
  margin: 0 -12px -12px !important;
  padding: 5px 12px 10px !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-content: center !important;
  column-gap: 18px !important;
  overflow: hidden !important;
}
.top-summary-cart-footer .top-summary-cart-total {
  min-width: 0 !important;
  padding: 3px 0 !important;
  font-size: 13px !important;
  line-height: 1.05 !important;
}
.top-summary-cart-footer .top-summary-cart-total span,
.top-summary-cart-footer .top-summary-cart-total strong {
  min-width: 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
  white-space: nowrap !important;
}
.top-summary-cart-footer .top-summary-cart-total.final {
  grid-column: 1 / -1 !important;
  margin-top: 2px !important;
  padding-top: 5px !important;
}
.top-summary-cart-footer .top-summary-cart-total.final span,
.top-summary-cart-footer .top-summary-cart-total.final strong {
  font-size: 18px !important;
}
.top-summary-cart-footer .top-summary-cart-cta {
  grid-column: 1 / -1 !important;
  min-height: 34px !important;
  margin-top: 5px !important;
  padding: 8px 12px !important;
  border-radius: 9px !important;
  font-size: 13px !important;
}


.stage-dimension-total.stage-dimension-top {
  top: -22px !important;
}
.stage-dimension-total.stage-dimension-top .stage-dimension-line {
  top: 9px !important;
}
.stage-dimension-total.stage-dimension-top .stage-dimension-label {
  top: -1px !important;
}
.stage-dimension-total.stage-dimension-top .stage-dimension-current-marker {
  top: 2px !important;
}


#helpOverlay.setup-param-overlay,
.help-overlay.setup-param-overlay {
  place-items: center !important;
  padding: 16px !important;
}
#helpOverlay .help-modal {
  max-height: calc(100dvh - 32px) !important;
  margin: 0 !important;
}


.stage-viewport.is-wheel-panning,
.stage-viewport.is-wheel-panning * {
  cursor: ew-resize !important;
}
.toolbar-minimap .minimap-track {
  cursor: ew-resize !important;
  touch-action: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}
.toolbar-minimap .minimap-track.is-dragging,
.toolbar-minimap .minimap-track.is-dragging * {
  cursor: grabbing !important;
}



@media (max-width: 700px) {
  html,
  body,
  .app {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  .editor-screen {
    height: calc(100dvh - var(--footer-height)) !important;
    min-height: 0 !important;
  }

  .editor-shell {
    flex: 1 1 auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) clamp(218px, 31dvh, 250px) !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
  }

  .workspace-panel,
  .catalog-panel {
    min-height: 0 !important;
    height: auto !important;
    flex: none !important;
  }

  .workspace-panel {
    width: 100% !important;
    overflow: hidden !important;
  }

  .workspace-toolbar {
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 86px !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 4px 5px !important;
    overflow: hidden !important;
    touch-action: none !important;
  }

  .toolbar-main-controls {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    overflow: hidden !important;
  }

  .toolbar-main-controls .toolbar-group,
  .zoom-toolbar-group,
  .history-toolbar-group,
  .layout-toolbar-group,
  .dimension-toolbar-group,
  .floorplan-toolbar-group {
    min-width: 0 !important;
    flex: 0 0 auto !important;
  }

  .zoom-toolbar-group,
  .history-toolbar-group,
  .layout-toolbar-group {
    height: 30px !important;
    border-radius: 8px !important;
  }

  .zoom-toolbar-group .zoom-icon-btn {
    width: 24px !important;
    min-width: 24px !important;
    height: 28px !important;
  }
  .zoom-toolbar-group .zoom-icon-btn img {
    width: 15px !important;
    height: 15px !important;
  }
  .zoom-value-btn,
  .zoom-toolbar-group #zoomLabel {
    width: 36px !important;
    min-width: 36px !important;
    height: 28px !important;
    padding: 0 2px !important;
    font-size: 11px !important;
  }

  .history-toolbar-group .toolbar-history-btn,
  .history-toolbar-group .toolbar-history-btn img {
    width: 25px !important;
    min-width: 25px !important;
    height: 28px !important;
  }
  .history-toolbar-group .toolbar-history-btn img {
    width: 21px !important;
    height: 21px !important;
  }

  .layout-toolbar-group .toolbar-layout-btn,
  .dimension-toolbar-group .toolbar-layout-btn {
    width: 25px !important;
    min-width: 25px !important;
    height: 28px !important;
    padding: 3px !important;
    border-radius: 7px !important;
  }
  .layout-toolbar-group .toolbar-layout-btn svg,
  .dimension-toolbar-group .toolbar-layout-btn svg {
    width: 18px !important;
    height: 18px !important;
  }

  .floorplan-toolbar-button {
    width: 27px !important;
    min-width: 27px !important;
    height: 28px !important;
    padding: 3px !important;
    border-radius: 7px !important;
  }
  .floorplan-toolbar-button span {
    display: none !important;
  }
  .floorplan-toolbar-button img {
    width: 19px !important;
    height: 19px !important;
    margin: 0 !important;
  }

  .toolbar-minimap.stage-minimap {
    grid-column: 2 !important;
    width: 86px !important;
    min-width: 86px !important;
    max-width: 86px !important;
    height: 30px !important;
    display: grid !important;
    grid-template-columns: 23px minmax(0, 1fr) 23px !important;
    align-items: center !important;
    gap: 2px !important;
    margin: 0 !important;
    overflow: hidden !important;
  }
  .toolbar-minimap .minimap-arrow {
    width: 23px !important;
    min-width: 23px !important;
    height: 28px !important;
    border-radius: 7px !important;
  }
  .toolbar-minimap .minimap-arrow img {
    width: 16px !important;
    height: 16px !important;
  }
  .toolbar-minimap .minimap-track {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 22px !important;
  }

  .stage-viewport {
    min-height: 0 !important;
    padding: 18px 6px 8px 32px !important;
    overflow: auto !important;
    touch-action: pan-x pan-y !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
  }

  .stage-dimension-total.stage-dimension-top {
    top: -18px !important;
  }

  .catalog-panel {
    padding: 4px 6px 5px !important;
    border-top: 1px solid var(--line) !important;
    overflow: hidden !important;
  }

  .catalog-panel > .editor-promo-bar {
    min-height: 36px !important;
    height: 36px !important;
    margin: 0 0 3px !important;
    padding: 3px 6px !important;
    grid-template-columns: 24px minmax(0, 1fr) !important;
    gap: 5px !important;
    border-radius: 8px !important;
  }
  .catalog-panel > .editor-promo-bar .editor-promo-icon {
    width: 23px !important;
    height: 23px !important;
  }
  .catalog-panel > .editor-promo-bar .promotion-usp-image {
    height: 20px !important;
    max-width: 23px !important;
  }
  .catalog-panel > .editor-promo-bar .editor-promo-body {
    gap: 2px !important;
  }
  .catalog-panel > .editor-promo-bar .editor-promo-copy {
    font-size: 10.5px !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .catalog-panel > .editor-promo-bar .promo-discount-track {
    height: 5px !important;
  }

  .corner-insert-panel {
    min-height: 34px !important;
    margin: 0 0 3px !important;
    padding: 3px 5px !important;
  }
  .corner-insert-title,
  .corner-insert-btn strong {
    font-size: 11px !important;
  }
  .corner-insert-btn {
    min-height: 26px !important;
    padding: 2px 4px !important;
  }

  .category-tabs {
    min-height: 38px !important;
    height: 38px !important;
    margin: 0 0 3px !important;
    padding: 2px 1px 3px !important;
    gap: 5px !important;
  }
  .category-icon-tab {
    flex-basis: 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 32px !important;
    border-radius: 8px !important;
  }
  .category-icon-tab img {
    max-width: 30px !important;
    max-height: 27px !important;
  }

  #productList.product-list {
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    flex: 1 1 auto !important;
    gap: 7px !important;
    padding: 1px 2px 3px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }

  #productList .product-card,
  #productList .product-card-ref {
    --pc-img-w: 58px !important;
    flex: 0 0 188px !important;
    width: 188px !important;
    min-width: 188px !important;
    max-width: 188px !important;
    min-height: 108px !important;
    height: 108px !important;
    grid-template-columns: 58px minmax(0, 1fr) !important;
    grid-template-rows: 60px 1px 30px !important;
    padding: 6px 7px 7px !important;
    gap: 4px 7px !important;
    border-radius: 11px !important;
  }
  #productList .product-media,
  #productList .product-main {
    height: 60px !important;
  }
  #productList .product-thumb {
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    padding: 2px !important;
  }
  #productList .product-main {
    gap: 2px !important;
    padding-top: 0 !important;
  }
  #productList .product-title {
    max-height: 30px !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
    -webkit-line-clamp: 2 !important;
  }
  #productList .product-code,
  #productList .stock-line {
    font-size: 10px !important;
    line-height: 1.05 !important;
  }
  #productList .product-bottom {
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    column-gap: 3px !important;
  }
  #productList .price-sale {
    font-size: 11px !important;
  }
  #productList .price-old {
    font-size: 9px !important;
  }
  #productList .product-controls {
    grid-template-columns: 18px 25px 18px !important;
    width: 61px !important;
    min-width: 61px !important;
    max-width: 61px !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    border-radius: 8px !important;
  }
  #productList .product-sub,
  #productList .product-add,
  #productList .product-count,
  #productList .product-count-input {
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    line-height: 24px !important;
    font-size: 11px !important;
  }

  #helpOverlay.setup-param-overlay {
    padding: 10px !important;
  }

  .header-summary-wrap .top-summary-dropdown,
  .top-summary-dropdown {
    width: calc(100vw - 12px) !important;
    height: min(690px, calc(100dvh - 76px)) !important;
    max-height: calc(100dvh - 76px) !important;
    min-height: min(500px, calc(100dvh - 76px)) !important;
    padding: 8px !important;
  }
  .summary-promotion,
  .summary-promotion.is-earned {
    grid-template-columns: 35px minmax(0, 1fr) !important;
    padding: 2px 5px !important;
  }
  .summary-promotion-icon,
  .summary-promotion.is-earned .summary-promotion-icon {
    width: 33px !important;
    height: 24px !important;
  }
  .summary-promotion-icon .promotion-usp-image {
    height: 21px !important;
    max-width: 33px !important;
  }
  .summary-promotion-body {
    grid-template-columns: 125px minmax(0, 1fr) !important;
    gap: 1px 6px !important;
  }
  .summary-promotion-body strong {
    font-size: 11px !important;
  }
  .summary-promotion-body > span:not(.promo-progress):not(.promo-discount-track) {
    font-size: 10px !important;
  }
  .top-summary-cart-footer {
    margin: 0 -8px -8px !important;
    padding: 4px 8px 7px !important;
    column-gap: 10px !important;
  }
  .top-summary-cart-footer .top-summary-cart-total {
    font-size: 11px !important;
  }
  .top-summary-cart-footer .top-summary-cart-total.final span,
  .top-summary-cart-footer .top-summary-cart-total.final strong {
    font-size: 16px !important;
  }
}

@media (max-width: 390px) {
  .workspace-toolbar {
    grid-template-columns: minmax(0, 1fr) 76px !important;
  }
  .toolbar-main-controls {
    gap: 2px !important;
  }
  .zoom-value-btn,
  .zoom-toolbar-group #zoomLabel {
    width: 32px !important;
    min-width: 32px !important;
    font-size: 10px !important;
  }
  .toolbar-minimap.stage-minimap {
    width: 76px !important;
    min-width: 76px !important;
    max-width: 76px !important;
    grid-template-columns: 20px minmax(0, 1fr) 20px !important;
  }
  .toolbar-minimap .minimap-arrow {
    width: 20px !important;
    min-width: 20px !important;
  }
  .toolbar-minimap .minimap-track {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
  }
}


@media (max-width: 700px) and (max-height: 560px) {
  .editor-shell {
    grid-template-rows: minmax(0, 1fr) 148px !important;
  }
  .catalog-panel > .editor-promo-bar,
  .corner-insert-panel {
    display: none !important;
  }
  .category-tabs {
    height: 34px !important;
    min-height: 34px !important;
  }
  #productList .product-card,
  #productList .product-card-ref {
    height: 102px !important;
    min-height: 102px !important;
  }
}



.header-summary-wrap .top-summary-dropdown,
.top-summary-dropdown {
  border-radius: 18px !important;
  border: 1px solid rgba(17, 17, 17, .14) !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .16) !important;
}
.top-summary-panel-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 2px 0 10px !important;
  border-bottom: 1px solid rgba(17, 17, 17, .08) !important;
}
.top-summary-panel-copy {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}
.top-summary-panel-copy strong {
  font-size: 18px !important;
  line-height: 1.1 !important;
  color: #111 !important;
}
.top-summary-panel-copy span {
  font-size: 12px !important;
  line-height: 1.2 !important;
  color: #59606a !important;
}
.top-summary-panel-total {
  min-width: 0 !important;
  padding: 8px 12px !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, #fff5f5 0%, #fff0f1 100%) !important;
  border: 1px solid rgba(193, 16, 21, .16) !important;
  text-align: right !important;
}
.top-summary-panel-total small {
  display: block !important;
  margin: 0 0 2px !important;
  font-size: 11px !important;
  line-height: 1.1 !important;
  color: #707782 !important;
}
.top-summary-panel-total strong {
  display: block !important;
  font-size: 20px !important;
  line-height: 1 !important;
  color: #111 !important;
}
.top-summary-cart-area {
  min-height: 0 !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  padding: 8px 0 0 !important;
  border-top: 1px solid rgba(17, 17, 17, .06) !important;
}
.top-summary-cart-head {
  margin-bottom: 2px !important;
  padding-top: 2px !important;
  color: #5c626b !important;
}
.top-summary-section {
  margin-top: 10px !important;
  padding: 0 0 8px !important;
  border-radius: 12px !important;
  background: #fff !important;
  border: 1px solid rgba(17, 17, 17, .08) !important;
}
.top-summary-section:first-child {
  margin-top: 0 !important;
}
.top-summary-section-title {
  margin: 0 !important;
  padding: 9px 12px 8px !important;
  border-bottom: 1px solid rgba(17, 17, 17, .07) !important;
  font-weight: 800 !important;
  background: #fcfcfd !important;
  border-radius: 12px 12px 0 0 !important;
}
.top-summary-section-body {
  padding: 0 12px !important;
}
.top-summary-section-total {
  margin: 0 12px !important;
  padding: 8px 0 0 !important;
  border-top: 1px solid rgba(17, 17, 17, .08) !important;
}
.top-summary-cart-row {
  align-items: center !important;
  gap: 8px !important;
  border-top: 1px solid rgba(17, 17, 17, .05) !important;
}
.top-summary-section-body > .top-summary-cart-row:first-child {
  border-top: none !important;
}
.top-summary-cart-media {
  background: #f6f7f8 !important;
}
.top-summary-cart-footer {
  border-top: 1px solid rgba(17, 17, 17, .10) !important;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%) !important;
}
.top-summary-cart-footer .top-summary-cart-total {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 8px !important;
  border-bottom: 1px dashed rgba(17, 17, 17, .06) !important;
}
.top-summary-cart-footer .top-summary-cart-total:last-of-type,
.top-summary-cart-footer .top-summary-cart-total.final {
  border-bottom: none !important;
}
.top-summary-cart-footer .top-summary-cart-total.final {
  margin-top: 4px !important;
  padding-top: 8px !important;
  border-top: 1px solid rgba(17, 17, 17, .10) !important;
}
.top-summary-cart-footer .top-summary-cart-cta {
  box-shadow: 0 8px 18px rgba(193, 16, 21, .18) !important;
}


html.route-editor body .start-screen,
html.route-editor #startScreen {
  display: none !important;
}
html.route-editor body .editor-screen.hidden,
html.route-editor body #editorScreen.hidden,
html.route-editor body #editorScreen {
  display: flex !important;
}
html.route-setup body .editor-screen,
html.route-setup body #editorScreen {
  display: none !important;
}

@media (max-width: 700px) {
  .top-summary-panel-head {
    gap: 8px !important;
    padding-bottom: 8px !important;
  }
  .top-summary-panel-copy strong {
    font-size: 15px !important;
  }
  .top-summary-panel-copy span {
    font-size: 10px !important;
  }
  .top-summary-panel-total {
    padding: 6px 8px !important;
    border-radius: 10px !important;
  }
  .top-summary-panel-total small {
    font-size: 10px !important;
  }
  .top-summary-panel-total strong {
    font-size: 16px !important;
  }
  .top-summary-cart-area {
    padding-top: 6px !important;
  }
  .top-summary-section {
    margin-top: 8px !important;
    border-radius: 10px !important;
  }
  .top-summary-section-title {
    padding: 7px 9px !important;
    border-radius: 10px 10px 0 0 !important;
  }
  .top-summary-section-body {
    padding: 0 9px !important;
  }
  .top-summary-section-total {
    margin: 0 9px !important;
    padding-top: 7px !important;
  }
}



.header-summary-wrap .top-summary-dropdown:not(.hidden),
.top-summary-dropdown:not(.hidden) {
  grid-template-rows: auto auto minmax(0, 1fr) auto !important;
  gap: 0 !important;
}
.header-summary-wrap .top-summary-dropdown,
.top-summary-dropdown {
  width: min(760px, calc(100vw - 24px)) !important;
  height: min(650px, calc(100dvh - 88px)) !important;
  min-height: min(520px, calc(100dvh - 88px)) !important;
  max-height: min(650px, calc(100dvh - 88px)) !important;
  padding: 11px !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .17) !important;
}
.top-summary-panel-head {
  min-height: 52px !important;
  padding: 0 0 9px !important;
  border-bottom: 1px solid #e3e6ea !important;
}
.top-summary-panel-copy strong { font-size: 17px !important; }
.top-summary-panel-copy span { font-size: 11px !important; color: #68707a !important; }
.top-summary-panel-total {
  padding: 6px 10px !important;
  border-radius: 10px !important;
  background: #fff7f7 !important;
  border-color: #f0c7c9 !important;
}
.top-summary-panel-total strong { font-size: 18px !important; }
.summary-promotions {
  grid-template-rows: repeat(4, 36px) !important;
  gap: 4px !important;
  padding: 8px 0 !important;
  overflow: visible !important;
}
.summary-promotion,
.summary-promotion.is-earned {
  min-height: 36px !important;
  height: 36px !important;
  padding: 3px 7px !important;
  border-radius: 7px !important;
}
.summary-promotion-body { grid-template-columns: 150px minmax(0, 1fr) !important; }
.top-summary-cart-area {
  min-height: 0 !important;
  padding: 0 !important;
  border-top: 0 !important;
  overflow: hidden !important;
}
.top-summary-cart-head {
  margin: 0 !important;
  padding: 6px 0 7px !important;
  border-top: 1px solid #e3e6ea !important;
  border-bottom: 1px solid #e3e6ea !important;
  background: #fff !important;
  color: #4f5660 !important;
  font-size: 11px !important;
}
.top-summary-cart-scroll { min-height: 0 !important; padding: 6px 5px 8px 0 !important; }
.top-summary-section {
  margin: 8px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.top-summary-section:first-child { margin-top: 0 !important; }
.top-summary-section-title {
  margin: 0 !important;
  padding: 7px 9px !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: #f4f5f7 !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
}
.top-summary-section-body { padding: 0 9px !important; }
.top-summary-cart-row { padding: 6px 0 !important; border-top: 1px solid #eceef1 !important; }
.top-summary-section-body > .top-summary-cart-row:first-child { border-top: 0 !important; }
.top-summary-section-total {
  margin: 0 9px !important;
  padding: 6px 0 8px !important;
  border-top: 1px solid #dfe2e6 !important;
  font-size: 11px !important;
}
.top-summary-cart-footer {
  margin: 0 -11px -11px !important;
  padding: 7px 11px 10px !important;
  border-top: 1px solid #d5d9de !important;
  background: #fff !important;
  column-gap: 20px !important;
}
.top-summary-cart-footer .top-summary-cart-total { padding: 3px 0 !important; border: 0 !important; font-size: 12px !important; }
.top-summary-cart-footer .top-summary-cart-total.final {
  margin-top: 2px !important;
  padding-top: 6px !important;
  border-top: 1px solid #e1e4e8 !important;
}
.top-summary-cart-footer .top-summary-cart-total.final span,
.top-summary-cart-footer .top-summary-cart-total.final strong { font-size: 17px !important; }
.top-summary-cart-footer .top-summary-cart-cta {
  min-height: 36px !important;
  margin-top: 5px !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
.canvas-item.product-tsb1300,
.canvas-item.product-tsb1300 > img {
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  transform: translateZ(0) !important;
}
@media (max-width: 700px) {
  .header-summary-wrap .top-summary-dropdown,
  .top-summary-dropdown {
    width: calc(100vw - 10px) !important;
    height: calc(100dvh - 70px) !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 70px) !important;
    padding: 7px !important;
    border-radius: 12px !important;
  }
  .top-summary-panel-head { min-height: 44px !important; padding-bottom: 6px !important; }
  .top-summary-panel-copy strong { font-size: 14px !important; }
  .top-summary-panel-total strong { font-size: 15px !important; }
  .summary-promotions { grid-template-rows: repeat(4, 32px) !important; gap: 3px !important; padding: 5px 0 !important; }
  .summary-promotion,
  .summary-promotion.is-earned { min-height: 32px !important; height: 32px !important; }
  .summary-promotion-body { grid-template-columns: 118px minmax(0, 1fr) !important; }
  .top-summary-cart-head { padding: 5px 0 !important; font-size: 9px !important; }
  .top-summary-cart-footer { margin: 0 -7px -7px !important; padding: 5px 7px 7px !important; column-gap: 10px !important; }
}


#helpOverlay .help-modal {
  width: min(690px, calc(100vw - 32px)) !important;
  max-width: 690px !important;
  padding: 30px 38px 28px !important;
  color: #111 !important;
  background: #fff !important;
  border: 1px solid #dedede !important;
  border-radius: 18px !important;
  box-shadow: 0 22px 50px rgba(0,0,0,.18) !important;
}
#helpOverlay .help-modal-layout { display: block !important; }
#helpOverlay .help-modal-heading {
  display: grid !important;
  grid-template-columns: 94px minmax(0,1fr) !important;
  align-items: center !important;
  gap: 24px !important;
  position: relative !important;
  padding: 0 14px 24px 0 !important;
  margin-bottom: 22px !important;
}
#helpOverlay .help-modal-heading::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent 0%, #111 12%, #111 88%, transparent 100%) !important;
  opacity: .72 !important;
}
#helpOverlay .help-modal-figure {
  width: 94px !important;
  height: 94px !important;
  display: grid !important;
  place-items: center !important;
}
#helpOverlay .help-modal-figure img {
  width: 92px !important;
  height: auto !important;
  max-height: 94px !important;
}
#helpOverlay .help-modal-heading h3,
#helpOverlay #helpTitle {
  margin: 0 !important;
  color: #111 !important;
  font-size: 25px !important;
  line-height: 1.14 !important;
  font-weight: 900 !important;
  text-transform: none !important;
}
#helpOverlay .help-modal-copy { color: #111 !important; }
#helpOverlay .help-contact-grid {
  display: grid !important;
  grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr) !important;
  gap: 28px !important;
  margin-bottom: 20px !important;
}
#helpOverlay .help-contact-card {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: 34px minmax(0,1fr) !important;
  align-items: start !important;
  gap: 12px !important;
}
#helpOverlay .help-contact-card + .help-contact-card {
  padding-left: 28px !important;
  border-left: 1px solid #e1e1e1 !important;
}
#helpOverlay .help-contact-icon {
  width: 30px !important;
  height: 30px !important;
  display: grid !important;
  place-items: center !important;
  color: #111 !important;
}
#helpOverlay .help-contact-icon svg {
  display: block !important;
  width: 27px !important;
  height: 27px !important;
  fill: currentColor !important;
}
#helpOverlay .help-contact-label {
  display: block !important;
  margin-bottom: 4px !important;
  color: #111 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .035em !important;
}
#helpOverlay .help-contact-link,
#helpOverlay .help-contact-link:visited {
  display: block !important;
  color: #111 !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  overflow-wrap: anywhere !important;
}
#helpOverlay .help-contact-link:hover,
#helpOverlay .help-contact-link:focus-visible {
  color: #c11015 !important;
  text-decoration: underline !important;
}
#helpOverlay .help-contact-email + .help-contact-email { margin-top: 2px !important; }
#helpOverlay .help-service-info {
  display: grid !important;
  grid-template-columns: 1fr 1.55fr !important;
  gap: 26px !important;
  padding-top: 17px !important;
  border-top: 1px solid #ececec !important;
  color: #111 !important;
}
#helpOverlay .help-service-info p {
  margin: 0 !important;
  color: #111 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}
#helpOverlay .help-service-info strong { font-weight: 800 !important; }

.header-summary-wrap .top-summary-dropdown,
.top-summary-dropdown {
  width: min(610px, calc(100vw - 26px)) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: min(720px, calc(100dvh - 78px)) !important;
  padding: 18px 14px 14px !important;
  border: 1px solid #dedede !important;
  border-radius: 17px !important;
  background: #fff !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.14) !important;
  overflow: hidden !important;
}
.header-summary-wrap .top-summary-dropdown:not(.hidden),
.top-summary-dropdown:not(.hidden) {
  display: grid !important;
  grid-template-rows: auto minmax(0,1fr) auto !important;
  gap: 0 !important;
}
.top-summary-close {
  position: absolute !important;
  top: 7px !important;
  right: 8px !important;
  z-index: 10 !important;
  width: 28px !important;
  height: 28px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #8b8f94 !important;
  font-size: 23px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}
.top-summary-close:hover,
.top-summary-close:focus-visible {
  color: #c11015 !important;
  background: #f5f5f5 !important;
  outline: none !important;
}
.summary-promotions {
  display: grid !important;
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  grid-template-rows: 78px !important;
  gap: 0 !important;
  padding: 4px 30px 12px 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid #111 !important;
  overflow: visible !important;
}
.summary-promotion,
.summary-promotion.is-earned {
  position: relative !important;
  min-width: 0 !important;
  min-height: 78px !important;
  height: 78px !important;
  display: grid !important;
  grid-template-columns: 30px minmax(0,1fr) 18px !important;
  grid-template-rows: 1fr !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 8px 10px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #111 !important;
}
.summary-promotion + .summary-promotion { border-left: 1px solid #e4e4e4 !important; }
.summary-promotion-icon,
.summary-promotion.is-earned .summary-promotion-icon {
  width: 29px !important;
  height: 29px !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 !important;
}
.summary-promotion-icon .promotion-usp-image {
  width: auto !important;
  height: 27px !important;
  max-width: 29px !important;
  max-height: 27px !important;
  object-fit: contain !important;
}
.summary-promotion > strong,
.summary-discount-head > strong {
  min-width: 0 !important;
  color: #111 !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  white-space: normal !important;
}
.summary-benefit-check {
  width: 18px !important;
  height: 18px !important;
  display: grid !important;
  place-items: center !important;
  color: #b6bbc0 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}
.summary-benefit-check.is-earned { color: #00a23a !important; }
.summary-promotion--discount {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto 22px !important;
  align-content: center !important;
  gap: 3px !important;
}
.summary-discount-head {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: 29px minmax(0,1fr) 18px !important;
  align-items: center !important;
  gap: 7px !important;
}
.summary-promotion--discount .promo-discount-track {
  width: calc(100% - 4px) !important;
  height: 18px !important;
  margin: 0 2px !important;
}
.summary-promotion--discount .promo-discount-track-base,
.summary-promotion--discount .promo-discount-track-fill-first,
.summary-promotion--discount .promo-discount-track-fill-next { height: 4px !important; }
.summary-promotion--discount .promo-discount-track-label {
  top: 16px !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #111 !important;
  font-size: 9px !important;
  box-shadow: none !important;
}
.summary-promotion--discount .promo-discount-check { display: none !important; }

.top-summary-cart-area {
  min-height: 0 !important;
  display: grid !important;
  grid-template-rows: auto auto minmax(0,1fr) !important;
  padding: 13px 2px 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}
.top-summary-section-heading {
  padding: 0 10px 10px !important;
  color: #111 !important;
}
.top-summary-section-heading strong {
  display: block !important;
  color: #111 !important;
  font-size: 18px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
}
.top-summary-section-heading span {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  margin-top: 4px !important;
  color: #111 !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
}
.top-summary-section-heading span i { color: #999 !important; font-style: normal !important; }
.top-summary-cart-head,
.top-summary-cart-row {
  grid-template-columns: 40px minmax(180px,1fr) 74px 0 112px !important;
  gap: 8px !important;
}
.top-summary-cart-head {
  margin: 0 10px !important;
  padding: 6px 0 7px !important;
  border-top: 0 !important;
  border-bottom: 1px solid #dcdcdc !important;
  color: #111 !important;
  background: #fff !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
}
.top-summary-cart-head span:nth-child(4) { display: none !important; }
.top-summary-cart-scroll {
  min-height: 110px !important;
  max-height: 390px !important;
  margin: 0 !important;
  padding: 0 6px 4px 10px !important;
  overflow-y: auto !important;
  scrollbar-width: thin !important;
}
.top-summary-section {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #fff !important;
}
.top-summary-section + .top-summary-section { margin-top: 9px !important; }
.top-summary-section-title {
  margin: 0 !important;
  padding: 8px 0 5px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
}
.top-summary-section-body { padding: 0 !important; }
.top-summary-cart-row {
  padding: 8px 0 !important;
  border-top: 1px solid #ececec !important;
  color: #111 !important;
}
.top-summary-section-body > .top-summary-cart-row:first-child { border-top: 0 !important; }
.top-summary-cart-media {
  width: 34px !important;
  height: 34px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: transparent !important;
}
.top-summary-cart-media img { width:100% !important; height:100% !important; object-fit:contain !important; }
.top-summary-cart-main strong {
  color: #111 !important;
  font-size: 12px !important;
  line-height: 1.18 !important;
  font-weight: 800 !important;
}
.top-summary-cart-main small {
  margin-top: 2px !important;
  color: #9a9da1 !important;
  font-size: 10px !important;
  line-height: 1.1 !important;
}
.top-summary-cart-qty,
.top-summary-cart-price strong {
  color: #111 !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
}
.top-summary-cart-row .top-summary-cart-price:nth-child(4) { display: none !important; }
.top-summary-section-total { display: none !important; }
.top-summary-cart-footer {
  margin: 0 !important;
  padding: 11px 10px 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  column-gap: 20px !important;
  row-gap: 0 !important;
  border-top: 1px solid #111 !important;
  background: #fff !important;
  box-shadow: none !important;
}
.top-summary-cart-footer .top-summary-cart-total {
  grid-column: 1 !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  gap: 20px !important;
  padding: 5px 0 !important;
  border: 0 !important;
  color: #111 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
}
.top-summary-cart-footer .top-summary-cart-total span,
.top-summary-cart-footer .top-summary-cart-total strong {
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}
.top-summary-cart-footer .top-summary-cart-total.discount { color: #111 !important; }
.top-summary-cart-footer .top-summary-cart-total.discount.is-earned { color: #00a23a !important; }
.top-summary-cart-footer .top-summary-cart-total.final {
  margin: 0 !important;
  padding-top: 8px !important;
  border-top: 1px solid #ececec !important;
}
.top-summary-cart-footer .top-summary-cart-total.final span,
.top-summary-cart-footer .top-summary-cart-total.final strong { font-size: 14px !important; }
.top-summary-cart-footer .top-summary-cart-total.final strong { color: #c11015 !important; }
.top-summary-cart-footer .top-summary-cart-cta {
  grid-column: 2 !important;
  grid-row: 1 / span 3 !important;
  align-self: end !important;
  min-width: 112px !important;
  min-height: 34px !important;
  margin: 0 0 3px !important;
  padding: 8px 13px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #111 !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}
.top-summary-cart-footer .top-summary-cart-cta:hover,
.top-summary-cart-footer .top-summary-cart-cta:focus-visible { background:#c11015 !important; outline:none !important; }
.top-summary-cart-cta span { margin-left:6px !important; font-size:16px !important; font-weight:400 !important; }

@media (max-width:700px) {
  #helpOverlay .help-modal { width:min(560px,calc(100vw - 20px)) !important; padding:24px 20px 22px !important; }
  #helpOverlay .help-modal-heading { grid-template-columns:74px minmax(0,1fr) !important; gap:16px !important; padding-bottom:18px !important; margin-bottom:18px !important; }
  #helpOverlay .help-modal-figure,
  #helpOverlay .help-modal-figure img { width:72px !important; height:auto !important; max-height:78px !important; }
  #helpOverlay .help-modal-heading h3,
  #helpOverlay #helpTitle { font-size:20px !important; }
  #helpOverlay .help-contact-grid { grid-template-columns:1fr !important; gap:16px !important; }
  #helpOverlay .help-contact-card + .help-contact-card { padding-left:0 !important; padding-top:16px !important; border-left:0 !important; border-top:1px solid #ececec !important; }
  #helpOverlay .help-service-info { grid-template-columns:1fr !important; gap:6px !important; }
  #helpOverlay .help-contact-link,
  #helpOverlay .help-contact-link:visited { font-size:15px !important; }

  .header-summary-wrap .top-summary-dropdown,
  .top-summary-dropdown { width:calc(100vw - 12px) !important; max-height:calc(100dvh - 70px) !important; padding:13px 10px 10px !important; border-radius:14px !important; }
  .summary-promotions { grid-template-columns:repeat(2,minmax(0,1fr)) !important; grid-template-rows:repeat(2,58px) !important; padding:4px 28px 10px 0 !important; }
  .summary-promotion,
  .summary-promotion.is-earned { min-height:58px !important; height:58px !important; padding:5px 8px !important; grid-template-columns:25px minmax(0,1fr) 16px !important; gap:5px !important; }
  .summary-promotion:nth-child(3) { border-left:0 !important; border-top:1px solid #e4e4e4 !important; }
  .summary-promotion:nth-child(4) { border-top:1px solid #e4e4e4 !important; }
  .summary-promotion-icon,
  .summary-promotion.is-earned .summary-promotion-icon { width:24px !important; height:24px !important; }
  .summary-promotion-icon .promotion-usp-image { height:23px !important; max-width:24px !important; }
  .summary-promotion > strong,
  .summary-discount-head > strong { font-size:11px !important; }
  .summary-discount-head { grid-template-columns:24px minmax(0,1fr) 16px !important; gap:5px !important; }
  .summary-promotion--discount { grid-template-rows:auto 18px !important; }
  .top-summary-cart-area { padding-top:10px !important; }
  .top-summary-section-heading { padding:0 4px 8px !important; }
  .top-summary-section-heading strong { font-size:16px !important; }
  .top-summary-section-heading span { font-size:10px !important; }
  .top-summary-cart-head { display:none !important; }
  .top-summary-cart-scroll { min-height:100px !important; max-height:calc(100dvh - 360px) !important; padding:0 5px 3px !important; }
  .top-summary-section-title { padding:7px 0 4px !important; font-size:12px !important; }
  .top-summary-cart-row { grid-template-columns:34px minmax(0,1fr) auto !important; gap:7px !important; padding:7px 0 !important; }
  .top-summary-cart-row .top-summary-cart-qty,
  .top-summary-cart-row .top-summary-cart-price:nth-child(4) { display:none !important; }
  .top-summary-cart-row .top-summary-cart-price:last-child { display:block !important; grid-column:3 !important; text-align:right !important; }
  .top-summary-cart-footer { padding:9px 4px 0 !important; grid-template-columns:1fr !important; }
  .top-summary-cart-footer .top-summary-cart-total { grid-column:1 !important; font-size:11px !important; padding:4px 0 !important; }
  .top-summary-cart-footer .top-summary-cart-cta { grid-column:1 !important; grid-row:auto !important; width:100% !important; margin:8px 0 0 !important; min-height:36px !important; }
}

.top-summary-cart-head span:first-child { display:block !important; grid-column:1 !important; }
.top-summary-cart-head span:nth-child(2) { grid-column:2 !important; }
.top-summary-cart-head span:nth-child(3) { grid-column:3 !important; }
.top-summary-cart-head span:nth-child(4) { display:none !important; grid-column:4 !important; }
.top-summary-cart-head span:nth-child(5) { grid-column:5 !important; }



.header-summary-wrap .top-summary-dropdown,
.top-summary-dropdown {
  width: min(740px, calc(100vw - 24px)) !important;
  padding: 18px 16px 14px !important;
  font-size: 14px !important;
}


.summary-promotions {
  grid-template-columns: repeat(4, minmax(0,1fr)) !important;
  grid-template-rows: 92px !important;
  padding: 5px 30px 13px 0 !important;
}
.summary-promotion,
.summary-promotion.is-earned {
  min-height: 92px !important;
  height: 92px !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: minmax(44px,auto) 26px !important;
  align-content: center !important;
  gap: 5px !important;
  padding: 8px 11px !important;
}
.summary-promotion:not(.summary-promotion--shipping):not(.summary-promotion--discount) {
  grid-template-rows: 1fr !important;
}
.summary-benefit-main,
.summary-discount-head {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: 31px minmax(0,1fr) 19px !important;
  align-items: center !important;
  gap: 8px !important;
}
.summary-promotion-icon,
.summary-promotion.is-earned .summary-promotion-icon {
  width: 31px !important;
  height: 31px !important;
}
.summary-promotion-icon .promotion-usp-image {
  height: 28px !important;
  max-width: 31px !important;
  max-height: 28px !important;
}
.summary-benefit-main > strong,
.summary-discount-head > strong,
.summary-promotion > strong {
  font-size: 14px !important;
  line-height: 1.22 !important;
  font-weight: 800 !important;
}
.summary-benefit-check {
  width: 19px !important;
  height: 19px !important;
  font-size: 18px !important;
}
.summary-benefit-progress {
  min-width: 0 !important;
  height: 26px !important;
  display: flex !important;
  align-items: flex-start !important;
  padding: 2px 2px 0 39px !important;
}
.summary-benefit-progress .promo-progress,
.summary-benefit-progress .promo-discount-track {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 20px !important;
  margin: 0 !important;
  overflow: visible !important;
}
.summary-benefit-progress .promo-progress {
  background: transparent !important;
  border-radius: 0 !important;
}
.summary-benefit-progress .promo-progress::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 4px !important;
  height: 5px !important;
  border-radius: 999px !important;
  background: #ead7d8 !important;
}
.summary-benefit-progress .promo-progress-fill {
  top: 4px !important;
  bottom: auto !important;
  height: 5px !important;
  background: #c11015 !important;
  z-index: 2 !important;
}
.summary-promotion--shipping.is-earned .promo-progress-fill {
  background: #00a23a !important;
}
.summary-benefit-progress--discount .promo-discount-track-base,
.summary-benefit-progress--discount .promo-discount-track-fill-first,
.summary-benefit-progress--discount .promo-discount-track-fill-next {
  top: 4px !important;
  height: 5px !important;
}
.summary-benefit-progress--discount .promo-discount-track-label {
  top: 17px !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #111 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  box-shadow: none !important;
}
.summary-benefit-progress--discount .promo-discount-check {
  display: none !important;
}


.top-summary-section-heading strong { font-size: 20px !important; }
.top-summary-section-heading span,
.top-summary-cart-head,
.top-summary-section-title,
.top-summary-cart-main strong,
.top-summary-cart-main small,
.top-summary-cart-qty,
.top-summary-cart-price strong,
.top-summary-empty,
.top-summary-empty.compact,
.top-summary-cart-footer,
.top-summary-cart-footer .top-summary-cart-total,
.top-summary-cart-footer .top-summary-cart-total span,
.top-summary-cart-footer .top-summary-cart-total strong,
.top-summary-cart-cta {
  font-size: 14px !important;
}
.top-summary-cart-main small {
  line-height: 1.15 !important;
  margin-top: 3px !important;
}
.top-summary-section-title {
  font-size: 15px !important;
}
.top-summary-cart-head,
.top-summary-cart-row {
  grid-template-columns: 42px minmax(220px,1fr) 88px 0 126px !important;
}
.top-summary-cart-row {
  padding: 9px 0 !important;
}
.top-summary-cart-media {
  width: 38px !important;
  height: 38px !important;
}


.top-summary-cart-footer {
  padding: 11px 10px 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) 126px !important;
  align-items: center !important;
  column-gap: 22px !important;
  border-top: 1px solid #111 !important;
}
.top-summary-totals {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
}
.top-summary-totals .top-summary-cart-total {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) 140px !important;
  align-items: baseline !important;
  gap: 20px !important;
  padding: 5px 0 !important;
  color: #111 !important;
}
.top-summary-totals .top-summary-cart-total strong {
  width: 140px !important;
  text-align: right !important;
  white-space: nowrap !important;
}
.top-summary-totals .top-summary-cart-total.discount.is-earned {
  color: #00a23a !important;
}
.top-summary-totals .top-summary-cart-total.final {
  margin-top: 3px !important;
  padding-top: 9px !important;
  border-top: 1px solid #dedede !important;
}
.top-summary-totals .top-summary-cart-total.final span,
.top-summary-totals .top-summary-cart-total.final strong {
  font-size: 16px !important;
  font-weight: 800 !important;
}
.top-summary-totals .top-summary-cart-total.final strong {
  color: #c11015 !important;
}
.top-summary-cart-footer .top-summary-cart-cta {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: center !important;
  justify-self: stretch !important;
  width: 126px !important;
  min-width: 126px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 9px 12px !important;
  font-weight: 800 !important;
}

@media (max-width:700px) {
  .header-summary-wrap .top-summary-dropdown,
  .top-summary-dropdown {
    width: calc(100vw - 12px) !important;
    padding: 13px 10px 10px !important;
  }
  .summary-promotions {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    grid-template-rows: repeat(2,84px) !important;
    padding: 4px 28px 10px 0 !important;
  }
  .summary-promotion,
  .summary-promotion.is-earned {
    min-height: 84px !important;
    height: 84px !important;
    grid-template-rows: minmax(42px,auto) 24px !important;
    padding: 6px 8px !important;
  }
  .summary-promotion:not(.summary-promotion--shipping):not(.summary-promotion--discount) {
    grid-template-rows: 1fr !important;
  }
  .summary-benefit-main,
  .summary-discount-head {
    grid-template-columns: 28px minmax(0,1fr) 18px !important;
    gap: 6px !important;
  }
  .summary-promotion-icon,
  .summary-promotion.is-earned .summary-promotion-icon {
    width: 28px !important;
    height: 28px !important;
  }
  .summary-promotion-icon .promotion-usp-image {
    height: 26px !important;
    max-width: 28px !important;
  }
  .summary-benefit-progress {
    height: 24px !important;
    padding-left: 34px !important;
  }
  .summary-benefit-main > strong,
  .summary-discount-head > strong,
  .summary-promotion > strong,
  .top-summary-section-heading span,
  .top-summary-section-title,
  .top-summary-cart-main strong,
  .top-summary-cart-main small,
  .top-summary-cart-price strong,
  .top-summary-empty,
  .top-summary-cart-footer .top-summary-cart-total,
  .top-summary-cart-footer .top-summary-cart-total span,
  .top-summary-cart-footer .top-summary-cart-total strong,
  .top-summary-cart-cta,
  .summary-benefit-progress--discount .promo-discount-track-label {
    font-size: 14px !important;
  }
  .top-summary-section-heading strong { font-size: 18px !important; }
  .top-summary-cart-scroll { max-height: calc(100dvh - 430px) !important; }
  .top-summary-cart-row {
    grid-template-columns: 38px minmax(0,1fr) 126px !important;
    gap: 8px !important;
    padding: 9px 0 !important;
  }
  .top-summary-cart-media { width: 36px !important; height: 36px !important; }
  .top-summary-cart-footer {
    grid-template-columns: minmax(0,1fr) 124px !important;
    column-gap: 14px !important;
    padding: 10px 4px 0 !important;
  }
  .top-summary-totals .top-summary-cart-total {
    grid-template-columns: minmax(0,1fr) 118px !important;
    gap: 12px !important;
    padding: 5px 0 !important;
  }
  .top-summary-totals .top-summary-cart-total strong {
    width: 118px !important;
  }
  .top-summary-cart-footer .top-summary-cart-cta {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 124px !important;
    min-width: 124px !important;
    min-height: 40px !important;
    margin: 0 !important;
  }
}

@media (max-width:520px) {
  .top-summary-cart-footer {
    grid-template-columns: 1fr !important;
  }
  .top-summary-cart-footer .top-summary-cart-cta {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 10px !important;
  }
  .top-summary-totals .top-summary-cart-total {
    grid-template-columns: minmax(0,1fr) 126px !important;
  }
  .top-summary-totals .top-summary-cart-total strong {
    width: 126px !important;
  }
}



.header-summary-wrap .top-summary-dropdown,
.top-summary-dropdown {
  padding: 14px 14px 12px !important;
}

.top-summary-close.setup-param-close {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  z-index: 20 !important;
}
.top-summary-close.setup-param-close .canvas-remove-icon {
  width: 28px !important;
  height: 28px !important;
}
.top-summary-close.setup-param-close .canvas-remove-icon circle {
  fill: #c11015 !important;
  stroke: #111 !important;
  stroke-width: 2px !important;
}
.top-summary-close.setup-param-close .canvas-remove-icon path {
  stroke: #fff !important;
  stroke-width: 4px !important;
  stroke-linecap: round !important;
}
.top-summary-close.setup-param-close:hover .canvas-remove-icon circle,
.top-summary-close.setup-param-close:focus-visible .canvas-remove-icon circle {
  fill: #d6292f !important;
}

.summary-promotions {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-template-rows: 80px !important;
  gap: 4px !important;
  padding: 2px 34px 10px 0 !important;
}
.summary-promotion,
.summary-promotion.is-earned {
  position: relative !important;
  min-height: 80px !important;
  height: 80px !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto auto !important;
  gap: 3px !important;
  padding: 6px 8px !important;
  border-radius: 10px !important;
  cursor: help !important;
}
.summary-promotion:not(.summary-promotion--shipping):not(.summary-promotion--discount) {
  grid-template-rows: auto !important;
}
.summary-benefit-main,
.summary-discount-head {
  grid-template-columns: 28px minmax(0, 1fr) 18px !important;
  gap: 6px !important;
  align-items: start !important;
}
.summary-promotion-icon,
.summary-promotion.is-earned .summary-promotion-icon {
  width: 28px !important;
  height: 28px !important;
}
.summary-promotion-icon .promotion-usp-image {
  max-width: 28px !important;
  max-height: 25px !important;
  height: 25px !important;
}
.summary-benefit-main > strong,
.summary-discount-head > strong,
.summary-promotion > strong {
  font-size: 14px !important;
  line-height: 1.15 !important;
}
.summary-benefit-check {
  width: 18px !important;
  height: 18px !important;
  font-size: 16px !important;
  align-self: start !important;
}
.summary-benefit-progress {
  grid-column: 1 / -1 !important;
  height: 22px !important;
  padding: 0 !important;
  align-items: flex-start !important;
}
.summary-benefit-progress .promo-progress,
.summary-benefit-progress .promo-discount-track {
  width: 100% !important;
  height: 22px !important;
  margin: 0 !important;
}
.summary-benefit-progress .promo-progress::before {
  top: 3px !important;
  height: 5px !important;
}
.summary-benefit-progress .promo-progress-fill {
  top: 3px !important;
  height: 5px !important;
}
.summary-benefit-progress--discount .promo-discount-track-base,
.summary-benefit-progress--discount .promo-discount-track-fill-first,
.summary-benefit-progress--discount .promo-discount-track-fill-next {
  top: 3px !important;
  height: 5px !important;
}
.summary-benefit-progress--discount .promo-discount-track-label {
  top: 14px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.summary-benefit-progress--discount .promo-discount-track-label-3 { left: 25% !important; }
.summary-benefit-progress--discount .promo-discount-track-label-5 { left: 75% !important; }
.summary-benefit-progress--discount .promo-discount-check {
  display: grid !important;
  top: 3px !important;
  width: 16px !important;
  height: 16px !important;
  font-size: 10px !important;
  transform: translate(-50%, -50%) scale(.95) !important;
  box-shadow: 0 0 0 2px #fff !important;
}
.summary-benefit-progress--discount .promo-discount-check-5 {
  right: 0 !important;
  left: auto !important;
  transform: translate(0, -50%) scale(.95) !important;
}
.summary-benefit-progress--shipping .promo-progress {
  background: transparent !important;
}
.summary-benefit-progress--shipping .promo-progress-fill {
  background: #c11015 !important;
}
.summary-promotion--shipping.is-earned .summary-benefit-progress--shipping .promo-progress-fill {
  background: #1e9b38 !important;
}
.summary-benefit-tooltip {
  position: absolute !important;
  left: 4px !important;
  right: 4px !important;
  top: calc(100% + 6px) !important;
  padding: 8px 10px !important;
  border: 1px solid #d9dee5 !important;
  border-radius: 10px !important;
  background: rgba(255,255,255,.98) !important;
  color: #111 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  box-shadow: 0 10px 24px rgba(17,17,17,.16) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-4px) !important;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease !important;
  z-index: 30 !important;
  pointer-events: none !important;
}
.summary-benefit-tooltip::before {
  content: "" !important;
  position: absolute !important;
  left: 22px !important;
  bottom: calc(100% - 1px) !important;
  width: 10px !important;
  height: 10px !important;
  background: #fff !important;
  border-left: 1px solid #d9dee5 !important;
  border-top: 1px solid #d9dee5 !important;
  transform: rotate(45deg) !important;
}
.summary-promotion:hover .summary-benefit-tooltip,
.summary-promotion:focus-visible .summary-benefit-tooltip,
.summary-promotion:focus-within .summary-benefit-tooltip,
.summary-promotion.is-tooltip-open .summary-benefit-tooltip {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}
.summary-promotion:focus-visible {
  outline: 2px solid #c11015 !important;
  outline-offset: 1px !important;
}
.summary-promotion--shipping { order: 1 !important; }
.summary-promotion--discount { order: 2 !important; }
.summary-promotion--lighting { order: 3 !important; }
.summary-promotion--warranty { order: 4 !important; }

@media (max-width: 700px) {
  .header-summary-wrap .top-summary-dropdown,
  .top-summary-dropdown {
    width: calc(100vw - 10px) !important;
    padding: 10px 8px 10px !important;
  }
  .summary-promotions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, 70px) !important;
    gap: 4px !important;
    padding: 0 30px 8px 0 !important;
  }
  .summary-promotion,
  .summary-promotion.is-earned {
    min-height: 70px !important;
    height: 70px !important;
    padding: 5px 7px !important;
    gap: 2px !important;
  }
  .summary-promotion:not(.summary-promotion--shipping):not(.summary-promotion--discount) {
    min-height: 56px !important;
    height: 56px !important;
  }
  .summary-benefit-main,
  .summary-discount-head {
    grid-template-columns: 24px minmax(0, 1fr) 16px !important;
    gap: 5px !important;
  }
  .summary-promotion-icon,
  .summary-promotion.is-earned .summary-promotion-icon {
    width: 24px !important;
    height: 24px !important;
  }
  .summary-promotion-icon .promotion-usp-image {
    max-width: 24px !important;
    max-height: 22px !important;
    height: 22px !important;
  }
  .summary-benefit-main > strong,
  .summary-discount-head > strong {
    font-size: 14px !important;
    line-height: 1.1 !important;
  }
  .summary-benefit-check {
    width: 16px !important;
    height: 16px !important;
    font-size: 14px !important;
  }
  .summary-benefit-progress {
    height: 20px !important;
  }
  .summary-benefit-progress .promo-progress,
  .summary-benefit-progress .promo-discount-track {
    height: 20px !important;
  }
  .summary-benefit-progress .promo-progress::before,
  .summary-benefit-progress .promo-progress-fill,
  .summary-benefit-progress--discount .promo-discount-track-base,
  .summary-benefit-progress--discount .promo-discount-track-fill-first,
  .summary-benefit-progress--discount .promo-discount-track-fill-next {
    top: 2px !important;
  }
  .summary-benefit-progress--discount .promo-discount-track-label {
    top: 12px !important;
    font-size: 11px !important;
  }
  .summary-benefit-progress--discount .promo-discount-check {
    top: 2px !important;
    width: 15px !important;
    height: 15px !important;
    font-size: 9px !important;
  }
  .summary-benefit-tooltip {
    left: 0 !important;
    right: 0 !important;
    font-size: 14px !important;
  }
}



.header-summary-wrap .top-summary-dropdown,
.top-summary-dropdown {
  padding: 12px 14px 10px !important;
}

.summary-promotions {
  gap: 0 !important;
  padding: 0 36px 4px 0 !important;
  margin-bottom: 4px !important;
  background: #fff !important;
}
.summary-promotion,
.summary-promotion.is-earned {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 4px 12px 2px !important;
  min-height: 70px !important;
  height: 70px !important;
  align-content: start !important;
}
.summary-promotion::after {
  content: "" !important;
  position: absolute !important;
  top: 6px !important;
  right: 0 !important;
  width: 1px !important;
  height: calc(100% - 12px) !important;
  background: #e7e7e7 !important;
}
.summary-promotion:last-child::after {
  display: none !important;
}
.summary-benefit-main,
.summary-discount-head {
  grid-template-columns: 30px minmax(0,1fr) 18px !important;
  align-items: center !important;
  gap: 8px !important;
}
.summary-promotion-icon,
.summary-promotion.is-earned .summary-promotion-icon {
  width: 30px !important;
  height: 30px !important;
  margin-top: 0 !important;
}
.summary-promotion-icon .promotion-usp-image {
  max-width: 30px !important;
  max-height: 26px !important;
  height: 26px !important;
}
.summary-benefit-main > strong,
.summary-discount-head > strong {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.12 !important;
}
.summary-benefit-check {
  align-self: center !important;
}
.summary-benefit-progress {
  height: 21px !important;
  padding: 0 2px 0 0 !important;
  margin-top: 1px !important;
}
.summary-benefit-progress .promo-progress,
.summary-benefit-progress .promo-discount-track {
  height: 18px !important;
}
.summary-benefit-progress .promo-progress::before,
.summary-benefit-progress .promo-progress-fill,
.summary-benefit-progress--discount .promo-discount-track-base,
.summary-benefit-progress--discount .promo-discount-track-fill-first,
.summary-benefit-progress--discount .promo-discount-track-fill-next {
  top: 2px !important;
  height: 5px !important;
}
.summary-benefit-progress--discount .promo-discount-track-label {
  top: 12px !important;
}
.top-summary-section-heading {
  padding: 0 10px 8px !important;
}
.top-summary-section-heading strong {
  font-size: 18px !important;
}
.top-summary-section-heading span {
  margin-top: 3px !important;
}
.top-summary-cart-footer {
  padding-top: 8px !important;
}
.top-summary-totals .top-summary-cart-total {
  padding: 3px 0 !important;
}
.top-summary-totals .top-summary-cart-total.final {
  margin-top: 2px !important;
  padding-top: 7px !important;
}
.top-summary-cart-footer .top-summary-cart-cta {
  min-height: 38px !important;
  padding: 8px 12px !important;
}

@media (max-width:700px) {
  .header-summary-wrap .top-summary-dropdown,
  .top-summary-dropdown {
    width: calc(100vw - 10px) !important;
    padding: 8px 10px 8px !important;
  }
  .summary-promotions {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    grid-template-rows: repeat(2, 58px) !important;
    gap: 0 !important;
    padding: 0 34px 3px 0 !important;
    margin-bottom: 2px !important;
  }
  .summary-promotion,
  .summary-promotion.is-earned {
    min-height: 58px !important;
    height: 58px !important;
    padding: 3px 10px 1px !important;
    grid-template-rows: minmax(28px,auto) 17px !important;
    gap: 1px !important;
  }
  .summary-promotion:not(.summary-promotion--shipping):not(.summary-promotion--discount) {
    grid-template-rows: 1fr !important;
  }
  .summary-promotion::after {
    right: 0 !important;
    top: 6px !important;
    height: calc(100% - 12px) !important;
  }
  .summary-promotion:nth-child(2)::after,
  .summary-promotion:nth-child(4)::after {
    display: none !important;
  }
  .summary-promotion:nth-child(-n+2)::before {
    content: "" !important;
    position: absolute !important;
    left: 6px !important;
    right: 6px !important;
    bottom: 0 !important;
    height: 1px !important;
    background: #e7e7e7 !important;
  }
  .summary-benefit-main,
  .summary-discount-head {
    grid-template-columns: 24px minmax(0,1fr) 16px !important;
    gap: 6px !important;
  }
  .summary-promotion-icon,
  .summary-promotion.is-earned .summary-promotion-icon {
    width: 24px !important;
    height: 24px !important;
  }
  .summary-promotion-icon .promotion-usp-image {
    max-width: 24px !important;
    max-height: 21px !important;
    height: 21px !important;
  }
  .summary-benefit-main > strong,
  .summary-discount-head > strong {
    font-size: 13px !important;
    line-height: 1.06 !important;
  }
  .summary-benefit-check {
    width: 16px !important;
    height: 16px !important;
    font-size: 14px !important;
  }
  .summary-benefit-progress {
    height: 16px !important;
    margin-top: 0 !important;
  }
  .summary-benefit-progress .promo-progress,
  .summary-benefit-progress .promo-discount-track {
    height: 16px !important;
  }
  .summary-benefit-progress .promo-progress::before,
  .summary-benefit-progress .promo-progress-fill,
  .summary-benefit-progress--discount .promo-discount-track-base,
  .summary-benefit-progress--discount .promo-discount-track-fill-first,
  .summary-benefit-progress--discount .promo-discount-track-fill-next {
    top: 1px !important;
    height: 4px !important;
  }
  .summary-benefit-progress--discount .promo-discount-track-label {
    top: 10px !important;
    font-size: 11px !important;
  }
  .top-summary-section-heading {
    padding: 0 4px 6px !important;
  }
  .top-summary-section-heading strong {
    font-size: 16px !important;
    line-height: 1.08 !important;
  }
  .top-summary-section-heading span {
    gap: 5px !important;
    margin-top: 2px !important;
    font-size: 14px !important;
  }
  .top-summary-cart-scroll {
    max-height: calc(100dvh - 350px) !important;
  }
  .top-summary-cart-row {
    padding: 7px 0 !important;
  }
  .top-summary-cart-footer {
    padding: 6px 2px 0 !important;
  }
  .top-summary-totals .top-summary-cart-total {
    padding: 2px 0 !important;
  }
  .top-summary-totals .top-summary-cart-total.final {
    padding-top: 5px !important;
  }
  .top-summary-cart-footer .top-summary-cart-cta {
    min-height: 36px !important;
    margin-top: 8px !important;
  }
}



.promo-discount-track-fill-first:not(.is-complete),
.editor-promo-bar.is-earned .promo-discount-track-fill-first:not(.is-complete),
.summary-promotion--discount.is-earned .promo-discount-track-fill-first:not(.is-complete) {
  background: #c11015 !important;
}
.promo-discount-track-fill-first.is-complete,
.editor-promo-bar.is-earned .promo-discount-track-fill-first.is-complete,
.summary-promotion--discount.is-earned .promo-discount-track-fill-first.is-complete {
  background: #209b42 !important;
}

.summary-promotions {
  gap: 0 !important;
  padding: 0 34px 0 0 !important;
  margin: 0 0 1px !important;
  background: #fff !important;
}
.summary-promotion,
.summary-promotion.is-earned {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 58px !important;
  height: 58px !important;
  padding: 2px 8px 0 !important;
}
.summary-promotion::before,
.summary-promotion::after {
  display: none !important;
  content: none !important;
}
.summary-benefit-main,
.summary-discount-head {
  grid-template-columns: 30px minmax(0,1fr) 18px !important;
  align-items: start !important;
  gap: 8px !important;
}
.summary-promotion-icon,
.summary-promotion.is-earned .summary-promotion-icon {
  width: 30px !important;
  height: 30px !important;
  margin-top: 0 !important;
}
.summary-promotion-icon .promotion-usp-image {
  max-width: 30px !important;
  max-height: 25px !important;
  height: 25px !important;
}
.summary-benefit-main > strong,
.summary-discount-head > strong {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.08 !important;
}
.summary-benefit-check {
  align-self: start !important;
  margin-top: 1px !important;
}
.summary-benefit-progress {
  height: 18px !important;
  margin-top: 0 !important;
  padding-right: 0 !important;
}
.summary-benefit-progress .promo-progress,
.summary-benefit-progress .promo-discount-track {
  height: 18px !important;
}
.summary-benefit-progress .promo-progress::before,
.summary-benefit-progress .promo-progress-fill,
.summary-benefit-progress--discount .promo-discount-track-base,
.summary-benefit-progress--discount .promo-discount-track-fill-first,
.summary-benefit-progress--discount .promo-discount-track-fill-next {
  top: 2px !important;
  height: 5px !important;
}
.summary-benefit-progress--discount .promo-discount-track-label {
  top: 12px !important;
}
.top-summary-section-heading {
  padding: 0 8px 6px !important;
}
.top-summary-cart-area {
  padding-top: 6px !important;
}
.top-summary-cart-footer {
  padding-top: 6px !important;
}
.top-summary-totals .top-summary-cart-total {
  padding: 2px 0 !important;
}
.top-summary-totals .top-summary-cart-total.final {
  padding-top: 5px !important;
}

@media (max-width:700px) {
  .header-summary-wrap .top-summary-dropdown,
  .top-summary-dropdown {
    width: calc(100vw - 10px) !important;
    padding: 8px 10px 8px !important;
  }
  .summary-promotions {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    grid-template-rows: repeat(2, 52px) !important;
    gap: 0 !important;
    padding: 0 34px 0 0 !important;
    margin: 0 0 1px !important;
  }
  .summary-promotion,
  .summary-promotion.is-earned {
    min-height: 52px !important;
    height: 52px !important;
    padding: 2px 6px 0 !important;
    grid-template-rows: minmax(24px,auto) 16px !important;
    gap: 0 !important;
  }
  .summary-promotion:not(.summary-promotion--shipping):not(.summary-promotion--discount) {
    grid-template-rows: 1fr !important;
  }
  .summary-benefit-main,
  .summary-discount-head {
    grid-template-columns: 22px minmax(0,1fr) 14px !important;
    gap: 5px !important;
  }
  .summary-promotion-icon,
  .summary-promotion.is-earned .summary-promotion-icon {
    width: 22px !important;
    height: 22px !important;
  }
  .summary-promotion-icon .promotion-usp-image {
    max-width: 22px !important;
    max-height: 20px !important;
    height: 20px !important;
  }
  .summary-benefit-main > strong,
  .summary-discount-head > strong {
    font-size: 12px !important;
    line-height: 1.05 !important;
  }
  .summary-benefit-check {
    width: 14px !important;
    height: 14px !important;
    font-size: 12px !important;
    margin-top: 0 !important;
  }
  .summary-benefit-progress {
    height: 15px !important;
  }
  .summary-benefit-progress .promo-progress,
  .summary-benefit-progress .promo-discount-track {
    height: 15px !important;
  }
  .summary-benefit-progress .promo-progress::before,
  .summary-benefit-progress .promo-progress-fill,
  .summary-benefit-progress--discount .promo-discount-track-base,
  .summary-benefit-progress--discount .promo-discount-track-fill-first,
  .summary-benefit-progress--discount .promo-discount-track-fill-next {
    top: 1px !important;
    height: 4px !important;
  }
  .summary-benefit-progress--discount .promo-discount-track-label {
    top: 9px !important;
    font-size: 10px !important;
  }
  .top-summary-cart-area { padding-top: 5px !important; }
  .top-summary-section-heading { padding: 0 2px 5px !important; }
  .top-summary-section-heading strong { font-size: 16px !important; line-height: 1.05 !important; }
  .top-summary-section-heading span { font-size: 14px !important; gap: 5px !important; margin-top: 2px !important; }
  .top-summary-cart-head {
    display: grid !important;
    grid-template-columns: 34px minmax(0,1fr) 58px 84px !important;
    align-items: end !important;
    column-gap: 8px !important;
    padding: 3px 0 5px !important;
    font-size: 12px !important;
    line-height: 1.05 !important;
  }
  .top-summary-cart-head span:first-child { display: block !important; grid-column: 1 !important; }
  .top-summary-cart-head span:nth-child(2) { display: block !important; grid-column: 2 !important; }
  .top-summary-cart-head span:nth-child(3) { display: block !important; grid-column: 3 !important; text-align: center !important; }
  .top-summary-cart-head span:nth-child(4) { display: none !important; }
  .top-summary-cart-head span:nth-child(5) { display: block !important; grid-column: 4 !important; text-align: right !important; }
  .top-summary-cart-scroll {
    max-height: calc(100dvh - 342px) !important;
    padding: 0 2px 2px !important;
  }
  .top-summary-cart-row {
    grid-template-columns: 34px minmax(0,1fr) 58px 84px !important;
    gap: 8px !important;
    padding: 6px 0 !important;
  }
  .top-summary-cart-main strong,
  .top-summary-cart-price strong,
  .top-summary-cart-qty {
    font-size: 14px !important;
    line-height: 1.1 !important;
  }
  .top-summary-cart-main small {
    font-size: 12px !important;
    line-height: 1.1 !important;
  }
  .top-summary-cart-row .top-summary-cart-qty {
    display: block !important;
    grid-column: 3 !important;
    text-align: center !important;
  }
  .top-summary-cart-row .top-summary-cart-price:nth-child(4) { display: none !important; }
  .top-summary-cart-row .top-summary-cart-price:last-child {
    display: block !important;
    grid-column: 4 !important;
    text-align: right !important;
  }
  .top-summary-cart-footer {
    padding: 6px 2px 0 !important;
  }
  .top-summary-cart-footer .top-summary-cart-total {
    font-size: 14px !important;
    padding: 2px 0 !important;
  }
  .top-summary-cart-footer .top-summary-cart-cta {
    min-height: 36px !important;
    margin-top: 6px !important;
  }
}



.toolbar-minimap .minimap-content .minimap-object,
.toolbar-minimap .minimap-content [class*="minimap-object-"] {
  min-width: 0 !important;
  min-height: 0 !important;
}
.toolbar-minimap .minimap-content .minimap-object-rail {
  min-width: 1px !important;
}
.toolbar-minimap .minimap-content .minimap-object-worktop {
  min-height: 1px !important;
}
.canvas-item.product-tsb1300 > img {
  will-change: transform !important;
  image-rendering: auto !important;
}



.toolbar-minimap .minimap-content .minimap-object {
  min-width: 0 !important;
}



.toolbar-minimap .minimap-content .minimap-object,
.toolbar-minimap .minimap-content .minimap-object-pegboard,
.toolbar-minimap .minimap-content .minimap-object-worktop,
.toolbar-minimap .minimap-content .minimap-object-rail,
.toolbar-minimap .minimap-content .minimap-object-wall,
.toolbar-minimap .minimap-content .minimap-object-tall,
.toolbar-minimap .minimap-content .minimap-object-mobile,
.toolbar-minimap .minimap-content .minimap-object-frame,
.toolbar-minimap .minimap-content .minimap-object-cabinet {
  min-width: 1px !important;
  min-height: 1px !important;
}
.toolbar-minimap .minimap-content .minimap-object-worktop {
  min-height: 2px !important;
}
.toolbar-minimap .minimap-content .minimap-object-rail {
  min-width: 1px !important;
}



.canvas-item.is-virtual-offscreen {
  content-visibility: hidden !important;
  contain: paint !important;
}



.canvas-item[data-item-id]:not(.corner-module-part) {
  contain: layout style !important;
}



html,
body,
body .app,
body .app * {
  -webkit-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}


body .app input,
body .app textarea,
body .app select,
body .app [contenteditable="true"],
body .app .allow-text-selection {
  -webkit-user-select: text !important;
  user-select: text !important;
  -webkit-touch-callout: default !important;
}

body .app img,
body .app svg {
  -webkit-user-drag: none !important;
  user-drag: none !important;
}



.top-summary-dropdown .summary-promotion .promo-discount-check {
  pointer-events: none !important;
}
.top-summary-dropdown .summary-promotion .promo-discount-check::before,
.top-summary-dropdown .summary-promotion .promo-discount-check::after {
  display: none !important;
  content: none !important;
}





.top-summary-totals .top-summary-cart-total.discount.is-earned,
.top-summary-totals .top-summary-cart-total.discount-code.is-earned {
  color: #111 !important;
}
.top-summary-totals .top-summary-cart-total.discount.is-earned strong,
.top-summary-totals .top-summary-cart-total.discount-code.is-earned strong {
  color: #00a23a !important;
}





.top-summary-section-heading {
  padding-bottom: 8px !important;
}
.top-summary-section-heading strong {
  font-size: 18px !important;
  line-height: 1.15 !important;
}
.top-summary-section-heading span {
  display: none !important;
}
.top-summary-cart-head span:nth-child(5) {
  text-align: left !important;
}
.top-summary-cart-footer .top-summary-cart-cta {
  min-height: 40px !important;
  min-width: 126px !important;
  padding: 9px 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-size: 14px !important;
  line-height: 1 !important;
}
.top-summary-cart-footer .top-summary-cart-cta span {
  margin-left: 0 !important;
  font-size: 19px !important;
  line-height: 1 !important;
  transform: translateY(-1px) !important;
}
@media (max-width:700px) {
  .top-summary-section-heading strong {
    font-size: 16px !important;
  }
  .top-summary-cart-footer .top-summary-cart-cta {
    min-height: 40px !important;
    font-size: 14px !important;
  }
}



@media (min-width:701px) {
  .top-summary-cart-head,
  .top-summary-cart-row {
    grid-template-columns: 42px minmax(220px,1fr) 96px 126px !important;
    column-gap: 14px !important;
  }
  .top-summary-cart-head span:first-child { grid-column:1 !important; }
  .top-summary-cart-head span:nth-child(2) { grid-column:2 !important; }
  .top-summary-cart-head span:nth-child(3) {
    grid-column:3 !important;
    text-align:left !important;
  }
  .top-summary-cart-head span:nth-child(4) { display:none !important; }
  .top-summary-cart-head span:nth-child(5) {
    display:block !important;
    grid-column:4 !important;
    text-align:left !important;
  }
  .top-summary-cart-row .top-summary-cart-qty {
    grid-column:3 !important;
    text-align:left !important;
  }
  .top-summary-cart-row .top-summary-cart-price:nth-child(4) {
    display:none !important;
  }
  .top-summary-cart-row .top-summary-cart-price:last-child {
    display:block !important;
    grid-column:4 !important;
    text-align:left !important;
  }
  .top-summary-cart-row .top-summary-cart-price:last-child strong {
    display:block !important;
    text-align:left !important;
  }

  .summary-promotions {
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    align-items:stretch !important;
  }
  .summary-promotion,
  .summary-promotion.is-earned {
    display:grid !important;
    grid-template-rows: 32px 20px !important;
    align-content:start !important;
    min-height:58px !important;
    height:58px !important;
    padding:2px 9px 0 !important;
  }
  .summary-promotion:not(.summary-promotion--shipping):not(.summary-promotion--discount) {
    grid-template-rows:32px 20px !important;
  }
  .summary-benefit-main,
  .summary-discount-head {
    min-height:32px !important;
    grid-template-columns:30px minmax(0,1fr) 18px !important;
    align-items:center !important;
    gap:8px !important;
  }
  .summary-promotion-icon,
  .summary-promotion.is-earned .summary-promotion-icon {
    align-self:center !important;
    margin-top:0 !important;
  }
  .summary-benefit-main > strong,
  .summary-discount-head > strong {
    align-self:center !important;
    margin:0 !important;
  }
  .summary-benefit-check {
    align-self:center !important;
    margin-top:0 !important;
  }
  .summary-benefit-progress {
    align-self:end !important;
    margin-top:0 !important;
  }
}




@media (min-width:701px) {
  .top-summary-cart-head {
    margin-left: 10px !important;
    margin-right: 16px !important;
  }
}




html,
body,
body * {
  -webkit-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}

input,
textarea,
select,
[contenteditable="true"],
.allow-text-selection {
  -webkit-user-select: text !important;
  user-select: text !important;
  -webkit-touch-callout: default !important;
}

img,
svg {
  -webkit-user-drag: none !important;
  user-drag: none !important;
}






.toolbar-minimap .minimap-track {
  position: relative !important;
  width: var(--minimap-track-w, 184px) !important;
  min-width: 72px !important;
  height: 30px !important;
  overflow: hidden !important;
}
.toolbar-minimap .minimap-content {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
.toolbar-minimap .minimap-content .minimap-object,
.toolbar-minimap .minimap-content .minimap-object-pegboard,
.toolbar-minimap .minimap-content .minimap-object-worktop,
.toolbar-minimap .minimap-content .minimap-object-rail,
.toolbar-minimap .minimap-content .minimap-object-wall,
.toolbar-minimap .minimap-content .minimap-object-tall,
.toolbar-minimap .minimap-content .minimap-object-mobile,
.toolbar-minimap .minimap-content .minimap-object-frame,
.toolbar-minimap .minimap-content .minimap-object-cabinet {
  position: absolute !important;
  display: block !important;
  box-sizing: border-box !important;
  min-width: 1px !important;
  min-height: 1px !important;
  border: 0 !important;
  border-radius: 0 !important;
  opacity: 1 !important;
}
.toolbar-minimap .minimap-content .minimap-object-worktop { min-height: 2px !important; z-index: 5 !important; }
.toolbar-minimap .minimap-content .minimap-object-rail { min-width: 1px !important; z-index: 6 !important; }
.toolbar-minimap .minimap-window {
  box-sizing: border-box !important;
  top: 0 !important;
  height: 100% !important;
}
@media (max-width: 1180px) and (min-width: 701px) {
  .toolbar-minimap .minimap-track { width: var(--minimap-track-w, 156px) !important; }
}
@media (max-width: 700px) {
  .toolbar-minimap .minimap-track {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 22px !important;
  }
}
@media (max-width: 390px) {
  .toolbar-minimap .minimap-track {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
  }
}





:root {
  --app-header-height: 45px;
}

#startHeader.app-header,
#editorHeader.app-header,
#checkoutHeader.app-header {
  height: 45px !important;
  min-height: 45px !important;
  max-height: 45px !important;
  box-sizing: border-box !important;
  align-items: center !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#startHeader .start-header-left,
#editorHeader .editor-header-left,
#checkoutHeader .start-header-left,
#startHeader .brand-main-line,
#editorHeader .brand-main-line,
#checkoutHeader .brand-main-line,
#startHeader .brand-logo-link,
#editorHeader .brand-logo-link,
#checkoutHeader .brand-logo-link {
  align-items: center !important;
}

#startHeader .brand-logo,
#editorHeader .brand-logo,
#checkoutHeader .brand-logo {
  display: block !important;
  width: auto !important;
  height: 35px !important;
  min-height: 35px !important;
  max-height: 35px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

#startHeader .header-social-links,
#editorHeader .header-social-links,
#checkoutHeader .header-social-links {
  align-items: center !important;
  gap: 10px !important;
}

#startHeader .header-social-link,
#editorHeader .header-social-link,
#checkoutHeader .header-social-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 35px !important;
  height: 35px !important;
  min-width: 35px !important;
  min-height: 35px !important;
  max-width: 35px !important;
  max-height: 35px !important;
  flex: 0 0 35px !important;
}

#startHeader .header-social-icon,
#editorHeader .header-social-icon,
#checkoutHeader .header-social-icon {
  width: 35px !important;
  height: 35px !important;
  min-width: 35px !important;
  min-height: 35px !important;
  max-width: 35px !important;
  max-height: 35px !important;
  object-fit: contain !important;
}


#startHeader .start-header-action,
#startHeader .header-text-action,
#editorHeader .editor-primary-actions .btn,
#editorHeader .header-text-action,
#editorHeader .header-menu-label,
#editorHeader .menu-action,
#checkoutHeader .header-text-action,
#checkoutHeader .ahp-checkout-back {
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
}

@media (max-width: 1099.98px) {
  #startHeader .brand-logo,
  #editorHeader .brand-logo,
  #checkoutHeader .brand-logo,
  #startHeader .header-social-link,
  #editorHeader .header-social-link,
  #checkoutHeader .header-social-link,
  #startHeader .header-social-icon,
  #editorHeader .header-social-icon,
  #checkoutHeader .header-social-icon {
    height: 35px !important;
    min-height: 35px !important;
    max-height: 35px !important;
  }

  #startHeader .header-social-link,
  #editorHeader .header-social-link,
  #checkoutHeader .header-social-link,
  #startHeader .header-social-icon,
  #editorHeader .header-social-icon,
  #checkoutHeader .header-social-icon {
    width: 35px !important;
    min-width: 35px !important;
    max-width: 35px !important;
  }
}




.ahp-header-icon-swap,
.ahp-cart-icon-swap {
  position: relative;
}

.ahp-header-icon-swap > img,
.ahp-cart-icon-swap > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .14s ease;
  pointer-events: none;
}

.ahp-header-icon-swap .ahp-icon-red,
.ahp-cart-icon-swap .ahp-icon-red {
  opacity: 0;
}

@media (max-width: 1099.98px) {
  
  #editorHeader .header-menu-button {
    min-width: 35px !important;
    min-height: 35px !important;
    width: 35px !important;
    height: 35px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  #editorHeader .header-menu-label {
    display: none !important;
  }

  #editorHeader .header-menu-icon-swap {
    display: block !important;
    width: 35px !important;
    height: 35px !important;
    flex: 0 0 35px !important;
  }

  #editorHeader .header-menu-button:hover .header-menu-icon-swap .ahp-icon-white,
  #editorHeader .header-menu-button:focus-visible .header-menu-icon-swap .ahp-icon-white,
  #editorHeader .header-menu-button[aria-expanded="true"] .header-menu-icon-swap .ahp-icon-white {
    opacity: 0;
  }

  #editorHeader .header-menu-button:hover .header-menu-icon-swap .ahp-icon-red,
  #editorHeader .header-menu-button:focus-visible .header-menu-icon-swap .ahp-icon-red,
  #editorHeader .header-menu-button[aria-expanded="true"] .header-menu-icon-swap .ahp-icon-red {
    opacity: 1;
  }

  
  #startHeader .top-summary-cart-icon,
  #editorHeader .top-summary-cart-icon {
    position: relative !important;
    display: block !important;
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    min-height: 35px !important;
    max-width: 35px !important;
    max-height: 35px !important;
    flex: 0 0 35px !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  #startHeader .top-summary-cart-icon::before,
  #startHeader .top-summary-cart-icon::after,
  #editorHeader .top-summary-cart-icon::before,
  #editorHeader .top-summary-cart-icon::after {
    content: none !important;
    display: none !important;
  }

  #startHeader .top-summary-cart-icon > img,
  #editorHeader .top-summary-cart-icon > img {
    display: block !important;
  }

  #startHeader .top-summary-button:hover .ahp-cart-icon-swap .ahp-icon-white,
  #startHeader .top-summary-button:focus-visible .ahp-cart-icon-swap .ahp-icon-white,
  #startHeader .top-summary-button[aria-expanded="true"] .ahp-cart-icon-swap .ahp-icon-white,
  #editorHeader .top-summary-button:hover .ahp-cart-icon-swap .ahp-icon-white,
  #editorHeader .top-summary-button:focus-visible .ahp-cart-icon-swap .ahp-icon-white,
  #editorHeader .top-summary-button[aria-expanded="true"] .ahp-cart-icon-swap .ahp-icon-white {
    opacity: 0;
  }

  #startHeader .top-summary-button:hover .ahp-cart-icon-swap .ahp-icon-red,
  #startHeader .top-summary-button:focus-visible .ahp-cart-icon-swap .ahp-icon-red,
  #startHeader .top-summary-button[aria-expanded="true"] .ahp-cart-icon-swap .ahp-icon-red,
  #editorHeader .top-summary-button:hover .ahp-cart-icon-swap .ahp-icon-red,
  #editorHeader .top-summary-button:focus-visible .ahp-cart-icon-swap .ahp-icon-red,
  #editorHeader .top-summary-button[aria-expanded="true"] .ahp-cart-icon-swap .ahp-icon-red {
    opacity: 1;
  }

  
  #startHeader .top-summary-cart-badge,
  #editorHeader .top-summary-cart-badge {
    z-index: 3 !important;
  }
}



@media (min-width: 1100px) {
  .header-menu-icon-swap {
    display: none !important;
  }

  .ahp-cart-icon-swap > img {
    display: none !important;
  }
}



.ahp-mobile-header-controls,
.ahp-mobile-header-menu-wrap,
.ahp-mobile-header-menu {
  box-sizing: border-box;
}

.ahp-mobile-header-controls {
  display: none;
}

@media (max-width: 1099.98px) {
  #startHeader.app-header,
  #editorHeader.app-header,
  #checkoutHeader.app-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 45px !important;
    min-height: 45px !important;
    max-height: 45px !important;
    padding: 0 8px !important;
    gap: 8px !important;
    overflow: visible !important;
  }

  #startHeader .start-header-left,
  #editorHeader .editor-header-left,
  #checkoutHeader .start-header-left {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    gap: 0 !important;
    overflow: visible !important;
  }

  #startHeader .brand,
  #editorHeader .brand,
  #checkoutHeader .brand,
  #startHeader .brand-main-line,
  #editorHeader .brand-main-line,
  #checkoutHeader .brand-main-line,
  #startHeader .brand-logo-link,
  #editorHeader .brand-logo-link,
  #checkoutHeader .brand-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #startHeader .brand-logo,
  #editorHeader .brand-logo,
  #checkoutHeader .brand-logo {
    width: auto !important;
    height: 35px !important;
    min-height: 35px !important;
    max-height: 35px !important;
    max-width: min(150px, 42vw) !important;
    object-fit: contain !important;
    object-position: left center !important;
  }

  
  #startHeader > .start-header-left > .header-social-links,
  #editorHeader > .editor-header-left > .header-social-links,
  #checkoutHeader > .start-header-left > .header-social-links,
  #startHeader .start-header-wip-actions,
  #editorHeader .editor-primary-actions,
  #startHeader .start-help-button,
  #editorHeader .editor-help-button,
  #checkoutHeader .ahp-checkout-back,
  #checkoutHeader .start-help-button {
    display: none !important;
  }

  #startHeader .start-header-right,
  #editorHeader .editor-header-right,
  #checkoutHeader .start-header-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    margin-left: auto !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
  }

  
  #editorHeader .header-menu-wrap {
    position: relative !important;
    display: block !important;
    width: 35px !important;
    height: 35px !important;
    flex: 0 0 35px !important;
    margin: 0 !important;
  }

  #editorHeader .header-menu-button {
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    min-height: 35px !important;
    max-width: 35px !important;
    max-height: 35px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  #editorHeader .header-menu-label {
    display: none !important;
  }

  #editorHeader .header-menu-icon-swap {
    display: block !important;
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    min-height: 35px !important;
  }

  
  #startHeader .header-summary-wrap,
  #editorHeader .header-summary-wrap {
    margin: 0 !important;
    padding: 0 !important;
    min-width: 35px !important;
    width: auto !important;
    flex: 0 0 auto !important;
  }

  #startHeader .top-summary-button,
  #editorHeader .top-summary-button {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    min-height: 35px !important;
    max-width: 35px !important;
    max-height: 35px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  #startHeader .top-summary-cart-visual,
  #editorHeader .top-summary-cart-visual,
  #startHeader .top-summary-cart-icon,
  #editorHeader .top-summary-cart-icon {
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    min-height: 35px !important;
    max-width: 35px !important;
    max-height: 35px !important;
    margin: 0 !important;
  }

  #startHeader .top-summary-main,
  #editorHeader .top-summary-main {
    display: none !important;
  }

  #startHeader .top-summary-cart-badge,
  #editorHeader .top-summary-cart-badge,
  .ahp-mobile-cart-badge {
    position: absolute !important;
    top: -4px !important;
    right: -5px !important;
    z-index: 5 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 4px !important;
    border-radius: 999px !important;
    border: 1px solid #fff !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    box-sizing: border-box !important;
  }

  .ahp-mobile-header-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    min-width: 0 !important;
    margin-left: auto !important;
    flex: 0 0 auto !important;
  }

  .ahp-mobile-header-menu-wrap {
    position: relative !important;
    display: block !important;
    width: 35px !important;
    height: 35px !important;
    flex: 0 0 35px !important;
  }

  .ahp-mobile-menu-button,
  .ahp-mobile-cart-button {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    min-height: 35px !important;
    max-width: 35px !important;
    max-height: 35px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
  }

  .ahp-mobile-menu-button .ahp-header-icon-swap,
  .ahp-mobile-cart-button .ahp-cart-icon-swap {
    display: block !important;
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    min-height: 35px !important;
  }

  .ahp-mobile-menu-button:hover .ahp-icon-white,
  .ahp-mobile-menu-button:focus-visible .ahp-icon-white,
  .ahp-mobile-menu-button[aria-expanded="true"] .ahp-icon-white,
  .ahp-mobile-cart-button:hover .ahp-icon-white,
  .ahp-mobile-cart-button:focus-visible .ahp-icon-white {
    opacity: 0 !important;
  }

  .ahp-mobile-menu-button:hover .ahp-icon-red,
  .ahp-mobile-menu-button:focus-visible .ahp-icon-red,
  .ahp-mobile-menu-button[aria-expanded="true"] .ahp-icon-red,
  .ahp-mobile-cart-button:hover .ahp-icon-red,
  .ahp-mobile-cart-button:focus-visible .ahp-icon-red {
    opacity: 1 !important;
  }

  .ahp-mobile-header-menu {
    position: fixed !important;
    top: 45px !important;
    right: 8px !important;
    z-index: 10050 !important;
    width: min(300px, calc(100vw - 16px)) !important;
    max-height: calc(100dvh - 57px) !important;
    overflow-y: auto !important;
    padding: 10px !important;
    border: 1px solid #323232 !important;
    border-top: 2px solid #C11015 !important;
    border-radius: 0 0 12px 12px !important;
    background: #111 !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.34) !important;
  }

  .ahp-mobile-header-menu[hidden] {
    display: none !important;
  }

  .ahp-mobile-menu-action,
  .ahp-mobile-menu-link {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 44px !important;
    padding: 10px 12px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #fff !important;
    font: inherit !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-align: left !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
  }

  .ahp-mobile-menu-action:hover,
  .ahp-mobile-menu-action:focus-visible,
  .ahp-mobile-menu-link:hover,
  .ahp-mobile-menu-link:focus-visible {
    color: #C11015 !important;
    background: #191919 !important;
    outline: none !important;
  }

  .ahp-mobile-menu-social {
    margin-top: 8px !important;
    padding-top: 10px !important;
    border-top: 1px solid #333 !important;
  }

  .ahp-mobile-menu-social-title {
    display: block !important;
    margin: 0 0 8px !important;
    color: #bfc5cd !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
  }

  .ahp-mobile-menu-social-links {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .ahp-mobile-menu-social-link {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 35px !important;
    height: 35px !important;
    flex: 0 0 35px !important;
  }

  .ahp-mobile-menu-social-link > img {
    position: absolute !important;
    inset: 0 !important;
    width: 35px !important;
    height: 35px !important;
    transition: opacity .14s ease !important;
  }

  .ahp-mobile-menu-social-link .header-social-icon-red {
    opacity: 0 !important;
  }

  .ahp-mobile-menu-social-link:hover .header-social-icon-white,
  .ahp-mobile-menu-social-link:focus-visible .header-social-icon-white {
    opacity: 0 !important;
  }

  .ahp-mobile-menu-social-link:hover .header-social-icon-red,
  .ahp-mobile-menu-social-link:focus-visible .header-social-icon-red {
    opacity: 1 !important;
  }

  
  #editorHeader .header-menu-dropdown {
    top: 40px !important;
    right: 0 !important;
    max-width: min(300px, calc(100vw - 16px)) !important;
  }
}

@media (min-width: 1100px) {
  .ahp-mobile-header-controls {
    display: none !important;
  }
}





:root {
  --ahp-red: #c11015;
  --ahp-header-height: 60px;
  --ahp-footer-height: 28px;
  --ahp-page-gutter: clamp(12px, 2.4vw, 32px);
  --ahp-touch-size: 44px;
}

[hidden],
.hidden {
  display: none !important;
}

html {
  width: 100%;
  min-width: 320px;
  overflow-x: clip;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

html:has(#startScreen:not(.hidden)) {
  height: auto !important;
  min-height: 100dvh !important;
  overflow-y: auto !important;
}

html:has(.ahp-checkout-page),
body:has(.ahp-checkout-page) {
  height: auto !important;
  min-height: 100dvh !important;
  max-height: none !important;
  overflow-y: auto !important;
}

body {
  width: 100%;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
}

.app-footer {
  height: var(--ahp-footer-height) !important;
  min-height: var(--ahp-footer-height) !important;
  max-height: var(--ahp-footer-height) !important;
  padding: 0 12px !important;
  box-sizing: border-box !important;
}

body:has(#startScreen:not(.hidden)) {
  height: auto !important;
  min-height: 100dvh !important;
  overflow-y: auto !important;
}

body:has(#startScreen:not(.hidden)) .app {
  width: 100% !important;
  height: auto !important;
  min-height: calc(100dvh - var(--ahp-footer-height)) !important;
  max-height: none !important;
  overflow: visible !important;
}

img,
svg,
canvas {
  max-width: 100%;
}

button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #ffcb05 !important;
  outline-offset: 2px !important;
}


#startHeader.app-header,
#editorHeader.app-header,
#checkoutHeader.app-header,
.ahp-checkout-shared-header.start-header.app-header {
  position: relative !important;
  z-index: 1000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  height: var(--ahp-header-height) !important;
  min-height: var(--ahp-header-height) !important;
  max-height: var(--ahp-header-height) !important;
  padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)) !important;
  gap: 14px !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

#startHeader .start-header-left,
#editorHeader .editor-header-left,
#checkoutHeader .start-header-left,
#startHeader .start-header-right,
#editorHeader .editor-header-right,
#checkoutHeader .start-header-right {
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  align-items: center !important;
  overflow: visible !important;
}

#startHeader .start-header-left,
#editorHeader .editor-header-left,
#checkoutHeader .start-header-left {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

#startHeader .start-header-right,
#editorHeader .editor-header-right,
#checkoutHeader .start-header-right {
  flex: 0 0 auto !important;
  margin-left: auto !important;
}

#startHeader .brand-logo-link,
#editorHeader .brand-logo-link,
#checkoutHeader .brand-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  height: 44px !important;
  padding: 4px 0 !important;
  box-sizing: border-box !important;
}

#startHeader .header-summary-wrap::after,
#editorHeader .header-summary-wrap::after {
  content: none !important;
  display: none !important;
}

#startHeader .brand-logo,
#editorHeader .brand-logo,
#checkoutHeader .brand-logo,
.ahp-checkout-shared-header .brand-logo-link .brand-logo {
  display: block !important;
  position: static !important;
  width: auto !important;
  height: 36px !important;
  min-height: 0 !important;
  max-height: 36px !important;
  max-width: min(180px, 31vw) !important;
  object-fit: contain !important;
  margin: 0 !important;
  transform: none !important;
}

#startHeader .brand,
#editorHeader .brand,
#checkoutHeader .brand,
#startHeader .brand-main-line,
#editorHeader .brand-main-line,
#checkoutHeader .brand-main-line {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: 0 0 auto !important;
}

#startHeader .header-social-link,
#editorHeader .header-social-link,
#checkoutHeader .header-social-link {
  position: relative !important;
  overflow: hidden !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  flex-basis: 40px !important;
}

#startHeader .header-social-icon,
#editorHeader .header-social-icon,
#checkoutHeader .header-social-icon {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
}

#editorHeader .header-menu-wrap,
#editorHeader .header-menu-button,
.ahp-mobile-header-menu-wrap,
.ahp-mobile-menu-button,
.ahp-mobile-cart-button,
#startHeader .top-summary-button,
#editorHeader .top-summary-button {
  width: var(--ahp-touch-size) !important;
  height: var(--ahp-touch-size) !important;
  min-width: var(--ahp-touch-size) !important;
  min-height: var(--ahp-touch-size) !important;
  max-width: var(--ahp-touch-size) !important;
  max-height: var(--ahp-touch-size) !important;
  flex: 0 0 var(--ahp-touch-size) !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

#editorHeader .header-menu-wrap,
#editorHeader .header-menu-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#editorHeader .header-menu-icon-swap,
.ahp-mobile-menu-button .ahp-header-icon-swap,
.ahp-mobile-cart-button .ahp-cart-icon-swap,
#startHeader .top-summary-cart-visual,
#editorHeader .top-summary-cart-visual,
#startHeader .top-summary-cart-icon,
#editorHeader .top-summary-cart-icon {
  display: block !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
}

#startHeader .top-summary-cart-visual,
#editorHeader .top-summary-cart-visual {
  position: relative !important;
  flex: 0 0 40px !important;
}

#startHeader .top-summary-cart-icon,
#editorHeader .top-summary-cart-icon {
  position: absolute !important;
  inset: 0 !important;
  margin: 0 !important;
}

.ahp-header-icon-swap > img,
.ahp-cart-icon-swap > img,
#editorHeader .header-menu-icon-swap > img,
#startHeader .top-summary-cart-icon > img,
#editorHeader .top-summary-cart-icon > img {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

#editorHeader .header-menu-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#startHeader .top-summary-main,
#editorHeader .top-summary-main {
  margin-left: 8px !important;
}

#startHeader .top-summary-button,
#editorHeader .top-summary-button {
  overflow: visible !important;
}

#startHeader .top-summary-cart-badge,
#editorHeader .top-summary-cart-badge,
.ahp-mobile-cart-badge {
  top: -2px !important;
  right: -3px !important;
  min-width: 19px !important;
  height: 19px !important;
  font-size: 11px !important;
  box-sizing: border-box !important;
}

#editorHeader .header-menu-dropdown,
.ahp-mobile-header-menu {
  top: calc(var(--ahp-header-height) - 1px) !important;
  right: max(10px, env(safe-area-inset-right)) !important;
  width: min(320px, calc(100vw - 20px)) !important;
  max-height: calc(100dvh - var(--ahp-header-height) - 12px) !important;
  overscroll-behavior: contain !important;
}

.ahp-mobile-menu-action,
.ahp-mobile-menu-link,
#editorHeader .menu-action {
  min-height: 46px !important;
}


#startScreen:not(.hidden) {
  display: block !important;
  width: 100% !important;
  min-height: calc(100dvh - var(--ahp-footer-height)) !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

#startScreen .start-content-layout {
  display: grid !important;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1060px) !important;
  grid-template-areas: "usp card" !important;
  align-items: start !important;
  justify-content: center !important;
  gap: clamp(16px, 2vw, 28px) !important;
  width: min(100%, 1420px) !important;
  height: auto !important;
  min-height: calc(100dvh - var(--ahp-header-height) - var(--ahp-footer-height)) !important;
  margin: 0 auto !important;
  padding: clamp(18px, 2.2vw, 32px) var(--ahp-page-gutter) calc(28px + var(--ahp-footer-height)) !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

#startScreen .start-card {
  grid-area: card !important;
  position: static !important;
  width: 100% !important;
  max-width: 1060px !important;
  min-width: 0 !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: clamp(22px, 3vw, 40px) !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

#startScreen .start-usp {
  grid-area: usp !important;
  position: sticky !important;
  top: calc(var(--ahp-header-height) + 18px) !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  transform: none !important;
  box-sizing: border-box !important;
  justify-items: stretch !important;
}

#startScreen .start-usp-item {
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  column-gap: 12px !important;
  row-gap: 2px !important;
  align-items: center !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 84px !important;
  margin: 0 !important;
  padding: 13px !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
  justify-self: stretch !important;
  grid-column: auto !important;
  grid-row: auto !important;
}

#startScreen .start-usp-icon,
#startScreen .start-usp-icon-shipping,
#startScreen .start-usp-icon-warranty {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  margin: 0 !important;
  transform: none !important;
  object-fit: contain !important;
}

#startScreen .start-usp-item h2,
#startScreen .start-usp-item p {
  grid-column: 2 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  text-align: left !important;
}

#startScreen .start-usp-item h2 {
  grid-row: 1 !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
}

#startScreen .start-usp-item p {
  grid-row: 2 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

#startScreen .choice-card,
#startScreen .start-actions .btn,
#startScreen .wall-input input {
  min-height: 48px !important;
}

#startScreen .choice-card {
  min-width: 0 !important;
  overflow: hidden !important;
}

#startScreen .choice-card > span:last-child,
#startScreen .choice-label,
#startScreen .choice-desc {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}


#editorScreen:not(.hidden) {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: calc(100dvh - var(--ahp-footer-height)) !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

#editorScreen .editor-shell {
  flex: 1 1 auto !important;
  display: grid !important;
  grid-template-columns: 330px minmax(0, 1fr) !important;
  grid-template-rows: minmax(0, 1fr) !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
}

#editorScreen .catalog-panel,
#editorScreen .workspace-panel {
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

#editorScreen .workspace-toolbar {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 54px !important;
  height: auto !important;
  padding: 6px 10px !important;
  gap: 8px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  overscroll-behavior-inline: contain !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
}

#editorScreen .workspace-toolbar::-webkit-scrollbar,
#editorScreen .category-tabs::-webkit-scrollbar {
  display: none !important;
}

#editorScreen .toolbar-main-controls,
#editorScreen .workspace-toolbar > *,
#editorScreen .toolbar-group {
  flex: 0 0 auto !important;
}

#editorScreen .workspace-toolbar button,
#editorScreen .icon-btn,
#editorScreen .toolbar-history-btn,
#editorScreen .toolbar-layout-btn,
#editorScreen .floorplan-toolbar-button,
#editorScreen .minimap-arrow {
  min-width: 40px !important;
  min-height: 40px !important;
}

#editorScreen .zoom-value-btn {
  min-height: 40px !important;
  padding-inline: 9px !important;
}

#editorScreen .stage-viewport {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overscroll-behavior: contain !important;
}

#editorScreen .product-list {
  min-height: 0 !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
}

#editorScreen .category-tabs {
  min-height: 46px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
}

#editorScreen .category-tab {
  min-height: 40px !important;
}

#productList .product-card,
#productList .product-card-ref {
  min-width: 0 !important;
  min-height: 128px !important;
  height: auto !important;
}

#productList .product-bottom {
  min-height: 48px !important;
  align-items: center !important;
}

#productList .product-controls {
  display: grid !important;
  grid-template-columns: repeat(3, 44px) !important;
  gap: 4px !important;
  width: 140px !important;
  min-width: 140px !important;
  height: 44px !important;
  min-height: 44px !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

#productList .product-add {
  min-width: 44px !important;
  width: 44px !important;
  min-height: 44px !important;
  height: 44px !important;
  padding: 0 !important;
}

#productList .product-sub,
#productList .product-count-input {
  min-width: 44px !important;
  width: 44px !important;
  min-height: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

@media (min-width: 1100px) {
  #startHeader .header-summary-wrap,
  #editorHeader .header-summary-wrap {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
  }

  #startHeader .top-summary-button,
  #editorHeader .top-summary-button {
    width: auto !important;
    min-width: 104px !important;
    max-width: none !important;
    padding: 0 10px 0 6px !important;
    gap: 7px !important;
    flex: 0 0 auto !important;
  }

  #startHeader .top-summary-cart-visual,
  #editorHeader .top-summary-cart-visual,
  #startHeader .top-summary-cart-icon,
  #editorHeader .top-summary-cart-icon {
    flex: 0 0 40px !important;
  }

  #startHeader .top-summary-main,
  #editorHeader .top-summary-main {
    display: block !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }
}

#editorScreen .mobile-nudge button {
  min-width: 44px !important;
  min-height: 44px !important;
}


.setup-param-overlay,
.save-config-overlay,
.pdf-download-progress-overlay {
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)) !important;
  box-sizing: border-box !important;
}

.setup-param-modal,
.save-config-modal,
.help-modal,
.corner-config-modal {
  width: min(760px, 100%) !important;
  max-width: 100% !important;
  max-height: calc(100dvh - 24px) !important;
  overflow: auto !important;
  overscroll-behavior: contain !important;
  box-sizing: border-box !important;
}

.setup-param-close,
.save-config-copy-icon,
.save-config-load-close {
  min-width: 44px !important;
  min-height: 44px !important;
}


.ahp-checkout-page,
.ahp-sent-page {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-width: 320px !important;
  min-height: 100dvh !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.ahp-checkout-page > #checkoutHeader.app-header {
  position: sticky !important;
  top: 0 !important;
  flex: 0 0 var(--ahp-header-height) !important;
}

.ahp-checkout-main,
.ahp-sent-main {
  position: static !important;
  flex: 1 0 auto !important;
  width: min(100%, 1440px) !important;
  max-width: 1440px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin-inline: auto !important;
  padding-inline: var(--ahp-page-gutter) !important;
  padding-bottom: clamp(32px, 6vw, 72px) !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

.ahp-checkout-grid,
.ahp-checkout-grid > *,
.ahp-checkout-hero,
.ahp-checkout-side,
.ahp-checkout-list-card,
.ahp-konfigurator-form-section,
.ahp-sent-main > * {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.ahp-sent-content,
.ahp-sent-top-card,
.ahp-sent-confirmation,
.ahp-sent-preview-panel,
.ahp-sent-process-card,
.ahp-sent-process,
.ahp-sent-process-step,
.ahp-sent-process-copy,
.ahp-sent-process-heading,
.ahp-sent-info-grid,
.ahp-sent-info-card,
.ahp-sent-support,
.ahp-sent-mobile-summary {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.ahp-sent-content {
  width: 100% !important;
}

.ahp-sent-process-heading {
  flex-wrap: wrap !important;
}

.ahp-sent-process-help,
.ahp-sent-help {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
}

.ahp-sent-support-contact,
.ahp-sent-mobile-contact-lines,
.ahp-sent-info-copy {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}

.ahp-row,
.ahp-row-cell,
.ahp-row-title,
.ahp-upload-name,
.ahp-total-line,
.ahp-sent-main p,
.ahp-sent-main strong {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}

.ahp-konfigurator-form input,
.ahp-konfigurator-form textarea,
.ahp-konfigurator-form select {
  max-width: 100% !important;
  min-height: 48px !important;
  font-size: 16px !important;
  box-sizing: border-box !important;
}

.ahp-btn,
.ahp-konfigurator-form button,
.ahp-upload-remove,
.ahp-preview-zoom,
.ahp-sent-main button,
.ahp-sent-main a {
  min-height: 44px !important;
}

.ahp-checkout-app-footer.app-footer {
  position: relative !important;
  inset: auto !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: var(--ahp-footer-height) !important;
  padding-bottom: env(safe-area-inset-bottom) !important;
  box-sizing: border-box !important;
}

@media (max-width: 1180px) {
  #startScreen .start-content-layout {
    grid-template-columns: 1fr !important;
    grid-template-areas: "card" "usp" !important;
    max-width: 1060px !important;
  }

  #startScreen .start-usp {
    position: static !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .ahp-checkout-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .ahp-checkout-side {
    position: static !important;
  }
}

@media (max-width: 1099.98px) {
  #editorScreen .editor-shell {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(300px, 58fr) minmax(250px, 42fr) !important;
  }

  #editorScreen .workspace-panel {
    order: 1 !important;
  }

  #editorScreen .catalog-panel {
    order: 2 !important;
    border-top: 1px solid #dfe4eb !important;
    border-right: 0 !important;
  }
}

@media (min-width: 900px) and (max-width: 1099.98px) and (orientation: landscape) {
  #editorScreen .editor-shell {
    grid-template-columns: 300px minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) !important;
  }

  #editorScreen .catalog-panel {
    order: 1 !important;
    border-top: 0 !important;
    border-right: 1px solid #dfe4eb !important;
  }

  #editorScreen .workspace-panel {
    order: 2 !important;
  }
}

@media (max-width: 1099.98px) {
  :root {
    --ahp-header-height: 56px;
  }

  #startHeader.app-header,
  #editorHeader.app-header,
  #checkoutHeader.app-header,
  .ahp-checkout-shared-header.start-header.app-header {
    padding-left: max(10px, env(safe-area-inset-left)) !important;
    padding-right: max(10px, env(safe-area-inset-right)) !important;
    gap: 8px !important;
  }

  #startHeader .brand-logo-link,
  #editorHeader .brand-logo-link,
  #checkoutHeader .brand-logo-link {
    height: 44px !important;
  }

  #startHeader .brand-logo,
  #editorHeader .brand-logo,
  #checkoutHeader .brand-logo,
  .ahp-checkout-shared-header .brand-logo-link .brand-logo {
    height: 34px !important;
    max-height: 34px !important;
    max-width: min(150px, 42vw) !important;
  }

  #startHeader .start-header-right,
  #editorHeader .editor-header-right,
  #checkoutHeader .start-header-right,
  .ahp-mobile-header-controls {
    gap: 6px !important;
  }

  #startHeader > .start-header-left > .header-social-links,
  #editorHeader > .editor-header-left > .header-social-links,
  #checkoutHeader > .start-header-left > .header-social-links,
  #startHeader .start-header-wip-actions,
  #editorHeader .editor-primary-actions,
  #startHeader .start-help-button,
  #editorHeader .editor-help-button,
  #checkoutHeader.app-header .ahp-checkout-back,
  #checkoutHeader.app-header .start-help-button {
    display: none !important;
  }

  #startHeader .top-summary-main,
  #editorHeader .top-summary-main {
    display: none !important;
  }

  #editorHeader .header-menu-dropdown,
  .ahp-mobile-header-menu {
    top: var(--ahp-header-height) !important;
  }

  .ahp-checkout-main,
  .ahp-sent-main {
    padding-top: 18px !important;
  }

  .ahp-checkout-hero {
    flex-direction: column !important;
  }

  .ahp-checkout-setup {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 720px) {
  :root {
    --ahp-page-gutter: 10px;
  }

  #startScreen .start-content-layout {
    gap: 14px !important;
    padding-top: 12px !important;
  }

  #startScreen .start-card {
    padding: 20px 16px !important;
    border-radius: 18px !important;
  }

  #startScreen .start-title {
    font-size: clamp(24px, 8vw, 34px) !important;
    line-height: 1.08 !important;
    overflow-wrap: anywhere !important;
  }

  #startScreen .start-usp {
    grid-template-columns: 1fr !important;
  }

  #startScreen .choice-grid,
  #startScreen .assembly-grid,
  #startScreen .depth-grid,
  #startScreen .wall-inputs {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #startScreen .choice-card {
    width: 100% !important;
    min-height: 78px !important;
    padding: 12px !important;
  }

  #startScreen .start-actions,
  #startScreen .start-action-set {
    width: 100% !important;
  }

  #startScreen .start-actions .btn,
  #startScreen .start-action-set .btn {
    width: 100% !important;
  }

  #editorScreen .editor-shell {
    grid-template-rows: minmax(285px, 58fr) minmax(250px, 42fr) !important;
  }

  #editorScreen .workspace-toolbar {
    min-height: 52px !important;
    padding-inline: 6px !important;
  }

  #editorScreen .stage-viewport {
    padding: 10px 10px 104px 48px !important;
  }

  #editorScreen .catalog-panel {
    padding: 9px !important;
  }

  #editorScreen .catalog-head h2 {
    font-size: 18px !important;
  }

  .ahp-checkout-hero,
  .ahp-checkout-list-card,
  .ahp-preview-card,
  .ahp-totals-card,
  .ahp-konfigurator-form-section,
  .ahp-form-card {
    padding: 16px !important;
    border-radius: 14px !important;
  }

  .ahp-row {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 10px !important;
  }

  .ahp-row-media {
    width: 58px !important;
    height: 58px !important;
  }

  .ahp-row-cell {
    grid-column: 2 !important;
    display: flex !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  .ahp-total-line {
    align-items: flex-start !important;
  }

  .ahp-submit-row .ahp-btn,
  .ahp-sent-main .ahp-btn {
    width: 100% !important;
  }

  .ahp-sent-process-tooltip,
  .ahp-sent-tooltip {
    position: fixed !important;
    z-index: 12000 !important;
    top: 50% !important;
    right: 12px !important;
    bottom: auto !important;
    left: 12px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    transform: translateY(-50%) !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 420px) {
  :root {
    --ahp-header-height: 54px;
  }

  #startHeader .brand-logo,
  #editorHeader .brand-logo,
  #checkoutHeader .brand-logo,
  .ahp-checkout-shared-header .brand-logo-link .brand-logo {
    height: 32px !important;
    max-height: 32px !important;
    max-width: 138px !important;
  }

  #editorScreen .editor-shell {
    grid-template-rows: minmax(270px, 56fr) minmax(250px, 44fr) !important;
  }

  #editorScreen .toolbar-main-controls {
    gap: 4px !important;
  }

  #editorScreen .workspace-toolbar button,
  #editorScreen .icon-btn,
  #editorScreen .toolbar-history-btn,
  #editorScreen .toolbar-layout-btn,
  #editorScreen .floorplan-toolbar-button,
  #editorScreen .minimap-arrow {
    min-width: 38px !important;
    min-height: 38px !important;
  }

  #editorScreen .stage-viewport {
    padding-left: 42px !important;
  }

  #editorScreen #productList {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }

  #editorScreen #productList .product-card,
  #editorScreen #productList .product-card-ref {
    width: 100% !important;
    max-width: 100% !important;
  }

  .setup-param-modal,
  .save-config-modal,
  .help-modal,
  .corner-config-modal {
    border-radius: 16px !important;
    padding: 18px 14px !important;
  }
}

@media (max-height: 620px) and (max-width: 1099.98px) {
  #editorScreen .editor-shell {
    grid-template-rows: minmax(230px, 55fr) minmax(190px, 45fr) !important;
  }

  #editorScreen .workspace-toolbar {
    min-height: 48px !important;
  }

  #editorScreen .catalog-panel > .editor-promo-bar {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}



.setup-modal-heading-with-help,
.setup-param-title-with-help {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  overflow: visible !important;
}
.setup-modal-heading-with-help > span:first-child,
.setup-param-title-with-help > span:first-child {
  min-width: 0;
}
.setup-modal-heading-with-help .wall-range-help,
.setup-param-title-with-help .wall-range-help {
  flex: 0 0 17px;
}
.setup-param-title-with-help .wall-range-help--below::before {
  display: none !important;
}
.setup-param-title-with-help .wall-range-help--below::after {
  top: calc(100% + 8px) !important;
  bottom: auto !important;
  right: -8px !important;
  transform: translateY(-4px) !important;
}
.setup-param-title-with-help .wall-range-help--below:hover::after,
.setup-param-title-with-help .wall-range-help--below:focus::after,
.setup-param-title-with-help .wall-range-help--below:focus-visible::after {
  transform: translateY(0) !important;
}


@media (min-width: 721px) {
  #startScreen #assemblyTypeChoices,
  #startScreen #depthChoices {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    max-width: none !important;
  }

  #startScreen #assemblyTypeChoices .choice-card,
  #startScreen #colorChoices .choice-card,
  #startScreen #depthChoices .choice-card {
    height: 54px !important;
    min-height: 54px !important;
    padding: 7px 12px !important;
    border-radius: 16px !important;
  }

  #startScreen #assemblyTypeChoices .swatch,
  #startScreen #depthChoices .swatch {
    width: 34px !important;
    height: 34px !important;
    border-radius: 11px !important;
    flex: 0 0 34px !important;
  }
}



#startScreen .chooser-block > h2.setup-modal-heading-with-help {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  overflow: visible !important;
}

#startScreen .chooser-block > h2.setup-modal-heading-with-help .wall-range-help {
  flex: 0 0 17px !important;
}



body.has-overlay-modal > .app .wall-range-help::before,
body.has-overlay-modal > .app .wall-range-help::after {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}


#setupParamOverlay .wall-range-help,
#setupParamOverlay .wall-range-help::before,
#setupParamOverlay .wall-range-help::after {
  z-index: 1000 !important;
}


@media (hover: hover) and (pointer: fine) {
  #saveConfigOverlay #copyConfigIdTooltip.save-config-copy-tooltip {
    top: calc(100% + 7px) !important;
    bottom: auto !important;
    right: 0 !important;
    max-width: none !important;
    white-space: nowrap !important;
    z-index: 220 !important;
  }
  #saveConfigOverlay #copyConfigIdTooltip.save-config-copy-tooltip::after {
    top: auto !important;
    bottom: 100% !important;
    right: 13px !important;
    border: 5px solid transparent !important;
    border-bottom-color: #20242b !important;
  }
  #saveConfigOverlay #copyConfigIdButton:hover + #copyConfigIdTooltip,
  #saveConfigOverlay #copyConfigIdButton:focus-visible + #copyConfigIdTooltip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }
}
.toast.toast-success.toast-accessory {
  width: auto !important;
  max-width: 260px !important;
  padding: 8px 12px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 850 !important;
  text-align: center !important;
  pointer-events: none !important;
}



@media (hover: none), (pointer: coarse) {
  .summary-promotion:not(.is-tooltip-open) .summary-benefit-tooltip {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-4px) !important;
  }
}
