/* Stickerhuis Configurator - opgeschoonde CSS
 * Volledige vervanging van het aangeleverde bestand, geen extra overrides.
 * Bestaande kleuren, waarden, responsive gedrag en compatibiliteitsregels behouden. */
:root {
  --shc-flag-radius: 8px;
  --shc-ruler-offset-x: -8px;
  --shc-ruler-offset-y: 8px;
}

.vertical_ruler,
.top_line,
.bottom_line {
  transform: translateX(var(--shc-ruler-offset-x));
}

.horizontal_ruler,
.right_line,
.left_line {
  transform: translateY(var(--shc-ruler-offset-y));
}

/* Layout */
.shc-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(320px, 0.82fr);
  gap: 26px;
  margin: 18px 0;
  align-items: start;
}

.shc-left,
.shc-right {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.shc-right {
  position: sticky;
  top: 16px;
  align-self: start;
  isolation: isolate;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.elementor-widget-woocommerce-product-add-to-cart .shc-wrap {
  width: 100%;
  max-width: 100%;
}

/* Cards */
.shc-preview-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 12px 34px rgba(84, 71, 124, 0.05);
  overflow: hidden;
  padding: 1rem;
}

.shc-summary-card,
.shc-card {
  padding: 20px 0;
  border-bottom: 1px solid #E6E6E6;
}

.shc-summary-card--compact {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.shc-card-head {
  margin-bottom: 12px;
}

.shc-card-head--preview {
  margin-bottom: 6px;
}

.shc-card-head--static {
  margin-bottom: 10px !important;
}

.shc-card-subtitle,
.shc-hint,
.shc-text-help {
  margin: 6px 0 0;
  color: var(--e-global-color-vamtam_accent_6);
  font-family: var(--e-global-typography-vamtam_primary_font-font-family), Sans-serif;
  font-size: var(--e-global-typography-vamtam_primary_font-font-size);
  font-weight: var(--e-global-typography-vamtam_primary_font-font-weight);
  line-height: var(--e-global-typography-vamtam_primary_font-line-height);
}

/* Preview */
.shc-preview {
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important;
  position: relative;
  overflow: visible !important;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 18px;
  padding: 20px !important;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.shc-measure:not(#shc-stage) {
  position: static !important;
  box-sizing: border-box;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

.shc-stage,
#shc-stage {
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  height: 250px;
}

#shc-stage-content,
.shc-stage-content {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box !important;
}

.shc-stage-measure-layer {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  overflow: visible !important;
  z-index: -1 !important;
}

.shc-stage-loader {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background: rgba(248, 250, 252, 0.72);
  transition: opacity 0.12s ease, visibility 0.12s ease;
}

#shc-stage.is-loading .shc-stage-loader {
  opacity: 1;
  visibility: visible;
}

.shc-stage-loader__inner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 124px;
  min-height: 124px;
  padding: 14px 16px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.shc-stage-loader__svg {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shc-stage-loader__svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.shc-stage-loader__label {
  color: #6a31ea;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

#shc-stage.is-loading:not(.shc-stage-ready) .shc-stage-content,
#shc-stage.is-loading:not(.shc-stage-ready) .shc-live,
#shc-stage.is-loading:not(.shc-stage-ready) .shc-combined-svg {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Slow updates retain the last valid artwork and rulers. */
#shc-stage.shc-stage-ready .shc-stage-loader {
  background: transparent;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 4px;
}
#shc-stage.shc-stage-ready .shc-stage-loader__inner {
  min-width: 0;
  min-height: 0;
  padding: 4px 8px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
#shc-stage.shc-stage-ready .shc-stage-loader__svg { display: none; }
/* Replacing an SVG must not replay the reflection fade on every keystroke. */
#shc-stage.shc-stage-ready .shc-gloss-overlay__streak { animation: none !important; }

/* Stable full-stage reveal: keep the complete preview hidden until SVG + rulers are ready. */
#shc-stage.shc-stage-pending {
  opacity: 0 !important;
  filter: blur(14px) !important;
  pointer-events: none !important;
}

#shc-stage.shc-stage-ready {
  opacity: 1 !important;
  filter: blur(0) !important;
  transition: opacity 0.26s ease, filter 0.38s ease !important;
}

#shc-stage.shc-stage-reveal {
  animation: shcStageFullReveal 0.42s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

#shc-stage:not(.shc-stage-ready) .vertical_ruler,
#shc-stage:not(.shc-stage-ready) .horizontal_ruler,
#shc-stage:not(.shc-stage-ready) .top_line,
#shc-stage:not(.shc-stage-ready) .bottom_line,
#shc-stage:not(.shc-stage-ready) .left_line,
#shc-stage:not(.shc-stage-ready) .right_line,
#shc-stage:not(.shc-stage-ready) #shc_width_label,
#shc-stage:not(.shc-stage-ready) #shc_height_label {
  opacity: 0 !important;
  visibility: hidden !important;
}

@keyframes shcStageFullReveal {

  from {
    opacity: 0;
    filter: blur(14px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

.shc-live {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  margin: 0 auto !important;
  padding: 0 !important;
  transform-origin: center center !important;
  will-change: auto;
  max-width: 100%;
  max-height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.shc-live--image-only {
  display: block;
}

.shc-combined-svg,
.shc-combined-svg svg {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.shc-combined-svg svg,
.shc-text-svg svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.shc-combined-svg.shc-has-white-contour svg {
  filter: drop-shadow(0 0 1px rgba(15, 23, 42, 0.28));
}

/* Glansmateriaal: alleen een visuele previewlaag, nooit onderdeel van het artwork. */
.shc-gloss-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  line-height: 0;
}

.shc-gloss-overlay > svg,
.shc-gloss-overlay > img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: inherit;
  filter: brightness(0) invert(1) !important;
  mix-blend-mode: screen;
}

/* Sterkere reflectie over de bovenkant van de sticker. */
.shc-gloss-overlay__surface {
  opacity: 0.24;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.96) 16%, rgba(0,0,0,0.58) 34%, rgba(0,0,0,0.18) 52%, transparent 68%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.96) 16%, rgba(0,0,0,0.58) 34%, rgba(0,0,0,0.18) 52%, transparent 68%);
}

/* Duidelijkere hoofdreflectie in het midden. */
.shc-gloss-overlay__streak {
  opacity: 0.54;
  -webkit-mask-image: linear-gradient(112deg, transparent 0%, transparent 24%, rgba(0,0,0,0.10) 31%, rgba(0,0,0,0.70) 39%, #000 46%, rgba(0,0,0,0.82) 53%, rgba(0,0,0,0.16) 61%, transparent 70%, transparent 100%);
  mask-image: linear-gradient(112deg, transparent 0%, transparent 24%, rgba(0,0,0,0.10) 31%, rgba(0,0,0,0.70) 39%, #000 46%, rgba(0,0,0,0.82) 53%, rgba(0,0,0,0.16) 61%, transparent 70%, transparent 100%);
  animation: shcGlossReveal 0.72s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

/* Extra zachte tweede baan voor meer diepte, zonder de preview te laten verspringen. */
.shc-gloss-overlay__streak-soft {
  opacity: 0.22;
  -webkit-mask-image: linear-gradient(114deg, transparent 0%, transparent 46%, rgba(0,0,0,0.12) 54%, rgba(0,0,0,0.74) 61%, rgba(0,0,0,0.18) 68%, transparent 76%, transparent 100%);
  mask-image: linear-gradient(114deg, transparent 0%, transparent 46%, rgba(0,0,0,0.12) 54%, rgba(0,0,0,0.74) 61%, rgba(0,0,0,0.18) 68%, transparent 76%, transparent 100%);
}

/* Fijn randlichtje bovenaan voor een echt glansgevoel. */
.shc-gloss-overlay__edge {
  opacity: 0.18;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.78) 8%, rgba(0,0,0,0.14) 15%, transparent 24%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.78) 8%, rgba(0,0,0,0.14) 15%, transparent 24%);
}

@keyframes shcGlossReveal {

  from {
    opacity: 0;
  }

  to {
    opacity: 0.54;
  }
}

@media (prefers-reduced-motion: reduce) {

  .shc-gloss-overlay__streak {
    animation: none;
  }
}

/* Donkere preview wanneer witte contourrand actief is: zo blijft de witte snij/print-rand goed zichtbaar. */
.shc-preview.shc-white-contour-preview,
.shc-preview.shc-white-contour-preview #shc-stage,
.shc-preview.shc-white-contour-preview .shc-stage,
#shc-stage.shc-white-contour-preview {
  background: #111827 !important;
}

.shc-preview.shc-white-contour-preview .vertical_ruler,
.shc-preview.shc-white-contour-preview .horizontal_ruler,
.shc-preview.shc-white-contour-preview .top_line,
.shc-preview.shc-white-contour-preview .bottom_line,
.shc-preview.shc-white-contour-preview .left_line,
.shc-preview.shc-white-contour-preview .right_line,
#shc-stage.shc-white-contour-preview .vertical_ruler,
#shc-stage.shc-white-contour-preview .horizontal_ruler,
#shc-stage.shc-white-contour-preview .top_line,
#shc-stage.shc-white-contour-preview .bottom_line,
#shc-stage.shc-white-contour-preview .left_line,
#shc-stage.shc-white-contour-preview .right_line {
  background: #e5e7eb !important;
  opacity: 0.98 !important;
}

.shc-preview.shc-white-contour-preview #shc_width_label,
.shc-preview.shc-white-contour-preview #shc_height_label,
#shc-stage.shc-white-contour-preview #shc_width_label,
#shc-stage.shc-white-contour-preview #shc_height_label {
  color: #f97316 !important;
  background: #ffffff !important;
}

.shc-preview.shc-white-contour-preview .shc-combined-svg.shc-has-white-contour svg,
#shc-stage.shc-white-contour-preview .shc-combined-svg.shc-has-white-contour svg {
  filter: drop-shadow(0 0 2px rgba(255,255,255,0.30));
}

/* Template-specific preview sizes */
.shc-template-text_sticker .shc-stage,
.shc-template-text_sticker #shc-stage {
  min-height: 280px !important;
  height: clamp(280px, 31vw, 380px) !important;
}

.shc-template-standard_sticker .shc-stage,
.shc-template-standard_sticker #shc-stage {
  min-height: 210px !important;
  height: clamp(210px, 24vw, 290px) !important;
}

.shc-template-text_sticker .shc-live {
  max-width: 92% !important;
  max-height: 92% !important;
}

.shc-template-standard_sticker .shc-live {
  max-width: 86% !important;
  max-height: 86% !important;
}

/* Rulers */
.shc-ruler {
  position: absolute;
  pointer-events: none;
}

.shc-ruler-top {
  top: 0;
  left: 0;
  right: 0;
  height: 34px;
  border-bottom: 1px solid #eee;
  background: #fafafa;
}

.shc-ruler-left {
  top: 0;
  left: 0;
  bottom: 0;
  width: 34px;
  border-right: 1px solid #eee;
  background: #fafafa;
}

.vertical_ruler,
.horizontal_ruler,
.top_line,
.bottom_line,
.left_line,
.right_line,
#shc-stage .vertical_ruler,
#shc-stage .horizontal_ruler,
#shc-stage .top_line,
#shc-stage .bottom_line,
#shc-stage .left_line,
#shc-stage .right_line {
  position: absolute !important;
  z-index: 6;
  display: block !important;
  visibility: visible !important;
  pointer-events: none !important;
  background: #334155 !important;
  opacity: 0.95 !important;
}

.vertical_ruler,
#shc-stage .vertical_ruler {
  width: 1px !important;
}

.horizontal_ruler,
#shc-stage .horizontal_ruler {
  height: 1px !important;
}

.top_line,
.bottom_line,
#shc-stage .top_line,
#shc-stage .bottom_line {
  width: 12px !important;
  height: 1px !important;
}

.left_line,
.right_line,
#shc-stage .left_line,
#shc-stage .right_line {
  width: 1px !important;
  height: 12px !important;
}

#shc_width_label,
#shc_height_label,
#shc-stage #shc_width_label,
#shc-stage #shc_height_label {
  position: absolute !important;
  z-index: 7;
  display: inline-flex !important;
  visibility: visible !important;
  color: #f97316 !important;
  font-size: 12px;
  font-weight: 800;
  font-style: normal;
  line-height: 1.05;
  user-select: none;
  pointer-events: none !important;
  text-shadow: none;
  background: #fff !important;
  padding: 3px 7px;
  border-radius: 6px !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08) !important;
}

#shc_width_label,
#shc-stage #shc_width_label {
  white-space: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  transform: translate(-50%, -5%);
  box-shadow: none !important;
}

#shc_height_label,
#shc-stage #shc_height_label {
  width: auto !important;
  min-width: 0 !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  white-space: nowrap !important;
  transform: translate(-50%, -50%) !important;
  line-height: 1 !important;
  padding: 2px 5px !important;
}

#shc-stage.shc-measure--no-rulers,
#shc-stage.shc-rulers-disabled {
  --shc-ruler-zone-w: 0px;
  --shc-ruler-zone-r: 0px;
  --shc-ruler-zone-b: 0px;
  --shc-ruler-content-gap: 0px;
}

#shc-stage.shc-measure--no-rulers #shc-stage-content,
#shc-stage.shc-measure--no-rulers .shc-stage-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
}

#shc-stage.shc-measure--no-rulers .vertical_ruler,
#shc-stage.shc-measure--no-rulers .horizontal_ruler,
#shc-stage.shc-measure--no-rulers .top_line,
#shc-stage.shc-measure--no-rulers .bottom_line,
#shc-stage.shc-measure--no-rulers .left_line,
#shc-stage.shc-measure--no-rulers .right_line,
#shc-stage.shc-measure--no-rulers #shc_width_label,
#shc-stage.shc-measure--no-rulers #shc_height_label,
#shc-stage.shc-rulers-disabled .vertical_ruler,
#shc-stage.shc-rulers-disabled .horizontal_ruler,
#shc-stage.shc-rulers-disabled .top_line,
#shc-stage.shc-rulers-disabled .bottom_line,
#shc-stage.shc-rulers-disabled .left_line,
#shc-stage.shc-rulers-disabled .right_line,
#shc-stage.shc-rulers-disabled #shc_width_label,
#shc-stage.shc-rulers-disabled #shc_height_label {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

#shc-stage.is-loading .vertical_ruler,
#shc-stage.is-loading .horizontal_ruler,
#shc-stage.is-loading .top_line,
#shc-stage.is-loading .bottom_line,
#shc-stage.is-loading .left_line,
#shc-stage.is-loading .right_line,
#shc-stage.is-loading #shc_width_label,
#shc-stage.is-loading #shc_height_label {
  opacity: 0 !important;
  visibility: hidden !important;
}

#shc-stage.is-loading::before,
#shc-stage.is-loading::after {
  display: none !important;
  content: none !important;
}

/* Notes */
.shc-limit-note {
  margin: 12px 6px 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.35;
}

.shc-limit-note + .shc-limit-note {
  margin-top: 8px;
}

.shc-limit-note--error {
  background: #fa5a28;
}

.shc-limit-note--warning {
  background: #f59e0b;
  color: #fff7ed;
}

/* Fields */
.shc-right .shc-field,
.shc-field {
  margin-bottom: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.shc-field + .shc-field {
  margin-top: 16px;
}

.shc-field--compact + .shc-field--compact {
  margin-top: 12px;
}

.shc-field > label:not(.shc-checkbox),
.shc-size-col label, .shc-layout-option {
  display: block;
  margin: 0 0 8px;
  color: var(--e-global-color-vamtam_accent_2) !important;
  font-size: 12px;
  font-weight: 600;
}

.shc-field input[type="text"],
.shc-field input[type="number"],
.shc-field select {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 2px solid #d7dee8;
  border-radius: 6px;
  background: #fff;
  color: #0f172a;
  font-size: 1rem;
  box-shadow: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.shc-field input[type="text"]:focus,
.shc-field input[type="number"]:focus,
.shc-field select:focus {
  outline: none;
  border-color: #6a31ea;
  box-shadow: 0 0 0 4px rgba(106, 49, 234, 0.08);
}

.shc-hidden-select {
  display: none !important;
}

/* Toggles / buttons */
.shc-toggle {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.shc-toggle-wide {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.shc-toggle .shc-btn {
  flex: 1;
  min-width: 0;
  white-space: normal;
}

.shc-btn {
  padding: 11px 14px !important;
  border: 2px solid #ccc !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #475569 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.18s ease;
}

.shc-btn.is-active,
.shc-btn.active,
.shc-btn[aria-pressed="true"],
.shc-btn:hover {
  border-color: var(--e-global-color-vamtam_accent_2) !important;
  background: var(--e-global-color-vamtam_accent_2) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.shc-checkbox-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

/* Colors */
.shc-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shc-color,
.shc-bg-color {
  min-width: 0;
  min-height: 0;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: transparent !important;
  cursor: pointer;
  position: relative;
}

.shc-color-dot {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 999px;
}

.shc-color.is-active .shc-color-dot,
.shc-bg-color.is-active .shc-color-dot {
  box-shadow: 0 0 0 2px transparent !important;
}

/* Form helpers */
.shc-row,
.shc-radio {
  display: flex;
  gap: 10px;
  align-items: center;
}

.shc-radio {
  gap: 8px;
  margin: 6px 0;
  font-size: 13px;
}

.shc-checkbox {
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  position: relative;
}

.shc-field label.shc-checkbox {
  margin: 0;
  padding: 6px 0;
}

.shc-field label.shc-checkbox input,
.shc-checkbox input {
  margin: 0;
}

/* Native checkbox blijft met het toetsenbord bereikbaar; alleen het gestileerde vakje is zichtbaar. */
.shc-checkbox input[type="checkbox"] {
  position: absolute !important;
  display: block !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.shc-checkbox .checkbox-ui {
  flex: 0 0 20px;
}

.shc-checkbox input:focus-visible + .checkbox-ui {
  outline: 2px solid var(--e-global-color-vamtam_accent_2, #fa5a28);
  outline-offset: 3px;
}

.checkbox-ui {
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 6px;
  display: inline-block;
  position: relative;
}

.shc-checkbox input:checked + .checkbox-ui {
  background-color: #fa5a28;
  border-color: #fa5a28;
}

.shc-checkbox input:checked + .checkbox-ui::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Size */
.shc-size-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.shc-size-col.is-hidden {
  display: none;
}

.shc-size-grid.is-single-col {
  grid-template-columns: minmax(0, 1fr);
}

.shc-size-grid.is-single-col .shc-size-col {
  grid-column: 1 / -1;
}

.shc-row.shc-custom-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.shc-custom-row-toggle {
  margin-top: 5px;
}

.shc-custom-row {
  margin-top: 8px;
}

.shc-custom-row .shc-hint {
  opacity: 0.88;
  font-size: 13px;
}

/* Step buttons */
.shc-step-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.shc-step {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
}

.shc-step.is-active {
  border-color: #111;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.shc-step.is-disabled {
  position: relative;
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

.shc-step.is-disabled::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 2px;
  transform: rotate(-12deg);
  background: currentColor;
  opacity: 0.55;
}

/* Sliders */
.shc-slider-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
  overflow: hidden;
}

.shc-slider-wrap::before,
.shc-slider-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  z-index: 2;
  pointer-events: none;
}

.shc-slider-wrap::before {
  left: 52px;
  background: linear-gradient(to right, #ffffff 0%, rgba(250, 90, 40, 0) 100%);
}

.shc-slider-wrap::after {
  right: 52px;
  background: linear-gradient(to left, #ffffff 0%, rgba(250, 90, 40, 0) 100%);
}

.shc-slider-arrow {
  width: 42px;
  height: 42px;
  padding: 0 !important;
  border: 1px solid #e7edf3;
  border-radius: 999px !important;
  background: var(--e-global-color-vamtam_accent_1) !important;
  color: var(--e-global-color-vamtam_accent_2) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  cursor: pointer;
}

.shc-slider-arrow:hover {
  background: var(--e-global-color-vamtam_accent_2) !important;
  color: var(--e-global-color-vamtam_accent_5) !important;
}

.shc-slider-track {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto !important;
  overflow-y: hidden;
  padding: 10px;
  margin: 0;
  border-radius: 18px;
  scroll-snap-type: none;
  scroll-behavior: auto !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x pan-y pinch-zoom;
  overscroll-behavior-x: contain;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.shc-slider-track::-webkit-scrollbar {
  display: none;
}

.shc-slide-item {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 2rem !important;
  background: #fff !important;
  color: #0f172a !important;
  box-shadow: none !important;
  cursor: pointer;
  scroll-snap-align: center !important;
  transition: transform 0.18s ease,
    opacity 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    outline-color 0.18s ease !important;
}

.shc-slide-item {
  transform: scale(0.92);
  opacity: 0.72;
}

.shc-slide-item:hover {
  outline: 2px solid var(--e-global-color-vamtam_accent_2) !important;
  border-radius: 2rem !important;
}

.shc-slide-item.is-near {
  transform: scale(0.97);
  opacity: 0.9;
}

.shc-slide-item.is-active {
  border-color: var(--e-global-color-vamtam_accent_1) !important;
  border-radius: 2rem !important;
  color: #ffffff !important;
  background: var(--e-global-color-vamtam_accent_1) !important;
  box-shadow: inset 0 0 0 1px var(--e-global-color-vamtam_accent_1) !important;
  transform: translateY(-1px) scale(1) !important;
  opacity: 1 !important;
  outline: 1px solid var(--e-global-color-vamtam_accent_1) !important;
}

/* Font slider */
.shc-font-item {
  min-width: 100px !important;
  min-height: 58px !important;
  padding: 8px 18px !important;
  border: 0 !important;
  border-radius: 2rem !important;
  background: transparent;
  color: #231f20 !important;
  font-size: clamp(16px, 1.8vw, 22px) !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}


/* Flag slider */
.shc-icon-item, .shc-flag-item,
.shc-background-item {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 2rem !important;
  background: transparent !important;
  box-shadow: none !important;
}

.shc-flag-thumb, .shc-flag-item {
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  border-radius: 5px !important;
  background: none !important;
}

.shc-flag-thumb svg,
.shc-lib-preview--flag,
.shc-lib-preview--flag svg {
  border-radius: var(--shc-flag-radius);
}

.shc-lib-preview--flag,
.shc-lib-preview--flag svg {
  overflow: hidden;
}

.shc-flag-thumb svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  overflow: visible !important;
}

.shc-flag-thumb img,
.shc-flag-name {
  display: none !important;
}

.shc-flag-item.is-active {
  outline: 3px solid var(--e-global-color-vamtam_accent_2) !important;
  border-radius: 5px !important;
  margin: 0 2px !important;
}

.shc-lib-preview--flag {
  width: 84px;
  height: 48px;
  background: #fff;
}

.shc-lib-preview--flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Icons / SVG colors */
.shc-icon {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.shc-icon svg {
  width: 1em !important;
  height: 1em !important;
  display: block;
}

.shc-icon svg:not([data-shc-preserve-colors="1"]),
.shc-icon svg:not([data-shc-preserve-colors="1"]) *:not([class]),
.shc-stage .shc-icon svg,
.shc-stage .shc-icon svg * {
  fill: currentColor !important;
  stroke: currentColor !important;
}

.shc-stage .shc-flag-thumb svg * {
  stroke: initial;
}

/* Live preview: flags / icons */
.shc-live .shc-flag-thumb {
  box-shadow: 0 0 0 1px #fff;
}

/* Cart / minicart preview */
.woocommerce-cart-form .product-thumbnail .shc-thumb-wrap,
.woocommerce-checkout-review-order .shc-thumb-wrap,
.shc-order-meta .shc-thumb-wrap {
  vertical-align: middle;
}

.woocommerce-cart-form .product-thumbnail {
  width: 150px;
}

.woocommerce-cart-form .product-thumbnail .shc-thumb-wrap {
  width: 132px !important;
  height: 78px !important;
  padding: 6px !important;
}

.woocommerce-cart-form .product-thumbnail .shc-thumb {
  max-width: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.shc-ue-meta {
  word-break: break-word;
}

.elementor-menu-cart__product-image .shc-thumb-wrap,
.widget_shopping_cart .shc-thumb-wrap,
.woocommerce-mini-cart .shc-thumb-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 132px !important;
  height: 78px !important;
  max-width: 132px !important;
  padding: 4px !important;
  box-sizing: border-box !important;
}

.elementor-menu-cart__product-image .shc-thumb,
.widget_shopping_cart .shc-thumb,
.woocommerce-mini-cart .shc-thumb {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
}

.shc-order-meta,
.shc-order-preview,
.shc-order-lines {
  clear: both;
}

/* Limit highlight */
.horizontal_ruler.shc-limit-hit,
.vertical_ruler.shc-limit-hit,
.top_line.shc-limit-hit,
.bottom_line.shc-limit-hit,
.left_line.shc-limit-hit,
.right_line.shc-limit-hit,
.shc-limit-hit {
  background: #e11d48 !important;
  border-color: #e11d48 !important;
}

/* Summary */
.shc-summary-list {
  margin: 0;
  display: grid;
  gap: 10px;
  grid-column: 1;
}

.shc-summary-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f7;
}

.shc-summary-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.shc-summary-row dt {
  margin: 0;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.shc-summary-row dd {
  margin: 0;
  color: #fa5a28;
  font-size: 15px;
  font-weight: 700;
  word-break: break-word;
}

.shc-summary-card--compact .shc-summary-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px 12px !important;
  margin: 0 !important;
}

.shc-summary-card--compact .shc-summary-row {
  display: inline-flex !important;
  grid-template-columns: none !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap;
}

.shc-summary-card--compact .shc-summary-row dd {
  font-size: 13px !important;
  font-weight: 700 !important;
}

.shc-summary-card--compact .shc-summary-row[style*="display: none"],
.shc-summary-card--compact .shc-summary-row[style*="display:none"] {
  display: none !important;
}

.shc-summary-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}

.shc-summary-card .shc-card-head {
  grid-column: 1 / -1;
}

.shc-summary-cart-actions {
  grid-column: 2;
  margin-top: 0;
}

.shc-summary-cart-button {
  background-color: var(--e-global-color-vamtam_accent_1) !important;
  min-height: 48px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 14px !important;
  cursor: pointer;
  font-weight: 700 !important;
  text-align: center;
  width: auto;
  min-width: 220px;
  white-space: nowrap;
}

.shc-summary-cart-button:disabled,
.shc-summary-cart-button.disabled {
  cursor: not-allowed !important;
  opacity: 0.48 !important;
}

@media (max-width: 767px) {

  .shc-summary-card {
    grid-template-columns: 1fr;
  }

  .shc-summary-card .shc-card-head,
  .shc-summary-list,
  .shc-summary-cart-actions {
    grid-column: 1;
  }

  .shc-summary-cart-actions {
    margin-top: 18px;
  }

  .shc-summary-cart-button {
    width: 100%;
    min-width: 0;
  }
}

/* Accordion */
/* 1.0.23: small, read-only selection captions in collapsed headers. */
.shc-accordion-heading {
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
}

.shc-accordion-heading > .shc-accordion-toggle {
  font: inherit !important;
  text-align: left !important;
}

.shc-accordion-heading-copy {
  display: block;
  flex: 1 1 0%;
  min-width: 0;
  text-align: left;
}

.shc-accordion-heading-copy > .shc-card-title {
  display: block;
}

.shc-accordion-toggle .shc-accordion-summary {
  display: block;
  margin-top: 5px;
  color: var(--e-global-color-vamtam_accent_1);
  font-family: var(--e-global-typography-vamtam_primary_font-font-family), Sans-serif;
  font-size: var(--shc-accordion-summary-size, 12px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: normal;
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
}

.shc-section.is-open .shc-accordion-summary,
.shc-accordion-toggle .shc-accordion-summary[hidden] {
  display: none !important;
}

.shc-accordion-heading .shc-accordion-icon {
  flex: 0 0 34px;
  align-self: flex-start;
}

.shc-accordion-heading > .shc-accordion-toggle:focus-visible {
  outline: 2px solid currentColor !important;
  outline-offset: 4px !important;
  border-radius: 3px;
}

.shc-accordion-toggle {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-transform: none !important;
  text-decoration: none !important;
  padding: 2px 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  cursor: pointer !important;
  color: inherit !important;
  transition: color 0.18s ease, opacity 0.18s ease !important;
}

.shc-accordion-toggle:hover,
.shc-accordion-toggle:focus,
.shc-accordion-toggle:active {
  color: #FF4516 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

.shc-accordion-toggle .shc-card-title {
  margin: 0 !important;
}

.shc-accordion-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  padding-bottom:3px;
  background: var(--e-global-color-vamtam_accent_2) !important;
  color: var(--e-global-color-vamtam_accent_5) !important;
  font-weight: 800 !important;
  position: relative;
  font-size: 0 !important;
}

/* PLUS (default = dicht) */
.shc-accordion-icon::before {
  content: "+";
  font-size: 20px;
  line-height: 1;
}

/* MIN (open) */
.shc-section.is-open .shc-accordion-icon::before {
  content: "−";

  /* echte minus */
}

.shc-section {
  padding-top: 16px !important;
}

.shc-section .shc-card-body {
  overflow: hidden !important;
  will-change: height, opacity;
  display: none;
}

.shc-section .shc-card-head {
  margin-bottom: 0 !important;
}

.shc-section.is-open .shc-card-head {
  margin-bottom: 12px !important;
}

/* Tekst/kleur-secties zijn niet van toepassing op standaard stickers.
   Afwerking blijft juist zichtbaar wanneer materiaalkeuze actief is. */
.shc-template-standard_sticker .shc-section-text-icon,
.shc-template-standard_sticker .shc-section-colors {
  display: none !important;
}

/* Preview animations */
.shc-live.shc-preview-enter > *,
.shc-live.shc-preview-update > * {
  transform-origin: center center;
  backface-visibility: hidden;
  animation: none !important;
}

@keyframes shcPreviewPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.92;
  }

  50% {
    transform: scale(0.86);
    opacity: 0.6;
  }
}

/* Responsive */
@media (max-width: 960px) {

  .shc-wrap {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .shc-right {
    position: static;
  }

  .shc-preview-card,
  .shc-card {
    border-radius: 22px;
  }

  .shc-stage,
  #shc-stage {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }
}

@media (max-width: 640px) {

  .shc-preview-card,
  .shc-summary-card,
  .shc-card {
    padding: 14px;
    border-radius: 20px;
  }

  .shc-card-title {
    font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  }

  .shc-card-subtitle {
    max-width: none;
  }

  .shc-template-text_sticker .shc-stage,
  .shc-template-text_sticker #shc-stage {
    min-height: 220px !important;
    height: clamp(220px, 58vw, 300px) !important;
  }

  .shc-template-standard_sticker .shc-stage,
  .shc-template-standard_sticker #shc-stage {
    min-height: 170px !important;
    height: clamp(170px, 40vw, 230px) !important;
  }

  #shc_width_label,
  #shc_height_label {
    font-size: 14px;
  }

  .shc-size-grid {
    grid-template-columns: 1fr;
  }

  .shc-summary-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .shc-slider-wrap {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
  }

  .shc-slider-wrap::before {
    left: 45px;
  }

  .shc-slider-wrap::after {
    right: 45px;
  }

  .shc-slider-track {
    gap: 6px;
    padding: 6px 8px;
    margin-left: 2px;
  }

  .shc-flag-item {
    min-width: 54px;
    min-height: 36px;
  }

  .shc-flag-thumb {
    width: 52px;
  }

}

/* Unified option sliders: flags, icons and backgrounds */
.shc-icon-thumb,
.shc-background-thumb {
  width: 42px;
  height: 42px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.shc-icon-thumb svg,
.shc-background-thumb svg {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  overflow: visible !important;
}

.shc-icon-item.is-active,
.shc-background-item.is-active {
  outline: 2px solid #fa5a28 !important;
  outline-offset: 4px !important;
}

@media (max-width: 640px) {

  .shc-icon-thumb,
  .shc-background-thumb {
    width: 48px;
    height: 36px;
  }
}

/* Phase 2 controls and production SVG wrapper. Effects remain outside the exported SVG. */
/* Also covers text/icon and color controls outside #shc-layout-controls.
   Elementor/theme display rules must never reveal disabled product options. */
.shc-section[hidden],
.shc-section [hidden],
[data-shc-option][hidden] {
  display: none !important;
}

.shc-layout-option + .shc-layout-option {
  margin-top: 16px;
}

#shc-layout-controls label {
  display: block;
  margin-top: 10px;
}

#shc-layout-controls input[type="number"] {
  max-width: 140px;
}

#shc-layout-controls input[type="color"] {
  width: 58px;
  min-height: 36px;
  padding: 2px;
}

#shc-layout-controls .shc-layout-help {
  font-size: 12px;
  line-height: 1.4;
  opacity: .8;
}

#shc-layout-error {
  color: #a71919;
  font-size: 13px;
}

.shc-live--composition .shc-combined-svg {
  padding: 0 !important;
  margin: 0 !important;
}

/* Shared controls for the single product configurator. */
.shc-section input[type=range][data-layout-option] {
  --shc-range-color: var(--e-global-color-vamtam_accent_2, #fa5a28);
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 8px;
  margin: 14px 0 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  outline: 0;
  cursor: pointer;
  background: linear-gradient(to right,var(--shc-range-color) 0%,var(--shc-range-color) var(--shc-range-progress,0%),#e7edf3 var(--shc-range-progress,0%),#e7edf3 100%);
  accent-color: var(--shc-range-color);
}

.shc-section input[type=range][data-layout-option]::-webkit-slider-runnable-track {
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.shc-section input[type=range][data-layout-option]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -7px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--shc-range-color);
  box-shadow: 0 1px 5px rgba(15,23,42,.24);
}

.shc-section input[type=range][data-layout-option]::-moz-range-track {
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: #e7edf3;
}

.shc-section input[type=range][data-layout-option]::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--shc-range-color);
}

.shc-section input[type=range][data-layout-option]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--shc-range-color);
  box-shadow: 0 1px 5px rgba(15,23,42,.24);
}

.shc-range-value {
  display: block;
  text-align: right;
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}

.shc-control-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 8px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--e-global-color-vamtam_accent_1) !important;
  font: inherit;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none !important;
}

.shc-control-link:hover {
  text-decoration: underline;
  transform: none !important;
}

#shc-outline-color-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}

#shc-outline-palette {
  display: flex;
  align-items: center;
  gap: 8px;
}

#shc-outline-color-slider .shc-outline-color {
  flex: 0 0 44px;
}

#shc-stage .vertical_ruler,
#shc-stage .top_line,
#shc-stage .bottom_line {
  margin: 0 !important;
  transform: none !important;
  box-sizing: border-box;
}

/* Detail zoom never transforms or resizes #shc-stage or its rulers. */
.shc-preview .shc-zoom-open {
  position: absolute;
  right: -10px;
  bottom: -10px;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--e-global-color-vamtam_accent_2, #fa5a28);
  border-radius: 50%;
  background: #fff;
  color: var(--e-global-color-vamtam_accent_2, #fa5a28);
  box-shadow: 0 2px 8px rgb(15 23 42 / 10%);
  cursor: zoom-in;
  transition: background-color .18s ease, color .18s ease;
}

.shc-preview .shc-zoom-open:hover:not(:disabled) {
  background: var(--e-global-color-vamtam_accent_2, #fa5a28);
  color: #fff;
}

.shc-zoom-open svg {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: currentColor;
}

.shc-zoom-open:disabled {
  opacity: .45;
  cursor: wait;
}

.shc-zoom-dialog {
  box-sizing: border-box;
  width: min(1100px, 96vw);
  max-width: 96vw;
  height: min(780px, 90vh);
  height: min(780px, 90dvh);
  max-height: 90dvh;
  padding: 16px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: #111827;
  box-shadow: 0 20px 70px #0006;
}

.shc-zoom-dialog:not([open]) {
  display: none;
}

.shc-zoom-dialog[open] {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shc-zoom-dialog::backdrop {
  background: rgb(9 16 28 / 75%);
}

.shc-zoom-toolbar,
.shc-zoom-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.shc-zoom-toolbar {
  justify-content: space-between;
}

.shc-zoom-toolbar strong {
  font-size: 18px;
}

.shc-zoom-buttons button {
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.shc-zoom-buttons button:hover:not(:disabled) {
  background: #eef2f6;
}

.shc-zoom-buttons button:disabled {
  opacity: .35;
  cursor: default;
}

.shc-zoom-buttons [data-zoom-value] {
  min-width: 46px;
  text-align: center;
  font-size: 14px;
}

.shc-zoom-viewport {
  min-height: 0;
  flex: 1 1 0;
  overflow: auto;
  border-radius: 12px;
  background: #eef2f6;
  overscroll-behavior: contain;
}

.shc-zoom-viewport--dark {
  background: #101826;
}

.shc-zoom-canvas {
  display: flex;
  align-items: center;
  justify-content: center;
}

.shc-zoom-art {
  position: relative;
  flex: 0 0 auto;
  line-height: 0;
}

.shc-zoom-help {
  margin: 0 !important;
  color: #475569;
  font-size: 13px;
  line-height: 1.4;
}

.shc-zoom-dialog button:focus-visible,
.shc-zoom-viewport:focus-visible,
.shc-zoom-open:focus-visible {
  outline: 3px solid #fa5a28;
  outline-offset: 2px;
}

@media (max-width: 640px) {

  .shc-zoom-dialog {
    padding: 12px;
    border-radius: 12px;
  }

  .shc-zoom-toolbar strong {
    font-size: 16px;
  }

  .shc-zoom-toolbar,
  .shc-zoom-buttons {
    gap: 6px;
  }
}

/* Mobile workspace: single preview, inline notices and one order bar. */
.shc-mobile-status,
.shc-mobile-bar,
.shc-mobile-dock,
.shc-mobile-page-spacer { display:none; }

.shc-mobile-slot { min-width:0; }

@media (max-width:767px) {
  /* Mobile controls must stay inside the viewport, including narrow phones. */
  body.shc-mobile-mode .shc-section,
  body.shc-mobile-mode .shc-card-body,
  body.shc-mobile-mode .shc-field,
  body.shc-mobile-mode .shc-slider-wrap,
  body.shc-mobile-mode .shc-slider-track {
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
  }

  body.shc-mobile-mode .shc-slider-wrap,
  body.shc-mobile-mode .shc-slider-track { width:100%; }
  body.shc-mobile-mode .shc-colors { max-width:100%; }

  /* Keep every mobile slider inside its accordion without cutting arrows or active outlines. */
  body.shc-mobile-mode .shc-section.is-open .shc-card-body { overflow:visible !important; }
  body.shc-mobile-mode .shc-slider-wrap {
    grid-template-columns:38px minmax(0,1fr) 38px;
    gap:6px;
    width:100%;
    max-width:100%;
    padding-inline:2px;
    overflow:visible;
  }
  body.shc-mobile-mode .shc-slider-track {
    width:auto !important;
    min-width:0;
    max-width:none;
    margin:0;
    padding:8px 6px;
    box-sizing:border-box;
    scroll-padding-inline:8px;
  }
  body.shc-mobile-mode .shc-slider-arrow {
    width:38px;
    height:38px;
    min-width:38px;
    max-width:38px;
    justify-self:center;
  }

  body.shc-mobile-mode .shc-preview .shc-zoom-open {
    right:3px;
    bottom:3px;
    width:30px;
    height:30px;
    border:none;
  }

  /* Keep header geometry intact: no layout shift or alternating dock state. */
  body.shc-mobile-mode .shc-mobile-header-away { opacity:0 !important; }
  body.shc-mobile-mode .shc-mobile-header-away,
  body.shc-mobile-mode .shc-mobile-header-away * {
    visibility:hidden !important;
    pointer-events:none !important;
  }

  body.shc-mobile-mode .shc-mobile-sticky-owner {
    position:static !important;
    top:auto !important;
    transform:none !important;
  }

  body.shc-mobile-mode .shc-mobile-form-reveal { display:block !important; }

  body.shc-mobile-mode .shc-section { scroll-margin-top:168px; }

  body.shc-mobile-mode .shc-preview-card {
    padding:8px;
    border-radius:12px;
    box-sizing:border-box;
  }

  body.shc-mobile-mode .shc-card-head--preview,
  body.shc-mobile-mode .shc-summary-card,
  body.shc-mobile-mode .shc-preview-retry { display:none !important; }

  body.shc-mobile-mode .shc-preview {
    padding:0 !important;
    border-radius:10px;
    transform:none;
  }

  body.shc-mobile-mode #shc-stage {
    height:120px !important;
    min-height:120px !important;
    padding:0 !important;
  }

  body.shc-mobile-mode .shc-stage-loader__inner {
    min-height:0;
    min-width:0;
    padding:6px 10px;
    backdrop-filter:none;
  }

  body.shc-mobile-mode .shc-stage-loader__svg {
    width:28px;
    height:28px;
  }

  body.shc-mobile-mode .shc-mobile-status {
    display:block;
    width:100%;
    height:24px;
    min-height:24px;
    padding:2px 6px;
    margin:0;
    border:0;
    background:transparent;
    color:var(--e-global-color-vamtam_accent_1, #374151);
    font:inherit;
    font-size:12px;
    line-height:20px;
    font-weight:600;
    text-transform:none;
    letter-spacing:normal;
    white-space:nowrap;
    text-overflow:ellipsis;
    overflow:hidden;
    box-shadow:none;
    cursor:pointer;
  }

  /* Reserve the same space in ready/pending/error states, including docked mode.
     Otherwise every input changes card height and the docking boundary by 24px. */
  body.shc-mobile-mode .shc-mobile-status[hidden] {
    display:block !important;
    visibility:hidden;
    pointer-events:none;
  }
  body.shc-mobile-mode .shc-mobile-status:disabled { opacity:1; cursor:default; }

  body.shc-mobile-mode .shc-mobile-status[data-state='size'],
  body.shc-mobile-mode .shc-mobile-status[data-state='contrast'],
  body.shc-mobile-mode .shc-mobile-status[data-state='retry'],
  body.shc-mobile-mode .shc-mobile-status[data-state='composition'] {
    color:#a71919;
    text-decoration:underline;
  }

  body.shc-mobile-mode .shc-mobile-status[data-state='warning'] {
    color:#854d0e;
    text-decoration:underline;
  }

  /* Full-width sticky preview. */
  body.shc-mobile-mode .shc-mobile-dock:not([hidden]) {
    display:block;
    position:fixed;
    z-index:990;
    isolation:isolate;
    left:0 !important;
    right:0 !important;
    width:100vw !important;
    max-width:100vw !important;
  }

  body.shc-mobile-mode .shc-mobile-dock .shc-preview-card {
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    border-radius:0 !important;
    box-shadow:0 5px 18px #0f172a20;
  }

  body.shc-mobile-mode .shc-card-body > .shc-limit-note {
    margin:0 0 12px;
    padding:10px 12px;
    font-weight:500;
    text-align:left;
  }

  /* Bottom order bar: price on top, quantity and cart button below. */
  body.shc-mobile-mode .shc-mobile-bar:not([hidden]) {
    position:fixed;
    display:flex;
    flex-direction:column;
    gap:8px;
    bottom:0;
    left:0;
    right:0;
    z-index:995;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top:1px solid #e2e8f0;
    background:#fff;
    color:#111827;
    box-shadow:0 -4px 18px #0f172a12;
    box-sizing:border-box;
    font-family:var(--e-global-typography-vamtam_primary_font-font-family, inherit);
  }

  body.shc-mobile-mode .shc-mobile-price-row {
    width:100%;
    min-width:0;
  }

  body.shc-mobile-mode .shc-mobile-price {
    font-size:24px;
    font-weight:800;
    line-height:1.1;
    overflow-wrap:anywhere;
  }

  body.shc-mobile-mode .shc-mobile-price del {
    font-size:12px;
    opacity:.6;
  }

  body.shc-mobile-mode .shc-mobile-price ins {
    text-decoration:none;
    background:transparent;
  }

  body.shc-mobile-mode .shc-mobile-order-actions {
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    align-items:stretch;
    gap:12px;
    min-width:0;
  }

  body.shc-mobile-mode .shc-mobile-quantity {
    display:grid;
    grid-template-columns:40px 48px 40px;
    align-items:stretch;
    gap:0;
    min-width:0;
    margin:0;
  }

  body.shc-mobile-mode .shc-mobile-qty-btn,
  body.shc-mobile-mode .shc-mobile-quantity input.shc-mobile-qty {
    min-height:48px;
    height:48px;
    margin:0;
    border:1px solid #cbd5e1;
    background:#fff;
    color:#111827;
    box-sizing:border-box;
  }

  body.shc-mobile-mode .shc-mobile-qty-btn {
    width:40px;
    padding:0;
    font:inherit;
    font-size:22px;
    font-weight:600;
    line-height:1;
    cursor:pointer;
  }

  body.shc-mobile-mode .shc-mobile-qty-btn:disabled {
    opacity:.4;
    cursor:not-allowed;
  }

  body.shc-mobile-mode .shc-mobile-qty-minus {
    border-radius:8px 0 0 8px;
  }

  body.shc-mobile-mode .shc-mobile-qty-plus {
    border-radius:0 8px 8px 0;
  }

  body.shc-mobile-mode .shc-mobile-quantity input.shc-mobile-qty {
    width:48px;
    min-width:0;
    padding:0 2px;
    border-left:0;
    border-right:0;
    border-radius:0;
    font-size:16px;
    line-height:1;
    text-align:center;
    -moz-appearance:textfield;
  }

  body.shc-mobile-mode .shc-mobile-quantity input.shc-mobile-qty::-webkit-outer-spin-button,
  body.shc-mobile-mode .shc-mobile-quantity input.shc-mobile-qty::-webkit-inner-spin-button {
    margin:0;
    -webkit-appearance:none;
  }

  body.shc-mobile-mode .shc-mobile-cart-button {
    width:100%;
    min-width:0;
    min-height:48px;
    padding:10px 8px;
    margin:0;
    border:0;
    border-radius:10px;
    box-shadow:none;
    background:var(--e-global-color-vamtam_accent_1,#111827);
    color:#fff;
    font:inherit;
    font-size:14px;
    font-weight:700;
    line-height:1.3;
    text-align:center;
    white-space:normal;
    text-transform:none;
    cursor:pointer;
  }

  body.shc-mobile-mode .shc-mobile-cart-button:disabled {
    opacity:.5;
    cursor:wait;
  }

  body.shc-mobile-mode .shc-mobile-announcement {
    font-size:12px;
    line-height:1.3;
  }

  body.shc-mobile-mode .shc-mobile-announcement:empty { display:none; }

  /* Height is set from the real fixed bar height in JS. */
  body.shc-mobile-mode .shc-mobile-page-spacer:not([hidden]) { display:block; }

  body.shc-mobile-mode [data-shc-cart-source] .single_add_to_cart_button,
  body.shc-mobile-mode [data-shc-cart-source] .quantity,
  body.shc-mobile-mode .shc-summary-cart-actions { display:none !important; }

  body.shc-mobile-mode .shc-mobile-bar [hidden] { display:none !important; }

  body.shc-mobile-mode .shc-mobile-status:focus-visible,
  body.shc-mobile-mode .shc-mobile-cart-button:focus-visible,
  body.shc-mobile-mode .shc-mobile-qty-btn:focus-visible,
  body.shc-mobile-mode .shc-mobile-qty:focus-visible {
    outline:2px solid currentColor;
    outline-offset:2px;
  }
}

.shc-preview-retry[hidden] { display:none !important; }
.shc-mobile-inline-feedback:empty { display:none; }

/* 1.1.5: Elementor clones the rendered card after ruler updates. Visibility on
   the spacer alone is inherited and can be overridden by visible descendants.
   Hide this plugin's entire cloned card without changing desktop spacer size. */
.elementor-sticky__spacer .shc-preview-card,
.elementor-sticky__spacer .shc-preview-card *,
.elementor-sticky__spacer #shc-stage,
.elementor-sticky__spacer #shc-stage * {
  visibility:hidden !important;
  pointer-events:none !important;
}
.elementor-sticky__spacer .shc-preview-card { opacity:0 !important; }

@media (max-width:767px) {
  /* The plugin owns mobile docking; Elementor's cloned placeholder must not
     insert a second card's height while its original owner is forced static. */
  body.shc-mobile-mode .shc-mobile-sticky-owner.elementor-sticky__spacer {
    display:none !important;
  }
  body.shc-mobile-mode .shc-mobile-slot,
  body.shc-mobile-mode .shc-mobile-dock {
    overflow-anchor:none;
  }
  body.shc-mobile-mode .shc-mobile-header-away {
    transition:none !important;
  }
}

/* Fixed-height plates expose their length only. Override the general rulers'
   display/visibility !important rules as well as the ready/loading state. */
#shc-stage.shc-fixed-height-rulers .vertical_ruler,
#shc-stage.shc-fixed-height-rulers .top_line,
#shc-stage.shc-fixed-height-rulers .bottom_line,
#shc-stage.shc-fixed-height-rulers #shc_height_label {
  display:none !important;
  visibility:hidden !important;
}

/* Bounded, isolated SVG thumbnails: a library shape must not inherit the
   site's inline SVG styling or overflow into neighbouring slider options. */
#shc-background-slider .shc-background-item {
  width:84px !important; min-width:84px !important; max-width:84px !important;
  height:52px !important; flex:0 0 84px !important;
  position:relative; overflow:hidden !important;
}
#shc-background-slider .shc-background-thumb {
  width:68px !important; height:40px !important; flex:0 0 68px;
  overflow:hidden !important;
}
#shc-background-slider .shc-background-thumb img {
  display:block !important; position:static !important;
  width:68px !important; height:40px !important; max-width:100% !important;
  max-height:100% !important; object-fit:contain !important; transform:none !important;
  margin:0 !important; padding:0 !important; border:0 !important;
}

/* Desktop order bar: reuse the canonical mobile order controls without mobile workspace behaviour. */
@media (min-width:768px) {
  body:not(.shc-mobile-mode) .shc-mobile-bar:not([hidden]) {
    position:fixed;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:14px 24px;
    left:0;
    right:0;
    bottom:0;
    z-index:995;
    padding:14px max(24px, calc((100vw - 1200px) / 2));
    border-top:1px solid #e2e8f0;
    background:#fff;
    color:#111827;
    box-shadow:0 -4px 18px #0f172a12;
    box-sizing:border-box;
    font-family:var(--e-global-typography-vamtam_primary_font-font-family, inherit);
  }

  body:not(.shc-mobile-mode) .shc-mobile-price-row {
    flex:1 1 280px;
    min-width:0;
  }

  body:not(.shc-mobile-mode) .shc-mobile-price {
    display:flex;
    flex-wrap:wrap;
    align-items:baseline;
    gap:6px 10px;
    font-size:26px;
    font-weight:800;
    line-height:1.1;
  }

  body:not(.shc-mobile-mode) .shc-mobile-price del {
    font-size:14px;
    opacity:.6;
  }

  body:not(.shc-mobile-mode) .shc-mobile-price ins {
    text-decoration:none;
    background:transparent;
  }

  body:not(.shc-mobile-mode) .shc-mobile-order-actions {
    display:grid;
    grid-template-columns:auto minmax(190px, 240px);
    align-items:stretch;
    gap:12px;
    min-width:0;
    margin-left:auto;
  }

  body:not(.shc-mobile-mode) .shc-mobile-quantity {
    display:grid;
    grid-template-columns:40px 48px 40px;
    align-items:stretch;
    margin:0;
  }

  body:not(.shc-mobile-mode) .shc-mobile-qty-btn,
  body:not(.shc-mobile-mode) .shc-mobile-quantity input.shc-mobile-qty {
    min-height:48px;
    height:48px;
    margin:0;
    border:1px solid #cbd5e1;
    background:#fff;
    color:#111827;
    box-sizing:border-box;
  }

  body:not(.shc-mobile-mode) .shc-mobile-qty-btn {
    width:40px;
    padding:0;
    font:inherit;
    font-size:22px;
    font-weight:600;
    line-height:1;
    cursor:pointer;
  }

  body:not(.shc-mobile-mode) .shc-mobile-qty-btn:disabled {
    opacity:.4;
    cursor:not-allowed;
  }

  body:not(.shc-mobile-mode) .shc-mobile-qty-minus { border-radius:8px 0 0 8px; }
  body:not(.shc-mobile-mode) .shc-mobile-qty-plus { border-radius:0 8px 8px 0; }

  body:not(.shc-mobile-mode) .shc-mobile-quantity input.shc-mobile-qty {
    width:48px;
    min-width:0;
    padding:0 2px;
    border-left:0;
    border-right:0;
    border-radius:0;
    font-size:16px;
    line-height:1;
    text-align:center;
    -moz-appearance:textfield;
  }

  body:not(.shc-mobile-mode) .shc-mobile-quantity input.shc-mobile-qty::-webkit-outer-spin-button,
  body:not(.shc-mobile-mode) .shc-mobile-quantity input.shc-mobile-qty::-webkit-inner-spin-button {
    margin:0;
    -webkit-appearance:none;
  }

  body:not(.shc-mobile-mode) .shc-mobile-cart-button {
    width:100%;
    min-width:0;
    min-height:48px;
    padding:10px 18px;
    margin:0;
    border:0;
    border-radius:10px;
    box-shadow:none;
    background:var(--e-global-color-vamtam_accent_1,#111827);
    color:#fff;
    font:inherit;
    font-size:14px;
    font-weight:700;
    line-height:1.3;
    text-align:center;
    white-space:normal;
    text-transform:none;
    cursor:pointer;
  }

  body:not(.shc-mobile-mode) .shc-mobile-cart-button:disabled {
    opacity:.5;
    cursor:wait;
  }

  body:not(.shc-mobile-mode) .shc-mobile-announcement:not(:empty) {
    flex:0 0 100%;
    font-size:12px;
    line-height:1.3;
  }

  body:not(.shc-mobile-mode) .shc-mobile-announcement:empty { display:none; }

  body:not(.shc-mobile-mode) .shc-mobile-page-spacer:not([hidden]) {
    display:block;
  }

  body:not(.shc-mobile-mode) .shc-mobile-bar [hidden] { display:none !important; }

  body:not(.shc-mobile-mode) .shc-mobile-cart-button:focus-visible,
  body:not(.shc-mobile-mode) .shc-mobile-qty-btn:focus-visible,
  body:not(.shc-mobile-mode) .shc-mobile-qty:focus-visible {
    outline:2px solid currentColor;
    outline-offset:2px;
  }
}
