:root {
  --shc-flag-radius: 8px;
}

:root {
  --shc-ruler-offset-x: -8px;
  --shc-ruler-offset-y: 8px;
}

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

.horizontal_ruler, .right_line, .left_line, #shc_width_label {
  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: 24px;
  box-shadow: 0 12px 34px rgba(84, 71, 124, 0.05);
  overflow: hidden;
  padding: 18px;
}

.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,
.shc-measure--no-rulers {
  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 .shc-stage-content,
#shc-stage.is-loading .shc-live,
#shc-stage.is-loading .shc-combined-svg,
#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;
}



/* 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));
}

/* 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 .vertical_ruler,
.shc-stage .horizontal_ruler,
.shc-stage .top_line,
.shc-stage .bottom_line,
.shc-stage .left_line,
.shc-stage .right_line,
.shc-stage #shc_width_label,
.shc-stage #shc_height_label {
  pointer-events: none;
}

#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;
  background: #fa5a28;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.35;
}

/* 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 {
  display: block;
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.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: 18px;
  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;
}

.shc-current-choice,
#shc-material-label,
#shc-material-field .shc-current-choice {
  margin-top: 8px;
  color: var(--e-global-color-vamtam_accent_3) !important;
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.shc-toggle-wide {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.shc-toggle .shc-btn {
  flex: 1;
  padding: 12px 14px;
  font-weight: 700;
}

.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: 14px !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;
}

.shc-color.is-disabled,
.shc-bg-color.is-disabled {
  opacity: 0.28 !important;
  cursor: not-allowed !important;
  filter: grayscale(0.25);
}

.shc-color.is-disabled .shc-color-dot,
.shc-bg-color.is-disabled .shc-color-dot {
  box-shadow: inset 0 0 0 2px rgba(15,23,42,0.18) !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;
}

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

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

.shc-checkbox input {
  display: none;
}

.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: 22px !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: hidden !important;
  overflow-x: hidden !important;
  padding: 10px;
  margin: 0;
  border-radius: 18px;
  scroll-snap-type: none;
  scroll-behavior: auto !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: none !important;
  overscroll-behavior-x: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

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

.shc-slide-item,
.shc-material-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: 16px !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:18px !important;
}

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

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

/* Font slider */
.shc-font-item {
  min-width: 100px !important;
  min-height: 58px !important;
  padding: 8px 18px !important;
  border: 0 !important;
  border-radius: 0 !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;
}

.shc-slider-track .shc-font-item + .shc-font-item,
.shc-font-slider .shc-font-item + .shc-font-item {
  border-left: 1px dotted rgba(255, 255, 255, 0.45);
}


button[data-font-label="Luckiest Guy"] {
  line-height: 0 !important;
  padding-bottom: 0 !important;
}

button[data-font-label="Cinzel"] {
  line-height: 0 !important;
  padding-bottom: 5px !important;
}

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

.shc-flag-thumb {
  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,
.shc-flag-thumb svg,
.shc-lib-preview--flag,
.shc-lib-preview--flag svg {
  border-radius: var(--shc-flag-radius);
  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;
}

/* Material */
#shc-material-field {
  margin-top: 4px;
}

#shc-material-field .shc-slider-wrap {
  grid-template-columns: 34px 1fr 34px;
  border-radius: 14px;
  background: #eef2f6;
}

#shc-material-field .shc-slider-track {
  gap: 10px;
  padding: 8px 10px;
  background: transparent;
  touch-action: pan-y !important;
  overscroll-behavior-x: contain;
}

#shc-material-field .shc-material-item {
  flex-direction: column;
  gap: 6px;
  min-width: 58px;
  padding: 4px 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  transform: none !important;
  opacity: 1 !important;
}

#shc-material-field .shc-material-item:hover,
#shc-material-field .shc-material-item.is-active {
  outline: none !important;
  background: transparent !important;
  border: 0 !important;
}

#shc-material-field .shc-material-thumb {
  width: 46px;
  height: 46px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid #ccc;
  box-shadow: none;
}

#shc-material-field .shc-material-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#shc-material-field .shc-material-text {
  display: none;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #231f20;
  font-weight: 700;
  white-space: nowrap;
}

#shc-material-field .shc-material-item.is-active .shc-material-thumb {
  outline: 2px solid var(--e-global-color-vamtam_accent_2) !important;
  outline-offset: 2px;
  border-color: #fff;
}

#shc-material-field .shc-material-item.is-active .shc-material-text {
  color: #fa5a28;
}

#shc-material-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: flex-start;
}

#shc-material-buttons .shc-material-item {
  cursor: pointer;
}

/* 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-icon svg[data-shc-preserve-colors="1"] *,
.shc-stage .shc-flag-thumb svg * {
  stroke: initial;
}

/* Live preview: flags / icons */
.shc-live .shc-flag-thumb {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px #fff;
}

.shc-live .shc-flag-thumb svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* 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,
.widget_shopping_cart .shc-thumb,
.woocommerce-mini-cart .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;
}

.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;
}

/* Accordion */
.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 {
  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;
  background: var(--e-global-color-vamtam_accent_2) !important;
  color: var(--e-global-color-vamtam_accent_5) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  position: relative;
}

/* oude › verbergen */
.shc-accordion-icon {
  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;
}

.shc-section:not(.shc-section-text) .shc-card-head {
  margin-bottom: 0 !important;
}

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

.shc-section:not(.shc-section-text) .shc-card-body {
  display: none;
  overflow: hidden;
}

.shc-section-text .shc-card-body {
  display: block;
  overflow: hidden;
}

/* Template-specific */
.shc-template-standard_sticker .shc-section-extras,
.shc-template-standard_sticker .shc-section-text {
  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: 1.55rem;
  }

  .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_height_label {
    width: 66px;
  }

  .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-font-item {
    min-width: 132px;
    min-height: 52px;
    padding: 7px 12px;
    font-size: 22px;
  }

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

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

  #shc-material-field .shc-slider-wrap {
    grid-template-columns: 30px 1fr 30px;
  }

  #shc-material-field .shc-slider-track {
    gap: 8px;
    padding: 8px;
  }

  #shc-material-field .shc-material-item {
    min-width: 68px;
  }

  #shc-material-field .shc-material-thumb {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  #shc-material-field .shc-material-text {
    font-size: 10px;
  }

  #shc-material-buttons {
    gap: 10px;
  }
}

/* Background color slider uses the same styling as the standard color slider. */

/* Unified option sliders: flags, icons and backgrounds */
.shc-icon-item,
.shc-background-item {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.shc-icon-thumb,
.shc-background-thumb {
  width: 54px;
  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;
  }
}


