* {
  box-sizing: border-box;
}

:root {
  --gc-bg: #f6f6f7;
  --gc-surface: #ffffff;
  --gc-border: #e8e8ea;
  --gc-muted: #7b7f87;
  --gc-text: #18181b;
  --gc-accent: #bd1f2d;
  --gc-black: #101012;
  --gc-radius-lg: 18px;
  --gc-radius-md: 12px;
  --gc-shadow: 0 8px 28px rgba(18, 18, 24, 0.06);
  --font-ui: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: var(--font-ui);
  color: var(--gc-text);
  background: var(--gc-bg);
}

body {
  padding: 0;
}

.gc-page {
  max-width: 100%;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  background: var(--gc-surface);
  overflow: visible;
  box-shadow: none;
}

.layout {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) minmax(300px, 360px);
  gap: 0;
  min-height: 0;
  align-items: start;
}

.left,
.center,
.right {
  min-width: 0;
}

.left {
  border-right: 1px solid var(--gc-border);
  padding: 28px 14px 28px 20px;
}

.left-head {
  display: grid;
  gap: 12px;
}

#stepNumber {
  display: none;
}

#stepList {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: gc-step;
  border-top: 1px solid #eff0f2;
}

#stepList .step-list-item {
  counter-increment: gc-step;
  cursor: pointer;
  border-bottom: 1px solid #eff0f2;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  color: #8c9099;
  font-size: 14px;
  letter-spacing: 0.01em;
  position: relative;
  padding-left: 8px;
  box-sizing: border-box;
}

#stepList .step-list-item::before {
  content: counter(gc-step, decimal-leading-zero);
  font-size: 54px;
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #c7cbd2;
}

#stepList .step-list-item.active-step {
  color: #16181c;
  font-weight: 600;
}

#stepList .step-list-item.active-step::before {
  color: var(--gc-accent);
}

#stepList .step-list-item.active-step::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 16px;
  width: 14px;
  height: 2px;
  background: var(--gc-accent);
}

#stepList .step-list-item:focus-visible {
  outline: 2px solid var(--gc-accent);
  outline-offset: -2px;
}

.center {
  padding: 26px 20px 24px;
  background: #fcfcfd;
  border-right: 1px solid var(--gc-border);
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 16px;
  overflow: visible;
}

.certificate-capture-root {
  width: min(100%, 760px);
  display: grid;
  justify-items: center;
  gap: 16px;
}

.card-preview-wrap {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  position: relative;
}

.card-preview-wrap--readonly {
  grid-template-columns: minmax(0, 1fr);
}

.card-preview-wrap--readonly .carousel-nav {
  display: none;
}

.card-preview {
  width: 100%;
  aspect-ratio: 1200 / 760;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #ececf0;
  box-shadow: 0 10px 22px rgba(15, 17, 22, 0.07);
  overflow: hidden;
  min-height: 0;
}

.card-preview-art {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.card-preview-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.certificate-band-overlay {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(8px, 1.1vw, 14px);
  align-items: center;
  padding: clamp(6px, 0.8vw, 9px) clamp(16px, 2.4vw, 26px);
  pointer-events: none;
}

.certificate-band-overlay.is-empty {
  opacity: 0;
}

.certificate-zone {
  min-width: 0;
}

.certificate-zone--left {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(4px, 0.6vw, 8px);
}

.certificate-zone--right {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: center;
  gap: clamp(4px, 0.6vw, 8px);
  border-left: 1px solid #d5d8de;
  padding-left: clamp(12px, 1.5vw, 16px);
  min-height: 0;
}

.certificate-band-overlay__brand {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: calc(var(--band-font-size, 28px) * 1.06);
  line-height: 0.95;
  white-space: nowrap;
  transform: translateY(-3px);
}

.certificate-brand-magic {
  color: #d0252e;
}

.certificate-brand-home {
  color: #0f1217;
}

.certificate-band-overlay__nominal {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #0f1217;
  font-size: calc(var(--band-font-size, 28px) * 0.9);
  line-height: 0.96;
  white-space: nowrap;
}

.certificate-meta-code-label {
  display: none;
}

.certificate-meta-code-value {
  display: none !important;
}

.certificate-meta-barcode {
  width: 100%;
  height: calc(var(--band-font-size, 28px) * 1.55);
  align-self: end;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.certificate-meta-caption {
  display: none !important;
}

.carousel-nav {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #dddddf;
  background: #fff;
  color: #24262b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  bottom: 34px;
  z-index: 3;
}

#designPrevBtn {
  left: 2px;
}

#designNextBtn {
  right: 2px;
}

.carousel-nav:hover {
  border-color: #c7cad0;
}

.design-carousel {
  width: 100%;
  display: grid;
  gap: 10px;
  padding-inline: 46px;
}

.design-carousel.is-hidden {
  display: none;
}

.design-carousel-row {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  overflow-x: auto;
  padding: 4px 4px 8px;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.design-carousel-row::-webkit-scrollbar {
  display: none;
}

.carousel-thumb {
  width: 100px;
  min-width: 100px;
  height: 74px;
  border: 1px solid #dddfe3;
  border-radius: 10px;
  background: #fff;
  padding: 2px;
  cursor: pointer;
  overflow: hidden;
}

.carousel-thumb-stack {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.carousel-thumb-band {
  display: none;
}

.carousel-thumb-active {
  border-color: var(--gc-accent);
  box-shadow: inset 0 0 0 1px var(--gc-accent);
}

.carousel-dots {
  display: none;
}

.right {
  padding: 32px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  min-height: 0;
}

#stepContent {
  display: grid;
  gap: 14px;
}

#stepContent h2 {
  margin: 0;
  font-family: "Times New Roman", "Georgia", serif;
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: lowercase;
}

#stepContent p {
  margin: 0;
  color: #636771;
  line-height: 1.55;
  font-size: 16px;
}

.price,
.total {
  font-size: 42px !important;
  color: #14161a !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}

.chips,
.chips-nominal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body[data-gc-step="1"] .chips-nominal {
  max-width: 500px;
  gap: 6px;
}

body[data-gc-step="1"] .right {
  padding: 18px 16px 12px;
  gap: 10px;
}

body[data-gc-step="1"] #stepContent {
  gap: 8px;
}

body[data-gc-step="1"] #stepContent h2 {
  font-size: clamp(34px, 3.2vw, 46px);
  margin-bottom: 0;
}

.chip,
.chip-nominal {
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid #dadde2;
  background: #fff;
  color: #1a1d23;
  font: 600 18px/1 var(--font-ui);
  cursor: pointer;
}

body[data-gc-step="1"] .chip-nominal {
  min-height: 34px;
  border-radius: 7px;
  font-size: 13px;
  padding: 0 8px;
}

.chip-active {
  border-color: var(--gc-accent);
  color: var(--gc-accent);
}

.nominal-custom {
  display: grid;
  gap: 8px;
}

.nominal-custom-label {
  color: #3c4048;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

body[data-gc-step="1"] .nominal-custom {
  max-width: 500px;
  gap: 4px;
}

body[data-gc-step="1"] .nominal-custom-field {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 7px;
}

body[data-gc-step="1"] .nominal-custom-label {
  font-size: 14px;
  font-weight: 600;
  color: #323640;
}

body[data-gc-step="1"] .price {
  margin-top: 0;
  font-size: clamp(40px, 3.8vw, 50px) !important;
}

body[data-gc-step="1"] .step-footer {
  margin-top: 2px;
  gap: 8px;
}

body[data-gc-step="1"] .step-footer .primary-btn {
  min-height: 44px;
}

.nominal-custom-field,
input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"],
input[type="tel"],
textarea,
input:not([type]) {
  width: 100%;
  border: 1px solid #dde0e5;
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 16px;
  font-family: var(--font-ui);
  color: #1a1d23;
  background: #fff;
}

textarea {
  min-height: 140px;
}

.privacy-consent {
  font-size: 13px;
  color: #6b707a;
}

.privacy-consent-wrap {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  cursor: pointer;
}

.privacy-consent-checkbox {
  width: 18px !important;
  height: 18px;
  margin: 1px 0 0;
  border-radius: 4px;
  accent-color: var(--gc-accent);
}

.privacy-consent a {
  color: var(--gc-accent);
}

body[data-gc-step="2"] #stepContent {
  gap: 10px;
}

body[data-gc-step="2"] #stepContent input[type="text"],
body[data-gc-step="2"] #stepContent input[type="email"],
body[data-gc-step="2"] #stepContent input[type="tel"] {
  min-height: 38px;
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 14px;
}

body[data-gc-step="2"] .privacy-consent {
  font-size: 12px;
  line-height: 1.42;
}

.methods {
  display: grid;
  gap: 10px;
}

.method-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  font-size: 20px;
}

.design-step-hint {
  color: #666c76 !important;
  font-size: 14px !important;
}

.payment-step-meta {
  display: grid;
  gap: 8px;
}

.payment-step-meta a {
  border: 1px solid #d8dbe1;
  min-height: 46px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111318;
  text-decoration: none;
}

.payment-step-meta small {
  color: #646a74;
}

.step-footer {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

@media (min-width: 1101px) {
  body[data-gc-step="0"] .right,
  body[data-gc-step="4"] .right {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  body[data-gc-step="0"] .right #stepContent,
  body[data-gc-step="4"] .right #stepContent {
    flex: 1 1 auto;
  }

  /* Design & certificate steps: keep title + body text at the top (avoid vertical centering). */
  body[data-gc-step="0"] .right #stepContent,
  body[data-gc-step="4"] .right #stepContent {
    align-content: start;
  }

  body[data-gc-step="0"] .right .step-footer,
  body[data-gc-step="4"] .right .step-footer {
    margin-top: auto;
    padding-top: 12px;
  }
}

.primary-btn {
  min-height: 50px;
  border-radius: 10px;
  border: 1px solid var(--gc-black);
  background: var(--gc-black);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
  font-weight: 600;
  padding: 0 16px;
  cursor: pointer;
}

.primary-btn--ghost {
  background: #fff;
  color: #15171b;
  border-color: #cfd3d9;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1100px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .left {
    border-right: 0;
    border-bottom: 1px solid var(--gc-border);
    padding: 12px 18px;
  }

  #stepList {
    border: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
  }

  #stepList .step-list-item {
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 78px;
    border: 1px solid #eceef2;
    border-radius: 12px;
    align-items: center;
    text-align: center;
    padding: 7px 3px;
    font-size: clamp(7px, 2.45vw, 11px);
    letter-spacing: -0.02em;
  }

  #stepList .step-list-item::before {
    font-size: clamp(22px, 6.2vw, 36px);
  }

  #stepList .step-list-item.active-step::after {
    display: none;
  }

  #stepList .step-list-item.active-step {
    box-shadow: inset 0 -2px 0 var(--gc-accent);
  }

  .center {
    border-right: 0;
    padding: 18px 16px 10px;
  }

  .right {
    padding: 8px 16px 18px;
  }

  .design-carousel {
    padding-inline: 42px;
  }

  .carousel-nav {
    bottom: 30px;
  }

  .card-preview-wrap--readonly {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
  }

  .card-preview-wrap--readonly .card-preview {
    width: min(100%, 760px);
    margin-inline: auto;
    display: block;
  }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .layout {
    grid-template-columns: 130px minmax(0, 1fr) minmax(250px, 300px);
    align-items: start;
  }

  .left {
    padding: 18px 10px 16px 12px;
    border-bottom: 0;
    border-right: 1px solid var(--gc-border);
  }

  #stepList {
    display: block;
    border-top: 1px solid #eff0f2;
  }

  #stepList .step-list-item {
    min-height: 74px;
    padding: 8px 4px 8px 6px;
    border: 0;
    border-bottom: 1px solid #eff0f2;
    border-radius: 0;
    align-items: flex-start;
    text-align: left;
  }

  #stepList .step-list-item::before {
    font-size: 48px;
  }

  .center {
    padding: 16px 12px 10px;
    border-right: 1px solid var(--gc-border);
  }

  .certificate-capture-root {
    width: min(100%, 620px);
  }

  .card-preview-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .card-preview-wrap--readonly .card-preview {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .card-preview-wrap--readonly {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
  }

  .design-carousel-row {
    gap: 10px;
    padding: 4px 6px 8px;
  }

  .design-carousel {
    padding-inline: 40px;
  }

  .carousel-thumb {
    width: 78px;
    min-width: 78px;
    height: 58px;
  }

  .right {
    padding: 16px 12px 14px;
    gap: 10px;
  }

  #stepContent h2 {
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1;
  }

  .certificate-band-overlay {
    gap: clamp(6px, 0.9vw, 10px);
    padding: clamp(5px, 0.8vw, 8px) clamp(12px, 1.9vw, 18px);
  }

  .certificate-zone--right {
    padding-left: clamp(10px, 1.2vw, 14px);
  }
}

@media (max-width: 992px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .left {
    padding: 10px 14px;
  }

  #stepList {
    gap: 5px;
  }

  #stepList .step-list-item {
    min-width: 0;
    min-height: 72px;
    padding: 6px 2px;
    font-size: clamp(7px, 2.35vw, 10px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #stepList .step-list-item::before {
    font-size: clamp(22px, 6vw, 34px);
  }

  .center {
    padding: 14px 14px 8px;
  }

  .certificate-capture-root {
    width: min(100%, 760px);
  }

  .card-preview-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .right {
    padding: 10px 14px 16px;
  }

  .design-carousel {
    padding-inline: 38px;
  }
}

@media (max-width: 820px) {
  #stepList .step-list-item {
    min-height: 64px;
    padding: 6px 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(7px, 2.25vw, 10px);
  }

  #stepList .step-list-item::before {
    font-size: clamp(20px, 5.5vw, 28px);
  }

  .card-preview-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .carousel-nav {
    width: 30px;
    height: 30px;
    bottom: 28px;
  }

  .carousel-nav-icon {
    width: 14px;
    height: 14px;
  }

  .design-carousel-row {
    gap: 8px;
    padding: 2px 2px 6px;
  }

  .design-carousel {
    padding-inline: 34px;
  }

  .carousel-thumb {
    width: 76px;
    min-width: 76px;
    height: 56px;
  }

  #stepContent h2 {
    font-size: clamp(44px, 6vw, 52px);
  }

  .certificate-band-overlay {
    padding: 5px 10px;
    gap: 6px;
  }

  .certificate-zone--right {
    padding-left: 10px;
  }
}

@media (max-width: 700px) {
  body {
    padding: 0;
  }

  .gc-page {
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }

  .left {
    padding: 8px 10px 10px;
  }

  #stepList .step-list-item {
    min-height: 68px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 6px 2px;
    font-size: clamp(7px, 2.3vw, 10px);
  }

  #stepList .step-list-item::before {
    font-size: clamp(21px, 5.8vw, 30px);
  }

  #stepList .step-list-item.active-step::after {
    display: none;
  }

  #stepList .step-list-item.active-step {
    box-shadow: inset 0 -2px 0 var(--gc-accent);
  }

  .card-preview-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .card-preview-wrap--readonly {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
  }

  .card-preview-wrap--readonly .card-preview {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .carousel-nav {
    width: 32px;
    height: 32px;
    bottom: 24px;
  }

  .carousel-thumb {
    width: 82px;
    min-width: 82px;
    height: 62px;
  }

  .design-carousel {
    padding-inline: 34px;
  }

  #stepContent h2 {
    font-size: 56px;
  }

  #stepContent p {
    font-size: 15px;
  }

  .chips,
  .chips-nominal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chip,
  .chip-nominal {
    min-height: 44px;
    font-size: 16px;
  }

  .price,
  .total {
    font-size: 36px !important;
  }

  .primary-btn {
    width: 100%;
  }

  /* Mobile step 5: remove extra blank space before site footer. */
  body[data-gc-step="4"] .center {
    padding-bottom: 4px;
  }

  body[data-gc-step="4"] .right {
    padding-top: 6px;
    padding-bottom: 6px;
    gap: 8px;
  }

  body[data-gc-step="4"] .right .step-footer {
    margin-top: 0;
    gap: 8px;
  }

  .certificate-band-overlay {
    padding: 4px 8px;
    gap: 5px;
  }

  .certificate-band-overlay__brand {
    font-size: calc(var(--band-font-size, 16px) * 0.98);
    transform: translateY(-1px);
  }

  .certificate-band-overlay__nominal {
    font-size: calc(var(--band-font-size, 16px) * 0.78);
  }

  .certificate-meta-code-value {
    min-height: calc(var(--band-font-size, 16px) * 0.9);
    font-size: calc(var(--band-font-size, 16px) * 0.52);
    letter-spacing: 0.02em;
    border-radius: 8px;
    padding: 1px 6px;
  }

  .certificate-meta-barcode {
    height: calc(var(--band-font-size, 16px) * 1.18);
  }
}

@media (max-width: 480px) {
  .left {
    padding: 8px 8px 10px;
  }

  #stepList {
    gap: 3px;
  }

  #stepList .step-list-item {
    min-height: 54px;
    border-radius: 10px;
    font-size: clamp(6.5px, 2.15vw, 9px);
    padding: 5px 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.03em;
  }

  #stepList .step-list-item::before {
    font-size: clamp(17px, 5vw, 22px);
  }

  .center {
    padding: 10px 8px 6px;
  }

  .card-preview-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .carousel-nav {
    width: 26px;
    height: 26px;
    bottom: 22px;
  }

  .carousel-thumb {
    width: 68px;
    min-width: 68px;
    height: 50px;
  }

  .design-carousel {
    padding-inline: 28px;
  }

  .right {
    padding: 8px 10px 14px;
  }

  #stepContent h2 {
    font-size: clamp(36px, 9vw, 46px);
  }

  #stepContent p {
    font-size: 14px;
  }
}

@media (max-width: 390px) {
  .certificate-band-overlay {
    padding: 3px 6px;
    gap: 4px;
  }

  .certificate-zone--left {
    gap: 3px;
  }

  .certificate-zone--right {
    gap: 3px;
    padding-left: 8px;
  }

  .certificate-band-overlay__brand {
    font-size: calc(var(--band-font-size, 14px) * 0.95);
  }

  .certificate-band-overlay__nominal {
    font-size: calc(var(--band-font-size, 14px) * 0.72);
  }

  .certificate-meta-code-value {
    min-height: calc(var(--band-font-size, 14px) * 0.85);
    font-size: calc(var(--band-font-size, 14px) * 0.49);
    padding: 1px 4px;
    border-radius: 6px;
  }

  .certificate-meta-barcode {
    height: calc(var(--band-font-size, 14px) * 1.08);
  }

  .card-preview-wrap--readonly .card-preview {
    width: min(100%, 520px);
  }
}

/* Stable tablet/mobile layout override to avoid mixed states */
@media (max-width: 1100px) {
  .layout {
    grid-template-columns: 1fr !important;
    align-items: start;
  }

  .left {
    border-right: 0 !important;
    border-bottom: 1px solid var(--gc-border);
    padding: 10px 12px !important;
  }

  #stepList {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 5px !important;
    border-top: 0;
    overflow: visible !important;
  }

  #stepList .step-list-item {
    min-width: 0 !important;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 64px;
    border: 1px solid #eceef2;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6px 2px;
    font-size: clamp(7px, 2.35vw, 10px);
    letter-spacing: -0.02em;
    border-bottom: 1px solid #eceef2;
  }

  #stepList .step-list-item::before {
    font-size: clamp(21px, 5.8vw, 30px);
  }

  #stepList .step-list-item.active-step::after {
    display: none !important;
  }

  #stepList .step-list-item.active-step {
    box-shadow: inset 0 -2px 0 var(--gc-accent);
  }

  .center {
    border-right: 0 !important;
    padding: 14px 12px 8px !important;
  }

  .certificate-capture-root {
    width: min(100%, 760px);
  }

  .card-preview-wrap {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px;
  }

  .card-preview-wrap--readonly {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
  }

  .card-preview-wrap--readonly .card-preview {
    width: min(100%, 760px);
    margin-inline: auto;
    display: block;
  }

  .carousel-nav {
    bottom: 26px;
  }

  .design-carousel {
    padding-inline: 34px;
  }

  .right {
    padding: 10px 12px 16px !important;
    gap: 12px;
  }

  #stepContent h2 {
    font-size: clamp(36px, 5.2vw, 48px);
  }
}

/* Tablet tuning for step 2 nominal selector */
@media (min-width: 701px) and (max-width: 1100px) {
  body[data-gc-step="1"] #stepContent {
    width: min(100%, 760px);
    margin-inline: auto;
    justify-items: stretch;
    gap: 12px;
  }

  body[data-gc-step="1"] #stepContent h2 {
    width: 100%;
    text-align: left;
    margin-bottom: 2px;
  }

  body[data-gc-step="1"] .chips-nominal {
    width: 100%;
    max-width: 760px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 2px;
  }

  body[data-gc-step="1"] .chip-nominal {
    width: 100%;
    min-height: 48px;
    font-size: 18px;
    border-radius: 10px;
    padding: 0 10px;
  }

  body[data-gc-step="1"] .nominal-custom {
    width: 100%;
    max-width: 760px;
    gap: 8px;
  }

  body[data-gc-step="1"] .nominal-custom-field {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 10px;
  }

  body[data-gc-step="1"] .price {
    width: 100%;
    text-align: left;
    margin-top: 6px;
    font-size: 56px !important;
  }
}
