/* packout-designer.css */
/* DX PACKOUT workspace. Scoped to the designer so the shop keeps its own rhythm. */
.packout-designer {
  --packout-ink: #20251f;
  --packout-muted: #66715e;
  --packout-line: #d4dbcb;
  --packout-sage: #e9ede2;
  --packout-paper: #f8f9f3;
  --packout-red: #ce272d;
  width: 100%;
  max-width: 1392px;
  margin: 0 auto;
  padding: 64px 36px 72px;
  color: var(--packout-ink);
  font-family: var(--font, 'Manrope', sans-serif);
  scroll-margin-top: 190px;
}
.packout-designer *, .packout-designer *::before, .packout-designer *::after { box-sizing: border-box; }
.packout-designer { overflow-anchor: none; }
.packout-design-modes { display: flex; gap: 7px; margin: 0 0 17px; }
.packout-design-modes a { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 15px; border: 1px solid #d4dbcb; border-radius: 3px; background: #fff; color: #536149; font-size: 12px; font-weight: 650; text-decoration: none; }
.packout-design-modes a:hover { background: #eff3e8; border-color: #98a58b; }
.packout-design-modes a[aria-current='page'] { background: #263126; color: #fff; border-color: #263126; }
.packout-remove-zone { position: fixed; z-index: 92; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 10px; box-sizing: border-box; overflow: hidden; pointer-events: none; border: 1px solid #d7b5b6; border-radius: 4px; background: #fff9f6e8; color: #9e5557; box-shadow: 0 4px 12px #25312510; transition: background .12s, border-color .12s, color .12s; }
.packout-remove-zone svg { flex: none; width: 26px; height: 26px; }
.packout-remove-zone span { font-family: var(--font,'Manrope',sans-serif); font-size: 10px; line-height: 1.5; font-weight: 600; text-align: center; }
.packout-remove-zone.is-ready { background: #ce272dee; border-color: #ce272d; color: #fff; }
.packout-drag-live.is-removing { opacity: .8; }
.packout-divider-buttons { grid-column:2/-1; display:flex; flex-wrap:wrap; gap:6px; margin-top:5px; }
.packout-divider-buttons button { min-height:34px; padding:6px 8px; border:1px solid #bdc8b1; border-radius:3px; background:white; color:#34412b; font-size:9px; font-weight:650; cursor:pointer; }
.packout-divider-buttons [data-packout-action='divider-add'] { border-color:#c9a2a4; background:#fff2f1; color:#ae2026; }
.packout-divider-buttons [data-packout-action='divider-add']:hover { background:#ce272d; color:white; }
.packout-divider-own { grid-column:2/-1; }
.packout-auto-accessory.is-reminder { border-top-style:solid; background:#f9faf4; padding:10px 6px; margin-left:0; }
.packout-checkout-reminder { color:#576441; font-weight:650; }
.packout-designer [hidden] { display: none !important; }
.packout-designer button, .packout-designer input, .packout-designer select { font: inherit; }
.packout-designer button { touch-action: manipulation; }
.packout-designer button:focus-visible,
.packout-designer a:focus-visible,
.packout-designer input:focus-visible,
.packout-designer select:focus-visible,
.packout-designer [tabindex]:focus-visible,
.packout-designer summary:focus-visible {
  outline: 3px solid var(--packout-red);
  outline-offset: 4px;
}
.packout-designer button:disabled { cursor: default; opacity: .45; }
.packout-designer .product-breadcrumb { margin: 0 0 30px; color: var(--packout-muted); font-size: 11px; line-height: 1.6; }
.packout-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .6fr); align-items: end; gap: 15px 32px; margin-bottom: 32px; }
.packout-heading > div { min-width: 0; }
.packout-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 0; color: #637455; font-size: 10px; letter-spacing: .16em; }
.packout-heading h1, .packout-heading h2 {
  margin: 0;
  color: var(--packout-ink);
  font-family: var(--display, 'Barlow Condensed', sans-serif);
  font-size: clamp(48px, 5.8vw, 78px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.025em;
}
.packout-heading h1 em, .packout-heading h2 em { color: var(--packout-red); font-style: normal; }
.packout-heading p { max-width: 47ch; margin-top: 17px; color: var(--packout-muted); font-size: 13px; line-height: 1.8; }
.packout-heading > p { max-width: 40ch; margin: 0; padding-bottom: 3px; }
.packout-starts { display: flex; flex-wrap: wrap; align-items: stretch; gap: 9px; margin-bottom: 26px; }
.packout-starts > span { display: flex; align-items: center; margin-right: 6px; color: var(--packout-muted); font-size: 11px; font-weight: 600; line-height: 1.6; }
.packout-starts > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 50px;
  padding: 12px 17px;
  border: 1px solid #cbd4bf;
  border-radius: 3px;
  background: #fff;
  color: #425238;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  transition: background .18s, border-color .18s;
}
.packout-starts > button:hover { border-color: #77886b; background: #f0f3e9; }
.packout-starts > button[aria-pressed='true'],
.packout-starts > button.is-active { border-color: var(--packout-ink); background: var(--packout-ink); color: #fff; }
.packout-starts > button small { display: block; font-size: 10px; font-weight: 500; opacity: .7; }
.packout-starts > .packout-start-empty { margin-left: auto; border-color: transparent; background: transparent; color: var(--packout-muted); }
.packout-starts > .packout-start-empty:hover { border-color: #cbd4bf; background: #edf1e7; }
.packout-layout { display: grid; grid-template-columns: minmax(232px, .93fr) minmax(0, 1.9fr) minmax(238px, .93fr); gap: 18px; align-items: start; }
.packout-layout > * { min-width: 0; }
.packout-catalog, .packout-workspace, .packout-summary { border: 1px solid var(--packout-line); border-radius: 5px; }
.packout-catalog { padding: 19px 14px 14px; background: #fff; }
.packout-catalog > h2, .packout-catalog > h3 { margin: 0 5px 13px; font-size: 15px; font-weight: 700; line-height: 1.5; letter-spacing: -.02em; }
.packout-catalog > p { margin: 0 5px 15px; color: var(--packout-muted); font-size: 11px; line-height: 1.7; }
.packout-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 5px 16px; border-bottom: 1px solid #e1e6d9; }
.packout-filters button { min-height: 36px; padding: 7px 10px; border: 1px solid #dce2d4; border-radius: 3px; background: #f8f9f4; color: #59654f; font-size: 10px; font-weight: 600; line-height: 1.5; }
.packout-filters button:hover { border-color: #89967b; }
.packout-filters button[aria-pressed='true'], .packout-filters button.is-active, .packout-filters button.active { border-color: #47533e; background: #47533e; color: #fff; }
.packout-products, .packout-cards, .packout-catalog-list { display: grid; gap: 8px; max-height: 790px; margin-top: 15px; padding: 0 3px 3px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #b2bba6 #f3f5ee; }
.packout-card { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; align-items: center; min-width: 0; padding: 12px 8px; border: 1px solid transparent; border-bottom-color: #e7ebdf; border-radius: 3px; background: #fff; transition: border-color .18s, background .18s; }
.packout-card:last-child { border-bottom-color: transparent; }
.packout-card:hover, .packout-card.is-active { border-color: #d4dcc8; background: #f7f9f2; }
.packout-card-image { display: flex; align-items: center; justify-content: center; width: 76px; height: 86px; padding: 3px; overflow: hidden; }
.packout-card-image img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.packout-card-image .image-placeholder { width: 100%; height: 100%; min-height: 0; }
.packout-card-image .image-placeholder strong { font-size: 17px; }
.packout-card-image .image-placeholder span { font-size: 8px; }
.packout-card-body { min-width: 0; }
.packout-card-body h4, .packout-card-body h3, .packout-card-body > strong { display: block; margin: 0; color: var(--packout-ink); font-size: 11px; font-weight: 700; line-height: 1.65; overflow-wrap: anywhere; }
.packout-card-body a:hover { color: var(--packout-red); }
.packout-card-body p, .packout-card-body small { display: block; margin: 3px 0 0; color: var(--packout-muted); font-size: 10px; line-height: 1.65; }
.packout-card-price { display: block; margin-top: 7px; color: var(--packout-ink); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.packout-card-body .product-price { margin-top: 7px; font-size: 13px; line-height: 1.4; }
.packout-card-body .price-value { display: block; }
.packout-card-body .price-tax { display: block; margin-top: 3px; font-size: 9px; font-weight: 400; line-height: 1.6; }
.packout-card-body .secondary-price { display: block; margin-top: 3px; font-size: 9px; font-weight: 500; line-height: 1.6; }
.packout-add { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; margin-top: 8px; padding: 7px 11px; border: 1px solid #e4bfc0; border-radius: 3px; background: #fff4f2; color: #b52128; font-size: 10px; font-weight: 700; line-height: 1.5; transition: background .18s, border-color .18s; }
.packout-add:hover { border-color: var(--packout-red); background: var(--packout-red); color: #fff; }
.packout-add svg { width: 14px; height: 14px; }
.packout-workspace { position: relative; background: var(--packout-sage); overflow: hidden; }
.packout-workspace-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 19px 20px; border-bottom: 1px solid #d5ddca; background: #f2f5ec; }
.packout-workspace-head h2, .packout-workspace-head h3 { font-size: 15px; font-weight: 700; line-height: 1.5; letter-spacing: -.02em; }
.packout-workspace-head > div > span { display: block; margin-top: 4px; color: var(--packout-muted); font-size: 10px; line-height: 1.6; }
.packout-workspace-head p, .packout-workspace-head small { display: block; margin-top: 4px; color: var(--packout-muted); font-size: 10px; line-height: 1.6; }
.packout-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.packout-actions button { min-height: 36px; padding: 7px 9px; border: 1px solid #cbd4bf; border-radius: 3px; background: #fff; color: #58664d; font-size: 10px; font-weight: 600; line-height: 1.5; }
.packout-actions button:hover { border-color: #7d8b6e; background: #edf2e4; }
.packout-actions button svg { width: 15px; height: 15px; vertical-align: middle; }
.packout-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 430px;
  padding: 35px 19px 30px;
  background-color: #e9ede2;
  background-image: radial-gradient(circle, #adb79c 1px, transparent 1px);
  background-size: 24px 24px;
  isolation: isolate;
}
.packout-stage::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #f5f7f0bb 0%, #e9ede244 50%, #e1e7d4cc 100%); pointer-events: none; }
.packout-stage::after { content: ''; position: absolute; right: 26px; bottom: 16px; left: 26px; z-index: -1; height: 1px; background: #a9b798; box-shadow: 0 6px 20px #65764c22; pointer-events: none; }
.packout-stack { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 7px; width: 100%; max-width: 580px; margin: 0 auto; }
.packout-level { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; min-width: 0; }
.packout-level.is-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: end; }
.packout-level.is-half { width: calc(50% - 4px); }
.packout-module { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; column-gap: 13px; min-width: 0; padding: 12px 10px; border: 1px solid transparent; border-radius: 5px; background: #f9fbf366; cursor: grab; transition: background .18s, border-color .18s, box-shadow .18s; }
.packout-module:hover, .packout-module.is-selected, .packout-level.is-selected > .packout-module { border-color: #bdcaaa; background: #fcfdf8; box-shadow: 0 3px 14px #4756330a; }
.packout-module:active { cursor: grabbing; }
.packout-module.is-dragging, .packout-level.is-dragging { opacity: .35; }
.packout-module.is-drag-over, .packout-level.is-drag-over, .packout-level.drag-over { border-color: #728959; outline: 2px solid #728959; outline-offset: 3px; }
.packout-module-visual { display: block; grid-column: 1; grid-row: 1; width: 100%; max-width: 310px; height: auto; overflow: visible; filter: drop-shadow(0 6px 3px #30402018); }
.packout-module-visual svg { display: block; width: 100%; height: auto; overflow: visible; }
.packout-module-info { min-width: 0; color: var(--packout-ink); }
.packout-module-info strong, .packout-module-info h4 { display: block; margin: 0; font-size: 11px; font-weight: 700; line-height: 1.65; overflow-wrap: anywhere; }
.packout-module-info p, .packout-module-info small { display: block; margin: 4px 0 0; color: var(--packout-muted); font-size: 9px; line-height: 1.6; overflow-wrap: anywhere; }
.packout-module-info a:hover { color: var(--packout-red); }
.packout-sku { display: block; margin-bottom: 3px; color: #77836c; font-size: 8px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.packout-module-price { display: block; margin-top: 5px; font-size: 11px; font-weight: 700; line-height: 1.5; font-variant-numeric: tabular-nums; }
.packout-module-price .price-value { display: block; }
.packout-module-price .price-tax, .packout-module-price .secondary-price { display: block; margin-top: 2px; color: var(--packout-muted); font-size: 8px; font-weight: 400; line-height: 1.6; }
.packout-module-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; grid-column: 2; margin-top: 8px; }
.packout-module-controls button { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 32px; padding: 6px; border: 1px solid #cbd5bf; border-radius: 3px; background: #fff; color: #5c6b51; font-size: 10px; font-weight: 600; line-height: 1; }
.packout-module-controls button:hover { border-color: #849574; background: #edf3e6; color: #314727; }
.packout-module-controls button[data-action='remove']:hover, .packout-module-controls button[data-packout-action='remove']:hover { border-color: #d89797; background: #fff0ee; color: #b52128; }
.packout-module-controls svg { width: 14px; height: 14px; }
.packout-module.is-half { grid-template-columns: minmax(0, 1fr); gap: 0; }
.packout-module.is-half .packout-module-visual { grid-column: 1; grid-row: auto; max-width: none; }
.packout-module.is-half .packout-module-info { margin-top: 8px; }
.packout-module.is-half .packout-module-controls { grid-column: 1; }
.packout-module.is-half .packout-module-info strong { font-size: 10px; }
.packout-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 320px; padding: 24px; text-align: center; }
.packout-empty > svg { width: 96px; height: 96px; color: #a1af91; stroke-width: 1; }
.packout-empty > span { display: grid; place-items: center; width: 78px; height: 78px; margin-bottom: 6px; border: 1px dashed #9ead8d; border-radius: 4px; color: #80916b; font-family: var(--display); font-size: 43px; font-weight: 400; line-height: 1; }
.packout-empty h3, .packout-empty strong { color: #4b5d3c; font-size: 19px; font-weight: 600; letter-spacing: -.025em; line-height: 1.4; }
.packout-empty p { max-width: 30ch; color: #728262; font-size: 12px; line-height: 1.8; }
.packout-stage-note { padding: 12px 20px; border-top: 1px solid #d1dac4; color: #6a785d; font-size: 10px; line-height: 1.7; background: #eff3e8; }
.packout-status { display: flex; align-items: center; gap: 7px; color: #5d7450; font-size: 10px; line-height: 1.6; }
.packout-status::before { content: ''; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #719252; box-shadow: 0 0 0 3px #71925214; }
.packout-summary { position: sticky; top: 190px; padding: 22px 20px; background: #fdfef9; box-shadow: 0 4px 18px #31402206; }
.packout-summary > h2, .packout-summary > h3 { margin-bottom: 8px; font-size: 16px; font-weight: 700; line-height: 1.5; letter-spacing: -.02em; }
.packout-summary > .eyebrow { margin-bottom: 10px; color: #728565; font-size: 8px; letter-spacing: .14em; }
.packout-summary > small { display: block; margin-top: 10px; color: #7d8973; font-size: 9px; line-height: 1.7; }
.packout-summary > p { color: var(--packout-muted); font-size: 11px; line-height: 1.75; }
.packout-summary dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 13px; margin: 22px 0; color: #5e6b53; font-size: 11px; line-height: 1.6; }
.packout-summary dt, .packout-summary dd { min-width: 0; margin: 0; }
.packout-summary dd { color: var(--packout-ink); text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.packout-cost-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; color: var(--packout-muted); font-size: 11px; line-height: 1.6; border-bottom: 1px solid #e0e6d7; }
.packout-cost-line > :last-child { flex-shrink: 0; color: var(--packout-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.packout-total { display: flex; flex-direction: column; gap: 6px; padding: 22px 0 20px; margin-top: 10px; border-top: 1px solid #d7dfcb; color: var(--packout-ink); font-size: 11px; line-height: 1.5; }
.packout-total strong, .packout-total .price-value { font-size: clamp(26px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.045em; line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.packout-total small, .packout-total .price-tax { margin: 0; color: var(--packout-muted); font-size: 10px; font-weight: 400; line-height: 1.6; letter-spacing: 0; }
.packout-total .secondary-price { color: #5f6c53; font-size: 12px; font-weight: 500; line-height: 1.6; }
.packout-summary > .button, .packout-summary [data-packout-cart], .packout-summary [data-action='add-cart'] { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; gap: 12px; padding: 12px 15px; border: 1px solid var(--packout-red); border-radius: 3px; background: var(--packout-red); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.6; text-align: center; }
.packout-summary > .button:hover, .packout-summary [data-packout-cart]:hover, .packout-summary [data-action='add-cart']:hover { background: #b81d24; border-color: #b81d24; transform: none; }
.packout-warning { display: flex; align-items: flex-start; gap: 8px; margin: 15px 0; padding: 11px 12px; border-left: 2px solid #b8a976; border-radius: 0 3px 3px 0; background: #f4f1e7; color: #796c47; font-size: 10px; line-height: 1.8; }
.packout-warning svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; }
.packout-saved { display: grid; gap: 9px; margin-top: 23px; padding-top: 19px; border-top: 1px solid #d7dfcb; }
.packout-saved h3, .packout-saved h4, .packout-saved > strong, .packout-saved > label { margin: 0; color: #5b6c4d; font-size: 11px; font-weight: 700; line-height: 1.7; }
.packout-saved input, .packout-saved select, input.packout-share, .packout-share input { display: block; width: 100%; min-width: 0; min-height: 42px; padding: 10px 11px; border: 1px solid #c9d4bc; border-radius: 3px; background: #fff; color: var(--packout-ink); font-size: 11px; line-height: 1.6; }
.packout-saved input::placeholder { color: #89947f; }
.packout-saved button { min-height: 38px; padding: 8px 11px; border: 1px solid #cbd5bf; border-radius: 3px; background: #f0f4e9; color: #4e6141; font-size: 11px; font-weight: 600; line-height: 1.6; }
.packout-saved button:hover { border-color: #81956d; background: #e5edda; }
.packout-saved > div { display: flex; flex-wrap: wrap; gap: 7px; min-width: 0; }
.packout-saved > div > input, .packout-saved > div > select { flex: 1 1 100%; }
.packout-saved > div > button { flex: 1 1 auto; }
.packout-saved small { color: var(--packout-muted); font-size: 10px; line-height: 1.7; }
.packout-save-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: center; }
.packout-saved .packout-local-note { color: #7a876e; font-size: 10px; line-height: 1.8; }
.packout-saved-list { display: grid; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.packout-saved-list > li { display: flex; gap: 5px; min-width: 0; }
.packout-saved-list [data-packout-action='load'] { flex: 1; min-width: 0; text-align: left; overflow-wrap: anywhere; }
.packout-saved-list [data-packout-action='load'] small { display: block; }
.packout-saved-list [data-packout-action='delete'] { flex: 0 0 36px; background: transparent; }
.packout-feedback:not(:empty) { padding: 13px 20px; border-top: 1px solid #d1dac4; background: #f8fbf2; color: #466037; font-size: 11px; line-height: 1.7; }
.packout-workspace > .packout-share { margin-top: 0; padding: 13px 20px 18px; background: #f2f6eb; }
.packout-share { width: 100%; min-width: 0; margin-top: 12px; color: var(--packout-muted); font-size: 10px; line-height: 1.7; }
.packout-share label { display: block; margin-bottom: 5px; }
.packout-help { margin-top: 24px; border: 1px solid var(--packout-line); border-radius: 4px; background: #f1f4e9; }
.packout-help summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px; padding: 16px 19px; color: #46573a; font-size: 12px; font-weight: 700; line-height: 1.7; cursor: pointer; list-style: none; }
.packout-help summary::-webkit-details-marker { display: none; }
.packout-help summary::after { content: '+'; color: #789061; font-size: 21px; font-weight: 400; }
.packout-help[open] summary::after { content: '−'; }
.packout-help[open] summary { border-bottom: 1px solid #d4deca; }
.packout-help p { max-width: 90ch; margin: 0; padding: 17px 19px; color: #66785a; font-size: 12px; line-height: 1.85; }
.packout-help ul { margin: 0; padding: 17px 19px 17px 38px; color: #66785a; font-size: 12px; line-height: 1.85; }
.packout-help p + p { padding-top: 0; }
.packout-mobile-tabs, .packout-mobile-toolbar { display: none; }
@media (max-width: 1180px) {
  .packout-designer { padding: 48px 28px 60px; }
  .packout-layout { grid-template-columns: minmax(218px, .9fr) minmax(0, 1.7fr) minmax(215px, .88fr); gap: 13px; }
  .packout-summary { padding: 20px 16px; }
  .packout-card { grid-template-columns: 64px minmax(0, 1fr); gap: 8px; padding: 11px 5px; }
  .packout-card-image { width: 64px; height: 76px; }
  .packout-stage { padding: 26px 12px 25px; }
  .packout-module { column-gap: 10px; padding: 10px 7px; }
  .packout-workspace-head { padding: 16px 14px; flex-wrap: wrap; }
}
@media (max-width: 1040px) {
  .packout-layout { grid-template-columns: minmax(230px, .9fr) minmax(0, 1.7fr); }
  .packout-catalog { grid-column: 1; grid-row: 1 / span 2; }
  .packout-workspace { grid-column: 2; grid-row: 1; }
  .packout-summary { position: static; grid-column: 2; grid-row: 2; padding: 22px; }
  .packout-products, .packout-cards, .packout-catalog-list { max-height: 970px; }
  .packout-heading { align-items: flex-start; }
  .packout-heading > p { max-width: 27ch; padding-top: 8px; }
  .packout-starts { gap: 8px; }
  .packout-starts > button { gap: 12px; }
  .packout-starts > .packout-start-empty { margin-left: 0; }
  .packout-total strong, .packout-total .price-value { font-size: 34px; }
}
@media (max-width: 760px) {
  .packout-designer { padding: 36px 18px 44px; scroll-margin-top: 185px; }
  .packout-heading { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 24px; }
  .packout-heading h1, .packout-heading h2 { font-size: clamp(48px, 11vw, 68px); }
  .packout-heading .eyebrow { margin-bottom: 12px; font-size: 9px; }
  .packout-heading p, .packout-heading > p { max-width: 48ch; padding: 0; font-size: 12px; }
  .packout-heading > p { margin: 0; }
  .packout-starts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-bottom: 18px; }
  .packout-starts > span { grid-column: 1 / -1; margin: 0 0 3px; font-size: 10px; }
  .packout-starts > button { min-width: 0; min-height: 44px; padding: 10px 12px; font-size: 11px; overflow-wrap: anywhere; }
  .packout-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .packout-workspace { grid-column: 1; grid-row: 1; }
  .packout-summary { grid-column: 1; grid-row: 2; padding: 22px 20px; }
  .packout-catalog { grid-column: 1; grid-row: 3; padding: 20px 14px 14px; }
  .packout-workspace-head { flex-wrap: nowrap; align-items: flex-start; padding: 15px; }
  .packout-workspace-head h2, .packout-workspace-head h3 { font-size: 14px; }
  .packout-actions { gap: 4px; }
  .packout-actions button { min-height: 36px; padding: 7px 8px; }
  .packout-stage { min-height: 350px; padding: 24px 13px 27px; }
  .packout-stack { max-width: 500px; gap: 6px; }
  .packout-module { padding: 11px 9px; column-gap: 13px; }
  .packout-module-info strong { font-size: 11px; }
  .packout-module-controls button { min-width: 36px; min-height: 36px; }
  .packout-empty { min-height: 285px; padding: 22px; }
  .packout-empty > svg { width: 76px; height: 76px; }
  .packout-empty strong, .packout-empty h3 { font-size: 18px; }
  .packout-products, .packout-cards, .packout-catalog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-height: none; overflow: visible; padding: 0; }
  .packout-card { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 6px; padding: 12px; border-color: #e0e6d6; background: #fdfefa; }
  .packout-card:last-child { border-bottom-color: #e0e6d6; }
  .packout-card-image { width: 100%; height: 110px; padding: 10px; }
  .packout-card-body { display: flex; flex-direction: column; align-items: flex-start; }
  .packout-card-body h4, .packout-card-body h3, .packout-card-body > strong { font-size: 12px; }
  .packout-card-body p, .packout-card-body small { font-size: 10px; }
  .packout-card-price { font-size: 13px; }
  .packout-add { min-height: 40px; padding: 9px 12px; font-size: 11px; }
  .packout-filters { position: sticky; top: 179px; z-index: 4; gap: 7px; padding-top: 8px; padding-bottom: 12px; background: #fff; }
  .packout-filters button { min-height: 40px; padding: 8px 12px; font-size: 11px; }
  .packout-saved { margin-top: 20px; }
  .packout-total { padding-top: 18px; }
  .packout-total strong, .packout-total .price-value { font-size: 35px; }
  .packout-summary > .button, .packout-summary [data-packout-cart], .packout-summary [data-action='add-cart'] { min-height: 50px; font-size: 13px; }
  .packout-mobile-tabs, .packout-mobile-toolbar { position: sticky; top: 178px; z-index: 3; display: flex; flex-wrap: wrap; gap: 7px; padding: 9px 0; margin-bottom: 9px; background: var(--packout-paper); }
  .packout-mobile-tabs button, .packout-mobile-toolbar button { flex: 1 1 auto; min-height: 40px; padding: 9px 12px; border: 1px solid #cbd5bf; border-radius: 3px; background: #fff; color: #4d6140; font-size: 11px; font-weight: 700; }
  .packout-mobile-tabs button[aria-selected='true'], .packout-mobile-toolbar button[aria-pressed='true'] { border-color: #425238; background: #425238; color: #fff; }
  .packout-help { margin-top: 18px; }
  .packout-help summary { padding: 15px; font-size: 11px; }
  .packout-help p { padding: 15px; font-size: 11px; }
}
@media (max-width: 410px) {
  .packout-designer { padding-right: 15px; padding-left: 15px; }
  .packout-starts > button { padding: 9px 10px; font-size: 10px; }
  .packout-workspace-head { flex-wrap: wrap; gap: 9px; }
  .packout-actions { width: 100%; justify-content: flex-start; }
  .packout-stage { padding-right: 8px; padding-left: 8px; }
  .packout-module { gap: 8px; padding: 9px 6px; }
  .packout-module-info strong { font-size: 10px; }
  .packout-module-info small, .packout-module-info p { font-size: 9px; }
  .packout-level.is-pair { gap: 5px; }
  .packout-card { padding: 10px; }
  .packout-card-image { height: 95px; }
  .packout-card-body h4, .packout-card-body h3, .packout-card-body > strong { font-size: 11px; }
  .packout-add { width: 100%; font-size: 10px; }
  .packout-summary { padding: 20px 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .packout-designer *, .packout-designer *::before, .packout-designer *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.packout-designer[data-no-translate]>.packout-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 20px;margin-bottom:22px}.packout-designer[data-no-translate]>.packout-heading h1{flex:1 1 300px;min-width:0}.packout-design-modes{display:flex;flex:none;gap:7px;margin:0 0 0 auto}.packout-design-modes a{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;padding:10px 18px;border:1px solid #c7d1bb;border-radius:3px;background:#fff;color:#43533b;font-size:13px;font-weight:650;text-decoration:none;white-space:nowrap}.packout-design-modes a[aria-current='page']{background:#202620;color:#fff;border-color:#202620}.packout-design-modes a:hover{border-color:#7d8b70}.packout-design-modes a:focus-visible{outline:2px solid #65774e;outline-offset:3px}

/* packout-spatial.css */
/* Real PACKOUT photos and published dimensions. Loaded after the original designer. */
.packout-designer { max-width: 1480px; padding: 30px 28px 60px; }
.packout-designer .product-breadcrumb { margin-bottom: 18px; }
.packout-designer .packout-heading { margin-bottom: 22px; }
.packout-designer .packout-heading h1 { font-size: clamp(42px, 4.6vw, 64px); }
.packout-designer .packout-heading p { font-size: 13px; line-height: 1.65; }
.packout-designer .packout-starts { margin-bottom: 20px; }
.packout-designer .packout-starts > button { min-height: 42px; padding: 10px 13px; }
.packout-designer .packout-layout { grid-template-columns: 230px minmax(0, 1fr) 260px; gap: 20px; align-items: start; }
.packout-designer .packout-catalog { padding: 18px 14px; grid-column: auto; grid-row: auto; }
.packout-designer .packout-cards { gap: 10px; }
.packout-designer .packout-card { grid-template-columns: 72px minmax(0, 1fr); gap: 9px; padding: 10px 7px; }
.packout-designer .packout-card-image { height: 95px; min-height: 0; padding: 0; }
.packout-designer .packout-card-image img { max-height: 88px; }
.packout-designer .packout-card h3 { font-size: 11px; }
.packout-designer .packout-card small { font-size: 9px; }
.packout-designer .packout-card .price-value { font-size: 18px; }
.packout-designer .packout-card .price-tax { font-size: 9px; }
.packout-designer .packout-add { min-height: 33px; padding: 7px 9px; font-size: 10px; }
.packout-designer .packout-workspace { min-width: 0; overflow: hidden; background: #fff; grid-column: auto; grid-row: auto; }
.packout-designer .packout-workspace-head { padding: 16px 18px; }
.packout-designer .packout-workspace-head h2 { font-size: 25px; }
.packout-designer .packout-workspace-head span { font-size: 10px; }
.packout-designer .packout-summary { padding: 20px 17px; grid-column: auto; grid-row: auto; }
.packout-designer .packout-summary h2 { font-size: 28px; }
.packout-designer .packout-summary-note { font-size: 10px; line-height: 1.65; }
.packout-spatial { min-width: 0; }
.packout-view-tabs { display: flex; align-items: stretch; gap: 0; padding: 0 18px; border-bottom: 1px solid #d9dfd1; background: #fff; }
.packout-view-tabs > button { position: relative; flex: 1; min-height: 46px; padding: 10px 9px; border: 0; background: transparent; color: #66715e; font-size: 11px; font-weight: 650; line-height: 1.35; cursor: pointer; }
.packout-view-tabs > button[aria-pressed='true'] { color: #20251f; }
.packout-view-tabs > button[aria-pressed='true']::after { content: ''; position: absolute; bottom: -1px; left: 9px; right: 9px; height: 3px; background: #ce272d; }
.packout-envelope-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 13px 18px; background: #f2f4ed; border-bottom: 1px solid #dde2d7; gap: 12px; }
.packout-envelope-strip > span { min-width: 0; display: grid; gap: 4px; }
.packout-envelope-strip small { color: #687161; font-size: 9px; line-height: 1.4; text-transform: uppercase; letter-spacing: .08em; }
.packout-envelope-strip strong { color: #222b22; font-size: 15px; line-height: 1.35; font-weight: 650; white-space: nowrap; }
.packout-spatial-view { min-width: 0; }
.packout-photo-stage { position: relative; display: grid; justify-items: center; align-content: end; min-height: 540px; padding: 32px 30px 38px; overflow: hidden; background-color: #f7f8f4; background-image: linear-gradient(#e1e6db66 1px, transparent 1px), linear-gradient(90deg,#e1e6db66 1px,transparent 1px); background-size: 35px 35px; }
.packout-photo-stage::before { content: ''; pointer-events: none; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 43%,#ffffff80,transparent 74%); }
.packout-photo-ground { position: absolute; left: 50%; bottom: 51px; width: 66%; height: 26px; transform: translateX(-50%); border-radius: 50%; background: #3c483024; filter: blur(8px); }
.packout-real-stack { position: relative; width: min(100%,var(--stack-max-width,340px)); flex: none; margin: 0 auto; }
.packout-real-box { display: block; position: absolute; margin: 0; padding: 0; border: 0; background: none; line-height: 0; cursor: grab; touch-action: none; border-radius: 0; overflow: visible; }
.packout-real-box > img { display: block; position: absolute; left: 0; bottom: 0; width: 100%; max-width: none; height: auto; object-fit: contain; pointer-events: none; user-select: none; filter: drop-shadow(0 2px 1px #00000010); }
.packout-real-box.is-selected > img { filter: drop-shadow(0 0 1px #d3262f) drop-shadow(0 0 3px #d3262f66); }
.packout-real-box:hover > img { filter: drop-shadow(0 0 2px #d3262f); }
.packout-real-box:focus-visible { outline-offset: 3px; }
.packout-photo-marker { display: grid; place-content: center; position: absolute; left: 15%; bottom: 16%; width: 24px; height: 24px; border: 1px solid #fff; border-radius: 50%; background: #262e24e6; color: #fff; font-size: 10px; font-weight: 700; line-height: 1; pointer-events: none; box-shadow: 0 2px 5px #00000020; }
.packout-real-box.is-selected .packout-photo-marker { background: #ce272d; }
.packout-real-box.is-rolling .packout-photo-marker { bottom: 13%; }
.packout-photo-hint { position: relative; margin: 17px 0 0; color: #5b6755; font-size: 10px; line-height: 1.5; text-align: center; }
.packout-spatial-empty { display: grid; place-content: center; justify-items: center; min-height: 380px; padding: 35px; background: #f7f8f3; text-align: center; }
.packout-spatial-empty h3 { margin: 16px 0 10px; color: #283328; font-size: 26px; }
.packout-spatial-empty p { max-width: 35ch; margin: 0; color: #677260; font-size: 12px; line-height: 1.8; }
.packout-empty-rule { width: 120px; height: 2px; background: #a5b09a; }
.packout-stack-inspector { padding: 19px 18px; border-top: 1px solid #d9dfd1; }
.packout-inspect-head { display: flex; align-items: start; justify-content: space-between; gap: 13px; margin-bottom: 16px; }
.packout-inspect-head > div:first-child { min-width: 0; }
.packout-inspect-head .eyebrow { margin-bottom: 7px; color: #687660; font-size: 8px; letter-spacing: .11em; }
.packout-inspect-head h3 { margin: 0 0 5px; color: #263026; font-size: 16px; font-weight: 700; line-height: 1.4; }
.packout-inspect-head small { color: #6c7567; font-size: 10px; }
.packout-component-tabs { flex: none; display: flex; flex-wrap: wrap; gap: 4px; }
.packout-component-tabs button { min-height: 30px; padding: 5px 8px; border: 1px solid #ccd5c5; background: #fff; color: #506046; font-size: 9px; cursor: pointer; }
.packout-component-tabs button[aria-pressed='true'] { border-color: #29352a; background: #29352a; color: #fff; }
.packout-stack-details { display: grid; grid-template-columns: 145px minmax(0,1fr); align-items: start; gap: 18px; }
.packout-dimensions { display: grid; gap: 11px; margin: 0 0 11px; }
.packout-dimensions > div { display: grid; gap: 4px; }
.packout-dimensions dt { color: #6c7864; font-size: 9px; line-height: 1.5; }
.packout-dimensions dd { margin: 0; color: #253126; font-size: 12px; font-weight: 650; line-height: 1.55; }
.packout-dimension-source { color: #596d50; font-size: 9px; text-underline-offset: 3px; }
.packout-inside-link { display: block; margin-top: 12px; padding: 0; border: 0; background: transparent; color: #293e2a; font-size: 10px; font-weight: 650; line-height: 1.6; text-align: left; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.packout-interior-photo { min-width: 0; margin: 0; padding: 10px; border: 1px solid #e1e5dc; background: #fff; }
.packout-interior-photo > img { display: block; width: 100%; height: 240px; object-fit: contain; background: #fff; }
.packout-interior-photo figcaption { margin-top: 9px; color: #6b7563; font-size: 8px; line-height: 1.6; }
.packout-interior-photo.is-compact { padding: 8px; }
.packout-interior-photo.is-compact > img { height: 110px; }
.packout-interior-photo.is-compact .packout-interior-gallery { display: none; }
.packout-interior-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin-top: 10px; }
.packout-interior-gallery img { display: block; width: 100%; height: 90px; object-fit: contain; border: 1px solid #e9ece5; }
.packout-interior-inspector,.packout-footprint-inspector { padding: 20px 18px 22px; }
.packout-interior-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 15px; align-items: start; }
.packout-interior-inspector > .packout-dimensions { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 16px; padding-top: 15px; border-top: 1px solid #e0e5da; }
.packout-floorplan { min-width: 0; padding: 13px 10px; border: 1px solid #dce2d4; background: #f7f8f4; }
.packout-plan-title { display: grid; gap: 5px; padding: 0 3px; }
.packout-plan-title strong { font-size: 12px; }
.packout-plan-title span { color: #6d7765; font-size: 9px; line-height: 1.5; }
.packout-floorplan svg,.packout-footprint-plan svg { display: block; width: 100%; height: auto; margin: 13px 0 3px; overflow: visible; }
.packout-floorplan svg text,.packout-footprint-plan svg text { fill: #4e5c48; font-family: inherit; font-size: 11px; }
.packout-fit-result { margin: 10px 3px 7px; font-size: 10px; font-weight: 700; line-height: 1.6; }
.packout-fit-note { margin: 10px 3px 0; color: #748069; font-size: 9px; line-height: 1.75; }
.packout-fit-result.is-fit,.packout-space-status .is-fit span { color: #366545; }
.packout-fit-result.is-over,.packout-space-status .is-over span { color: #b1272e; }
.packout-measure-form { margin-top: 20px; padding: 15px; border: 1px solid #dce3d3; background: #f3f5ee; }
.packout-measure-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.packout-measure-form legend { padding: 0; margin-bottom: 12px; color: #303e2d; font-size: 11px; font-weight: 650; line-height: 1.6; }
.packout-measure-inputs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.packout-measure-inputs > label { min-width: 0; display: grid; gap: 5px; color: #58674e; font-size: 9px; }
.packout-measure-inputs label > div { display: flex; align-items: center; min-width: 0; background: #fff; border: 1px solid #c6d0bd; border-radius: 3px; }
.packout-measure-inputs input { width: 100%; min-width: 0; min-height: 39px; padding: 9px 7px; border: 0; background: transparent; color: #253126; font-size: 12px; }
.packout-measure-inputs label > div > span { padding-right: 9px; color: #74806b; font-size: 9px; }
.packout-measure-form button { margin-top: 12px; min-height: 35px; padding: 8px 13px; border: 1px solid #33422c; border-radius: 2px; background: #33422c; color: #fff; font-size: 10px; font-weight: 650; cursor: pointer; }
.packout-bin-note,.packout-unverified { margin: 16px 0 0; color: #748069; font-size: 10px; line-height: 1.75; }
.packout-footprint-inspector > header h3 { margin: 0 0 8px; font-size: 21px; }
.packout-footprint-inspector > header p { margin: 0; color: #6b7861; font-size: 11px; line-height: 1.75; }
.packout-footprint-plan { max-width: 520px; margin: 12px auto 0; }
.packout-footprint-plan svg .packout-footprint-word { fill: #fff; font-size: 13px; font-weight: 650; }
.packout-space-status { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 12px 0; border-top: 1px solid #dbe2d3; }
.packout-space-status p { display: grid; gap: 6px; margin: 0; font-size: 10px; line-height: 1.6; }
.packout-space-status strong { color: #4c5e41; }
.packout-selection { padding: 20px 18px 18px; border-top: 1px solid #dce2d4; }
.packout-selection h3 { margin: 0 0 13px; color: #2e3b29; font-size: 14px; }
.packout-selection ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.packout-selection-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 9px; align-items: center; padding: 11px 0; border-top: 1px solid #e5e9de; }
.packout-selection-row.is-selected { background: #f5f6f0; }
.packout-selection-name { display: flex; min-width: 0; gap: 9px; align-items: center; padding: 0 3px; border: 0; background: transparent; color: #35442d; font-size: 10px; line-height: 1.6; text-align: left; cursor: pointer; }
.packout-selection-name > span { display: grid; place-content: center; flex: none; width: 21px; height: 21px; border: 1px solid #cbd4c2; border-radius: 50%; background: #fff; color: #5f7251; font-size: 9px; }
.packout-selection-name strong { overflow-wrap: anywhere; font-weight: 650; }
.packout-top-note { display:block; margin-top:3px; color:#69735f; font-size:9px; font-weight:500; }
.packout-real-box.is-top-locked { cursor:grab; touch-action:none; }
.packout-auto-accessory { grid-column:1/-1; display:grid; grid-template-columns:38px minmax(0,1fr) auto; align-items:center; gap:8px; margin:5px 0 0 27px; padding:10px 0 0; border-top:1px dashed #d4dbcb; font-size:9px; }
.packout-auto-accessory > button { width:38px; height:42px; padding:0; border:0; background:transparent; cursor:pointer; }
.packout-auto-accessory img { width:100%; height:100%; object-fit:contain; mix-blend-mode:multiply; }
.packout-auto-accessory strong,.packout-auto-accessory small { display:block; line-height:1.6; }
.packout-auto-accessory small { color:#69735f; font-size:8px; }
.packout-auto-accessory > span { text-align:right; white-space:nowrap; }
.packout-auto-accessory .price-value { display:block; font-size:10px; font-weight:700; }
.packout-auto-accessory .price-tax { display:block; margin-top:2px; font-size:8px; color:#69735f; }
.packout-auto-accessory .secondary-price { display:none; }
.packout-stack-accessory { position:relative; z-index:1; display:flex; align-items:center; gap:8px; margin:8px 0 0; padding:5px 10px; border:1px solid #d4dbcb; border-radius:3px; background:#f9fbf5; color:#43543a; font-size:10px; }
.packout-stack-accessory img { width:30px; height:30px; object-fit:contain; mix-blend-mode:multiply; }
.packout-stack-accessory > button { min-height:36px; padding:7px 9px; border:1px solid #c7d1be; border-radius:3px; background:#fff; color:#35472e; font:inherit; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.packout-divider-interior-link { display:flex; align-items:center; gap:10px; width:100%; margin:12px 0 16px; padding:10px 12px; border:1px solid #d4dbcb; border-radius:3px; background:#f7f9f2; color:#35472e; font-size:11px; text-align:left; cursor:pointer; }
.packout-divider-interior-link img { flex:none; width:42px; height:42px; object-fit:contain; mix-blend-mode:multiply; }
.packout-divider-interior-link span { text-decoration:underline; text-underline-offset:3px; }
.packout-divider-dialog { box-sizing:border-box; width:min(780px,calc(100vw - 28px)); max-width:780px; max-height:calc(100dvh - 28px); padding:22px; border:1px solid #d9dfd1; border-radius:6px; background:#fff; color:#253126; box-shadow:0 20px 70px #00000040; }
.packout-divider-dialog::backdrop { background:#172117b8; }
.packout-divider-dialog > header { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }
.packout-divider-dialog > header small { display:block; margin:0 0 7px; color:#687660; font-size:10px; letter-spacing:.06em; }
.packout-divider-dialog h2 { margin:0; font-size:25px; line-height:1.25; }
.packout-divider-dialog > p { max-width:65ch; margin:15px 0; color:#53604c; font-size:13px; line-height:1.6; }
.packout-divider-dialog .packout-divider-photo-close { display:grid; place-content:center; flex:none; width:44px; height:44px; padding:10px; border:1px solid #d0d8c8; border-radius:3px; background:#f7f9f3; color:#283b25; cursor:pointer; }
.packout-divider-dialog .packout-divider-photo-close svg { width:22px; height:22px; }
.packout-divider-dialog figure { margin:0; }
.packout-divider-dialog figure > img { display:block; width:100%; height:auto; max-height:62dvh; object-fit:contain; background:#f2f4ee; }
.packout-divider-dialog figcaption { margin-top:10px; color:#6c7566; font-size:10px; line-height:1.6; }
.packout-selection-price { color: #293b26; font-size: 10px; font-weight: 650; text-align: right; }
.packout-selection-price .price-value { display: block; font-size: 12px; }
.packout-selection-price .price-tax,.packout-selection-price .secondary-price { display: none; }
.packout-selection .packout-module-controls { display: flex; flex-wrap: nowrap; gap: 3px; margin: 0; }
.packout-selection .packout-module-controls > button { display: grid; place-content: center; flex: none; width: 26px; min-width: 0; min-height: 29px; padding: 3px; font-size: 15px; }
.packout-selection .packout-module-controls > button svg { width: 14px; height: 14px; }
@media (max-width: 1200px) {
  .packout-designer { padding: 28px 20px 50px; }
  .packout-designer .packout-layout { grid-template-columns: 205px minmax(0,1fr) 230px; gap: 13px; }
  .packout-designer .packout-card { grid-template-columns: 61px minmax(0,1fr); }
  .packout-designer .packout-catalog { padding: 16px 10px; }
  .packout-designer .packout-summary { padding: 18px 14px; }
  .packout-interior-layout { grid-template-columns: minmax(0,1fr); }
  .packout-interior-photo > img { height: 210px; }
  .packout-interior-gallery { display: none; }
  .packout-floorplan svg { max-height: 280px; }
  .packout-photo-stage { min-height: 520px; padding-left: 16px; padding-right: 16px; }
  .packout-stack-details { grid-template-columns: 105px minmax(0,1fr); gap: 12px; }
  .packout-component-tabs { gap: 3px; }
  .packout-component-tabs button { padding: 5px 6px; }
  .packout-selection-row { grid-template-columns: minmax(0,1fr) auto; }
  .packout-selection .packout-module-controls { grid-column: 2; }
  .packout-selection-price { grid-row: 2; grid-column: 1; text-align: left; padding-left: 33px; }
}
@media (max-width: 1000px) {
  .packout-designer .packout-layout { grid-template-columns: 200px minmax(0,1fr); }
  .packout-designer .packout-summary { grid-column: 2; position: static; }
  .packout-designer .packout-catalog { grid-row: 1 / 3; }
  .packout-photo-stage { min-height: 500px; }
  .packout-stack-details { grid-template-columns: 130px minmax(0,1fr); }
  .packout-selection-row { grid-template-columns: minmax(0,1fr) auto auto; }
  .packout-selection-price { grid-row: auto; grid-column: auto; text-align: right; padding-left: 0; }
  .packout-selection .packout-module-controls { grid-column: auto; }
}
@media (max-width: 720px) {
  .packout-divider-dialog { padding:16px; }
  .packout-divider-dialog h2 { font-size:22px; }
  .packout-stack-accessory { max-width:100%; flex-wrap:wrap; justify-content:center; }
  .packout-designer { padding: 24px 14px 42px; }
  .packout-designer .packout-heading { grid-template-columns: 1fr; gap: 12px; }
  .packout-designer .packout-heading h1 { font-size: 46px; }
  .packout-designer .packout-heading p { max-width: 42ch; }
  .packout-designer .packout-starts { gap: 7px; }
  .packout-designer .packout-starts > span { width: 100%; }
  .packout-designer .packout-starts > button { font-size: 10px; padding: 10px 11px; }
  .packout-designer .packout-layout { display: flex; flex-direction: column; gap: 18px; }
  .packout-designer .packout-workspace { width: 100%; order: 1; }
  .packout-designer .packout-catalog { width: 100%; order: 2; padding: 18px 14px; }
  .packout-designer .packout-summary { width: 100%; order: 3; padding: 23px 18px; }
  .packout-designer .packout-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .packout-designer .packout-card { display: flex; flex-direction: column; align-items: stretch; padding: 12px 9px; }
  .packout-designer .packout-card-image { width: 100%; height: 115px; }
  .packout-designer .packout-card-image img { max-height: 107px; }
  .packout-designer .packout-card-body { width: 100%; }
  .packout-designer .packout-card h3 { font-size: 12px; }
  .packout-designer .packout-add { width: 100%; min-height: 37px; }
  .packout-photo-stage { min-height: 0; padding: 26px 15px 30px; }
  .packout-real-stack { max-width: 100%; }
  .packout-photo-ground { bottom: 50px; }
  .packout-envelope-strip { padding: 13px 13px; gap: 6px; }
  .packout-envelope-strip small { font-size: 8px; letter-spacing: .04em; }
  .packout-envelope-strip strong { font-size: 14px; }
  .packout-view-tabs { padding: 0 8px; }
  .packout-view-tabs > button { min-height: 47px; font-size: 10px; }
  .packout-inspect-head { display: block; }
  .packout-component-tabs { margin-top: 11px; }
  .packout-component-tabs button { min-height: 32px; padding: 7px 11px; }
  .packout-stack-details { grid-template-columns: 110px minmax(0,1fr); }
  .packout-dimensions dd { font-size: 11px; }
  .packout-inside-link { font-size: 9px; }
  .packout-interior-layout { grid-template-columns: minmax(0,1fr); }
  .packout-interior-photo > img { height: 235px; }
  .packout-interior-gallery { display: grid; }
  .packout-selection-row { grid-template-columns: minmax(0,1fr) auto; gap: 6px; }
  .packout-selection-price { grid-column: 1; grid-row: 2; text-align: left; padding-left: 33px; }
  .packout-selection .packout-module-controls { grid-column: 2; grid-row: 1 / 3; }
  .packout-selection .packout-module-controls > button { width: 29px; min-height: 33px; }
  .packout-selection-name { font-size: 10px; }
  .packout-measure-form { padding: 13px 10px; }
  .packout-measure-inputs { gap: 6px; }
  .packout-measure-inputs input { padding-left: 6px; padding-right: 4px; font-size: 12px; }
  .packout-measure-inputs label > div > span { padding-right: 6px; font-size: 8px; }
  .packout-space-status { grid-template-columns: minmax(0,1fr); }
  .packout-fit-note { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .packout-real-box,.packout-real-box img { transition: none; }
}

/* packout-workspace-layout.css */
/* Persistent build choices and checkout stay within the PACKOUT route. */
.packout-designer { max-width: 1560px; padding: 24px 24px 145px; }
.packout-designer .packout-heading { margin-bottom: 17px; }
.packout-designer .packout-heading { display: block; }
.packout-designer .packout-heading h1 { font-size: clamp(40px,4vw,58px); }
.packout-designer .packout-heading p { font-size: 12px; }
.packout-designer .packout-starts { margin-bottom: 17px; }
.packout-designer .packout-layout { display: grid; grid-template-columns: 430px minmax(0,1fr) 285px; gap: 18px; align-items: start; }
.packout-designer .packout-catalog { grid-column: 1; grid-row: 1; position: sticky; top: 14px; }
.packout-designer .packout-cards { max-height: min(780px,calc(100vh - 355px)); }
.packout-designer .packout-card { grid-template-columns: 52px minmax(0,1fr); }
.packout-designer .packout-card-image { width: 52px; }
.packout-catalog-heading { grid-column: 1 / -1; margin: 10px 0 0; padding: 9px 7px; border-bottom: 1px solid #d9e0d1; background: #f2f5ec; color: #3b4c32; font-size: 12px; font-weight: 700; line-height: 1.4; }
.packout-catalog-heading:first-child { margin-top: 0; }
.packout-designer .packout-workspace { grid-column: 2; grid-row: 1; }
.packout-designer .packout-workspace-head { padding: 13px 17px; }
.packout-designer .packout-workspace-head h2 { font-size: 22px; }
.packout-designer .packout-workspace-head h2 { margin: 0; }
.packout-choice { position: static; top: auto; grid-column: 3; grid-row: 1; min-width: 0; max-height: calc(100dvh - 135px); overflow-y: auto; overscroll-behavior: contain; padding: 18px 15px; border: 1px solid #d4dbcb; border-radius: 5px; background: #fff; scrollbar-width: thin; }
.packout-choice header .eyebrow { color: #748168; font-size: 9px; }
.packout-choice header h2 { margin: 8px 0; color: #293427; font-size: 18px; line-height: 1.4; }
.packout-choice header p,.packout-choice-empty { margin: 8px 0 0; color: #6d7963; font-size: 10px; line-height: 1.7; }
.packout-choice .packout-selection { padding: 12px 0 0; margin-top: 12px; }
.packout-choice .packout-selection h3 { display: none; }
.packout-choice .packout-selection-row { grid-template-columns: minmax(0,1fr) auto; gap: 7px; padding: 12px 0; }
.packout-choice .packout-selection-name { font-size: 11px; }
.packout-choice .packout-selection-price { grid-column: 1; grid-row: 2; text-align: left; padding-left: 33px; }
.packout-bundle-note { display: block; margin: 0 0 3px; color: #6d7963; font-size: 10px; line-height: 1.5; }
.packout-choice .packout-selection .packout-module-controls { grid-column: 2; grid-row: 1 / 3; flex-direction: column; }
.packout-choice .packout-selection .packout-module-controls > button { min-height: 25px; width: 27px; }
.packout-choice .packout-selection > p { margin: 12px 0; color: #77816d; font-size: 9px; line-height: 1.7; }
.packout-choice .packout-warning { font-size: 10px; }
.packout-save-tools { margin-top: 14px; padding-top: 12px; border-top: 1px solid #dfe5d7; }
.packout-save-tools > summary { cursor: pointer; color: #425638; font-size: 11px; font-weight: 650; }
.packout-choice .packout-saved { margin-top: 12px; }
.packout-choice .packout-help { margin-top: 12px; }
.packout-share-field { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; align-items: stretch; margin-bottom: 5px; }
.packout-share-field button { min-height: 42px; padding: 8px 11px; border: 1px solid #bdcbb0; border-radius: 3px; background: #fff; color: #394f2f; font-size: 11px; font-weight: 650; cursor: pointer; }
.packout-share-field button:hover { border-color: #81956d; background: #e9efdf; }
.packout-saved-list [data-packout-action='share-saved'] { flex: 0 0 auto; padding-inline: 9px; }
.packout-checkout { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: minmax(190px,260px) minmax(0,1fr) minmax(220px,280px); gap: 26px; align-items: center; max-width: 1560px; margin: 0 auto; padding: 17px 27px max(16px,env(safe-area-inset-bottom)); border: 1px solid #d2dac7; border-bottom: 0; border-radius: 7px 7px 0 0; background: #fcfdf8f5; backdrop-filter: blur(12px); box-shadow: 0 -6px 26px #26322315; }
.packout-checkout-price { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 10px; }
.packout-checkout-price > span { grid-column: 1 / -1; color: #647459; font-size: 10px; }
.packout-checkout-price strong { color: #232e22; font-family: var(--display,'Barlow Condensed',sans-serif); font-size: 34px; line-height: 1.2; }
.packout-checkout-price small { color: #637356; font-size: 10px; }
.packout-checkout-breakdown { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; color: #526448; font-size: 11px; }
.packout-checkout-breakdown small { width: 100%; color: #7e8874; font-size: 9px; line-height: 1.5; }
.packout-checkout-action { display: grid; gap: 6px; justify-items: stretch; }
.packout-checkout-action .packout-cart { width: 100%; margin: 0; min-height: 44px; padding: 11px 14px; font-size: 11px; }
.packout-checkout-action > small { color: #7c8771; font-size: 8px; text-align: center; }
body:has(#packout-designer-page:not([hidden])) footer { padding-bottom: 125px; }
.packout-designer{scroll-margin-top:12px}
.packout-designer .packout-filters,
.packout-designer .packout-mobile-tabs,
.packout-designer .packout-mobile-toolbar{top:14px}
.packout-view-tools { display: flex; justify-content: flex-end; padding: 10px 16px; border-bottom: 1px solid #d9dfd1; background: #fff; }
.packout-interior-toggle { min-height: 42px; padding: 9px 15px; border: 1px solid #cbd4bf; border-radius: 3px; background: #fff; color: #33432c; font-size: 12px; font-weight: 650; cursor: pointer; }
.packout-interior-toggle:hover:not(:disabled) { background: #edf1e6; }
.packout-fit-tools { margin-top: 18px; padding-top: 6px; border-top: 1px solid #dce3d3; }
.packout-fit-tools > summary { padding: 13px 0; color: #33452c; font-size: 12px; font-weight: 650; cursor: pointer; }
.packout-fit-tools .packout-floorplan { margin-top: 15px; }
@media(min-width:951px) {
  .packout-designer .packout-catalog { display: flex; flex-direction: column; height: clamp(390px,calc(100dvh - 135px),900px); overflow: hidden; }
  .packout-designer .packout-cards { flex: 1; min-height: 0; max-height: none; }
  .packout-feedback:empty { display: none; }
}
@media(min-width:1101px) {
  .packout-designer .packout-cards { grid-template-columns: repeat(2,minmax(0,1fr)); align-content: start; }
  .packout-designer .packout-card { display: flex; flex-direction: column; align-items: stretch; padding: 10px; border-color: #e1e6d9; }
  .packout-designer .packout-card-image { width: 100%; height: 88px; }
  .packout-designer .packout-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
  .packout-designer .packout-card h4 { font-size: 12px; line-height: 1.5; }
  .packout-designer .packout-card .product-price { margin-top: auto; padding-top: 7px; }
}
@media(max-width:1100px) {
  .packout-designer .packout-layout { grid-template-columns: min(380px,34vw) minmax(0,1fr) 250px; gap: 12px; }
  .packout-choice { padding: 15px 12px; }
  .packout-designer .packout-card { grid-template-columns: 80px minmax(0,1fr); }
  .packout-designer .packout-card-image { width: 80px; }
}

/* Photo pointers stay captured; the intent helper forwards early catalogue
   swipes to the scroll panel, and the rest of the page scrolls natively. */
.packout-designer .packout-real-box,
.packout-designer .packout-card-image { touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.packout-designer .packout-card-image img { pointer-events: none; }
.packout-designer .is-direct-dragging { opacity: .35; }
.packout-dragging, .packout-dragging * { cursor: grabbing !important; user-select: none; -webkit-user-select: none; }
.packout-drag-live { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; filter: drop-shadow(0 12px 8px #0004); will-change: transform; }
.packout-drag-live img { position: absolute; display: block; max-width: none; object-fit: contain; pointer-events: none; }
.packout-drag-live.is-rejected { opacity: .7; }
.packout-live-preview .packout-real-box.is-lifted { visibility: hidden; }
.packout-live-preview .packout-real-box { transform-origin: bottom left; }
.packout-live-preview .packout-photo-marker { visibility: hidden; }
.packout-live-preview .packout-photo-hint { visibility: hidden; }
.packout-photo-hint > span { display: block; margin-top: 5px; font-size: 10px; }
@media(max-width:950px) {
  .packout-designer .packout-layout { grid-template-columns: minmax(0,1fr) 255px; }
  .packout-designer .packout-workspace { grid-column: 1; }
  .packout-choice { grid-column: 2; }
  .packout-designer .packout-catalog { grid-column: 1 / -1; grid-row: 2; position: static; }
  .packout-designer .packout-cards { grid-template-columns: repeat(3,minmax(0,1fr)); max-height: 520px; }
  .packout-checkout { grid-template-columns: minmax(170px,1fr) minmax(230px,1fr); gap: 15px; }
  .packout-checkout-breakdown { display: none; }
}
@media(max-width:720px) {
  .packout-designer { padding: 22px 12px 135px; }
  .packout-designer .packout-layout { display: flex; flex-direction: column; }
  .packout-designer .packout-workspace { order: 1; width: 100%; }
  .packout-choice { position: static; order: 2; width: 100%; max-height: none; padding: 17px 14px; overflow: visible; overscroll-behavior: auto; }
  .packout-choice .packout-selection ol { max-height: 350px; overflow-y: auto; }
  .packout-designer .packout-catalog { order: 3; width: 100%; }
  .packout-designer .packout-cards { grid-template-columns: repeat(2,minmax(0,1fr)); max-height: 560px; overflow-y: auto; padding-bottom: 95px; scroll-padding-block: 20px 105px; }
  .packout-designer .packout-card-image { width: 100%; }
  .packout-view-tabs > button { padding-left: 5px; padding-right: 5px; font-size: 9px; }
  .packout-checkout { grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 11px; padding: 12px 13px max(12px,env(safe-area-inset-bottom)); }
  .packout-checkout-price { display: block; }
  .packout-checkout-price > span { display: block; font-size: 9px; line-height: 1.5; }
  .packout-checkout-price strong { display: block; margin: 3px 0; font-size: 28px; }
  .packout-checkout-price small { font-size: 9px; }
  .packout-checkout-action .packout-cart { min-height: 47px; font-size: 10px; padding: 9px; }
}
