

/* Start:/local/templates/stellagg/assets/css/site-header.css?178559312218505*/
.site-header {
  position: relative;
  z-index: 70;
  border-bottom: 1px solid #e7edf2;
  color: #0a1d39;
  background: #fff;
}

.site-header__shell {
  width: min(calc(100% - 40px), 1240px);
  margin-inline: auto;
}

.site-header-sr-only,
.site-header .sr-only { 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; }

.site-header__main {
  min-height: 94px;
  display: grid;
  grid-template-columns: 205px 112px minmax(190px, 1fr) auto auto 72px 52px 52px;
  align-items: center;
  gap: 10px;
}

.site-brand strong { font-family: Montserrat, Arial, sans-serif; font-weight: 800; }
.site-catalog-toggle { font-family: Montserrat, Arial, sans-serif; font-weight: 700; }
.site-main-nav, .site-header-phone strong, .site-header-email strong, .site-header-action, .site-city__toggle small, .site-city__quick-label { font-family: Montserrat, Arial, sans-serif; font-weight: 600; }

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #0a1d39;
  text-decoration: none;
}

.site-brand__mark {
  display: block;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  object-fit: contain;
  color: #061d36;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The full-color brand mark is reused in the dark footer. */
.brand--footer .brand__mark {
  display: block;
  filter: none;
  object-fit: contain;
}

.brand--footer svg.brand__mark > * { display: none; }

.site-brand > span { display: grid; gap: 1px; }
.site-brand strong { font-size: 18px; line-height: 1.05; letter-spacing: -.5px; }
.site-brand small { font-size: 9px; font-weight: 600; }

.site-catalog-toggle {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-content: center;
  column-gap: 8px;
  overflow: hidden;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: #061d36;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-catalog-toggle > span { grid-row: 1 / 4; align-self: stretch; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.site-catalog-toggle i { width: 18px; height: 2px; margin: 2px 0; background: currentColor; transition: transform .2s, opacity .2s; }
.site-catalog-toggle[aria-expanded="true"] i:nth-of-type(1),
.site-catalog-toggle[aria-expanded="true"] i:nth-of-type(3) { position: absolute; top: 50%; right: 10px; margin: 0; transform-origin: center; }
.site-catalog-toggle[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(-50%) rotate(45deg); }
.site-catalog-toggle[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
.site-catalog-toggle[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-50%) rotate(-45deg); }

.site-header-search {
  position: relative;
  height: 48px;
  display: flex;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  overflow: visible;
  background: #fff;
}

.site-header-search:focus-within { border-color: #16466f; box-shadow: 0 0 0 3px rgba(22, 70, 111, .12); }
.site-header-search input { width: 100%; min-width: 0; padding: 0 18px; border: 0; border-radius: 7px 0 0 7px; outline: 0; color: #0a1d39; background: #fff; font: inherit; }
.site-header-search > button { width: 50px; flex: 0 0 auto; border: 0; border-radius: 0 6px 6px 0; color: #fff; background: #061d36; cursor: pointer; }
.site-header-search svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.site-search-suggest {
  position: absolute;
  z-index: 180;
  top: calc(100% + 9px);
  left: 0;
  width: min(610px, 82vw);
  max-height: min(590px, calc(100vh - 150px));
  overflow: auto;
  border: 1px solid #bdcfdd;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(5, 30, 52, .22);
}

.site-search-suggest[hidden] { display: none; }
.site-search-suggest__list { display: grid; }
.site-search-suggest__item {
  min-width: 0;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 13px;
  border-bottom: 1px solid #e1e9ef;
  color: #08233d;
  background: #fff;
  text-decoration: none;
}

.site-search-suggest__item:hover,
.site-search-suggest__item.is-active { background: #f0f5f8; }
.site-search-suggest__image {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #d7e2ea;
  border-radius: 8px;
  color: #fff;
  background: #0a3558;
  font-size: 15px;
  font-weight: 800;
}
.site-search-suggest__image img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.site-search-suggest__copy { min-width: 0; display: grid; gap: 3px; }
.site-search-suggest__copy small { color: #ff5a16; font-size: 8px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.site-search-suggest__copy strong { overflow: hidden; color: #08233d; font-size: 13px; line-height: 1.3; text-overflow: ellipsis; }
.site-search-suggest__copy > span { color: #8194a6; font-size: 10px; }
.site-search-suggest__all {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  color: #fff;
  background: #082f50;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.site-search-suggest__all::after { content: '→'; color: #ff7a3d; font-size: 18px; }
.site-search-suggest__all:hover,
.site-search-suggest__all.is-active { background: #ff5a16; }
.site-search-suggest__all:hover::after,
.site-search-suggest__all.is-active::after { color: #fff; }
.site-search-suggest__state { padding: 22px 16px; color: #667d90; font-size: 12px; text-align: center; }
.site-search-suggest__state.is-loading::before {
  content: '';
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-right: 9px;
  vertical-align: -4px;
  border: 2px solid #cbd8e1;
  border-top-color: #ff5a16;
  border-radius: 50%;
  animation: site-search-spin .7s linear infinite;
}
@keyframes site-search-spin { to { transform: rotate(360deg); } }

.site-header-phone,
.site-header-email {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0a1d39;
  text-decoration: none;
  white-space: nowrap;
}

.site-header-phone svg { width: 28px; height: 28px; }
.site-header-phone strong { font-size: 14px; }
.site-header-email { min-width: 145px; }
.site-header-email svg { width: 27px; height: 27px; }
.site-header-email strong { font-size: 12px; }
.site-header-phone svg,
.site-header-email svg,
.site-header-action svg,
.site-city svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.site-city { position: relative; justify-self: stretch; }
.site-city__toggle {
  width: 100%;
  min-height: 50px;
  padding: 4px 5px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 1px;
  border: 0;
  border-radius: 8px;
  color: #061d36;
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition: color .2s, background .2s;
}

.site-city__toggle:hover,
.site-city__toggle[aria-expanded="true"] { color: #e84c00; background: #fff3ec; }
.site-city__toggle svg { width: 23px; height: 23px; }
.site-city__toggle small { color: #708094; font-size: 8px; line-height: 1; }
.site-city__toggle strong { max-width: 72px; overflow: hidden; font-size: 11px; line-height: 1.25; text-overflow: ellipsis; }
.site-city__menu {
  position: absolute;
  z-index: 90;
  top: calc(100% + 9px);
  right: -8px;
  width: 220px;
  max-height: min(540px, calc(100vh - 90px));
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(3, 20, 38, .18);
}
.site-city__menu[hidden] { display: none; }
.site-city__search { height: 40px; margin-bottom: 6px; padding: 0 9px; display: flex; align-items: center; gap: 7px; border: 1px solid #d7e0e8; border-radius: 7px; background: #fff; }
.site-city__search:focus-within { border-color: #ff5a0a; box-shadow: 0 0 0 3px rgba(255, 90, 10, .1); }
.site-city__search svg { width: 17px; height: 17px; flex: 0 0 auto; color: #68778a; }
.site-city__search input { width: 100%; min-width: 0; border: 0; outline: 0; color: #0a1d39; background: transparent; font: inherit; font-size: 12px; }
.site-city__suggestions { margin-bottom: 7px; padding-bottom: 7px; border-bottom: 1px solid #edf1f4; }
.site-city__suggestions[hidden] { display: none; }
.site-city__suggestion { width: 100%; padding: 9px 11px; display: flex; align-items: center; border: 0; border-radius: 7px; color: #0a1d39; background: transparent; font: inherit; font-size: 12px; font-weight: 600; text-align: left; cursor: pointer; }
.site-city__suggestion:hover, .site-city__suggestion:focus-visible { color: #e84c00; background: #fff3ec; outline: 0; }
.site-city__quick-label { padding: 5px 11px 4px; display: block; color: #738194; font-size: 8px; text-transform: uppercase; letter-spacing: .35px; }
.site-city__option {
  width: 100%;
  padding: 10px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-radius: 7px;
  color: #0a1d39;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.site-city__option:hover,
.site-city__option[aria-selected="true"] { color: #e84c00; background: #fff3ec; }
.site-city__option[aria-selected="true"]::after { content: "✓"; }
.site-city__custom { width: 100%; padding: 10px 11px; border: 1px dashed #ffb58f; border-radius: 7px; color: #c94300; background: #fff8f4; font: inherit; font-size: 12px; font-weight: 700; text-align: left; cursor: pointer; }
.site-city__custom:hover { border-color: #ff5a0a; background: #fff1e8; }
.site-city__custom[hidden] { display: none; }

.site-header-action {
  position: relative;
  min-width: 48px;
  display: grid;
  justify-items: center;
  gap: 2px;
  color: #061d36;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}
.site-header-action svg { width: 25px; height: 25px; }
.site-header-action:hover { color: #e84c00; }
.site-header-cart__count { position: absolute; top: -7px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 12px; color: #fff; background: #ff5a0a; font-size: 9px; }

[data-copy-contact] { cursor: copy; }
.site-copy-toast {
  position: fixed;
  z-index: 210;
  right: 24px;
  bottom: 24px;
  max-width: min(390px, calc(100% - 32px));
  padding: 13px 17px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  color: #fff;
  background: #061d36;
  box-shadow: 0 16px 42px rgba(3,20,38,.24);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease;
}
.site-copy-toast.is-visible { opacity: 1; transform: translateY(0); }
.site-copy-toast.is-error { background: #8b2d16; }

.site-cookie-notice {
  position: fixed;
  z-index: 205;
  top: 10px;
  right: 12px;
  width: min(410px, calc(100% - 24px));
  padding: 8px 8px 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dce5ed;
  border-radius: 9px;
  color: #0a1d39;
  background: rgba(255,255,255,.98);
  box-shadow: 0 10px 28px rgba(4,27,50,.16);
  font-family: Montserrat, Arial, sans-serif;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease;
}
.site-cookie-notice.is-visible { opacity: 1; transform: translateY(0); }
.site-cookie-notice p { flex: 1 1 auto; margin: 0; color: #41546a; font-size: 11px; line-height: 1.4; }
.site-cookie-notice a { color: #d94a05; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.site-cookie-notice button { width: 26px; height: 26px; flex: 0 0 26px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 6px; color: #53677c; background: #eef3f6; font: 600 17px/1 Arial, sans-serif; cursor: pointer; }
.site-cookie-notice button:hover { color: #fff; background: #164b78; }

.site-mobile-toggle { display: none; width: 46px; height: 42px; border: 0; border-radius: 7px; color: #fff; background: #061d36; cursor: pointer; }
.site-mobile-toggle span { display: block; width: 21px; height: 2px; margin: 4px auto; background: currentColor; transition: transform .2s, opacity .2s; }
.site-mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-catalog-panel { position: absolute; z-index: 80; right: 0; left: 0; padding: 22px 0; border-top: 1px solid #dfe5ec; background: #fff; box-shadow: 0 20px 40px rgba(3, 20, 38, .15); }
.site-catalog-panel[hidden] { display: none; }
.site-catalog-panel__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.site-catalog-panel a { min-height: 95px; padding: 17px; display: grid; align-content: center; gap: 5px; border: 1px solid #dfe5ec; border-radius: 10px; color: #0a1d39; text-decoration: none; transition: border-color .2s, transform .2s; }
.site-catalog-panel a:hover { border-color: #ff5a0a; transform: translateY(-2px); }
.site-catalog-panel small { color: #5f6f83; font-size: 12px; }

.site-main-nav { border-top: 1px solid #edf0f3; background: #fff; }
.site-main-nav__inner { height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 13px; font-weight: 600; }
.site-main-nav__group { display: contents; }
.site-main-nav a { position: relative; color: #0a1d39; text-decoration: none; }
.site-main-nav__group > a { height: 100%; display: flex; align-items: center; white-space: nowrap; }
.site-main-nav a::after { content: ""; position: absolute; right: 0; bottom: -17px; left: 0; height: 2px; background: #ff5a0a; transform: scaleX(0); transition: transform .2s; }
.site-main-nav__group > a::after { bottom: 0; }
.site-main-nav a:hover::after,
.site-main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.site-main-nav a.site-main-nav__calculator {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #ff6b22, #ff4d00);
  box-shadow: 0 7px 16px rgba(255, 90, 10, .2);
  font-weight: 800;
}
.site-main-nav a.site-main-nav__calculator::after { display: none; }
.site-main-nav a.site-main-nav__calculator:hover { color: #fff; background: linear-gradient(135deg, #ff7b39, #ff5a0a); }
.site-main-nav a.site-main-nav__calculator[aria-current="page"] { box-shadow: 0 0 0 2px rgba(255, 90, 10, .2), 0 7px 16px rgba(255, 90, 10, .2); }
.site-main-nav__calculator svg { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1160px) {
  .site-header__main { grid-template-columns: 190px 105px minmax(180px, 1fr) auto 66px 48px 48px; }
  .site-header-email { display: none; }
  .site-header-phone strong { font-size: 14px; }
  .site-main-nav__inner { gap: 14px; font-size: 12px; }
  .site-main-nav__group { gap: 14px; }
  .site-main-nav a.site-main-nav__calculator { min-height: 32px; padding: 0 10px; }
}

@media (max-width: 1000px) {
  .site-main-nav__inner { gap: 8px; font-size: 11px; }
  .site-main-nav__group { gap: 8px; }
  .site-main-nav a.site-main-nav__calculator { padding: 0 8px; }
  .site-main-nav__calculator svg { width: 14px; height: 14px; }
}

@media (max-width: 900px) {
  .site-header__shell { width: min(calc(100% - 28px), 1240px); }
  .site-header__main { min-height: 76px; grid-template-columns: 1fr auto auto auto auto; gap: 7px; }
  .site-brand strong { font-size: 16px; }
  .site-catalog-toggle,
  .site-header-phone,
  .site-header-email { display: none; }
  .site-header-search { grid-row: 2; grid-column: 1 / -1; width: 100%; margin-bottom: 12px; }
  .site-search-suggest { right: 0; width: 100%; max-height: min(480px, calc(100vh - 180px)); }
  .site-header-action span { display: none; }
  .site-header-action { min-width: 36px; }
  .site-header-cart__count { right: -3px; }
  .site-city { min-width: 56px; }
  .site-city__toggle { min-height: 42px; }
  .site-city__toggle small { display: none; }
  .site-mobile-toggle { display: block; }
  .site-main-nav { display: none; }
  .site-main-nav.is-open { display: block; }
  .site-main-nav__inner { height: auto; padding: 12px 0; display: grid; grid-template-columns: 1fr; gap: 0; }
  .site-main-nav__group { height: auto; display: grid; gap: 0; }
  .site-main-nav__group > a { height: auto; white-space: normal; }
  .site-main-nav__inner > a { justify-self: stretch; }
  .site-main-nav a { padding: 12px 0; border-bottom: 1px solid #dfe5ec; }
  .site-main-nav a::after { display: none; }
  .site-main-nav a.site-main-nav__calculator { min-height: 40px; justify-content: center; margin: 5px 0; padding: 0 12px; border-bottom: 0; }
  .site-catalog-panel { display: none; }
}

@media (max-width: 520px) {
  .site-brand { gap: 7px; }
  .site-brand__mark { width: 41px; height: 41px; }
  .site-brand strong { font-size: 14px; }
  .site-brand small { display: none; }
  .site-city { min-width: 48px; }
  .site-city__toggle svg { width: 21px; height: 21px; }
  .site-city__toggle strong { max-width: 48px; font-size: 9px; }
  .site-city__menu { position: fixed; top: 68px; right: 14px; left: 14px; width: auto; }
  .site-header-action { min-width: 32px; }
  .site-mobile-toggle { width: 42px; }
  .site-copy-toast { right: 16px; bottom: 16px; left: 16px; max-width: none; text-align: center; }
  .site-cookie-notice { top: 8px; right: 8px; width: calc(100% - 16px); padding-left: 10px; }
  .site-cookie-notice p { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header *, .site-header *::before, .site-header *::after { transition: none !important; }
}

/* Встроенный демонстрационный чат отключён: рабочий виджет будет подключён средствами Битрикса. */
[data-open-help],
.floating-help,
.help-dialog,
.dialog-backdrop {
  display: none !important;
}

/* End */


/* Start:/local/templates/stellagg/assets/css/site-cart.css?17840315965864*/
.site-header__main { position: relative; }

.site-mini-cart {
  position: absolute;
  z-index: 125;
  top: calc(100% - 4px);
  right: 0;
  width: min(470px, calc(100vw - 32px));
  padding: 20px;
  border: 1px solid #dbe4ec;
  border-radius: 14px;
  color: #0a1d39;
  background: #fff;
  box-shadow: 0 24px 60px rgba(4, 27, 50, .22);
  font-family: Montserrat, Arial, sans-serif;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .17s ease, transform .17s ease;
}
.site-mini-cart::before { content: ""; position: absolute; right: 0; bottom: 100%; left: 0; height: 14px; }
.site-mini-cart[hidden] { display: none; }
.site-mini-cart.is-open { opacity: 1; transform: translateY(0); }
.site-mini-cart__header { padding-bottom: 15px; display: flex; align-items: end; justify-content: space-between; gap: 18px; border-bottom: 1px solid #e6edf2; }
.site-mini-cart__header > div { display: grid; gap: 4px; }
.site-mini-cart__header span { color: #ff5a0a; font-size: 9px; font-weight: 700; letter-spacing: .55px; text-transform: uppercase; }
.site-mini-cart__header strong { font-size: 18px; line-height: 1.2; }
.site-mini-cart__header button { padding: 5px 0; border: 0; color: #6d7d90; background: none; font: inherit; font-size: 11px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.site-mini-cart__header button:hover { color: #d94700; }
.site-mini-cart__items { max-height: min(405px, calc(100vh - 310px)); overflow-y: auto; overscroll-behavior: contain; }
.site-mini-cart__item { padding: 15px 0; display: grid; grid-template-columns: 68px minmax(0,1fr) auto; grid-template-rows: auto auto; align-items: center; gap: 8px 13px; border-bottom: 1px solid #e9eef2; }
.site-mini-cart__media { grid-row: 1 / 3; width: 68px; height: 68px; display: grid; place-items: center; overflow: hidden; border-radius: 9px; color: #fff; background: #eef3f6; font-size: 13px; font-weight: 800; text-decoration: none; }
.site-mini-cart__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.site-mini-cart__info { min-width: 0; display: grid; gap: 5px; align-self: end; }
.site-mini-cart__info a { overflow: hidden; color: #0a1d39; font-size: 12px; font-weight: 700; line-height: 1.35; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.site-mini-cart__info a:hover { color: #d94700; }
.site-mini-cart__info small { color: #7b8998; font-size: 8px; }
.site-mini-cart__controls { display: flex; align-items: center; gap: 6px; }
.site-cart-stepper { height: 31px; display: grid; grid-template-columns: 29px 31px 29px; overflow: hidden; border: 1px solid #d7e0e8; border-radius: 7px; background: #fff; }
.site-cart-stepper button { border: 0; color: #0a1d39; background: #f7f9fb; font: inherit; font-size: 16px; cursor: pointer; }
.site-cart-stepper button:hover { color: #fff; background: #ff5a0a; }
.site-cart-stepper span { display: grid; place-items: center; border-inline: 1px solid #e5ebf0; font-size: 10px; font-weight: 700; }
.site-mini-cart__remove { width: 30px; height: 31px; display: grid; place-items: center; border: 1px solid #d7e0e8; border-radius: 7px; color: #8190a0; background: #fff; cursor: pointer; }
.site-mini-cart__remove:hover { border-color: #ffb38d; color: #d94700; background: #fff7f2; }
.site-mini-cart__remove svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.site-mini-cart__price { align-self: start; justify-self: end; font-size: 13px; white-space: nowrap; }
.site-mini-cart__more { padding: 10px 0 0; color: #738397; font-size: 9px; text-align: center; }
.site-mini-cart__footer { padding-top: 17px; }
.site-mini-cart__footer[hidden] { display: none; }
.site-mini-cart__footer > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.site-mini-cart__footer > div:first-child span { font-size: 15px; font-weight: 700; }
.site-mini-cart__footer > div:first-child strong { font-size: 23px; font-weight: 800; }
.site-mini-cart__footer > small { margin-top: 9px; padding-top: 8px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; border-top: 1px solid #e2e8ed; color: #6f7d8d; font-size: 10px; font-weight: 600; }
.site-mini-cart__footer > small i { height: 1px; overflow: hidden; color: transparent; background: #d8e0e7; }
.site-mini-cart__footer > small strong { color: #243344; font-size: 11px; font-weight: 800; white-space: nowrap; }
.site-mini-cart__actions { margin-top: 16px; display: grid; grid-template-columns: 1fr 1.18fr; gap: 10px; }
.site-mini-cart__actions a { min-height: 45px; padding: 0 13px; display: grid; place-items: center; border: 1px solid #ff5a0a; border-radius: 8px; color: #d94700; font-size: 10px; font-weight: 700; text-align: center; text-decoration: none; }
.site-mini-cart__actions a:last-child { color: #fff; background: #ff5a0a; }
.site-mini-cart__actions a:hover { color: #fff; background: #d94700; border-color: #d94700; }
.site-mini-cart__empty { padding: 30px 20px 20px; display: grid; justify-items: center; text-align: center; }
.site-mini-cart__empty[hidden] { display: none; }
.site-mini-cart__empty > span { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: #ff5a0a; font-size: 20px; transform: rotate(-35deg); }
.site-mini-cart__empty strong { margin-top: 13px; font-size: 16px; }
.site-mini-cart__empty p { max-width: 280px; margin: 7px 0 15px; color: #6d7c8f; font-size: 10px; line-height: 1.55; }
.site-mini-cart__empty a { color: #d94700; font-size: 11px; font-weight: 700; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .site-mini-cart { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .site-mini-cart { transition: none; }
}

/* End */


/* Start:/local/templates/stellagg/assets/css/site-product-stock.css?17850593871384*/
.city-stock-badge {
  min-height: 24px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  transition: color .18s, border-color .18s, background-color .18s;
}

.city-stock-badge::before {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  content: "";
  background: currentColor;
}

.city-stock-badge.is-loading {
  color: #587188;
  border-color: #d6e1e9;
  background: #f2f6f8;
}

.city-stock-badge.is-loading::before {
  border: 1px solid #8ea2b3;
  border-top-color: transparent;
  background: transparent;
  animation: city-stock-spin .7s linear infinite;
}

.city-stock-badge.is-available {
  color: #08783e;
  border-color: #b9e4ca;
  background: #ecf9f1;
}

.city-stock-badge.is-unavailable {
  color: #a94a12;
  border-color: #f2c8a9;
  background: #fff6ed;
}

.city-stock-badge.is-unknown {
  color: #516b81;
  border-color: #cfdae3;
  background: #f4f7f9;
}

@keyframes city-stock-spin { to { transform: rotate(360deg); } }

[data-city-stock-only-available].is-stock-loading .product-card {
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .city-stock-badge.is-loading::before { animation: none; }
}

/* End */


/* Start:/local/templates/stellagg/assets/css/template.css?17906859629982*/
:root {
  --navy-950: #031426;
  --navy-900: #061d36;
  --navy-800: #0b2b4d;
  --navy-700: #16466f;
  --orange: #ff5a0a;
  --orange-dark: #e84c00;
  --ink: #0a1d39;
  --muted: #66758a;
  --line: #dfe5ec;
  --soft: #f4f7fa;
  --page-background: #f2f2f2;
  --shadow: 0 18px 45px rgba(6, 29, 54, .12);
  --shell: 1240px;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: #fff; font-family: Montserrat, Arial, sans-serif; font-size: 15px; font-weight: 400; line-height: 1.5; }
body.is-locked { overflow: hidden; }
/* One neutral page backdrop; white cards and dark branded sections stay separate. */
body.stellagg-home-page,
body.stellagg-inner-page { background: var(--page-background); }
:is(.stellagg-home-page, .stellagg-inner-page) :is(
  .catalog-page, .catalog-category-page, .product-template-v5, .product-page,
  .calculators-main, .simple-rack-main, .ms100-main,
  .profi-hidden-page, .profi-render-page, .engineering-page, .pallet-page,
  .search-page, .checkout-page, .contacts-main, .faq-main, .faq-contact,
  .politic-page, .politic-main, .request-section, .cart-section,
  .personal-auth, .project-catalog, .articles-catalog,
  .section--soft, .section-soft, .warranty-section--soft, .warranty-section--receipt,
  .warranty-overview, .warranty-contact
),
.stellagg-inner-page #profi-l-catalog-root { background: var(--page-background); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 14px; background: #fff; border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { width: 42px; height: 42px; flex: 0 0 auto; color: var(--navy-900); stroke-width: 1.6; }
.brand span { display: grid; gap: 1px; }
.brand strong { font-family: Montserrat, Arial, sans-serif; font-size: 17px; font-weight: 800; line-height: 1; letter-spacing: -.4px; }
.brand small { font-size: 9px; font-weight: 600; }

.home-footer { padding: 27px 0 12px; color: #dbe7f2; background: linear-gradient(135deg, #051a30, #072b4c); }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, .8fr) 1fr; gap: 30px; }
.brand--footer { color: #fff; }
.brand--footer .brand__mark { color: #fff; }
.footer-brand p { max-width: 240px; color: #98aec2; font-size: 12px; line-height: 1.5; }
.footer-grid h3 { margin: 0 0 10px; color: #fff; font-size: 14px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 5px; }
.footer-grid a, .footer-grid p { color: #b8c8d7; font-size: 11px; line-height: 1.45; }
.footer-contacts > a:first-child { color: #fff; font-size: 14px; font-weight: 800; }
.footer-bottom { margin-top: 25px; padding-top: 12px; display: flex; justify-content: flex-end; gap: 35px; border-top: 1px solid rgba(255,255,255,.1); color: #8ca3b7; font-size: 9px; }
.footer-bottom span { margin-right: auto; }

.floating-help { position: fixed; z-index: 80; right: 28px; bottom: 24px; width: 60px; height: 60px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: #ff3030; box-shadow: 0 15px 35px rgba(255,48,48,.35); cursor: pointer; }
.floating-help svg { width: 30px; height: 30px; stroke-width: 1.9; }
.help-dialog { position: fixed; z-index: 102; right: 28px; bottom: 98px; width: min(440px, calc(100% - 32px)); padding: 23px; border-radius: 14px; background: #fff; box-shadow: 0 25px 70px rgba(3,20,38,.3); }
.help-dialog__close { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 24px; cursor: pointer; }
.help-dialog__icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: var(--orange); }
.help-dialog__icon svg { width: 25px; height: 25px; }
.help-dialog h2 { margin: 13px 0 15px; font-size: 23px; }
.manager-chat { overflow: hidden; border: 1px solid #dce5ed; border-radius: 12px; background: #f4f7fa; }
.manager-chat__head { padding: 13px 15px; display: flex; align-items: center; gap: 10px; color: #fff; background: linear-gradient(135deg, var(--navy-900), #0c3c66); }
.manager-chat__avatar { position: relative; width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--orange); font-size: 12px; font-weight: 800; }
.manager-chat__avatar::after { content: ""; position: absolute; right: 0; bottom: 0; width: 9px; height: 9px; border: 2px solid var(--navy-900); border-radius: 50%; background: #31c86b; }
.manager-chat__head > span:last-child { display: grid; }
.manager-chat__head strong { font-size: 13px; }
.manager-chat__status { color: #bcd0e1; font-size: 10px; }
.manager-chat__messages { height: 230px; padding: 15px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }
.manager-chat__message { max-width: 84%; padding: 10px 12px; border-radius: 10px 10px 10px 2px; color: #24364b; background: #fff; box-shadow: 0 5px 18px rgba(6,29,54,.08); }
.manager-chat__message--user { margin-left: auto; border-radius: 10px 10px 2px 10px; color: #fff; background: #0c3c66; }
.manager-chat__message p { margin: 0; font-size: 12px; line-height: 1.45; }
.manager-chat__message time { margin-top: 4px; display: block; color: #8b98a7; font-size: 9px; text-align: right; }
.manager-chat__message--user time { color: #b9cada; }
.manager-chat__form { padding: 10px; display: grid; grid-template-columns: minmax(0, 1fr) 42px; gap: 8px; border-top: 1px solid #dce5ed; background: #fff; }
.manager-chat__form input { width: 100%; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid #d4dee7; border-radius: 8px; outline: 0; font-size: 12px; }
.manager-chat__form input:focus { border-color: #ff8d56; box-shadow: 0 0 0 3px rgba(255,90,10,.1); }
.manager-chat__form button { border: 0; border-radius: 8px; color: #fff; background: var(--orange); cursor: pointer; }
.manager-chat__form button:hover { background: var(--orange-dark); }
.manager-chat__form svg { width: 20px; height: 20px; }
.manager-chat__notice { margin: 8px 2px 0; color: var(--muted); font-size: 9px; line-height: 1.4; text-align: center; }
.dialog-backdrop { position: fixed; z-index: 101; inset: 0; background: rgba(3,20,38,.55); }
.selection-toast { position: fixed; z-index: 110; left: 50%; bottom: 25px; padding: 12px 18px; border-radius: 8px; color: #fff; background: var(--navy-900); box-shadow: var(--shadow); transform: translateX(-50%); }

.stellagg-inner-content { min-height: 45vh; padding: 60px 0; }

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.2fr repeat(2, 1fr); }
  .footer-grid > div:nth-child(4), .footer-grid > div:nth-child(5) { margin-top: 15px; }
}
@media (max-width: 860px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 580px) {
  body { font-size: 14px; }
  .brand small { display: none; }
  .brand__mark { width: 35px; height: 35px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-grid > div:nth-child(4), .footer-grid > div:nth-child(5) { margin-top: 0; }
  .footer-contacts { grid-column: 1 / -1; }
  .footer-bottom { flex-wrap: wrap; justify-content: flex-start; gap: 12px; }
  .footer-bottom span { width: 100%; margin: 0; }
  .floating-help { right: 15px; bottom: 15px; width: 54px; height: 54px; }
  .help-dialog { right: 16px; bottom: 80px; max-height: calc(100vh - 100px); overflow-y: auto; }
  .manager-chat__messages { height: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
.not-found-page {
  min-height: 560px;
  padding: 80px 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: radial-gradient(circle at 72% 20%, rgba(255, 90, 10, .18), transparent 28%), linear-gradient(145deg, #031426, #082e52);
}
.not-found-page__inner { text-align: center; }
.not-found-page__inner > span { color: #ff7b3b; font-family: Unbounded, Montserrat, sans-serif; font-size: clamp(64px, 10vw, 124px); font-weight: 700; line-height: 1; }
.not-found-page h1 { margin: 18px 0 0; font-size: clamp(31px, 5vw, 54px); line-height: 1.05; }
.not-found-page p { max-width: 660px; margin: 18px auto 0; color: #b9ccdd; line-height: 1.7; }
.not-found-page__inner > div { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.not-found-page__inner > div a { min-height: 48px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.4); border-radius: 8px; font-size: 13px; font-weight: 800; }
.not-found-page__inner > div a:first-child { border-color: #ff5a0a; background: #ff5a0a; }
.not-found-page__inner > div a:hover { border-color: #e84b00; background: #e84b00; }

/* Only working calculator containers expand; the storefront shell stays intact. */
@media (min-width: 1000px) {
  body.stellagg-inner-page .ms100-main .shell,
  body.stellagg-inner-page .pallet-page > .shell,
  body.stellagg-inner-page.calculators-page .profi-hidden-page.embedded > .profi-hidden-card,
  body.stellagg-inner-page.calculators-page .wb-series-shell > .wb-series {
    width: calc(100% - 48px);
    max-width: none;
    margin-inline: auto;
  }
}

/* End */


/* Start:/local/templates/stellagg/assets/css/pallet-calculator.css?179077216687044*/
:root {
  --pallet-navy: #061d36;
  --pallet-blue: #0b3155;
  --pallet-orange: #ff5a0a;
  --pallet-orange-dark: #e94c00;
  --pallet-ink: #071c35;
  --pallet-muted: #6f8094;
  --pallet-line: #d9e3ec;
  --pallet-soft: #f3f7fa;
}

.pallet-page { padding: 30px 0 70px; color: var(--pallet-ink); background: #eef3f7; }
.pallet-page > .shell { width: min(calc(100% - 40px), 1360px); }
.pallet-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 17px; color: #73859a; font-size: 11px; }
.pallet-breadcrumbs a:hover { color: var(--pallet-orange); }
.pallet-breadcrumbs strong { color: var(--pallet-ink); }
.pallet-hero { min-height: 255px; padding: 38px 42px; display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: center; gap: 40px; overflow: hidden; border-radius: 18px; color: #fff; background: radial-gradient(circle at 80% 20%, rgba(255,90,10,.28), transparent 28%), linear-gradient(135deg, #061d36, #0a375f); box-shadow: 0 18px 50px rgba(6,29,54,.13); }
.pallet-kicker { color: var(--pallet-orange); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pallet-hero h1 { max-width: 820px; margin: 8px 0 13px; font-size: clamp(32px, 4vw, 54px); line-height: 1.02; letter-spacing: -.045em; }
.pallet-hero p { max-width: 780px; margin: 0; color: #bfd0df; font-size: 14px; line-height: 1.7; }
.pallet-hero__facts { margin-top: 23px; display: flex; flex-wrap: wrap; gap: 8px; }
.pallet-hero__facts span { min-height: 31px; padding: 0 12px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; color: #e7eff6; background: rgba(255,255,255,.06); font-size: 10px; font-weight: 700; }
.pallet-hero__facts i, .pallet-live i { width: 7px; height: 7px; border-radius: 50%; background: #42d27d; box-shadow: 0 0 0 4px rgba(66,210,125,.13); }
.pallet-hero__badge { min-height: 175px; padding: 23px; display: grid; align-content: center; justify-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; text-align: center; background: rgba(255,255,255,.07); backdrop-filter: blur(8px); }
.pallet-hero__badge svg { width: 72px; height: 72px; color: var(--pallet-orange); stroke-width: 1.4; }
.pallet-hero__badge strong { font-size: 15px; }
.pallet-hero__badge small { max-width: 220px; color: #aebfd0; font-size: 10px; line-height: 1.5; }

.pallet-layout { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) 420px; align-items: start; gap: 22px; }
.pallet-config { display: grid; gap: 18px; }
.pallet-step, .pallet-summary, .pallet-request, .pallet-unavailable { border: 1px solid var(--pallet-line); border-radius: 16px; background: #fff; box-shadow: 0 12px 38px rgba(6,29,54,.06); }
.pallet-step { padding: 27px; }
.pallet-step > header { margin-bottom: 22px; display: flex; align-items: flex-start; gap: 14px; }
.pallet-step > header > b { width: 39px; height: 39px; flex: 0 0 39px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--pallet-orange); font-size: 11px; }
.pallet-step > header span { display: block; color: var(--pallet-orange); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pallet-step h2 { margin: 3px 0 0; font-size: clamp(20px, 2.1vw, 27px); line-height: 1.15; letter-spacing: -.03em; }
.pallet-step__intro { margin: -7px 0 17px; color: var(--pallet-muted); font-size: 12px; }
.pallet-options { display: grid; gap: 10px; }
.pallet-options--profiles { grid-template-columns: repeat(3, 1fr); }
.pallet-options--lengths { grid-template-columns: repeat(5, 1fr); }
.pallet-option { min-width: 0; min-height: 83px; padding: 13px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--pallet-line); border-radius: 11px; color: var(--pallet-ink); text-align: left; background: #fff; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.pallet-option:hover { border-color: #ffad86; transform: translateY(-1px); }
.pallet-option.is-active { border-color: var(--pallet-orange); box-shadow: 0 0 0 3px rgba(255,90,10,.09); background: #fff9f6; }
.pallet-option span { min-width: 0; display: grid; gap: 3px; }
.pallet-option strong { font-size: 12px; line-height: 1.25; }
.pallet-option small { color: var(--pallet-muted); font-size: 9px; line-height: 1.35; }
.pallet-option__profile { width: 39px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border: 3px solid var(--pallet-blue); color: var(--pallet-blue); font-size: 10px; font-style: normal; font-weight: 800; }
.pallet-option.is-active .pallet-option__profile { border-color: var(--pallet-orange); color: var(--pallet-orange); }
.pallet-option--length { min-height: 74px; flex-direction: column; align-items: stretch; gap: 8px; }
.pallet-option__beam { position: relative; width: 100%; height: 7px; display: block; border-radius: 2px; background: var(--pallet-blue); }
.pallet-option__beam::before, .pallet-option__beam::after { content: ""; position: absolute; top: -4px; width: 3px; height: 15px; background: var(--pallet-blue); }
.pallet-option__beam::before { left: 0; }
.pallet-option__beam::after { right: 0; }
.pallet-option.is-active .pallet-option__beam, .pallet-option.is-active .pallet-option__beam::before, .pallet-option.is-active .pallet-option__beam::after { background: var(--pallet-orange); }
.pallet-fieldset { margin-top: 20px; padding-top: 18px; border-top: 1px solid #edf1f5; }
.pallet-fieldset > span { display: block; margin-bottom: 9px; font-size: 11px; font-weight: 800; }
.pallet-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pallet-pills button { min-height: 37px; padding: 0 13px; border: 1px solid var(--pallet-line); border-radius: 8px; color: #425770; background: #f7f9fb; font-size: 10px; font-weight: 700; cursor: pointer; }
.pallet-pills button:hover { border-color: #ffad86; }
.pallet-pills button.is-active { border-color: var(--pallet-orange); color: #fff; background: var(--pallet-orange); }
.pallet-hint { margin: 12px 0 0; color: var(--pallet-muted); font-size: 10px; }
.pallet-steppers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.pallet-steppers > label { padding: 15px; display: grid; gap: 2px; border: 1px solid var(--pallet-line); border-radius: 11px; }
.pallet-steppers > label > span:first-child { font-size: 11px; font-weight: 800; }
.pallet-steppers > label > small { color: var(--pallet-muted); font-size: 9px; }
.pallet-stepper { margin-top: 11px; display: grid; grid-template-columns: 38px 1fr 38px; border: 1px solid var(--pallet-line); border-radius: 8px; overflow: hidden; }
.pallet-stepper button, .pallet-stepper input { height: 38px; border: 0; text-align: center; background: #fff; }
.pallet-stepper button { color: var(--pallet-orange); font-size: 20px; font-weight: 700; cursor: pointer; }
.pallet-stepper button:hover { background: #fff3ed; }
.pallet-stepper input { width: 100%; min-width: 0; border-inline: 1px solid var(--pallet-line); color: var(--pallet-ink); font-size: 13px; font-weight: 800; outline: 0; -moz-appearance: textfield; }
.pallet-stepper input::-webkit-inner-spin-button { display: none; }
.pallet-formula { margin-top: 13px; padding: 11px 14px; display: flex; align-items: center; gap: 12px; border-radius: 9px; background: var(--pallet-soft); }
.pallet-formula span { color: var(--pallet-blue); font-size: 12px; font-weight: 800; }
.pallet-formula small { color: var(--pallet-muted); font-size: 9px; }
.pallet-extras { max-height: 510px; padding-right: 5px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; overflow-y: auto; scrollbar-color: #bdcad5 transparent; scrollbar-width: thin; }
.pallet-extra { min-width: 0; padding: 10px; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 10px; border: 1px solid var(--pallet-line); border-radius: 10px; }
.pallet-extra.is-selected { border-color: var(--pallet-orange); background: #fff9f6; }
.pallet-extra__media { width: 52px; height: 52px; display: grid; place-items: center; overflow: hidden; border-radius: 8px; color: var(--pallet-blue); background: #f1f5f8; font-weight: 800; }
.pallet-extra__media img { width: 100%; height: 100%; object-fit: contain; }
.pallet-extra__copy { min-width: 0; display: grid; gap: 5px; }
.pallet-extra__copy strong { overflow: hidden; font-size: 10px; line-height: 1.35; text-overflow: ellipsis; }
.pallet-extra__copy span { color: var(--pallet-muted); font-size: 9px; }
.pallet-extra__action { min-width: 70px; display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.pallet-extra__action button { width: 26px; height: 28px; border: 1px solid var(--pallet-line); border-radius: 7px; color: var(--pallet-orange); background: #fff; cursor: pointer; }
.pallet-extra__action b { min-width: 18px; font-size: 11px; text-align: center; }
.pallet-extra__action .pallet-extra__add { width: auto; padding: 0 10px; border-color: #b9c8d5; color: var(--pallet-blue); font-size: 9px; font-weight: 800; }

.pallet-summary { position: sticky; top: 95px; overflow: hidden; }
.pallet-visual { padding: 20px 20px 14px; background: linear-gradient(145deg, #f6f9fb, #e9f0f5); }
.pallet-visual__caption { display: flex; justify-content: space-between; gap: 12px; font-size: 9px; }
.pallet-visual__caption span { color: var(--pallet-muted); text-transform: uppercase; letter-spacing: .08em; }
.pallet-visual__caption b { color: var(--pallet-blue); }
.pallet-rack { position: relative; width: 78%; height: 175px; margin: 10px auto 0; border-bottom: 5px solid #cbd6de; perspective: 500px; }
.pallet-rack__post { position: absolute; z-index: 2; top: 8px; bottom: 0; width: 11px; border-radius: 2px 2px 0 0; background: linear-gradient(90deg, #153f65, #2874aa 55%, #0c2a47); box-shadow: 5px 0 0 rgba(6,29,54,.08); }
.pallet-rack__post--left { left: 8%; }
.pallet-rack__post--right { right: 8%; }
.pallet-rack__levels { position: absolute; inset: 0; }
.pallet-rack__levels > span { position: absolute; z-index: 3; left: 8%; right: 8%; height: 9px; border-radius: 2px; background: linear-gradient(#ff7938, #e64b00); box-shadow: 0 5px 8px rgba(6,29,54,.15); }
.pallet-rack__levels > span i { position: absolute; bottom: 9px; width: 29%; height: 20px; border: 1px solid #bdc9d3; background: linear-gradient(#f5f0df, #d9c895); transform: skewY(-4deg); }
.pallet-rack__levels > span i:nth-child(1) { left: 2%; }
.pallet-rack__levels > span i:nth-child(2) { left: 35.5%; }
.pallet-rack__levels > span i:nth-child(3) { right: 2%; }
.pallet-rack__measure { position: absolute; color: #6d7e90; font-size: 8px; font-weight: 700; }
.pallet-rack__measure--height { left: -9px; top: 50%; transform: rotate(-90deg) translateY(-50%); }
.pallet-rack__measure--width { bottom: -18px; left: 50%; transform: translateX(-50%); }
.pallet-summary__head { padding: 20px 22px 13px; display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; border-top: 1px solid #e7edf2; }
.pallet-summary__head span:first-child { color: var(--pallet-orange); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pallet-summary__head h2 { margin: 3px 0 0; font-size: 25px; letter-spacing: -.03em; }
.pallet-live { min-height: 28px; padding: 0 9px; display: inline-flex; align-items: center; gap: 7px; border-radius: 16px; color: #197844; background: #eaf8ef; font-size: 8px; font-weight: 800; }
.pallet-summary__rows { max-height: 270px; padding: 0 22px; overflow-y: auto; }
.pallet-summary-row { padding: 11px 0; border-bottom: 1px solid #edf1f5; }
.pallet-summary-row > div:first-child { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pallet-summary-row > div > span { min-width: 0; display: grid; gap: 2px; }
.pallet-summary-row small { color: var(--pallet-orange); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.pallet-summary-row strong { max-width: 230px; font-size: 10px; line-height: 1.35; }
.pallet-summary-row b { flex: 0 0 auto; font-size: 11px; }
.pallet-summary-row__meta { margin-top: 5px; color: var(--pallet-muted); font-size: 9px; }
.pallet-summary__empty { color: var(--pallet-muted); font-size: 11px; }
.pallet-warning { margin: 12px 22px 0; padding: 10px 12px; border: 1px solid #ffd2bd; border-radius: 8px; color: #8f3509; background: #fff5f0; font-size: 9px; line-height: 1.5; }
.pallet-total { margin: 14px 22px 0; padding-top: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-top: 1px solid var(--pallet-line); }
.pallet-total > span { display: grid; gap: 2px; font-size: 11px; font-weight: 800; }
.pallet-total small { color: var(--pallet-muted); font-size: 8px; font-weight: 500; }
.pallet-total strong { color: var(--pallet-ink); font-size: 27px; line-height: 1; letter-spacing: -.04em; }
.pallet-cart { width: calc(100% - 44px); min-height: 50px; margin: 17px 22px 0; display: flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 9px; color: #fff; background: var(--pallet-orange); box-shadow: 0 10px 24px rgba(255,90,10,.2); font-size: 11px; font-weight: 800; cursor: pointer; }
.pallet-cart:hover { background: var(--pallet-orange-dark); }
.pallet-cart:disabled { cursor: not-allowed; opacity: .5; }
.pallet-cart svg { width: 18px; height: 18px; }
.pallet-manager-link { margin-top: 11px; display: block; color: var(--pallet-blue); font-size: 10px; font-weight: 800; text-align: center; }
.pallet-manager-link:hover { color: var(--pallet-orange); }
.pallet-cart-status { min-height: 17px; margin: 9px 22px 0; color: var(--pallet-muted); font-size: 9px; text-align: center; }
.pallet-cart-status[data-state="success"] { color: #197844; }
.pallet-cart-status[data-state="error"] { color: #a63b12; }
.pallet-disclaimer { margin: 5px 22px 20px; display: block; color: #8796a7; font-size: 8px; line-height: 1.55; text-align: center; }

.pallet-request { margin-top: 22px; padding: 38px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: 55px; background: linear-gradient(135deg, #fff, #f7fafc); }
.pallet-request__copy h2 { margin: 8px 0 13px; font-size: clamp(27px, 3vw, 40px); line-height: 1.08; letter-spacing: -.04em; }
.pallet-request__copy p { color: var(--pallet-muted); font-size: 12px; line-height: 1.7; }
.pallet-request__copy ul { margin: 20px 0 0; padding: 0; display: grid; gap: 9px; list-style: none; }
.pallet-request__copy li { position: relative; padding-left: 23px; font-size: 11px; font-weight: 700; }
.pallet-request__copy li::before { content: "✓"; position: absolute; left: 0; color: var(--pallet-orange); font-weight: 800; }
.pallet-request__form { padding: 24px; display: grid; gap: 12px; border-radius: 13px; color: #fff; background: var(--pallet-navy); }
.pallet-request__form h3 { margin: 0 0 3px; font-size: 21px; }
.pallet-request__form label { display: grid; gap: 6px; }
.pallet-request__form label > span { color: #c0d0df; font-size: 9px; font-weight: 700; }
.pallet-request__form input, .pallet-request__form textarea { width: 100%; min-width: 0; padding: 0 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; color: #fff; background: rgba(255,255,255,.08); outline: 0; }
.pallet-request__form input { height: 43px; }
.pallet-request__form textarea { padding-block: 11px; resize: vertical; }
.pallet-request__form input::placeholder, .pallet-request__form textarea::placeholder { color: #8399ad; }
.pallet-request__form input:focus, .pallet-request__form textarea:focus { border-color: var(--pallet-orange); box-shadow: 0 0 0 3px rgba(255,90,10,.12); }
.pallet-request__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pallet-request__form .pallet-consent { display: flex; align-items: flex-start; gap: 8px; }
.pallet-consent input { width: 15px; height: 15px; flex: 0 0 auto; accent-color: var(--pallet-orange); }
.pallet-consent span { font-weight: 500 !important; }
.pallet-consent a { text-decoration: underline; }
.pallet-request__form > button { min-height: 48px; border: 0; border-radius: 8px; color: #fff; background: var(--pallet-orange); font-size: 11px; font-weight: 800; cursor: pointer; }
.pallet-request__form > button:hover { background: var(--pallet-orange-dark); }
.pallet-request__form > button:disabled { opacity: .6; cursor: wait; }
.pallet-request__form .form-status { min-height: 15px; margin: 0; color: #b9cad9; font-size: 9px; }
.pallet-request__form .form-status.is-success { color: #6fe0a0; }
.pallet-request__form .form-status.is-error { color: #ffad8a; }
.pallet-unavailable { margin-top: 22px; padding: 48px; text-align: center; }
.pallet-unavailable > span { color: var(--pallet-orange); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.pallet-unavailable h2 { margin: 7px 0 10px; font-size: 32px; }
.pallet-unavailable p { max-width: 700px; margin: 0 auto; color: var(--pallet-muted); }
.pallet-unavailable a { min-height: 46px; margin-top: 22px; padding: 0 20px; display: inline-flex; align-items: center; border-radius: 8px; color: #fff; background: var(--pallet-orange); font-size: 11px; font-weight: 800; }

@media (max-width: 1180px) {
  .pallet-layout { grid-template-columns: minmax(0, 1fr) 370px; }
  .pallet-options--lengths { grid-template-columns: repeat(3, 1fr); }
  .pallet-extra { grid-template-columns: 46px minmax(0, 1fr); }
  .pallet-extra__action { grid-column: 2; justify-content: flex-start; }
}

@media (max-width: 920px) {
  .pallet-page { padding-top: 22px; }
  .pallet-page > .shell { width: min(calc(100% - 28px), 1360px); }
  .pallet-hero { padding: 30px; grid-template-columns: 1fr; }
  .pallet-hero__badge { display: none; }
  .pallet-layout { grid-template-columns: 1fr; }
  .pallet-summary { position: static; }
  .pallet-request { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 680px) {
  .pallet-page { padding-bottom: 45px; }
  .pallet-hero { min-height: 0; padding: 25px 20px; border-radius: 13px; }
  .pallet-hero h1 { font-size: 34px; }
  .pallet-hero__facts span { font-size: 9px; }
  .pallet-step { padding: 20px 16px; }
  .pallet-options--profiles { grid-template-columns: 1fr; }
  .pallet-options--lengths { grid-template-columns: repeat(2, 1fr); }
  .pallet-steppers { grid-template-columns: 1fr; }
  .pallet-formula { align-items: flex-start; flex-direction: column; }
  .pallet-extras { max-height: none; grid-template-columns: 1fr; overflow: visible; }
  .pallet-extra { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .pallet-extra__action { grid-column: auto; justify-content: flex-end; }
  .pallet-summary__head, .pallet-total { align-items: flex-start; }
  .pallet-total { flex-direction: column; }
  .pallet-request { padding: 24px 17px; }
  .pallet-request__row { grid-template-columns: 1fr; }
  .pallet-request__form { padding: 18px 15px; }
}

@media (max-width: 430px) {
  .pallet-options--lengths { grid-template-columns: 1fr 1fr; }
  .pallet-extra { grid-template-columns: 44px minmax(0, 1fr); }
  .pallet-extra__action { grid-column: 2; justify-content: flex-start; }
  .pallet-live { display: none; }
}

/* Compact single-screen layout aligned with the current STELLAGG storefront. */
.pallet-page { padding: 20px 0 34px; }
.pallet-breadcrumbs { margin-bottom: 10px; }
.pallet-hero {
  min-height: 0;
  padding: 8px 2px 20px;
  display: block;
  color: var(--pallet-ink);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.pallet-hero h1 { max-width: none; margin: 5px 0 7px; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.04; }
.pallet-hero p { max-width: 880px; color: #607389; font-size: 12px; line-height: 1.55; }
.pallet-hero__facts { margin-top: 12px; }
.pallet-hero__facts span { min-height: 27px; border-color: #d6e0e9; color: #3c536b; background: #fff; }
.pallet-layout { margin-top: 0; grid-template-columns: minmax(0, 1fr) 380px; gap: 14px; }
.pallet-config { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 12px; }
.pallet-step { padding: 17px; border-radius: 12px; box-shadow: 0 5px 18px rgba(6,29,54,.035); }
.pallet-step > header { margin-bottom: 13px; gap: 10px; }
.pallet-step > header > b { width: 31px; height: 31px; flex-basis: 31px; border-radius: 8px; font-size: 9px; }
.pallet-step > header span { font-size: 8px; }
.pallet-step h2 { margin-top: 1px; font-size: 18px; }
.pallet-step__intro { margin: -4px 0 10px; font-size: 10px; }
.pallet-option { min-height: 62px; padding: 9px; gap: 8px; border-radius: 9px; }
.pallet-option__profile { width: 31px; height: 37px; border-width: 2px; font-size: 8px; }
.pallet-option strong { font-size: 9px; }
.pallet-option small { font-size: 7px; }
.pallet-options--lengths { grid-template-columns: repeat(5, 1fr); gap: 6px; }
.pallet-option--length { min-height: 62px; }
.pallet-option__beam { height: 5px; }
.pallet-fieldset { margin-top: 11px; padding-top: 10px; }
.pallet-fieldset > span { margin-bottom: 7px; font-size: 9px; }
.pallet-pills { gap: 5px; }
.pallet-pills button { min-height: 30px; padding: 0 9px; border-radius: 7px; font-size: 8px; }
.pallet-hint { margin-top: 7px; font-size: 8px; }
.pallet-steppers { gap: 7px; }
.pallet-steppers > label { padding: 10px; border-radius: 9px; }
.pallet-steppers > label > span:first-child { font-size: 9px; }
.pallet-steppers > label > small { font-size: 7px; }
.pallet-stepper { margin-top: 7px; grid-template-columns: 30px 1fr 30px; }
.pallet-stepper button, .pallet-stepper input { height: 30px; }
.pallet-stepper button { font-size: 16px; }
.pallet-stepper input { font-size: 10px; }
.pallet-formula { margin-top: 8px; padding: 8px 10px; gap: 8px; }
.pallet-formula span { font-size: 9px; }
.pallet-formula small { font-size: 7px; }
.pallet-extras { max-height: 180px; gap: 6px; }
.pallet-extra { padding: 7px; grid-template-columns: 37px minmax(0, 1fr) auto; gap: 7px; border-radius: 8px; }
.pallet-extra__media { width: 37px; height: 37px; border-radius: 6px; font-size: 9px; }
.pallet-extra__copy { gap: 2px; }
.pallet-extra__copy strong { font-size: 8px; }
.pallet-extra__copy span { font-size: 7px; }
.pallet-extra__action { min-width: 55px; gap: 4px; }
.pallet-extra__action button { width: 23px; height: 24px; }
.pallet-extra__action .pallet-extra__add { padding: 0 7px; font-size: 7px; }
.pallet-summary { top: 82px; display: flex; flex-direction: column; border-top: 3px solid var(--pallet-orange); border-radius: 12px; box-shadow: 0 7px 24px rgba(6,29,54,.055); }
.pallet-summary__head { order: 0; padding: 15px 17px 10px; border-top: 0; }
.pallet-summary__head h2 { font-size: 21px; }
.pallet-visual { order: 1; padding: 10px 17px 15px; border-block: 1px solid #e7edf2; background: #f7f9fb; }
.pallet-rack { width: 68%; height: 105px; margin-top: 4px; }
.pallet-rack__post { width: 8px; top: 4px; }
.pallet-rack__levels > span { height: 6px; }
.pallet-rack__levels > span i { bottom: 6px; height: 13px; }
.pallet-summary__rows { order: 2; max-height: 185px; padding: 4px 17px 0; }
.pallet-summary-row { padding: 8px 0; }
.pallet-summary-row strong { font-size: 9px; }
.pallet-summary-row b { font-size: 10px; }
.pallet-warning { order: 3; margin-inline: 17px; }
.pallet-total { order: 4; margin: 10px 17px 0; padding-top: 10px; }
.pallet-total strong { font-size: 23px; }
.pallet-cart { order: 5; width: calc(100% - 34px); min-height: 43px; margin: 12px 17px 0; }
.pallet-manager-link { order: 6; margin: 8px auto 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.pallet-cart-status { order: 7; }
.pallet-disclaimer { order: 8; margin: 2px 17px 13px; }
.pallet-unavailable button { min-height: 46px; margin-top: 22px; padding: 0 20px; border: 0; border-radius: 8px; color: #fff; background: var(--pallet-orange); font-size: 11px; font-weight: 800; cursor: pointer; }

.pallet-request-dialog { width: min(820px, calc(100% - 32px)); max-height: calc(100vh - 40px); padding: 0; grid-template-columns: .82fr 1.18fr; overflow: auto; border: 0; border-radius: 16px; color: var(--pallet-ink); background: #fff; box-shadow: 0 30px 90px rgba(3,20,38,.35); }
.pallet-request-dialog[open] { display: grid; }
.pallet-request-dialog::backdrop { background: rgba(3,20,38,.62); backdrop-filter: blur(3px); }
.pallet-request-dialog__close { position: absolute; z-index: 2; top: 11px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; color: #fff; background: var(--pallet-orange); font-size: 23px; line-height: 1; cursor: pointer; }
.pallet-request-dialog__copy { padding: 38px 30px; color: #fff; background: linear-gradient(145deg, var(--pallet-navy), #0b385f); }
.pallet-request-dialog__copy h2 { margin: 8px 0 12px; font-size: 28px; line-height: 1.08; letter-spacing: -.035em; }
.pallet-request-dialog__copy p { color: #b7c9d9; font-size: 10px; line-height: 1.65; }
.pallet-request-dialog__copy ul { margin: 20px 0 0; padding: 0; display: grid; gap: 9px; list-style: none; }
.pallet-request-dialog__copy li { position: relative; padding-left: 20px; font-size: 9px; font-weight: 700; }
.pallet-request-dialog__copy li::before { content: "✓"; position: absolute; left: 0; color: var(--pallet-orange); }
.pallet-request-dialog .pallet-request__form { padding: 34px 28px 24px; color: var(--pallet-ink); background: #fff; border-radius: 0; }
.pallet-request-dialog .pallet-request__form label > span { color: #52657a; }
.pallet-request-dialog .pallet-request__form input, .pallet-request-dialog .pallet-request__form textarea { border-color: #d8e2ea; color: var(--pallet-ink); background: #f7f9fb; }
.pallet-request-dialog .pallet-request__form input::placeholder, .pallet-request-dialog .pallet-request__form textarea::placeholder { color: #8a99a9; }
.pallet-request-dialog .pallet-request__form .form-status { color: #667a8f; }
.pallet-request-dialog .pallet-consent span { color: #61758a; }

@media (max-width: 1180px) {
  .pallet-layout { grid-template-columns: minmax(0, 1fr) 350px; }
  .pallet-options--lengths { grid-template-columns: repeat(5, 1fr); }
  .pallet-extra { grid-template-columns: 35px minmax(0, 1fr); }
  .pallet-extra__action { grid-column: 2; }
}
@media (max-width: 1000px) {
  .pallet-layout { grid-template-columns: 1fr; }
  .pallet-summary { position: static; }
}
@media (max-width: 760px) {
  .pallet-page { padding-top: 16px; }
  .pallet-config { grid-template-columns: 1fr; }
  .pallet-hero { padding: 5px 0 16px; }
  .pallet-hero h1 { font-size: 32px; }
  .pallet-request-dialog[open] { display: block; }
  .pallet-request-dialog__copy { padding: 30px 23px; }
  .pallet-request-dialog .pallet-request__form { padding: 24px 18px; }
}
@media (max-width: 520px) {
  .pallet-options--lengths { grid-template-columns: repeat(2, 1fr); }
  .pallet-extras { max-height: 250px; }
  .pallet-steppers { grid-template-columns: 1fr; }
  .pallet-extra { grid-template-columns: 38px minmax(0, 1fr) auto; }
  .pallet-extra__action { grid-column: auto; }
}

/* Modern row configurator: the clear workflow of a professional rack builder
   in the visual language of the STELLAGG storefront. */
.pallet-page > .shell { width: min(calc(100% - 40px), 1440px); }
.pallet-hero { padding-bottom: 18px; }
.pallet-hero h1 { font-size: clamp(34px, 3vw, 48px); }
.pallet-hero p { font-size: 13px; }
.pallet-layout { grid-template-columns: minmax(0, 1fr) 390px; gap: 18px; align-items: start; }

.pallet-workspace {
  overflow: hidden;
  border: 1px solid #d9e3ec;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(6,29,54,.06);
}
.pallet-workspace__head {
  min-height: 94px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #e6edf3;
  background: linear-gradient(110deg, #fff 0%, #fff 58%, #f5f8fb 100%);
}
.pallet-workspace__head h2 { margin: 3px 0 2px; font-size: 27px; line-height: 1; letter-spacing: -.035em; }
.pallet-workspace__head p { margin: 0; color: #6f8094; font-size: 11px; }
.pallet-workspace__status {
  min-height: 34px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  border: 1px solid #dce6ed;
  border-radius: 20px;
  color: #40566d;
  background: #fff;
  font-size: 9px;
  font-weight: 800;
}
.pallet-workspace__status i { width: 8px; height: 8px; border-radius: 50%; background: #31c978; box-shadow: 0 0 0 4px rgba(49,201,120,.13); }

.pallet-config { display: block; }
.pallet-step {
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 24px;
  border: 0;
  border-bottom: 1px solid #e7edf2;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.pallet-step > header { margin: 0; gap: 11px; }
.pallet-step > header > b { width: 32px; height: 32px; flex-basis: 32px; border-radius: 9px; font-size: 9px; }
.pallet-step > header > div { min-width: 0; }
.pallet-step > header span { font-size: 8px; }
.pallet-step h2 { margin: 2px 0 5px; font-size: 17px; line-height: 1.15; }
.pallet-step > header p { margin: 0; color: #7a8b9d; font-size: 9px; line-height: 1.45; }
.pallet-step__body { min-width: 0; }
.pallet-fieldset { margin-top: 13px; padding-top: 13px; }
.pallet-fieldset--first { margin-top: 0; padding-top: 0; border-top: 0; }
.pallet-fieldset > span { margin-bottom: 8px; color: #213a54; font-size: 10px; }

.pallet-options--profiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pallet-options--lengths { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
.pallet-option { min-height: 66px; padding: 10px; border-radius: 10px; }
.pallet-option strong { font-size: 10px; }
.pallet-option small { font-size: 8px; line-height: 1.3; }
.pallet-option__profile { width: 42px; height: 42px; border: 0; border-radius: 10px; color: var(--pallet-blue); background: #edf4f8; font-size: 9px; }
.pallet-option.is-active .pallet-option__profile { border: 0; color: #fff; background: var(--pallet-orange); }
.pallet-option--length { min-height: 64px; }
.pallet-pills button { min-height: 34px; padding: 0 12px; font-size: 9px; }
.pallet-hint { margin: 8px 0 0; font-size: 8px; }

.pallet-steppers { gap: 9px; }
.pallet-steppers > label { padding: 12px; border-radius: 10px; background: #fbfcfd; }
.pallet-steppers > label > span:first-child { font-size: 10px; }
.pallet-steppers > label > small { min-height: 22px; font-size: 8px; line-height: 1.35; }
.pallet-stepper { margin-top: 8px; grid-template-columns: 34px 1fr 34px; background: #fff; }
.pallet-stepper button, .pallet-stepper input { height: 34px; }
.pallet-stepper input { font-size: 12px; }
.pallet-formula { margin-top: 9px; padding: 9px 12px; }
.pallet-formula span { font-size: 10px; }
.pallet-formula small { font-size: 8px; }

.pallet-row-builder {
  padding: 19px 26px;
  border-bottom: 1px solid #e7edf2;
  background: linear-gradient(115deg, #f7fafc 0%, #fff 72%);
}
.pallet-row-builder > header { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.pallet-row-builder__icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: var(--pallet-orange); font-size: 24px; line-height: 1; }
.pallet-row-builder h2 { margin: 0 0 3px; color: var(--pallet-ink); font-size: 15px; letter-spacing: -.02em; }
.pallet-row-builder header p { margin: 0; color: #60758a; font-size: 9px; line-height: 1.45; }
.pallet-row-builder > header > button {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--pallet-blue);
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.pallet-row-builder > header > button:hover { transform: translateY(-1px); background: #123f68; }
.pallet-row-builder__list { margin-top: 13px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pallet-row-builder__empty { grid-column: 1 / -1; margin: 0; padding: 10px 12px; border: 1px dashed #cbd8e3; border-radius: 10px; color: #60758a; background: rgba(255,255,255,.72); font-size: 9px; }
.pallet-added-row { min-width: 0; padding: 10px; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; border: 1px solid #dce6ed; border-radius: 11px; background: #fff; }
.pallet-added-row__index { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--pallet-orange); background: #fff1e9; font-size: 9px; font-weight: 850; }
.pallet-added-row__copy { min-width: 0; display: grid; gap: 3px; }
.pallet-added-row__copy strong { color: var(--pallet-ink); font-size: 11px; }
.pallet-added-row__copy small { overflow: hidden; color: #65798c; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.pallet-added-row__remove { padding: 7px 8px; border: 0; color: #697e91; background: transparent; font-size: 8px; font-weight: 750; cursor: pointer; }
.pallet-added-row__remove:hover { color: #c43e27; }

.pallet-extras-panel { background: #fff; }
.pallet-extras-panel > summary {
  padding: 17px 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--pallet-ink);
  cursor: pointer;
  list-style: none;
  transition: background .18s ease;
}
.pallet-extras-panel > summary::-webkit-details-marker { display: none; }
.pallet-extras-panel > summary:hover { background: #f8fafc; }
.pallet-extras-panel__plus { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--pallet-blue); font-size: 22px; line-height: 1; transition: transform .18s ease, background .18s ease; }
.pallet-extras-panel[open] .pallet-extras-panel__plus { transform: rotate(45deg); background: var(--pallet-orange); }
.pallet-extras-panel > summary > span:nth-child(2) { display: grid; gap: 2px; }
.pallet-extras-panel > summary small { color: var(--pallet-orange); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pallet-extras-panel > summary strong { font-size: 13px; }
.pallet-extras-panel > summary em { margin-left: auto; color: #536a81; font-size: 9px; font-style: normal; font-weight: 800; }
.pallet-extras-panel__body { padding: 0 26px 22px 72px; }
.pallet-extras-panel__body > p { margin: 0 0 11px; color: #718397; font-size: 9px; }
.pallet-extras { max-height: 280px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pallet-extra { padding: 8px; grid-template-columns: 40px minmax(0, 1fr) auto; }
.pallet-extra__media { width: 40px; height: 40px; }
.pallet-extra__copy strong { font-size: 8px; }

.pallet-summary {
  position: sticky;
  top: 84px;
  display: block;
  overflow: hidden;
  border: 1px solid #d7e2eb;
  border-top: 4px solid var(--pallet-orange);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 46px rgba(6,29,54,.09);
}
.pallet-summary__head { padding: 17px 20px 12px; border: 0; }
.pallet-summary__head h2 { margin-top: 2px; font-size: 24px; }
.pallet-live { min-height: 27px; padding-inline: 9px; font-size: 8px; }
.pallet-visual { padding: 10px 20px 13px; border-block: 1px solid #e7edf2; background: linear-gradient(155deg, #f7fafc, #edf3f7); }
.pallet-rack { width: 72%; height: 125px; margin-top: 6px; }
.pallet-summary__quick { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #e7edf2; }
.pallet-summary__quick > span { padding: 11px 20px; display: grid; gap: 2px; }
.pallet-summary__quick > span + span { border-left: 1px solid #e7edf2; }
.pallet-summary__quick small { color: #7d8ea0; font-size: 8px; text-transform: uppercase; letter-spacing: .05em; }
.pallet-summary__quick b { font-size: 12px; }

.pallet-specification { border-bottom: 1px solid #e7edf2; }
.pallet-specification > summary { padding: 12px 20px; display: flex; justify-content: space-between; gap: 12px; color: #213b55; font-size: 10px; font-weight: 800; cursor: pointer; list-style: none; }
.pallet-specification > summary::-webkit-details-marker { display: none; }
.pallet-specification > summary::after { content: "+"; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: var(--pallet-blue); background: #edf3f7; font-size: 15px; }
.pallet-specification[open] > summary::after { content: "−"; }
.pallet-specification > summary span { margin-left: auto; color: #8191a1; font-size: 8px; font-weight: 600; }
.pallet-summary__rows { max-height: 190px; padding: 0 20px 5px; }
.pallet-total { margin: 14px 20px 0; padding-top: 0; border: 0; }
.pallet-total > span { font-size: 11px; }
.pallet-total strong { font-size: 29px; }
.pallet-cart { width: calc(100% - 40px); min-height: 48px; margin: 15px 20px 0; border-radius: 10px; font-size: 10px; }
.pallet-manager-link { margin-top: 10px; font-size: 9px; }
.pallet-disclaimer { margin: 3px 20px 16px; }

@media (max-width: 1120px) {
  .pallet-layout { grid-template-columns: 1fr; }
  .pallet-summary { position: static; }
}
@media (max-width: 820px) {
  .pallet-page > .shell { width: min(calc(100% - 28px), 1440px); }
  .pallet-workspace__head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .pallet-step { grid-template-columns: 1fr; gap: 15px; }
  .pallet-step > header p { max-width: 540px; }
}
@media (max-width: 620px) {
  .pallet-layout { gap: 12px; }
  .pallet-workspace { border-radius: 14px; }
  .pallet-workspace__head, .pallet-step { padding: 18px 15px; }
  .pallet-workspace__status { white-space: normal; }
  .pallet-options--profiles { grid-template-columns: 1fr; }
  .pallet-options--lengths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pallet-steppers { grid-template-columns: 1fr; }
  .pallet-steppers > label > small { min-height: 0; }
  .pallet-row-builder { padding: 16px 15px; }
  .pallet-row-builder > header { grid-template-columns: 38px minmax(0, 1fr); }
  .pallet-row-builder > header > button { grid-column: 1 / -1; width: 100%; }
  .pallet-row-builder__list { grid-template-columns: 1fr; }
  .pallet-extras-panel > summary { padding: 16px 15px; }
  .pallet-extras-panel > summary em { display: none; }
  .pallet-extras-panel__body { padding: 0 15px 18px; }
  .pallet-extras { max-height: 330px; grid-template-columns: 1fr; }
  .pallet-extra { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .pallet-extra__action { grid-column: auto; }
}

/* Product photography and improved readability. */
.pallet-step > header p { color: #566c82; font-size: 10px; line-height: 1.5; }
.pallet-option { min-height: 82px; }
.pallet-option strong { color: #0b2139; font-size: 11px; line-height: 1.3; }
.pallet-option small { color: #405970; font-size: 10px; font-weight: 650; line-height: 1.4; }
.pallet-option__media {
  position: relative;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: #f0f5f8;
}
.pallet-option__media img { width: 100%; height: 100%; padding: 4px; object-fit: contain; mix-blend-mode: multiply; }
.pallet-option__media .pallet-option__profile {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: auto;
  height: 22px;
  padding: 0 6px;
  border-radius: 7px;
  color: #fff;
  background: var(--pallet-blue);
  box-shadow: 0 3px 9px rgba(6,29,54,.18);
  font-size: 8px;
}
.pallet-option.is-active .pallet-option__media .pallet-option__profile { color: #fff; background: var(--pallet-orange); }
.pallet-option--length { min-height: 94px; align-items: stretch; flex-direction: column; gap: 5px; }
.pallet-option__length-media { position: relative; height: 43px; display: block; overflow: hidden; border-radius: 7px; background: #f4f7f9; }
.pallet-option__length-media img { width: 100%; height: 100%; padding: 3px 7px 8px; object-fit: contain; mix-blend-mode: multiply; }
.pallet-option__length-media .pallet-option__beam { position: absolute; right: 7px; bottom: 4px; left: 7px; width: auto; height: 4px; }
.pallet-fieldset > span { color: #102b47; font-size: 11px; }
.pallet-pills button { color: #304c68; font-size: 10px; font-weight: 800; }
.pallet-hint, .pallet-formula small, .pallet-steppers > label > small { color: #5d7186; font-size: 9px; }

.pallet-visual { padding-bottom: 14px; }
.pallet-visual__photo { position: relative; height: 168px; margin-top: 7px; overflow: hidden; border-radius: 11px; background: #fff; }
.pallet-visual__photo > img { width: 100%; height: 100%; padding: 9px 18px 25px; object-fit: contain; mix-blend-mode: multiply; }
.pallet-visual__photo > span { position: absolute; bottom: 7px; min-width: 77px; padding: 5px 7px; display: grid; gap: 1px; border: 1px solid #d9e4ec; border-radius: 7px; background: rgba(255,255,255,.95); box-shadow: 0 4px 14px rgba(6,29,54,.07); }
.pallet-visual__photo > span:nth-of-type(1) { left: 7px; }
.pallet-visual__photo > span:nth-of-type(2) { right: 7px; text-align: right; }
.pallet-visual__photo small { color: #788a9d; font-size: 6px; font-weight: 700; text-transform: uppercase; }
.pallet-visual__photo b { color: #11314f; font-size: 8px; }
.pallet-visual__products { margin-top: 15px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.pallet-visual__products article { min-width: 0; padding: 6px; display: grid; grid-template-columns: 47px minmax(0, 1fr); align-items: center; gap: 7px; border: 1px solid #dbe5ec; border-radius: 9px; background: #fff; }
.pallet-visual__products img { width: 47px; height: 42px; padding: 2px; object-fit: contain; mix-blend-mode: multiply; }
.pallet-visual__products span { min-width: 0; display: grid; gap: 2px; }
.pallet-visual__products small { color: #7a8c9d; font-size: 7px; font-weight: 700; text-transform: uppercase; }
.pallet-visual__products b { overflow: hidden; color: #15334f; font-size: 8px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 620px) {
  .pallet-option { min-height: 86px; }
  .pallet-option--length { min-height: 105px; }
  .pallet-option__length-media { height: 52px; }
  .pallet-visual__photo { height: 190px; }
}

/* Pallet 3D: the model stays beside the controls; the native order is unchanged. */
/* Unlike hidden, clip does not create a second vertical scroll container. */
body.pallet-calculator-page { overflow-x: clip; }
.pallet-page { background: #f2f2f2; }
.pallet-layout { grid-template-columns: minmax(0, 1.4fr) minmax(350px, .62fr) minmax(320px, .58fr); gap: 20px; }
.pallet-preview { position: sticky; top: 84px; min-width: 0; padding: 18px; border: 1px solid var(--pallet-line); border-radius: 18px; background: #fff; box-shadow: 0 12px 32px #061d3609; }
.pallet-preview__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.pallet-preview__head h2 { margin: 0; font-size: clamp(21px, 2vw, 28px); line-height: 1.2; }
.pallet-preview__head p { margin: 7px 0 0; color: #414b54; font-size: 13px; }
.pallet-preview__badge { color: var(--pallet-orange); font-size: 38px; font-weight: 850; letter-spacing: -.06em; }
.pallet-3d { position: relative; height: clamp(360px, 55vh, 630px); overflow: hidden; border: 1px solid var(--pallet-line); border-radius: 13px; background: #f7f7f7; }
.pallet-3d__canvas { position: absolute; inset: 0; }
.pallet-3d__canvas canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.pallet-3d__canvas canvas:active { cursor: grabbing; }
.pallet-3d__canvas canvas:focus-visible { outline: 2px solid var(--pallet-orange); outline-offset: -3px; }
.pallet-3d__toolbar { position: absolute; z-index: 2; inset: 12px 12px auto; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.pallet-3d__toolbar button, .pallet-3d__zoom button { min-height: 36px; padding: 7px 10px; border: 1px solid #cdd6dd; border-radius: 7px; background: #ffffffed; color: #0c2943; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; pointer-events: auto; }
.pallet-3d__toolbar button:hover, .pallet-3d__zoom button:hover { border-color: var(--pallet-orange); color: #b64106; }
.pallet-3d__section-actions { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.pallet-3d__section-actions[hidden] { display: none; }
.pallet-3d__delete { position: absolute; width: 38px; height: 38px; padding: 8px; border: 1px solid #cdd6dd; border-radius: 9px; background: #fffffff0; color: #111; box-shadow: 0 3px 10px #0002; transform: translate(-50%, -100%); cursor: pointer; pointer-events: auto; }
.pallet-3d__delete.is-active { border-color: #e88c57; background: #fff8f2; }
.pallet-3d__delete svg { display: block; width: 100%; height: 100%; pointer-events: none; }
.pallet-3d__delete:not(:disabled):hover { background: #ffddc5; border-color: #ff5a00; }
.pallet-3d__delete:disabled { cursor: not-allowed; box-shadow: none; }
.pallet-3d__delete:disabled svg { opacity: .4; }
.pallet-3d__delete[hidden] { display: none; }
.pallet-notice { position: fixed; z-index: 100; left: 20px; bottom: 20px; display: flex; align-items: flex-start; gap: 12px; width: min(440px, calc(100vw - 92px)); padding: 14px 16px; border: 1px solid #ffad77; border-left: 4px solid #ff5a00; border-radius: 12px; background: #fffaf6; box-shadow: 0 8px 32px #0002; font-size: 13px; font-weight: 500; line-height: 1.5; }
.pallet-notice[hidden] { display: none; }
.pallet-notice > span { flex: 1; min-width: 0; }
.pallet-notice > button { flex: 0 0 28px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: #ffeadb; font-size: 22px; line-height: 1; cursor: pointer; }
.pallet-3d > .pallet-preview__badge { position: absolute; z-index: 2; top: 12px; right: 14px; line-height: 1; pointer-events: none; }
.pallet-3d__toolbar { right: 78px; }
.pallet-3d__zoom { position: absolute; z-index: 2; right: 12px; bottom: 12px; display: grid; gap: 5px; }
.pallet-3d__zoom button { width: 38px; height: 38px; padding: 0; font-size: 24px; }
.pallet-3d__legend { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; gap: 4px; pointer-events: none; }
.pallet-3d__legend strong, .pallet-3d__legend span { width: fit-content; max-width: 100%; padding: 5px 8px; border-radius: 5px; background: #ffffffdf; color: #253641; font-size: 12px; line-height: 1.35; }
.pallet-3d__legend span { font-size: 11px; }
.pallet-3d__detail { position: absolute; bottom: 88px; left: 12px; max-width: calc(100% - 74px); margin: 0; padding: 6px 8px; background: #fff9efed; color: #704508; border-radius: 5px; font-size: 11px; }
.pallet-3d__status { position: absolute; z-index: 3; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 65px 28px; background: #f7f7f7f5; color: #132b40; text-align: center; }
.pallet-3d__status strong { font-size: 18px; }
.pallet-3d__status span { max-width: 340px; color: #52616c; font-size: 13px; line-height: 1.5; }
.pallet-3d__status button { min-height: 42px; padding: 9px 16px; border: 1px solid var(--pallet-orange); border-radius: 8px; color: #fff; background: var(--pallet-orange); font: inherit; font-size: 13px; cursor: pointer; }
.pallet-layout [hidden] { display: none !important; }
.pallet-preview__gesture { margin: 10px 0; color: #52616c; font-size: 12px; line-height: 1.5; }
.pallet-preview__estimate { padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--pallet-line); }
.pallet-preview__estimate > span { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; }
.pallet-preview__estimate strong { color: var(--pallet-ink); font-size: 25px; font-weight: 800; }
.pallet-preview__estimate a { color: #b83e04; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pallet-preview__note { margin: 12px 0 0; color: #52616c; font-size: 11px; line-height: 1.5; }
.pallet-controls-column { min-width: 0; display: grid; gap: 16px; }
.pallet-dashboard { display: grid; grid-column: 1 / -1; grid-template-columns: inherit; align-items: start; gap: inherit; min-width: 0; }
.pallet-controls-column--order { display: block; grid-column: 1 / -1; }
.pallet-row-selector { padding: 16px 20px; border-bottom: 1px solid var(--pallet-line); background: #fff9f5; }
.pallet-row-selector > span { display: block; margin-bottom: 10px; color: #34404b; font-size: 12px; line-height: 1.4; }
.pallet-row-selector > div { display: flex; flex-wrap: wrap; gap: 6px; max-height: 160px; overflow-y: auto; }
.pallet-row-selector button { min-height: 36px; padding: 7px 12px; border: 1px solid #ccd7df; border-radius: 7px; color: var(--pallet-ink); background: #fff; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.pallet-row-selector button.is-active { border-color: var(--pallet-orange); color: #fff; background: var(--pallet-navy); }
.pallet-row-edit { padding: 0; border: 0; color: var(--pallet-ink); background: none; text-align: left; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pallet-controls-column button:disabled { opacity: .45; cursor: not-allowed; }
.pallet-controls-column .pallet-warning { color: #733606; font-size: 12px; }
.pallet-controls-column [data-add-back-row] { border: 1px solid #f2a277; color: #923604; background: #fff6ef; }
.pallet-controls-column .pallet-workspace__head { min-height: 0; padding: 20px; display: block; }
.pallet-controls-column .pallet-workspace__head h2 { font-size: 23px; }
.pallet-controls-column .pallet-workspace__status { margin-top: 10px; font-size: 11px; }
.pallet-controls-column .pallet-step { padding: 20px; display: block; }
.pallet-controls-column .pallet-step > header { margin-bottom: 15px; align-items: center; }
.pallet-controls-column .pallet-step > header p { font-size: 12px; color: #414b54; }
.pallet-controls-column .pallet-step h2 { margin: 0; font-size: 18px; line-height: 1.3; }
.pallet-controls-column .pallet-fieldset > span { color: #171d23; font-size: 13px; }
.pallet-controls-column .pallet-pills { gap: 7px; }
.pallet-controls-column .pallet-pills button { min-height: 40px; padding-inline: 12px; font-size: 12px; }
.pallet-controls-column .pallet-pills button.is-active { color: #fff; background: var(--pallet-navy); }
.pallet-controls-column .pallet-options--profiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pallet-controls-column .pallet-options--profiles .pallet-option { flex-direction: column; align-items: flex-start; padding: 9px; }
.pallet-controls-column .pallet-option strong { font-size: 12px; }
.pallet-controls-column .pallet-option small { font-size: 11px; font-weight: 500; color: #414b54; }
.pallet-controls-column .pallet-options--lengths { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pallet-controls-column .pallet-option--length { min-height: 98px; padding: 10px; }
.pallet-controls-column .pallet-hint, .pallet-controls-column .pallet-formula small { color: #414b54; font-size: 12px; line-height: 1.5; }
.pallet-controls-column .pallet-steppers { grid-template-columns: 1fr 1fr; }
.pallet-controls-column .pallet-steppers > label > span:first-child { font-size: 12px; color: #171d23; }
.pallet-controls-column .pallet-steppers > label > small { min-height: 30px; color: #414b54; font-size: 11px; }
.pallet-controls-column .pallet-stepper input { font-size: 16px; }
.pallet-controls-column .pallet-stepper input:focus-visible { outline: 2px solid var(--pallet-orange); outline-offset: -2px; }
.pallet-controls-column .pallet-formula { display: block; }
.pallet-controls-column .pallet-formula span { display: block; margin-bottom: 4px; font-size: 14px; }
.pallet-controls-column .pallet-row-builder { padding: 20px; }
.pallet-controls-column .pallet-row-builder > header { grid-template-columns: 34px minmax(0, 1fr); }
.pallet-controls-column .pallet-row-builder > header > button { grid-column: 1 / -1; font-size: 13px; }
.pallet-controls-column .pallet-row-builder h2 { font-size: 18px; }
.pallet-controls-column .pallet-row-builder header p, .pallet-controls-column .pallet-row-builder__empty { font-size: 12px; line-height: 1.5; }
.pallet-controls-column .pallet-row-builder__list { grid-template-columns: 1fr; }
.pallet-controls-column .pallet-added-row__copy strong, .pallet-controls-column .pallet-added-row__remove { font-size: 13px; }
.pallet-controls-column .pallet-added-row__copy small { font-size: 11px; }
.pallet-controls-column .pallet-extras-panel > summary { padding: 20px; }
.pallet-controls-column .pallet-extras-panel > summary strong { font-size: 14px; }
.pallet-controls-column .pallet-extras-panel > summary em { display: none; }
.pallet-controls-column .pallet-extras-panel__body { padding: 0 20px 20px; }
.pallet-controls-column .pallet-extras-panel__body > p { font-size: 12px; color: #414b54; line-height: 1.5; }
.pallet-controls-column .pallet-extras { grid-template-columns: 1fr; max-height: none; overflow: visible; }
.pallet-controls-column .pallet-extra__copy strong, .pallet-controls-column .pallet-extra__copy span, .pallet-controls-column .pallet-extra__action .pallet-extra__add { font-size: 11px; }
.pallet-controls-column .pallet-summary { position: static; scroll-margin-top: 92px; }
.pallet-controls-column .pallet-visual { background: #f7f7f7; }
.pallet-controls-column .pallet-visual__products { margin-top: 0; }
.pallet-controls-column .pallet-visual__products b { font-size: 11px; white-space: normal; }
.pallet-controls-column .pallet-visual__products small, .pallet-controls-column .pallet-summary__quick small { color: #414b54; font-size: 10px; }
.pallet-controls-column .pallet-summary__quick b { font-size: 15px; }
.pallet-controls-column .pallet-specification > summary { align-items: center; font-size: 14px; }
.pallet-controls-column .pallet-specification > summary span { font-size: 11px; }
.pallet-controls-column .pallet-summary__rows { max-height: 340px; }
.pallet-controls-column .pallet-summary-row strong { font-size: 12px; }
.pallet-controls-column .pallet-summary-row b { font-size: 13px; }
.pallet-controls-column .pallet-summary-row__meta, .pallet-controls-column .pallet-summary-row small { color: #414b54; font-size: 11px; }
.pallet-controls-column .pallet-total > span { font-size: 13px; }
.pallet-controls-column .pallet-total small { color: #414b54; font-size: 11px; }
.pallet-controls-column .pallet-cart, .pallet-controls-column .pallet-manager-link { font-size: 13px; }
.pallet-controls-column .pallet-disclaimer, .pallet-controls-column .pallet-cart-status { color: #414b54; font-size: 11px; }
.pallet-3d:fullscreen, .pallet-3d.is-expanded { height: 100dvh; width: 100vw; border-radius: 0; background: #f7f7f7; }
.pallet-3d.is-expanded { position: fixed; z-index: 10000; inset: 0; }
/* Desktop: 3D | frame + beams | levels, rows and extras. */
@media (min-width: 1280px) {
  .pallet-layout {
    grid-template-columns: minmax(0, 1fr) 320px 300px;
    gap: 12px;
  }
  .pallet-dashboard { min-height: calc(100dvh - 104px); }
  .pallet-preview { padding: 12px; }
  .pallet-3d:not(:fullscreen):not(.is-expanded) { height: var(--pallet-stage-height, calc(100dvh - 140px)); min-height: 320px; }
  /* Panels stay alongside the model; only their overflowing contents scroll. */
  .pallet-controls-column:not(.pallet-controls-column--order) {
    position: sticky;
    top: 84px;
    max-height: var(--pallet-panel-height, calc(100dvh - 104px));
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: #bac8d3 transparent;
    align-content: start;
    grid-auto-rows: max-content;
    gap: 12px;
    border-radius: 16px;
  }
  .pallet-controls-column > * { min-height: 0; }
  .pallet-controls-column .pallet-workspace { overflow: clip; }
  .pallet-controls-column .pallet-step,
  .pallet-controls-column .pallet-row-builder,
  .pallet-controls-column .pallet-extras-panel > summary { padding: 12px; }
  .pallet-controls-column .pallet-step > header { gap: 8px; margin-bottom: 10px; }
  .pallet-controls-column .pallet-step > header > b { width: 27px; height: 27px; flex-basis: 27px; border-radius: 8px; }
  .pallet-controls-column .pallet-step h2 { font-size: 15px; }
  .pallet-controls-column .pallet-step > header p { margin-top: 3px; font-size: 11px; }
  .pallet-controls-column .pallet-fieldset { margin-top: 10px; padding-top: 10px; }
  .pallet-controls-column .pallet-fieldset--first { margin-top: 0; padding-top: 0; }
  .pallet-controls-column .pallet-fieldset > span { margin-bottom: 7px; font-size: 12px; }
  .pallet-controls-column .pallet-pills { gap: 5px; }
  .pallet-controls-column .pallet-pills button { min-height: 34px; padding-inline: 8px; font-size: 11px; }
  .pallet-controls-column .pallet-options { gap: 6px; }
  .pallet-controls-column .pallet-options--profiles .pallet-option { padding: 6px; gap: 6px; }
  .pallet-controls-column .pallet-option__media { width: 38px; height: 38px; flex-basis: 38px; border-radius: 7px; }
  .pallet-controls-column .pallet-option__media .pallet-option__profile { right: 0; bottom: 0; height: 18px; padding-inline: 3px; }
  .pallet-controls-column .pallet-option strong { font-size: 11px; }
  .pallet-controls-column .pallet-option--length { min-height: 76px; padding: 7px; gap: 4px; }
  .pallet-controls-column .pallet-option__length-media { height: 24px; }
  .pallet-controls-column .pallet-steppers { gap: 7px; }
  .pallet-controls-column .pallet-steppers > label { padding: 9px; }
  .pallet-controls-column .pallet-steppers > label > small { min-height: 0; }
  .pallet-controls-column .pallet-stepper { margin-top: 7px; grid-template-columns: 30px minmax(0, 1fr) 30px; }
  .pallet-controls-column .pallet-stepper button,
  .pallet-controls-column .pallet-stepper input { height: 34px; }
  .pallet-controls-column .pallet-row-builder > header { gap: 8px; }
  .pallet-controls-column .pallet-row-builder > header > button { min-height: 34px; font-size: 12px; }
  .pallet-controls-column .pallet-row-builder__list { gap: 7px; margin-top: 10px; }
  .pallet-controls-column .pallet-added-row { grid-template-columns: 27px minmax(0, 1fr) auto; padding: 8px; gap: 6px; }
  .pallet-controls-column .pallet-added-row__index { width: 27px; height: 27px; }
  .pallet-controls-column .pallet-added-row__remove { padding-inline: 2px; font-size: 11px; }
  .pallet-controls-column .pallet-extras-panel > summary { gap: 8px; }
  .pallet-controls-column .pallet-extras-panel > summary > b { width: 27px; height: 27px; }
  .pallet-controls-column .pallet-extras-panel > summary strong { font-size: 13px; }
  .pallet-controls-column .pallet-extras-panel__body { padding: 0 12px 12px; }
  .pallet-controls-column .pallet-extras { max-height: none; overflow: visible; }
  .pallet-controls-column .pallet-extra { grid-template-columns: 40px minmax(0, 1fr); }
  .pallet-controls-column .pallet-extra__action { grid-column: 2; justify-content: flex-start; }
  .pallet-controls-column .pallet-extra__media { width: 40px; height: 40px; }
  .pallet-controls-column--dimensions .pallet-step:last-child { border-bottom: 0; }
}
@media (min-width: 1280px) and (max-width: 1550px) {
  .pallet-layout { grid-template-columns: minmax(0, 1fr) 300px 280px; }
}
@media (max-width: 1279px) {
  .pallet-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .pallet-preview { grid-column: 1 / -1; }
  .pallet-preview { position: static; }
  .pallet-3d:not(:fullscreen):not(.is-expanded) { height: clamp(360px, 65dvh, 700px); }
}
@media (max-width: 900px) {
  .pallet-layout { grid-template-columns: minmax(0, 1fr); }
  .pallet-controls-column .pallet-options--profiles .pallet-option { flex-direction: row; align-items: center; }
  .pallet-controls-column .pallet-options--lengths { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .pallet-preview { padding: 12px; }
  .pallet-preview__head h2 { font-size: 20px; }
  .pallet-preview__head p { font-size: 12px; }
  .pallet-preview__badge { font-size: 32px; }
  .pallet-3d:not(:fullscreen):not(.is-expanded) { height: clamp(340px, 62dvh, 520px); }
  .pallet-3d__toolbar { inset: 8px 70px auto 8px; gap: 4px; }
  .pallet-3d__toolbar button { padding: 7px 8px; font-size: 11px; }
  .pallet-3d__legend { left: 8px; right: 8px; bottom: 8px; }
  .pallet-3d__legend strong { font-size: 11px; }
  .pallet-3d__legend span { font-size: 10px; }
  .pallet-preview__estimate { align-items: flex-start; }
  .pallet-preview__estimate > span { display: grid; }
  .pallet-preview__estimate a { padding-top: 4px; font-size: 12px; }
  .pallet-controls-column .pallet-options--profiles { grid-template-columns: 1fr; }
  .pallet-controls-column .pallet-options--lengths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pallet-controls-column .pallet-step, .pallet-controls-column .pallet-workspace__head, .pallet-controls-column .pallet-row-builder { padding: 17px; }
  .pallet-controls-column .pallet-extra { grid-template-columns: 40px minmax(0, 1fr); }
  .pallet-controls-column .pallet-extra__action { grid-column: 2; justify-content: flex-start; }
}

/* Top-aligned 65/35 workspace. Controls remain in document flow without
   stretching the 3D viewport; extras scroll in a compact list. */
.pallet-page, .pallet-request-dialog { --pallet-ink: #111; --pallet-muted: #111; }
body.stellagg-inner-page .pallet-page > .shell { width: calc(100% - 32px); max-width: none; }
.pallet-page :is(a, button, input, h1, h2, h3, p, span, small, strong, b, i, em, label, summary),
.pallet-request-dialog :is(a, button, input, textarea, h2, p, span, li, small) { color: #111 !important; }
.pallet-layout--wide-panel { display: block; padding-bottom: 24px; }
.pallet-workspace-track { min-height: 0; }
.pallet-layout--wide-panel .pallet-dashboard { position: static; top: auto; min-height: 0; grid-template-columns: minmax(0, 65fr) minmax(0, 35fr); gap: 24px; align-items: start; }
.pallet-layout--wide-panel .pallet-preview { position: static; grid-column: auto; padding: 12px; }
.pallet-layout--wide-panel .pallet-controls-column--settings {
  position: static;
  top: auto;
  height: auto;
  max-height: none;
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  gap: 18px;
  overflow: visible;
  overscroll-behavior: auto;
  border-radius: 0;
}
.pallet-settings-scroll { min-height: 0; min-width: 0; height: auto; max-height: none; overflow: visible; display: grid; align-content: start; gap: 18px; }
.pallet-settings-dimensions { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 18px; }
.pallet-layout--wide-panel .pallet-step { min-width: 0; padding: 14px; border: 1px solid var(--pallet-line); border-radius: 16px; box-shadow: 0 6px 24px #061d3605; }
.pallet-layout--wide-panel .pallet-step > header { align-items: center; gap: 8px; margin-bottom: 14px; }
.pallet-layout--wide-panel .pallet-step > header > b { width: 27px; height: 27px; flex-basis: 27px; background: #ffdabf; font-size: 10px; font-weight: 800; }
.pallet-layout--wide-panel .pallet-step h2 { font-size: 15px; font-weight: 800; line-height: 1.3; letter-spacing: -.025em; }
.pallet-layout--wide-panel .pallet-step > header p { margin-top: 5px; font-size: 12px; font-weight: 400; line-height: 1.5; }
.pallet-layout--wide-panel .pallet-fieldset { margin-top: 14px; padding-top: 14px; }
.pallet-layout--wide-panel .pallet-fieldset--first { margin-top: 0; padding-top: 0; }
.pallet-layout--wide-panel .pallet-fieldset > span { margin-bottom: 8px; font-size: 12px; font-weight: 700; line-height: 1.4; }
.pallet-layout--wide-panel .pallet-pills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.pallet-layout--wide-panel .pallet-pills button { min-height: 34px; padding: 6px 3px; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pallet-layout--wide-panel .pallet-pills button.is-active { background: #ffeadb; border-color: var(--pallet-orange); box-shadow: inset 0 0 0 1px var(--pallet-orange); }
.pallet-layout--wide-panel .pallet-options { gap: 8px; }
.pallet-layout--wide-panel .pallet-options--profiles,
.pallet-layout--wide-panel .pallet-options--lengths { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pallet-layout--wide-panel .pallet-options--profiles .pallet-option { padding: 8px; gap: 8px; flex-direction: column; align-items: stretch; }
.pallet-layout--wide-panel .pallet-option strong { font-size: 11px; font-weight: 700; line-height: 1.4; }
.pallet-layout--wide-panel .pallet-option small { font-size: 11px; font-weight: 400; line-height: 1.5; }
.pallet-layout--wide-panel .pallet-option .pallet-option__size { margin-top: 5px; font-size: 10px; font-weight: 600; }
.pallet-layout--wide-panel .pallet-option__media { width: 38px; height: 38px; flex-basis: 38px; border-radius: 8px; }
.pallet-layout--wide-panel .pallet-option__media .pallet-option__profile { height: 21px; padding-inline: 4px; right: -1px; bottom: -1px; background: #e3e9ed; box-shadow: none; font-size: 10px; }
.pallet-layout--wide-panel .pallet-option.is-active .pallet-option__profile { background: #ffd2b1; }
.pallet-layout--wide-panel .pallet-option--length { min-height: 84px; padding: 7px; gap: 6px; }
.pallet-layout--wide-panel .pallet-option__length-media { height: 30px; background: #f5f6f7; }
.pallet-layout--wide-panel .pallet-option__length-media img { display: block; position: absolute; top: 50%; left: 0; width: 100%; height: auto; max-height: none; padding: 0; transform: translateY(-50%); }
.pallet-layout--wide-panel .pallet-option.is-active { background: #fff8f2; }
.pallet-geometry-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.pallet-layout--wide-panel .pallet-steppers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pallet-layout--wide-panel .pallet-steppers > label { padding: 8px; display: flex; flex-direction: column; align-items: stretch; }
.pallet-layout--wide-panel .pallet-steppers > label > span:first-child { font-size: 12px; font-weight: 700; line-height: 1.4; }
.pallet-layout--wide-panel .pallet-steppers > label > small { flex: 1; min-height: 15px; margin-top: 3px; font-size: 10px; font-weight: 400; line-height: 1.5; }
.pallet-layout--wide-panel .pallet-stepper { margin-top: 8px; grid-template-columns: 26px minmax(0, 1fr) 26px; }
.pallet-layout--wide-panel .pallet-stepper button,
.pallet-layout--wide-panel .pallet-stepper input { height: 34px; }
.pallet-layout--wide-panel .pallet-stepper input { font-size: 16px; font-weight: 800; }
.pallet-layout--wide-panel .pallet-row-builder { min-width: 0; padding: 0 0 0 14px; border: 0; border-left: 1px solid var(--pallet-line); background: none; }
.pallet-layout--wide-panel .pallet-row-builder > header { grid-template-columns: 1fr; gap: 8px; }
.pallet-layout--wide-panel .pallet-row-builder > header > button { min-height: 36px; padding: 8px 10px; border: 1px solid #c4ced6; border-radius: 8px; background: #eef2f5; font-size: 12px; font-weight: 700; }
.pallet-layout--wide-panel .pallet-row-builder > header > button:hover { background: #fff1e6; border-color: var(--pallet-orange); }
.pallet-layout--wide-panel .pallet-row-builder [data-add-back-row] { background: #fff5ed; border-color: #f2b18a; }
.pallet-layout--wide-panel button:disabled { opacity: 1; background: #f2f3f4; border-color: #dfe3e6; }
.pallet-layout--wide-panel .pallet-extras-panel { min-width: 0; overflow: hidden; border: 1px solid #ff9b60; border-radius: 14px; background: #fff8f2; box-shadow: 0 5px 18px #ff5a0a08; }
.pallet-layout--wide-panel .pallet-extras-panel > summary { min-height: 64px; padding: 12px 16px; gap: 12px; }
.pallet-layout--wide-panel .pallet-extras-panel > summary:hover { background: #fff0e4; }
.pallet-layout--wide-panel .pallet-extras-panel__plus { width: 32px; height: 32px; flex-basis: 32px; border: 1px solid #ffae77; background: #ffdec5; }
.pallet-layout--wide-panel .pallet-extras-panel > summary strong { font-size: 14px; font-weight: 800; line-height: 1.3; }
.pallet-layout--wide-panel .pallet-extras-panel > summary small { margin-top: 4px; font-size: 12px; font-weight: 400; line-height: 1.4; text-transform: none; letter-spacing: 0; }
.pallet-layout--wide-panel .pallet-extras-panel > summary em { display: block; margin-left: auto; font-size: 23px; font-weight: 600; line-height: 1; }
.pallet-layout--wide-panel .pallet-extras-panel[open] > summary em { transform: rotate(180deg); }
.pallet-layout--wide-panel .pallet-extras-panel__body { padding: 0 14px 14px; max-height: none; overflow: visible; }
.pallet-layout--wide-panel .pallet-extras-panel__body > p { font-size: 12px; font-weight: 400; line-height: 1.6; }
.pallet-layout--wide-panel .pallet-extras {
  --pallet-extra-row-height: 116px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: var(--pallet-extra-row-height);
  max-height: var(--pallet-extra-row-height);
  padding: 0 5px 0 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  gap: 10px;
}
.pallet-layout--wide-panel .pallet-extra { grid-template-columns: 34px minmax(0, 1fr); align-content: start; align-items: start; gap: 4px 6px; padding: 8px; background: #fff; }
.pallet-layout--wide-panel .pallet-extra__media { width: 34px; height: 34px; grid-row: 1 / span 2; }
.pallet-layout--wide-panel .pallet-extra__copy strong { font-size: 11px; font-weight: 600; line-height: 1.35; }
.pallet-layout--wide-panel .pallet-extra__copy span { font-size: 11px; font-weight: 500; line-height: 1.4; }
.pallet-layout--wide-panel .pallet-extra__action { grid-column: 2; justify-content: flex-start; }
.pallet-layout--wide-panel .pallet-extra__action .pallet-extra__add { min-height: 30px; font-size: 11px; }
.pallet-layout--wide-panel .pallet-controls-column--order { width: min(100%, 1240px); margin: 32px auto 0; }
.pallet-layout--wide-panel .pallet-summary { position: static; display: grid; grid-template-columns: minmax(200px, .9fr) minmax(260px, 1.1fr) minmax(280px, 1fr); gap: 16px 24px; align-items: center; padding: 22px; scroll-margin-top: 96px; }
.pallet-layout--wide-panel .pallet-summary > * { order: 0; min-width: 0; }
.pallet-layout--wide-panel .pallet-summary__head { display: block; padding: 0; }
.pallet-layout--wide-panel .pallet-summary__head span:first-child { font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.pallet-layout--wide-panel .pallet-summary__head h2 { margin: 5px 0 12px; font-size: 27px; font-weight: 800; }
.pallet-layout--wide-panel .pallet-live { display: none; }
.pallet-layout--wide-panel .pallet-summary__quick { gap: 12px; border: 0; }
.pallet-layout--wide-panel .pallet-summary__quick > span { padding: 0; border: 0; gap: 4px; }
.pallet-layout--wide-panel .pallet-summary__quick small { font-size: 11px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.pallet-layout--wide-panel .pallet-summary__quick b { font-size: 14px; font-weight: 700; }
.pallet-layout--wide-panel .pallet-visual { align-self: stretch; display: grid; align-items: center; padding: 0 18px; background: none; border-block: 0; border-inline: 1px solid var(--pallet-line); }
.pallet-layout--wide-panel .pallet-visual__products { gap: 10px; }
.pallet-layout--wide-panel .pallet-visual__products article { padding: 10px; grid-template-columns: 36px minmax(0, 1fr); gap: 8px; }
.pallet-layout--wide-panel .pallet-visual__products img { width: 36px; height: 50px; }
.pallet-layout--wide-panel .pallet-visual__products small { font-size: 10px; font-weight: 500; }
.pallet-layout--wide-panel .pallet-visual__products b { font-size: 12px; font-weight: 700; line-height: 1.5; }
.pallet-layout--wide-panel .pallet-total { margin: 0; flex-wrap: wrap; gap: 8px; align-items: center; }
.pallet-layout--wide-panel .pallet-total > span { font-size: 12px; font-weight: 500; }
.pallet-layout--wide-panel .pallet-total strong { margin-left: auto; font-size: 30px; font-weight: 800; line-height: 1.1; white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.pallet-layout--wide-panel .pallet-total small { font-size: 10px; font-weight: 400; }
.pallet-layout--wide-panel .pallet-cart { width: 100%; min-height: 43px; margin: 12px 0 0; padding: 8px 12px; font-size: 12px; font-weight: 800; box-shadow: none; }
.pallet-layout--wide-panel .pallet-manager-link { margin-top: 9px; font-size: 11px; font-weight: 600; line-height: 1.4; }
.pallet-layout--wide-panel .pallet-cart-status { min-height: 0; margin: 6px 0 0; font-size: 12px; }
.pallet-layout--wide-panel .pallet-cart-status:empty { display: none; }
.pallet-layout--wide-panel .pallet-specification,
.pallet-layout--wide-panel .pallet-warning,
.pallet-layout--wide-panel .pallet-disclaimer { grid-column: 1 / -1; }
.pallet-layout--wide-panel .pallet-specification { border-block: 1px solid var(--pallet-line); }
.pallet-layout--wide-panel .pallet-specification > summary { padding: 10px 0; font-size: 13px; font-weight: 700; }
.pallet-layout--wide-panel .pallet-summary__rows { max-height: none; overflow: visible; padding: 0 4px 10px; }
.pallet-layout--wide-panel .pallet-summary-row strong { max-width: none; font-size: 13px; font-weight: 600; }
.pallet-layout--wide-panel .pallet-summary-row b { font-size: 14px; }
.pallet-layout--wide-panel .pallet-summary-row__meta { font-size: 12px; }
.pallet-layout--wide-panel .pallet-warning { margin: 0; font-size: 12px; }
.pallet-layout--wide-panel .pallet-disclaimer { margin: 0; font-size: 11px; font-weight: 400; line-height: 1.6; }
.pallet-layout--wide-panel :is(button, a, summary):focus-visible { outline: 2px solid #111; outline-offset: 3px; }
.pallet-request-dialog__copy { background: #f2f4f5; }
.pallet-request-dialog__copy p, .pallet-request-dialog__copy li { font-size: 13px; font-weight: 400; }
.pallet-request-dialog .pallet-request__form label > span { font-size: 12px; }
.pallet-request-dialog .pallet-request__form :is(input, textarea)::placeholder { color: #111; opacity: 1; }
@media (min-width: 1280px) {
  /* Empty space stays between settings and extras, not inside the cards.
     On shorter screens controls may flow below the unchanged 3D viewport. */
  .pallet-layout--wide-panel { --pallet-desktop-stage-height: max(480px, calc(100dvh - 200px)); }
  .pallet-layout--wide-panel .pallet-3d:not(:fullscreen):not(.is-expanded) { height: var(--pallet-desktop-stage-height); min-height: 0; }
  .pallet-layout--wide-panel .pallet-controls-column--settings { min-height: calc(var(--pallet-desktop-stage-height) + 26px); align-content: space-between; }
  .pallet-settings-dimensions { grid-template-columns: minmax(0, 57fr) minmax(0, 43fr); }
  .pallet-layout--wide-panel [data-step="geometry"] { padding-block: 10px; }
  .pallet-layout--wide-panel [data-step="geometry"] > header { margin-bottom: 10px; }
  .pallet-layout--wide-panel [data-step="geometry"] > header p { margin-top: 2px; line-height: 1.3; }
  .pallet-layout--wide-panel .pallet-row-builder > header { gap: 6px; }
  .pallet-layout--wide-panel .pallet-row-builder > header > button { min-height: 32px; padding-block: 5px; }
}
@media (min-width: 1280px) and (max-width: 1699px) {
  .pallet-settings-dimensions { gap: 14px; }
  .pallet-layout--wide-panel .pallet-step { padding: 12px; }
  .pallet-layout--wide-panel .pallet-step h2 { font-size: 14px; }
  .pallet-layout--wide-panel .pallet-step > header { gap: 6px; }
  .pallet-layout--wide-panel .pallet-pills,
  .pallet-layout--wide-panel .pallet-options--lengths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pallet-layout--wide-panel .pallet-options--profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pallet-layout--wide-panel .pallet-option__media { width: 30px; height: 38px; flex-basis: 30px; }
  .pallet-layout--wide-panel .pallet-option small { font-size: 10px; }
  .pallet-geometry-grid { grid-template-columns: minmax(0, 1fr); }
  .pallet-layout--wide-panel .pallet-row-builder { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--pallet-line); }
  .pallet-layout--wide-panel .pallet-row-builder > header { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pallet-layout--wide-panel .pallet-row-builder > header > button { grid-column: auto; font-size: 11px; }
  .pallet-layout--wide-panel .pallet-extras { grid-template-columns: minmax(0, 1fr); max-height: calc(2 * var(--pallet-extra-row-height) + 10px); }
}
@media (max-width: 1279px) {
  .pallet-layout--wide-panel .pallet-dashboard { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pallet-layout--wide-panel .pallet-controls-column--settings { height: auto; max-height: none; }
  .pallet-layout--wide-panel .pallet-3d:not(:fullscreen):not(.is-expanded) { height: clamp(340px, 58dvh, 630px); }
  .pallet-layout--wide-panel .pallet-summary { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pallet-layout--wide-panel .pallet-visual { grid-column: 1; grid-row: 2; padding: 0; border: 0; }
  .pallet-layout--wide-panel .pallet-summary__checkout { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 680px) {
  body.stellagg-inner-page .pallet-page > .shell { width: calc(100% - 24px); }
  .pallet-layout--wide-panel .pallet-dashboard { gap: 20px; }
  .pallet-settings-dimensions { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pallet-layout--wide-panel .pallet-step { padding: 16px; }
  .pallet-layout--wide-panel .pallet-step h2 { font-size: 17px; }
  .pallet-layout--wide-panel .pallet-options--profiles .pallet-option { padding: 8px; }
  .pallet-layout--wide-panel .pallet-options--profiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pallet-layout--wide-panel .pallet-option strong { font-size: 12px; }
  .pallet-layout--wide-panel .pallet-option small { font-size: 11px; }
  .pallet-geometry-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pallet-layout--wide-panel .pallet-row-builder { padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--pallet-line); }
  .pallet-layout--wide-panel .pallet-extras-panel > summary { padding: 14px; gap: 10px; }
  .pallet-layout--wide-panel .pallet-extras-panel > summary strong { font-size: 14px; }
  .pallet-layout--wide-panel .pallet-extras-panel > summary small { font-size: 11px; }
  .pallet-layout--wide-panel .pallet-extras { grid-template-columns: minmax(0, 1fr); max-height: calc(2 * var(--pallet-extra-row-height) + 10px); }
  .pallet-layout--wide-panel .pallet-summary { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 18px; }
  .pallet-layout--wide-panel .pallet-summary__checkout,
  .pallet-layout--wide-panel .pallet-visual { grid-column: 1; grid-row: auto; }
  .pallet-layout--wide-panel .pallet-total { flex-direction: row; }
  .pallet-layout--wide-panel .pallet-cart { font-size: 12px; }
}
/* Profile cards always read top-to-bottom: photo, tonnage, description. */
.pallet-layout--wide-panel .pallet-option--profile .pallet-option__frame-photo { width: 100%; height: auto; min-height: 96px; aspect-ratio: 1; flex: 0 0 auto; border-radius: 7px; }
.pallet-layout--wide-panel .pallet-option__frame-photo img { width: 100%; height: 100%; padding: 0; object-fit: cover; object-position: center; }
.pallet-layout--wide-panel .pallet-option--profile .pallet-option__capacity { min-height: 26px; align-self: center; display: inline-flex; align-items: center; justify-content: center; padding: 3px 9px; border-radius: 7px; background: #e8edf0; font-size: 13px; font-weight: 800; line-height: 1.3; }
.pallet-layout--wide-panel .pallet-option--profile.is-active .pallet-option__capacity { background: #ffdabf; }
.pallet-layout--wide-panel .pallet-option__profile-copy { width: 100%; gap: 3px; }
.pallet-layout--wide-panel .pallet-option .pallet-option__load { font-size: 10px; line-height: 1.3; }
.pallet-layout--wide-panel .pallet-option .pallet-option__size { margin-top: 0; line-height: 1.3; }
@media (max-width: 360px) {
  .pallet-layout--wide-panel .pallet-options--profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pallet-layout--wide-panel .pallet-extras { --pallet-extra-row-height: 132px; }
}
.pallet-height-scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; margin-bottom: 8px; }
.pallet-height-scope button { min-width: 0; padding: 7px 4px; border: 1px solid var(--pallet-line); border-radius: 7px; background: #fff; color: #111; font-family: inherit; font-size: 10px; font-weight: 600; line-height: 1.5; cursor: pointer; }
.pallet-height-scope button.is-active { border-color: var(--pallet-orange); background: #fff0e4; box-shadow: inset 0 0 0 1px var(--pallet-orange); }
/* Keep the collapsed extras header on the 3D baseline in wide, short windows.
   Compact the controls, never resize the canvas or scroll the whole column.
   Expanding extras remains normal document flow, as on smaller screens. */
@media (min-width: 1700px) and (max-height: 1000px) {
  .pallet-layout--wide-panel .pallet-controls-column--settings,
  .pallet-settings-scroll { gap: 10px; }
  .pallet-layout--wide-panel :is([data-step="profile"], [data-step="beam"]) { padding: 12px; }
  .pallet-layout--wide-panel .pallet-step > header { margin-bottom: 10px; }
  .pallet-layout--wide-panel .pallet-fieldset:not(.pallet-fieldset--first) { margin-top: 10px; padding-top: 10px; }
}
@media (min-width: 1700px) and (max-height: 959px),
       (min-width: 1700px) and (max-width: 1840px) and (max-height: 1080px) {
  .pallet-layout--wide-panel .pallet-controls-column--settings,
  .pallet-settings-scroll { gap: 8px; }
  .pallet-layout--wide-panel .pallet-step > header { margin-bottom: 8px; }
  .pallet-layout--wide-panel .pallet-fieldset:not(.pallet-fieldset--first) { margin-top: 8px; padding-top: 8px; }
  .pallet-layout--wide-panel .pallet-fieldset > span { margin-bottom: 6px; }
  .pallet-layout--wide-panel .pallet-pills button { min-height: 30px; padding-block: 4px; }
  .pallet-height-scope button { padding-block: 5px; }
  .pallet-layout--wide-panel .pallet-options--profiles .pallet-option { padding: 6px; gap: 5px; }
  .pallet-layout--wide-panel .pallet-option--profile .pallet-option__frame-photo { height: clamp(48px, calc(32dvh - 208px), 96px); min-height: 0; aspect-ratio: auto; }
  .pallet-layout--wide-panel .pallet-option__frame-photo img { object-fit: contain; }
  .pallet-layout--wide-panel .pallet-option--length { min-height: 0; padding: 6px; gap: 4px; }
  .pallet-layout--wide-panel .pallet-option__length-media { height: 18px; }
  .pallet-layout--wide-panel [data-step="geometry"] { padding-block: 8px; }
  .pallet-layout--wide-panel [data-step="geometry"] > header p,
  .pallet-layout--wide-panel .pallet-steppers > label > small { display: none; }
  .pallet-layout--wide-panel .pallet-steppers > label { padding: 6px; }
  .pallet-layout--wide-panel .pallet-steppers > label > span:first-child { font-size: 11px; }
  .pallet-layout--wide-panel .pallet-stepper { margin-top: 6px; }
  .pallet-layout--wide-panel .pallet-stepper :is(button, input) { height: 30px; }
  .pallet-layout--wide-panel .pallet-extras-panel > summary { min-height: 44px; padding-block: 8px; }
  .pallet-layout--wide-panel .pallet-extras-panel__plus { width: 28px; height: 28px; flex-basis: 28px; }
  .pallet-layout--wide-panel .pallet-extras-panel > summary small { display: none; }
}
@media (min-width: 1700px) and (max-height: 760px) {
  .pallet-layout--wide-panel .pallet-option--profile .pallet-option__frame-photo { display: none; }
  .pallet-layout--wide-panel .pallet-option__length-media { display: none; }
  .pallet-layout--wide-panel [data-load-options] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pallet-layout--wide-panel [data-load-options] button { font-size: 10px; }
  .pallet-layout--wide-panel .pallet-pills button { min-height: 26px; padding-block: 2px; }
  .pallet-height-scope button { padding-block: 4px; }
  .pallet-layout--wide-panel .pallet-fieldset:not(.pallet-fieldset--first) { margin-top: 6px; padding-top: 6px; }
  .pallet-layout--wide-panel .pallet-fieldset > span { margin-bottom: 4px; }
  .pallet-layout--wide-panel .pallet-options--profiles .pallet-option { padding: 5px; }
  .pallet-layout--wide-panel .pallet-option--profile .pallet-option__capacity { min-height: 24px; }
  .pallet-layout--wide-panel .pallet-option__profile-copy { gap: 2px; }
}
.pallet-layout--wide-panel .pallet-option--profile:disabled { cursor: not-allowed; background: repeating-linear-gradient(135deg, #f5f6f7, #f5f6f7 5px, #fff 5px, #fff 10px); }
.pallet-layout--wide-panel [data-load-options] .pallet-load-request { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding-block: 2px; border-style: dashed; background: #fff; line-height: 1.15; }
.pallet-load-request small { display: block; font-size: 8px; line-height: 1.15; font-weight: 400; }
.pallet-layout--wide-panel .pallet-option .pallet-option__section-load { font-size: 9px; white-space: nowrap; }
.pallet-request-dialog__selection { padding: 10px; border: 1px solid #cbd7e2; border-radius: 8px; background: #fff; overflow-wrap: anywhere; }
.pallet-layout--wide-panel .pallet-project-parts { width: 100%; margin-top: 28px; }
.pallet-project-parts > header { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 16px; flex-wrap: wrap; }
.pallet-project-parts h2 { margin: 0; color: #111; font-size: 22px; font-weight: 800; }
.pallet-project-parts header p { margin: 0; color: #111; font-size: 11px; line-height: 1.5; }
.pallet-section-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px clamp(16px, 3vw, 56px); }
.pallet-section-card { min-width: 0; display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 14px; border: 1px solid var(--pallet-line); border-radius: 16px; background: #fff; text-align: left; color: #111; cursor: pointer; font-family: inherit; }
.pallet-section-card:hover, .pallet-section-card.is-active { border-color: var(--pallet-orange); }
.pallet-section-card.is-active { box-shadow: inset 0 0 0 1px var(--pallet-orange); }
.pallet-section-card__image { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: contain; background: #f7f7f7; border-radius: 9px; }
.pallet-section-card__image:not([src]) { color: transparent; }
.pallet-section-card__title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 16px; font-weight: 800; }
.pallet-section-card__title small { font-size: 11px; font-weight: 500; }
.pallet-section-card__size { font-size: 12px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.pallet-section-card__price { margin-top: auto; font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .pallet-section-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 540px) { .pallet-section-cards { grid-template-columns: minmax(0, 1fr); } .pallet-project-parts h2 { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) {
  .pallet-layout--wide-panel * { scroll-behavior: auto; transition: none; }
}

/* End */


/* Start:/local/templates/stellagg/styles.css?1784014424258*/
/*
 * Общие стили контента можно добавлять сюда через административную панель Битрикса.
 * Основные файлы шаблона подключаются явно в header.php.
 */

/* End */


/* Start:/local/templates/stellagg/template_styles.css?1784014424119*/
/* Зарезервировано для стилей визуального редактора 1С-Битрикс. */

/* End */
/* /local/templates/stellagg/assets/css/site-header.css?178559312218505 */
/* /local/templates/stellagg/assets/css/site-cart.css?17840315965864 */
/* /local/templates/stellagg/assets/css/site-product-stock.css?17850593871384 */
/* /local/templates/stellagg/assets/css/template.css?17906859629982 */
/* /local/templates/stellagg/assets/css/pallet-calculator.css?179077216687044 */
/* /local/templates/stellagg/styles.css?1784014424258 */
/* /local/templates/stellagg/template_styles.css?1784014424119 */
