#sc-configurator,
#sc-configurator * {
  box-sizing: border-box;
}

.sc-page-shell {
  width: 100%;
  max-width: 1180px;
  margin: 24px auto;
  padding: 0 12px;
}

#sc-configurator button,
#sc-configurator input,
#sc-configurator textarea,
#sc-configurator select {
  font: inherit;
}

#sc-configurator button {
  cursor: pointer;
}

.sc-product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  gap: 28px;
  width: 100%;
  align-items: start;
}

.sc-preview-panel,
.sc-config-panel {
  background: #fff;
  border: 1px solid #d9e1e7;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(23, 32, 38, 0.12);
}

.sc-preview-panel {
  position: sticky;
  top: 96px;
  align-self: start;
  min-height: 650px;
  overflow: hidden;
}

.sc-preview-tools,
.sc-preview-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 18px;
}

.sc-preview-tools {
  justify-content: flex-end;
  border-bottom: 1px solid #d9e1e7;
}

.sc-preview-tools span {
  margin-right: auto;
  color: #66717a;
  font-size: 14px;
}

.sc-icon-button {
  width: 36px;
  height: 36px;
  border: 1px solid #d9e1e7;
  border-radius: 6px;
  background: #fff;
  color: #172026;
  font-weight: 800;
}

.sc-preview-surface {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 530px;
  padding: 42px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(23, 32, 38, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(23, 32, 38, 0.055) 1px, transparent 1px),
    #f7fafb;
  background-size: 26px 26px;
}

.sc-guide {
  position: absolute;
  left: var(--sc-guide-left, 40px);
  right: var(--sc-guide-right, 40px);
  height: 2px;
  background: #e9331b;
  z-index: 2;
  pointer-events: none;
  transition: top 0.16s ease, bottom 0.16s ease, left 0.16s ease, right 0.16s ease;
}

.sc-guide-top {
  top: var(--sc-guide-top, 38%);
}

.sc-guide-bottom {
  bottom: var(--sc-guide-bottom, 38%);
}

.sc-dimension-label {
  position: absolute;
  top: var(--sc-dimension-top, 32%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  color: #e9331b;
  font-size: 13px;
  font-weight: 800;
  pointer-events: none;
  transition: top 0.16s ease, left 0.16s ease, width 0.16s ease;
}

.sc-dimension-label::before,
.sc-dimension-label::after {
  content: "";
  flex: 1;
  min-width: 18px;
  height: 1px;
  background: #e9331b;
}

.sc-dimension-label::before {
  margin-right: 7px;
  clip-path: polygon(0 50%, 8px 0, 8px 38%, 100% 38%, 100% 62%, 8px 62%, 8px 100%);
}

.sc-dimension-label::after {
  margin-left: 7px;
  clip-path: polygon(100% 50%, calc(100% - 8px) 0, calc(100% - 8px) 38%, 0 38%, 0 62%, calc(100% - 8px) 62%, calc(100% - 8px) 100%);
}

.sc-dimension-label span {
  padding: 2px 7px;
  background: #fff;
  border: 1px solid rgba(233, 51, 27, 0.35);
  border-radius: 999px;
  white-space: nowrap;
}

.sc-dimension-label-secondary {
  z-index: 4;
  color: #1769aa;
}

.sc-dimension-label-secondary::before,
.sc-dimension-label-secondary::after {
  background: #1769aa;
}

.sc-dimension-label-secondary span {
  border-color: rgba(23, 105, 170, 0.35);
}

.sc-dimension-label-total {
  z-index: 4;
  color: #172026;
}

.sc-dimension-label-total::before,
.sc-dimension-label-total::after {
  background: #172026;
}

.sc-dimension-label-total span {
  border-color: rgba(23, 32, 38, 0.28);
}

.sc-total-size-reminder {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #d9e1e7;
  border-radius: 6px;
  background: #f7fafb;
  color: #66717a;
  font-size: 13px;
}

.sc-total-size-reminder strong {
  color: #172026;
}

.sc-sticker-shadow {
  position: relative;
  z-index: 4;
  max-width: 100%;
  padding: 16px 24px;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.12));
}

.sc-sticker-shadow.sc-combined-preview {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.sc-sticker-preview {
  position: relative;
  z-index: 6;
  min-width: 100px;
  color: #111;
  cursor: grab;
  touch-action: none;
  user-select: none;
  font-size: 72px;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;
  overflow-wrap: normal;
  transform-origin: center;
}

.sc-sticker-preview.sc-multiline {
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.sc-logo-preview {
  position: relative;
  z-index: 5;
  order: -1;
  display: grid;
  place-items: center;
  width: min(320px, 70vw);
  max-width: 100%;
  color: #111;
  cursor: grab;
  touch-action: none;
  user-select: none;
  transform-origin: center;
}

.sc-logo-preview svg {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
}

.sc-sticker-preview.is-dragging,
.sc-logo-preview.is-dragging {
  cursor: grabbing;
}

.sc-sticker-preview.is-selected-live-item,
.sc-logo-preview.is-selected-live-item {
  filter: drop-shadow(0 0 0.35rem rgba(233, 51, 27, 0.28));
}

.sc-sticker-preview.sc-stencil {
  -webkit-text-stroke: 2px currentColor;
  color: transparent;
}

.sc-preview-meta {
  justify-content: space-between;
  color: #66717a;
  border-top: 1px solid #d9e1e7;
}

.sc-config-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.sc-product-heading {
  padding-bottom: 0;
  border-bottom: 1px solid #d9e1e7;
}

.sc-product-heading .sc-crumb,
.sc-product-heading h1,
.sc-product-heading:has(.sc-rating[hidden]) {
  display: none;
}

.sc-crumb {
  margin: 0 0 8px;
  color: #126b8f;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.sc-product-heading h1 {
  margin: 0 0 12px;
  color: #172026;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: 0;
}

.sc-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f3a400;
}

.sc-rating strong {
  color: #172026;
}

.sc-rating small {
  color: #66717a;
}

.sc-step {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #f3f7f8;
  border: 1px solid #d9e1e7;
  border-radius: 8px;
}

.sc-step-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sc-step-title span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
  background: #126b8f;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.sc-step-title h2 {
  margin: 0;
  color: #172026;
  font-size: 18px;
}

#sc-configurator textarea,
#sc-configurator input,
#sc-configurator select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: #172026;
  background: #fff;
  border: 1px solid #c7d2da;
  border-radius: 6px;
}

#sc-configurator textarea {
  resize: vertical;
}

#sc-configurator label {
  display: grid;
  gap: 7px;
  color: #66717a;
  font-size: 13px;
  font-weight: 700;
}

.sc-specials,
.sc-font-tabs,
.sc-mode-tabs,
.sc-qty-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sc-specials button,
.sc-font-tabs button,
.sc-mode-tabs button,
.sc-qty-row button,
.sc-font-card,
.sc-logo-card,
.sc-material-card {
  min-height: 38px;
  border: 1px solid #c7d2da;
  border-radius: 6px;
  background: #fff;
  color: #172026;
}

.sc-specials button {
  width: 38px;
}

.sc-font-tabs button {
  padding: 0 12px;
}

.sc-mode-tabs button {
  flex: 1 1 160px;
  padding: 0 14px;
  font-weight: 800;
}

.sc-mode-tabs button.active,
.sc-font-tabs button.active,
.sc-qty-row button.active,
.sc-font-card.active,
.sc-logo-card.active,
.sc-material-card.active {
  border-color: #e64123;
  box-shadow: inset 0 0 0 2px #e64123;
}

.sc-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.sc-logo-card {
  display: grid;
  gap: 6px;
  min-height: 86px;
  padding: 10px;
  text-align: center;
}

.sc-logo-card svg {
  width: 42px;
  height: 42px;
  margin: 0 auto;
  color: #172026;
}

.sc-logo-card span {
  color: #66717a;
  font-size: 12px;
}

.sc-font-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.sc-font-card {
  display: grid;
  gap: 4px;
  min-height: 64px;
  padding: 9px 10px;
  text-align: left;
}

.sc-font-card strong {
  font-size: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sc-font-card span {
  color: #66717a;
  font-size: 12px;
}

.sc-color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 30px);
  gap: 7px;
  justify-content: start;
}

.sc-material-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sc-material-card {
  display: grid;
  gap: 4px;
  min-height: 54px;
  padding: 9px 10px;
  text-align: left;
}

.sc-material-card strong {
  overflow: hidden;
  color: #172026;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sc-material-card span {
  color: #66717a;
  font-size: 12px;
}

.sc-native-material-field {
  display: none !important;
}

.sc-swatch {
  position: relative;
  width: 30px;
  height: 30px;
  aspect-ratio: 1;
  min-height: 0;
  border: 1px solid rgba(23, 32, 38, 0.18);
  border-radius: 6px;
  background: var(--swatch);
}

.sc-swatch.active::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid #fff;
  border-radius: 4px;
  box-shadow: 0 0 0 2px #172026;
}

.sc-two-cols {
  grid-template-columns: 1fr 1fr;
}

.sc-size-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

#sc-configurator .sc-check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #172026;
  font-size: 14px;
  font-weight: 600;
}

#sc-configurator .sc-check-row input {
  width: 18px;
  min-height: 18px;
  accent-color: #e64123;
}

.sc-qty-row input {
  width: 96px;
}

.sc-qty-row button {
  width: 42px;
}

.sc-qty-custom-group {
  display: inline-flex;
  align-items: stretch;
  flex: 0 0 auto;
  gap: 58px;
}

.sc-quantity-stepper {
  display: inline-grid;
  grid-template-columns: 42px minmax(72px, 96px) 42px;
  align-items: stretch;
  justify-content: start;
  gap: 6px;
}

#sc-configurator .sc-quantity-stepper button,
#sc-configurator .sc-quantity-stepper input {
  width: 100%;
  min-height: 40px;
  margin: 0;
}

.sc-config-panel .sc-quantity-stepper button {
  border: 1px solid #00cfff !important;
  border-radius: 6px;
  color: #04131a !important;
  background: #39dcff !important;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 0 14px rgba(0, 207, 255, 0.28);
}

.sc-config-panel .sc-quantity-stepper input {
  color: #0f172a !important;
  border-color: rgba(0, 174, 232, 0.48) !important;
  background: #e8f8ff !important;
  padding: 0 !important;
  text-align: center !important;
  -moz-appearance: textfield;
  appearance: textfield;
  box-shadow: inset 0 0 0 1px rgba(0, 207, 255, 0.12);
}

.sc-config-panel .sc-quantity-stepper input::-webkit-inner-spin-button,
.sc-config-panel .sc-quantity-stepper input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

/* Keep quantity presets aligned: 100 beside 50, custom stepper below. */
.sc-config-panel .sc-qty-row {
  display: grid;
  grid-template-columns: repeat(5, 42px);
  justify-content: center;
  gap: 8px;
}

.sc-config-panel .sc-qty-row > button,
.sc-config-panel .sc-qty-custom-group > button {
  width: 42px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  line-height: 38px;
  text-align: center;
}

.sc-config-panel .sc-qty-custom-group {
  display: contents;
}

.sc-config-panel .sc-quantity-stepper {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 8px;
}

.sc-secondary-action {
  min-height: 40px;
  padding: 0 14px;
  color: #172026;
  background: #fff;
  border: 1px solid #c7d2da;
  border-radius: 6px;
  font-weight: 800;
}

.sc-checkout {
  position: sticky;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: #172026;
  border-radius: 8px;
}

.sc-checkout small {
  display: block;
  margin-bottom: 4px;
  color: #aab7bd;
}

.sc-checkout strong {
  color: #fff;
  font-size: 28px;
}

.sc-checkout button,
#sc-cart-dialog button {
  min-height: 46px;
  padding: 0 22px;
  color: #fff;
  background: #e64123;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
}

.sc-checkout button:hover,
#sc-cart-dialog button:hover {
  background: #bb2f18;
}

.sc-trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 24px;
}

.sc-trust-band article {
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 22px;
  background: #fff;
  border: 1px solid #d9e1e7;
}

.sc-trust-band strong {
  color: #14785f;
}

.sc-trust-band span {
  color: #66717a;
}

#sc-cart-dialog {
  width: min(420px, calc(100vw - 32px));
  border: 0;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(23, 32, 38, 0.12);
}

#sc-cart-dialog::backdrop {
  background: rgba(23, 32, 38, 0.45);
}

.sticker-configurator-link {
  margin: 1rem 0;
}

.sc-product-embedded {
  margin: 0;
}

.sc-preview-extracted {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
}

.sc-preview-extracted .sc-config-panel {
  width: 100%;
}

.sc-live-cover-host {
  width: 100%;
  min-height: 452px;
}

.sc-live-cover-host .sc-preview-panel {
  position: relative;
  top: auto;
  width: 100%;
  min-height: 0;
  box-shadow: none;
}

.sc-live-cover-host .sc-preview-surface {
  min-height: 330px;
  aspect-ratio: 1 / 1;
  padding: 28px;
}

.sc-preview-in-product-cover .product-cover {
  min-height: 452px;
}

.sc-product-cover-hidden {
  display: none !important;
}

.sc-example-images {
  padding: 14px 18px 18px;
  border-top: 1px solid #d9e1e7;
}

.sc-example-images-title {
  margin-bottom: 10px;
  color: #66717a;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.sc-example-images .js-qv-mask,
.sc-example-images .mask {
  width: 100%;
  height: auto;
  overflow: visible;
}

.sc-example-images .product-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.sc-example-images .thumb-container {
  width: auto;
  height: auto;
  margin: 0;
  list-style: none;
}

.sc-example-images .thumb {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border: 1px solid #d9e1e7;
  border-radius: 6px;
}

.sc-font-picker-button,
.sc-text-editor-button {
  min-height: 44px;
  padding: 0 14px;
  color: #172026;
  background: #fff;
  border: 1px solid #c7d2da;
  border-radius: 6px;
  font-weight: 800;
  text-align: left;
}

.sc-font-picker-dialog,
.sc-text-editor-dialog {
  width: min(560px, calc(100vw - 24px));
  max-height: 86vh;
  padding: 18px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(23, 32, 38, 0.28);
}

.sc-font-picker-dialog::backdrop,
.sc-text-editor-dialog::backdrop {
  background: rgba(23, 32, 38, 0.55);
}

.sc-font-picker-dialog h2,
.sc-text-editor-dialog h2 {
  margin: 0 48px 14px 0;
  color: #172026;
  font-size: 22px;
}

.sc-font-picker-dialog form,
.sc-text-editor-dialog form {
  position: absolute;
  top: 12px;
  right: 12px;
}

.sc-font-picker-close,
.sc-text-editor-close {
  width: 36px;
  height: 36px;
  color: #fff;
  background: #172026;
  border: 0;
  border-radius: 50%;
  font-weight: 800;
}

.sc-font-picker-content {
  display: grid;
  gap: 12px;
}

.sc-font-picker-validate,
.sc-text-editor-validate {
  width: 100%;
  min-height: 54px;
  margin-top: 14px;
  color: #fff;
  background: #e64123;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  font-size: 16px;
}

.sc-font-picker-preview,
.sc-text-editor-preview {
  display: grid;
  place-items: center;
  min-height: 110px;
  margin-bottom: 14px;
  padding: 16px;
  color: #111;
  background:
    linear-gradient(90deg, rgba(23, 32, 38, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(23, 32, 38, 0.055) 1px, transparent 1px),
    #f7fafb;
  background-size: 22px 22px;
  border: 1px solid #d9e1e7;
  border-radius: 8px;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  overflow-wrap: anywhere;
}

.sc-text-editor-input {
  width: 100%;
  min-height: 132px;
  padding: 12px;
  color: #172026;
  background: #fff;
  border: 1px solid #c7d2da;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.35;
  resize: vertical;
}

#sc-configurator[data-sc-text-editor-ready="1"] #sc-text-input,
#sc-configurator[data-sc-text-editor-ready="1"] .sc-text-panel .sc-specials {
  display: none;
}

.sc-gallery-dialog {
  width: min(920px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(23, 32, 38, 0.28);
}

.sc-gallery-dialog::backdrop {
  background: rgba(23, 32, 38, 0.62);
}

.sc-gallery-dialog img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 86vh;
  object-fit: contain;
}

.sc-gallery-dialog form {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.sc-gallery-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  background: #111827;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.sc-cart-preview {
  margin-top: 20px;
  padding: 18px;
  background: #fff;
  border: 1px solid #d9e1e7;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(23, 32, 38, 0.12);
}

.sc-cart-preview h3 {
  margin: 0 0 12px;
  color: #172026;
  font-size: 18px;
}

.sc-cart-preview-content {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
}

.sc-cart-preview-art {
  display: grid;
  place-items: center;
  min-height: 80px;
  padding: 10px;
  background: #f7fafb;
  border: 1px solid #d9e1e7;
  border-radius: 6px;
  color: #111;
  text-align: center;
  overflow: hidden;
}

.sc-cart-preview-art svg {
  width: 76px;
  height: auto;
}

.sc-cart-preview-summary,
.sc-cart-preview-empty {
  margin: 0;
  color: #66717a;
}

.sc-reassurance-moved {
  margin: 18px 0;
  padding: 18px;
  background: #fff;
  border: 1px solid #d9e1e7;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(23, 32, 38, 0.12);
}

.sc-reassurance-moved .block-title,
.sc-reassurance-moved p {
  color: #66717a;
}

[data-sc-hidden-native-customization="1"],
[data-sc-hidden-empty-variants="1"],
[data-sc-hidden-native-qty="1"],
[data-sc-hidden-social-sharing="1"],
[data-sc-hidden-native-cover="1"],
[data-sc-hidden-native-buybox="1"] {
  display: none !important;
}

.sc-product-title-holder {
  max-width: 960px;
  margin: 0 auto 18px;
  padding: 0 12px;
}

.sc-product-title-holder .product-detail-name {
  margin: 0;
  color: #172026;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: 0;
}

@media (max-width: 1180px) {
  .sc-product {
    grid-template-columns: 1fr;
  }

  .sc-preview-panel {
    position: static;
    min-height: auto;
  }

  .sc-preview-surface {
    min-height: 380px;
  }
}

@media (max-width: 680px) {
  .sc-config-panel {
    padding: 14px;
  }

  .sc-page-shell {
    margin-top: 14px;
    padding: 0 12px;
  }

  .sc-preview-tools,
  .sc-preview-meta {
    min-height: 40px;
    padding: 0 10px;
    font-size: 12px;
  }

  .sc-preview-surface {
    min-height: 0;
    padding: 12px 10px;
  }

  .sc-sticker-shadow {
    padding: 6px 6px;
  }

  .sc-sticker-preview {
    font-size: min(40px, var(--sc-preview-font-size, 40px));
  }

  .sc-preview-panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    position: static;
    top: 0;
    z-index: 5;
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .sc-config-editing .sc-preview-panel {
    position: static;
  }

  .sc-config-panel {
    position: relative;
    z-index: 10;
    background: #fff;
  }

  #sc-text-input {
    min-height: 112px;
    font-size: 16px;
    line-height: 1.35;
    touch-action: manipulation;
    position: relative;
    z-index: 30;
    background: #fff;
  }

  .sc-example-images {
    padding: 6px 10px 8px;
  }

  .sc-example-images-title {
    margin-bottom: 6px;
    font-size: 11px;
  }

  .sc-example-images .product-images {
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .sc-example-images .thumb {
    width: 44px;
    height: 44px;
  }

  .sc-font-grid,
  .sc-two-cols,
  .sc-trust-band {
    grid-template-columns: 1fr;
  }

  .sc-font-picker-dialog .sc-font-grid,
  .sc-logo-grid {
    grid-template-columns: 1fr;
  }

  #sc-configurator .sc-font-tabs,
  #sc-configurator .sc-font-grid {
    display: none;
  }

  .sc-font-picker-dialog .sc-font-tabs,
  .sc-font-picker-dialog .sc-font-grid {
    display: flex;
  }

  .sc-font-picker-dialog .sc-font-grid {
    display: grid;
  }

  .sc-font-picker-preview,
  .sc-text-editor-preview {
    min-height: 96px;
    font-size: 34px;
  }

  .sc-color-grid {
    grid-template-columns: repeat(auto-fill, 28px);
    gap: 6px;
  }

  .sc-swatch {
    width: 28px;
    height: 28px;
  }

  .sc-material-grid {
    grid-template-columns: 1fr;
  }

  .sc-checkout {
    align-items: stretch;
    flex-direction: column;
    position: static;
  }

  .sc-checkout strong {
    font-size: 24px;
  }

  .sc-product-heading h1 {
    font-size: 30px;
  }

  .sc-product-title-holder .product-detail-name {
    font-size: 30px;
  }
}

/* CreativColor neon skin */
#sc-configurator {
  --sc-neon-panel: rgba(10, 16, 27, 0.92);
  --sc-neon-border: rgba(255, 255, 255, 0.12);
  --sc-neon-text: #f7fbff;
  --sc-neon-muted: rgba(247, 251, 255, 0.66);
  --sc-neon-pink: #ff4fd8;
  --sc-neon-cyan: #00cfff;
  --sc-neon-gradient: linear-gradient(135deg, #ff4fd8 0%, #7b4dff 48%, #00cfff 100%);
  color: var(--sc-neon-text);
}

#sc-configurator .sc-preview-panel,
#sc-configurator .sc-config-panel {
  border: 1px solid var(--sc-neon-border);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 79, 216, 0.10), transparent 28%),
    radial-gradient(circle at 86% 0%, rgba(0, 207, 255, 0.12), transparent 30%),
    var(--sc-neon-panel);
  box-shadow:
    0 26px 72px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(0, 207, 255, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

#sc-configurator .sc-preview-panel {
  border-color: rgba(210, 220, 232, 0.90);
  background: rgba(246, 250, 255, 0.96);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

#sc-configurator .sc-config-panel {
  border-color: rgba(0, 207, 255, 0.62);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 79, 216, 0.08), transparent 28%),
    radial-gradient(circle at 86% 0%, rgba(0, 207, 255, 0.14), transparent 30%),
    rgba(22, 31, 47, 0.94);
  box-shadow:
    0 26px 72px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(0, 207, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

#sc-configurator .sc-preview-tools,
#sc-configurator .sc-preview-meta {
  border-color: rgba(210, 220, 232, 0.80);
  color: #64748b;
  background: rgba(245, 248, 252, 0.82);
}

#sc-configurator .sc-preview-tools span,
#sc-configurator .sc-preview-meta span {
  color: #64748b;
}

#sc-configurator label,
#sc-configurator .sc-rating small,
#sc-configurator .sc-total-size-reminder {
  color: var(--sc-neon-muted);
}

#sc-configurator .sc-logo-card span,
#sc-configurator .sc-font-card span,
#sc-configurator .sc-material-card span,
#sc-configurator .sc-material-card small {
  color: #64748b;
}

#sc-configurator .sc-preview-surface {
  background:
    linear-gradient(90deg, rgba(0, 207, 255, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(123, 77, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #eef7ff 0%, #f7f9ff 48%, #edfaff 100%);
  background-size: 26px 26px, 26px 26px, auto;
}

#sc-configurator .sc-icon-button,
#sc-configurator .sc-specials button,
#sc-configurator .sc-font-tabs button,
#sc-configurator .sc-mode-tabs button,
#sc-configurator .sc-qty-row button,
#sc-configurator .sc-font-card,
#sc-configurator .sc-logo-card,
#sc-configurator .sc-material-card {
  border-color: rgba(214, 224, 238, 0.92);
  color: #172026;
  background: rgba(248, 251, 255, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

#sc-configurator .sc-icon-button:hover,
#sc-configurator .sc-specials button:hover,
#sc-configurator .sc-font-tabs button:hover,
#sc-configurator .sc-mode-tabs button:hover,
#sc-configurator .sc-qty-row button:hover,
#sc-configurator .sc-font-card:hover,
#sc-configurator .sc-logo-card:hover,
#sc-configurator .sc-material-card:hover {
  border-color: rgba(255, 79, 216, 0.70);
  box-shadow: 0 0 22px rgba(255, 79, 216, 0.18);
}

#sc-configurator .sc-step {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  background:
    radial-gradient(circle at 96% 0%, rgba(0, 207, 255, 0.08), transparent 30%),
    rgba(3, 7, 14, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#sc-configurator .sc-step-title span {
  background: var(--sc-neon-gradient);
  box-shadow: 0 0 22px rgba(0, 207, 255, 0.28);
}

#sc-configurator .sc-step-title h2,
#sc-configurator .sc-product-heading h1,
#sc-configurator .sc-rating strong,
#sc-configurator .sc-total-size-reminder strong {
  color: var(--sc-neon-text);
}

#sc-configurator .sc-logo-card svg,
#sc-configurator .sc-font-card strong {
  color: #172026;
}

#sc-configurator textarea,
#sc-configurator input,
#sc-configurator select {
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--sc-neon-text);
  background: rgba(3, 7, 14, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#sc-configurator textarea:focus,
#sc-configurator input:focus,
#sc-configurator select:focus {
  outline: none;
  border-color: rgba(0, 207, 255, 0.78);
  box-shadow: 0 0 0 3px rgba(0, 207, 255, 0.12), 0 0 24px rgba(0, 207, 255, 0.16);
}

#sc-configurator .sc-mode-tabs button.active,
#sc-configurator .sc-font-tabs button.active,
#sc-configurator .sc-qty-row button.active,
#sc-configurator .sc-font-card.active,
#sc-configurator .sc-logo-card.active,
#sc-configurator .sc-material-card.active {
  border-color: rgba(0, 207, 255, 0.90);
  box-shadow:
    inset 0 0 0 2px rgba(0, 207, 255, 0.70),
    0 0 26px rgba(0, 207, 255, 0.22),
    0 0 18px rgba(255, 79, 216, 0.14);
}

#sc-configurator .sc-dimension-label span {
  color: #0f172a;
  border-color: rgba(0, 174, 232, 0.42);
  background: rgba(239, 248, 255, 0.92);
  box-shadow: none;
}

#sc-configurator .sc-dimension-label,
#sc-configurator .sc-dimension-label::before,
#sc-configurator .sc-dimension-label::after,
#sc-configurator .sc-guide {
  color: #00aee8;
  background-color: #00aee8;
}

#sc-configurator .sc-guide {
  display: none;
}

#sc-configurator .sc-dimension-label:not(.sc-dimension-label-total) {
  transform: translateY(-16px);
}

#sc-configurator .sc-dimension-label-total {
  transform: translateY(18px);
}

#sc-configurator .sc-dimension-label-secondary,
#sc-configurator .sc-dimension-label-secondary::before,
#sc-configurator .sc-dimension-label-secondary::after {
  color: var(--sc-neon-cyan);
  background-color: var(--sc-neon-cyan);
}

#sc-configurator .sc-dimension-label-secondary span {
  color: var(--sc-neon-cyan);
  border-color: rgba(0, 207, 255, 0.50);
}

#sc-configurator .sc-sticker-preview,
#sc-configurator .sc-logo-preview,
#sc-configurator .sc-sticker-shadow,
#sc-configurator .sc-sticker-preview.is-selected-live-item,
#sc-configurator .sc-logo-preview.is-selected-live-item {
  filter: none;
}

#sc-configurator .sc-dimension-label-total span {
  color: var(--sc-neon-text);
  border-color: rgba(255, 255, 255, 0.28);
}

#sc-configurator .sc-checkout {
  border: 1px solid rgba(0, 207, 255, 0.30);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 79, 216, 0.14), transparent 32%),
    rgba(3, 7, 14, 0.86);
  box-shadow: 0 0 34px rgba(0, 207, 255, 0.14);
}

#sc-configurator .sc-step .sc-checkout {
  position: static;
  margin-top: 14px;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sc-step .sc-checkout {
  position: static;
  margin-top: 14px;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#sc-configurator .sc-checkout button,
#sc-configurator .sc-secondary-action {
  border: 0;
  color: #fff;
  background: var(--sc-neon-gradient);
  box-shadow: 0 0 28px rgba(0, 207, 255, 0.24), 0 0 22px rgba(255, 79, 216, 0.18);
}

@media (max-width: 920px) {
  .cc-product-page:has(#sc-configurator) {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .cc-product-page:has(#sc-configurator) .cc-preview-column,
  .cc-product-page:has(#sc-configurator) .cc-preview-area,
  .cc-product-page:has(#sc-configurator) .cc-configurator-wrapper,
  .cc-product-page:has(#sc-configurator) #sc-configurator,
  .cc-product-page:has(#sc-configurator) .sc-page-shell {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-column: auto !important;
  }

  .cc-product-page:has(#sc-configurator) #sc-configurator.sc-product {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .cc-product-page:has(#sc-configurator) .sc-preview-panel,
  .cc-product-page:has(#sc-configurator) .sc-config-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .cc-product-page:has(#sc-configurator) .sc-config-panel .sc-step {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .cc-product-page:has(#sc-configurator) .sc-qty-row {
    display: grid;
    grid-template-columns: repeat(5, 42px);
    justify-content: center;
    gap: 8px;
  }

  .cc-product-page:has(#sc-configurator) .sc-qty-row > button,
  .cc-product-page:has(#sc-configurator) .sc-qty-custom-group > button {
    width: 42px;
  }

  .cc-product-page:has(#sc-configurator) .sc-qty-custom-group {
    display: contents;
  }

  .cc-product-page:has(#sc-configurator) .sc-quantity-stepper {
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 8px;
  }

  .cc-product-page:has(#sc-configurator) .sc-checkout,
  .cc-product-page:has(#sc-configurator) .sc-checkout button {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .cc-product-page:has(#sc-configurator) .cc-product-side,
  .cc-product-page:has(#sc-configurator) .cc-reassurance-inline {
    display: none !important;
  }
}
