/* Base affordance */
svg [id^="hot-"],
svg [id^="hot-"] * {
  cursor: pointer;
  transition: fill 0.2s, stroke 0.2s, fill-opacity 0.2s;
}

svg [id^="hot-"].selected,
svg [id^="hot-"].selected *,
svg [id^="hot-"].requested,
svg [id^="hot-"].requested * {
  fill: rgba(12,136,255,0.24) !important;
  fill-opacity: 1 !important;
  stroke: #1795ff !important;
  stroke-width: 3px !important;
  stroke-dasharray: 4 3 !important;
}

/* MC655 page (page-id-3535) – force highlight colors to match other diagrams */
body.page-id-3535 svg.mc-diagram [id^="hot-"],
body.page-id-3535 svg.mc-diagram [id^="hot-"] *,
body.page-id-3535 svg.mc-diagram [id^="hot-"].selected,
body.page-id-3535 svg.mc-diagram [id^="hot-"].selected *,
body.page-id-3535 svg.mc-diagram [id^="hot-"].requested,
body.page-id-3535 svg.mc-diagram [id^="hot-"].requested * {
  fill: rgba(12,136,255,0.30) !important;
  fill-opacity: 1 !important;
  opacity: 1 !important;
  stroke: #1795ff !important;
  stroke-width: 3px !important;
  stroke-dasharray: 4 3 !important;
}

/* Hover (desktop only) */
@media (hover:hover) {
  svg [id^="hot-"]:hover,
  svg [id^="hot-"]:hover * {
    fill: rgba(12,136,255,0.32) !important;
    fill-opacity: 1 !important;
    stroke: #1795ff !important;
    stroke-width: 3px !important;
  }
}

/* Temporary selection (clicked) */
svg [id^="hot-"].selected,
svg [id^="hot-"].selected * {
  fill: rgba(12,136,255,0.24) !important;
  fill-opacity: 1 !important;
  stroke: #1795ff !important;
  stroke-width: 3px !important;
  stroke-dasharray: 4 3 !important;
}

/* Persistent selection (added to request) */
svg [id^="hot-"].requested,
svg [id^="hot-"].requested * {
  fill: rgba(12,136,255,0.24) !important;
  fill-opacity: 1 !important;
  stroke: #1795ff !important;
  stroke-width: 3px !important;
  stroke-dasharray: 4 3 !important;
}

#mc-request-badge, #mc-request-drawer { 
	display: none !important; 
}

/* Hide only in the inline column, keep drawer unchanged */
#mc-request-inline .remove { display: none !important; }

/* Optional: tidy the actions gap now that only Find remains */
#mc-request-inline .actions { gap: 0.5rem; }

/* Default card styling for inline request list */
#mc-request-inline .mc-inline-item {
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 12px !important;
  background: #f9f9f9 !important;
  padding: 14px 16px !important;
  gap: 8px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

#mc-request-inline .noitems {
  margin: 0 0 12px 0;
  padding: 16px 18px;
  border-radius: 12px;
  border: 2px solid #000;
  background: #111;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.01em;
}

#mc-request-inline .mc-inline-item + .mc-inline-item {
  margin-top: 12px;
}

#mc-request-inline .mc-inline-item > div:first-child,
#mc-request-inline .mc-inline-item .actions {
  padding: 0 !important;
  margin: 0 !important;
}

:root {
  --mc-sticky-offset: clamp(16px, 2vw, 32px);
  --mc-sticky-bottom-gap: calc(6px + var(--wp--preset--spacing--20, 20px));
  --mc-parts-gap: 0.25rem;
}

/* Site-wide header wrap tightening: when menu drops under logo on narrower desktop/tablet,
   reduce inherited flex-gap and tighten menu text rhythm. */
@media (max-width: 1300px) {
  body .wp-site-blocks > header.wp-block-template-part
    .wp-block-group.alignwide.is-content-justification-space-between.wp-block-group-is-layout-flex {
    gap: clamp(0.4rem, 0.9vw, 0.65rem) !important;
  }

  body .wp-site-blocks > header.wp-block-template-part .wp-block-navigation .wp-block-navigation-item__content,
  body .wp-site-blocks > header.wp-block-template-part .wp-block-navigation .wp-block-navigation-item__label {
    line-height: 1.15 !important;
  }
}

/* Normalize legacy asymmetric .parts-top padding rules (desktop/tablet).
   Some older CSS sets right side to 2.5% !important and left to 2.2%. */
@media (min-width: 801px) {
  body .entry-content.wp-block-post-content .wp-block-group.alignfull.parts-top {
    padding-right: 2.2% !important;
    padding-left: 2.2% !important;
  }
}

/* Keep diagram + request columns from overlapping */
.parts-top .wp-container-core-columns-is-layout-625b63cf {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 0.25rem 0 !important;
  column-gap: 0.25rem !important;
  row-gap: 0 !important;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Gutenberg keeps reapplying .is-layout-flex; override it */
.parts-top .wp-container-core-columns-is-layout-625b63cf.is-layout-flex,
.parts-top .wp-container-core-columns-is-layout-625b63cf.wp-block-columns {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 0.25rem 0 !important;
  column-gap: 0.25rem !important;
  row-gap: 0 !important;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Keep this specific alignfull wrapper from adding side offset drift. */
.parts-top > .wp-block-columns.alignfull.wp-container-core-columns-is-layout-625b63cf {
  margin-right: 0 !important;
  margin-left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Fallback when Gutenberg forces flex anyway */
.parts-top .wp-container-core-columns-is-layout-625b63cf.is-layout-flex > .wp-block-column:first-child,
.parts-top .wp-container-core-columns-is-layout-625b63cf.wp-block-columns > .wp-block-column:first-child {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}

.parts-top .wp-container-core-columns-is-layout-625b63cf.is-layout-flex > .wp-block-column:last-child,
.parts-top .wp-container-core-columns-is-layout-625b63cf.wp-block-columns > .wp-block-column:last-child {
  flex: 0 0 280px !important;
  max-width: 280px !important;
}

.parts-top .wp-container-core-columns-is-layout-625b63cf > .wp-block-column {
  max-width: none !important;
  min-width: 0 !important;
}

.parts-top .wp-container-core-columns-is-layout-625b63cf > .wp-block-column:last-child {
  display: flex;
  flex-direction: column;
  min-height: 0; /* allow inner sticky stack to size/scroll correctly */
  margin-right: 0 !important;
  margin-left: 0 !important;
}

/* Sticky wrapper + inner scroll, based only on custom classes */
.sticky-column {
  position: sticky;
  top: clamp(8px, 1.2vw, 16px);
  width: 100%;
  max-width: 100%;
  height: auto;
  background: inherit;
  z-index: 1;
  align-self: flex-start;
  box-sizing: border-box;
  overflow: hidden; /* keep scrollbars inside the border */
  padding-top: 12px !important;
  padding-bottom: 20px !important;
  margin-bottom: 24px;
}

.parts-top .wp-block-column .sticky-column {
  display: block;
}

.sticky-column .inner-parts-req {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: auto;
  min-height: 0;
  overflow: visible;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-right: 0;
  padding-bottom: 8px;
  padding-left: 0;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.sticky-column .inner-parts-req #mc-request-inline {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 180px;
  max-height: clamp(180px, calc(100vh - var(--mc-sticky-offset) - var(--mc-sticky-bottom-gap) - 150px), 80vh);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: auto;
  scrollbar-width: thin;
  min-width: 0;
  padding-left: 0;
  padding-right: 0;
}

.sticky-column .inner-parts-req #mc-request-inline::-webkit-scrollbar {
  width: 8px;
}

.sticky-column .inner-parts-req #mc-request-inline::-webkit-scrollbar-track {
  background: transparent;
}

.sticky-column .inner-parts-req #mc-request-inline::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
}

.parts-top .wp-block-column .wp-block-boldblocks-svg-block.alignfull,
.parts-top .wp-block-column .wp-block-boldblocks-svg-block.alignwide,
.parts-top .wp-block-column .alignfull,
.parts-top .wp-block-column .alignwide {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}


/* Desktop-only layout for inline Request List (leave mobile untouched) */
@media (min-width: 768px) {
  /* Turn each card into a vertical stack */
  #mc-request-inline .mc-inline-item {
    display: flex !important;           /* override inline grid */
    flex-direction: column !important;  /* text on top, buttons under */
    gap: 10px !important;
  }

  /* Content block first, actions block second */
  #mc-request-inline .mc-inline-item > div:first-child { order: 1; }
  #mc-request-inline .mc-inline-item > .actions {
    order: 2;
    justify-content: flex-start !important;
  }

  /* Optional: make the actions wrap nicely on desktop */
  #mc-request-inline .mc-inline-item > .actions button {
    /* keep side-by-side; remove this next line to stack vertically */
    min-width: 80px;
  }
}

@media (min-width: 781px) {
  #mc-request-inline .mc-inline-item > .actions {
    flex-wrap: wrap;
  }
#mc-request-inline .mc-inline-item > .actions button {
    width: 100%;
  }
}


/* Assembly selector inside hotspot drawer */
.mc-assembly-section {
  display: none;
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f5f1e4;
}

.mc-assembly-note {
  margin: 0 0 8px 0;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
}

.mc-assembly-options {
  display: grid;
  gap: 6px;
}

.mc-assembly-toggle {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 10px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.mc-assembly-toggle__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mc-assembly-content {
  margin-top: 8px;
}

.mc-assembly-option {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.mc-assembly-option input {
  margin-top: 3px;
}

.mc-assembly-option__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mc-assembly-option__title {
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.mc-assembly-toggle__hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.mc-assembly-option__status {
  opacity: 0.75;
}

.mc-assembly-option__pn {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.mc-add-assembly-btn {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: #fff;
  color: #111;
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.mc-qty-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.03em;
}

#mc-qty {
  background: #000 !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: 8px !important;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

#mc-qty::-webkit-inner-spin-button,
#mc-qty::-webkit-outer-spin-button {
  background: #000;
  border-radius: 0 8px 8px 0;
  filter: invert(1);
}

#mc-qty::-webkit-inner-spin-button:hover,
#mc-qty::-webkit-outer-spin-button:hover {
  background: #111;
}

@-moz-document url-prefix() {
  #mc-qty {
    appearance: auto;
    -moz-appearance: number-input;
  }

  #mc-qty::-moz-number-spin-box,
  #mc-qty::-moz-number-spin-up,
  #mc-qty::-moz-number-spin-down {
    background: #000;
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
  }

  #mc-qty::-moz-number-spin-up,
  #mc-qty::-moz-number-spin-down {
    border-left: 1px solid rgba(255, 255, 255, 0.25);
  }

  #mc-qty::-moz-number-spin-up:hover,
  #mc-qty::-moz-number-spin-down:hover {
    background: #111;
  }
}

/* Bigger, non-scaling touch target for all hotspots */
svg [id^="hot-"] {
  pointer-events: all;            /* ensure they can receive taps */
}

/* If supported, make the stroke act as a big invisible hit area */
@supports (vector-effect: non-scaling-stroke) {
  svg [id^="hot-"],
  svg [id^="hot-"] * {
    /* transparent stroke creates a "hit ring" that stays same size on screen */
    stroke: rgba(0,0,0,0) !important;
    stroke-width: clamp(12px, 3.5vw, 28px) !important;          /* responsive touch target */
    vector-effect: non-scaling-stroke !important;
    pointer-events: stroke !important;      /* stroke captures the tap */
  }

  /* When selected/hovered/requested, let our visible styles take over */
  svg [id^="hot-"].selected,
  svg [id^="hot-"].selected *,
  svg [id^="hot-"].requested,
  svg [id^="hot-"].requested * {
    pointer-events: all !important;         /* keep fill/visible stroke interactive */
  }
}

/* keep your existing hover/selected/requested visuals as-is */

/* Desktop: normal pointer events */
@media (pointer: fine) {
  svg [id^="hot-"], svg [id^="hot-"] * {
    pointer-events: visiblePainted !important;
    stroke-width: initial !important;
    vector-effect: none !important;
  }
}

/* Touch only: non-scaling "hit ring" for easy tapping */
@media (pointer: coarse) {
  @supports (vector-effect: non-scaling-stroke) {
    svg [id^="hot-"], svg [id^="hot-"] * {
      stroke: rgba(0,0,0,0) !important;
      stroke-width: clamp(12px, 3.5vw, 28px) !important;        /* responsive touch target */
      vector-effect: non-scaling-stroke !important;
      pointer-events: stroke !important;
    }
    /* when highlighted, allow normal interactivity */
    svg [id^="hot-"].selected,
    svg [id^="hot-"].selected *,
    svg [id^="hot-"].requested,
    svg [id^="hot-"].requested * {
      pointer-events: all !important;
    }
  }
}


/* Base hotspot style (idle state) */
svg [id^="hot-"] {
  fill: rgba(255, 230, 0, 0.4);   /* soft yellow base */
  stroke: #ffcc00;                /* yellow border */
  stroke-width: 2px;
  cursor: pointer;
  transition: fill 0.2s, stroke 0.2s;
}

/* Hover effect (desktop preview) */
svg [id^="hot-"]:hover {
  fill: rgba(12, 136, 255, 0.28);  /* soft blue */
  stroke: #1795ff;
  stroke-width: 3px;
}

/* Selected (clicked/pinned hotspot) */
svg [id^="hot-"].selected,
svg [id^="hot-"].selected * {
  fill: rgba(12, 136, 255, 0.28) !important; /* soft blue highlight */
  stroke: #e6b800 !important;               /* darker yellow border */
  stroke-width: 3px !important;
}

/* Requested (added to list) */
svg [id^="hot-"].requested,
svg [id^="hot-"].requested * {
  fill: rgba(12, 136, 255, 0.24) !important;
  stroke: #1795ff !important;
  stroke-width: 3px !important;
}

/* Make all inlined SVGs scale by width, not by container height */
.wp-block-image svg,
img.style-svg + svg,        /* for SVG Support plugin replacement */
svg[id^="svg"] {
  width: 100% !important;
  height: auto !important;
  display: block;           /* avoids inline spacing quirks */
}

#svg1 { width: 100% !important; height: auto !important; }

/* ========== Parts Finder polish ========== */

/* Keep Find + ✕ on the same line (drawer + inline list) */
#mc-request-drawer .actions,
#mc-request-inline .actions{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  flex-wrap:nowrap !important;      /* don't wrap on desktop */
}

/* Force Find button to be inline-sized (some themes make buttons 100% wide) */
#mc-request-drawer .actions .jump,
#mc-request-inline .actions .jump{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  width:auto !important;
  max-width:none !important;
  flex:0 0 auto !important;
  white-space:nowrap !important;
}

/* Small round ✕ right beside Find */
#mc-request-drawer .actions .remove-x,
#mc-request-inline .actions .remove-x{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  width:18px !important;
  height:18px !important;
  min-width:18px !important;
  min-height:18px !important;
  padding:0 !important;
  border-radius:999px !important;
  line-height:0 !important;
  font-size:0 !important;
  flex:0 0 auto !important;
}

#mc-request-drawer .actions .remove-x::before,
#mc-request-inline .actions .remove-x::before{
  content: "\00D7";
  display:block;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  transform: translateY(-0.5px);
}

/* Let the big "Remove" button drop to the next line on tighter screens */
@media (max-width: 900px){
  #mc-request-drawer .actions,
  #mc-request-inline .actions{ flex-wrap:wrap !important; gap:6px !important; }
  #mc-request-drawer .actions .remove,
  #mc-request-inline .actions .remove{ order:3; flex-basis:100%; }
}

/* Bottom bar: stop button text from compressing, allow wrap instead */
#mc-inline-actions{
  display:flex !important;
  justify-content:flex-start !important;
  gap:10px 12px;         /* row gap / column gap */
  flex-wrap:wrap;        /* permit wrapping instead of shrinking */
}

#mc-inline-actions button{
  flex:0 0 auto !important;   /* don't shrink */
  white-space:nowrap !important; /* keep words intact */
  width:auto !important;
  max-width:none !important;
  min-width:0 !important;     /* avoid theme min-widths */
}

#mc-inline-actions .mc-next,
#mc-inline-actions #mc-inline-next,
#mc-inline-next {
  text-transform: uppercase !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
}

/* Keep bottom actions inline on phones too (wrap instead of tower) */
@media (max-width: 640px){
  #mc-inline-actions{
    justify-content:flex-start !important;
    flex-direction:row !important;
    gap:8px !important;
  }
  #mc-inline-actions button{
    width:auto !important;
  }
}

#mc-view-list {
  background: none !important;
  border: none !important;
  color: #f6d56c !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 12px !important;
  padding: 0 0 6px 4px !important;
  justify-content: flex-start !important;
  text-align: left !important;
  gap: 6px;
}

#mc-view-list:hover,
#mc-view-list:focus-visible {
  color: #ffe9a3 !important;
}

#mc-view-list::after {
  content: '↓';
  font-size: 12px;
  line-height: 1;
  color: currentColor;
}
/* Remove square outlines from selected hotspots */
svg .requested {
  outline: none !important;
  outline-offset: 0 !important;
}

/* Optional: add a subtle ring or glow instead */
svg [id^="hot-"].requested > circle,
svg [id^="hot-"].requested > ellipse {
  stroke: #01304e;
  stroke-width: 2.5px;
  filter: drop-shadow(0 0 3px rgba(1, 48, 78, 0.35));
}

svg [id^="hot-"].requested text {
  fill: #01304e;
  font-weight: 600;
}

/* Variant-driven assembly preview (match requested blue styling) */
svg [id^="hot-"].assembly-match,
svg [id^="hot-"].assembly-match * {
  fill: rgba(12, 136, 255, 0.24) !important;
  stroke: #1795ff !important;
  stroke-width: 3px !important;
  pointer-events: all !important;
}

svg [id^="hot-"].assembly-match text {
  fill: #01304e;
  font-weight: 600;
}

/* Assembly extras (stroke-only highlight) */
svg [id^="hot-"].assembly-extra,
svg [id^="hot-"].assembly-extra * {
  fill: rgba(0, 0, 0, 0) !important;
  stroke: #1795ff !important;
  stroke-width: 3px !important;
  stroke-dasharray: 4 3 !important;
}

svg [id^="hot-"].assembly-extra.selected,
svg [id^="hot-"].assembly-extra.selected * {
  fill: rgba(255, 239, 178, 0.7) !important;
  stroke: #f6c344 !important;
  stroke-width: 3px !important;
  stroke-dasharray: none !important;
}
@media (max-width: 1080px){
p.augerpara {
	padding: 2rem 1.5rem!important;
}
}
@media (max-width: 900px){
p.augerpara {
	padding: 1.2rem 1.5rem !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}
}
@media (max-width: 767px){
p.augerpara {
	padding: 2rem 1.5rem!important;
}
}

/* Parts/results columns wrap sooner (drop request list under diagrams at 900px) */
@media (max-width: 900px){
  .parts-top .wp-container-core-columns-is-layout-625b63cf {
    display: block !important;
  }

  .wp-container-core-columns-is-layout-625b63cf {
    flex-wrap: wrap !important;
    gap: var(--wp--preset--spacing--40, 20px) !important;
  }

  .wp-container-core-columns-is-layout-625b63cf > .wp-block-column {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }

  .wp-container-core-columns-is-layout-625b63cf > .wp-block-column:last-child {
    order: 2;
  }

  .parts-top .wp-container-core-columns-is-layout-625b63cf {
    grid-template-columns: 1fr;
  }

  .parts-top .wp-container-core-columns-is-layout-625b63cf > .wp-block-column:last-child {
    grid-row: 2;
  }

  .parts-top .wp-container-core-columns-is-layout-625b63cf > .wp-block-column:last-child {
    padding: clamp(12px, 4vw, 24px) 0;
  }

  .sticky-column {
    position: static;
    margin-bottom: var(--wp--preset--spacing--20, 20px);
  }

  .sticky-column .inner-parts-req {
    overflow: visible;
    border: none !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    padding-bottom: 0 !important;
    background: transparent;
    box-shadow: none;
    height: auto;
  }

  .sticky-column .inner-parts-req #mc-request-inline {
    max-height: none;
    min-height: 0;
    overflow: visible;
  }

}

@media (max-width: 1100px) and (min-width: 901px) {
  :root {
    --mc-parts-gap: 0.25rem;
  }

  .parts-top .wp-container-core-columns-is-layout-625b63cf,
  .parts-top .wp-container-core-columns-is-layout-625b63cf.is-layout-flex,
  .parts-top .wp-container-core-columns-is-layout-625b63cf.wp-block-columns {
    grid-template-columns: minmax(0, 1fr) 300px !important;
  }

  .parts-top .wp-container-core-columns-is-layout-625b63cf.is-layout-flex > .wp-block-column:last-child,
  .parts-top .wp-container-core-columns-is-layout-625b63cf.wp-block-columns > .wp-block-column:last-child {
    flex: 0 0 300px !important;
    max-width: 300px !important;
  }

  .sticky-column .inner-parts-req {
    padding-right: 0;
    padding-left: 0;
  }

  #mc-request-inline .mc-inline-item {
    padding: 12px !important;
  }

  #mc-request-inline .mc-inline-item .actions {
    gap: 4px !important;
  }

  #mc-request-inline .mc-inline-item .actions .jump,
  #mc-request-inline .mc-inline-item .actions .remove-x {
    flex: 0 1 auto;
    min-width: 0;
  }
}

@media (max-width: 900px) {
  #mc-request-inline .mc-inline-item .actions {
    gap: 8px !important;
  }

  #mc-request-inline .mc-inline-item .actions button,
  #mc-request-inline .mc-inline-item .actions .remove-x {
    width: 100%;
  }
}

@media (max-width: 767px) {
  #mc-request-inline .mc-inline-item {
    padding: 14px 16px !important;
    gap: 8px !important;
  }

  #mc-request-inline .mc-inline-item .actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    align-items: center !important;
  }

  #mc-request-inline .mc-inline-item .actions button,
  #mc-request-inline .mc-inline-item .actions .jump {
    width: auto !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }

  #mc-request-inline .mc-inline-item .actions .jump {
    min-width: 80px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  #mc-request-inline .mc-inline-item .actions .remove-x {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    font-size: 0 !important;
    line-height: 0 !important;
  }

  #mc-request-inline .mc-inline-item .actions .remove-x::before {
    font-size: 18px;
    transform: translateY(-1px);
  }

  #mc-request-drawer,
  #mc-request-drawer .mc-drawer,
  #mc-request-drawer .mc-drawer__inner,
  #mc-request-drawer .mc-drawer__content,
  #mc-request-drawer .mc-drawer__body {
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  body.drawer-open {
    overflow: hidden;
    touch-action: none;
  }
}
