/* 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(0,120,255,0.22) !important;
  fill-opacity: 1 !important;
  stroke: #0078ff !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(0,120,255,0.35) !important;
    fill-opacity: 1 !important;
    stroke: #0078ff !important;
    stroke-width: 3px !important;
  }
}

/* Temporary selection (clicked) */
svg [id^="hot-"].selected,
svg [id^="hot-"].selected * {
  fill: rgba(0,120,255,0.22) !important;
  fill-opacity: 1 !important;
  stroke: #0078ff !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(0,120,255,0.22) !important;
  fill-opacity: 1 !important;
  stroke: #0078ff !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; }


/* 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%;
  }
}

@media (max-width: 1024px) {
	#mc-request-inline {
		padding: 10px 0px!important;
	}
}

/* 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;
}

/* 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: 44px !important;          /* ≈48px 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: 44px !important;        /* ~48px 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(0, 120, 255, 0.25);  /* soft blue */
  stroke: #0078ff;
  stroke-width: 3px;
}

/* Selected (clicked/pinned hotspot) */
svg [id^="hot-"].selected,
svg [id^="hot-"].selected * {
  fill: rgba(0, 120, 255, 0.25) !important; /* strong yellow - blu fill */
  stroke: #e6b800 !important;               /* darker yellow border */
  stroke-width: 3px !important;
}

/* Requested (added to list) */
svg [id^="hot-"].requested,
svg [id^="hot-"].requested * {
  fill: rgba(0, 120, 255, 0.22) !important;
  stroke: #0078ff !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 ========== */

/* Smaller, round ✕ next to Find (drawer + inline list) */
#mc-request-drawer .actions .remove-x,
#mc-request-inline .actions .remove-x{
  width:18px !important;
  height:18px !important;
  min-width:18px !important;
  min-height:18px !important;
  padding:0 !important;
  border-radius:999px !important;
  line-height:16px !important;
  font-size:12px !important;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
}

/* Keep Find and ✕ on one row by default */
#mc-request-drawer .actions,
#mc-request-inline .actions{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:nowrap;
}

/* Under 900px, allow wrap; push big "Remove" to the next line */
@media (max-width: 900px){
  #mc-request-drawer .actions,
  #mc-request-inline .actions{
    flex-wrap:wrap;
    gap:6px;
  }
  #mc-request-drawer .actions .remove,
  #mc-request-inline .actions .remove{
    order:3;
    flex-basis:100%;
  }
}

/* Embedded bottom button bar: stack on mobile */
@media (max-width: 640px){
  #mc-inline-actions{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }
  #mc-inline-actions button{
    width:100%;
  }
}
/* 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:16px !important;
  font-size:12px !important;
  flex:0 0 auto !important;
}

/* 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: stack Next / Print / Copy on mobile */
@media (max-width: 640px){
  #mc-inline-actions{ display:flex; flex-direction:column; gap:8px; }
  /*#mc-inline-actions button{ width:100%; }*/
}
/* Bottom bar: stop button text from compressing, allow wrap instead */
#mc-inline-actions{
  display:flex !important;
  justify-content:flex-end;
  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 */
}

/* Only stack full-width on very small phones */
@media (max-width: 480px){
  #mc-inline-actions{
    justify-content:stretch;
    gap:8px;
  }
  #mc-inline-actions button{
    width:100% !important;
  }
}
/* 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(0, 120, 255, 0.22) !important;
  stroke: #0078ff !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: #0078ff !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;
}
}

#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; }

/* 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%;
  }
}

@media (max-width: 1024px) {
	#mc-request-inline {
		padding: 10px 0px!important;
	}
}
