/* Think Gifts AI Studio v3.5.5 — isolated Step 2 layout. */

.tgms .tgms-wizard-screen--style,
body .tgms .tgms-wizard-screen--style {
  box-sizing: border-box !important;
  display: block !important;
  width: min(1420px, calc(100vw - 80px)) !important;
  max-width: 1420px !important;
  margin: 0 auto !important;
  padding: 28px 36px 28px !important;
  border: 1px solid #eadbd2 !important;
  border-radius: 28px !important;
  background: #fffdfb !important;
  box-shadow: 0 18px 46px rgba(92, 18, 10, 0.045) !important;
  color: #2d1915 !important;
}

.tgms .tgms-style-page-header,
body .tgms .tgms-style-page-header {
  display: block !important;
  margin: 0 0 20px !important;
}

.tgms .tgms-style-page-header .tgms-wizard-screen-kicker,
body .tgms .tgms-style-page-header .tgms-wizard-screen-kicker {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 32px !important;
  padding: 0 14px !important;
  margin: 0 0 12px !important;
  border-radius: 999px !important;
  background: #fff0e5 !important;
  color: #a26345 !important;
  font: 800 11px/1 "DM Sans", Arial, sans-serif !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}

.tgms .tgms-style-page-header h3,
body .tgms .tgms-style-page-header h3 {
  margin: 0 0 8px !important;
  color: #5c120a !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(42px, 3.6vw, 58px) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: -.025em !important;
}

.tgms .tgms-style-page-header .tgms-wizard-intro,
body .tgms .tgms-style-page-header .tgms-wizard-intro {
  margin: 0 !important;
  color: #716159 !important;
  font: 500 16px/1.5 "DM Sans", Arial, sans-serif !important;
}

.tgms .tgms-style-fixed-layout,
body .tgms .tgms-style-fixed-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.68fr) minmax(390px, .92fr) !important;
  gap: 18px !important;
  align-items: start !important;
  width: 100% !important;
}

.tgms .tgms-style-fixed-left,
body .tgms .tgms-style-fixed-left,
.tgms .tgms-style-fixed-right,
body .tgms .tgms-style-fixed-right {
  min-width: 0 !important;
}

.tgms .tgms-style-fixed-right,
body .tgms .tgms-style-fixed-right {
  display: grid !important;
  gap: 14px !important;
}

.tgms .tgms-style-panel,
body .tgms .tgms-style-panel,
.tgms .tgms-upload-panel,
body .tgms .tgms-upload-panel,
.tgms .tgms-font-panel,
body .tgms .tgms-font-panel,
.tgms .tgms-color-panel,
body .tgms .tgms-color-panel {
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
  border: 1px solid #eadbd2 !important;
  border-radius: 22px !important;
  background: #fffdfb !important;
  box-shadow: none !important;
}

.tgms .tgms-style-panel,
body .tgms .tgms-style-panel {
  padding: 18px !important;
}

.tgms .tgms-style-panel > label,
body .tgms .tgms-style-panel > label {
  display: block !important;
  margin: 0 0 16px !important;
  color: #241512 !important;
  font: 800 15px/1.35 "DM Sans", Arial, sans-serif !important;
}

.tgms .tgms-style-cards,
body .tgms .tgms-style-cards {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  width: 100% !important;
}

.tgms .tgms-style-card,
body .tgms .tgms-style-card {
  appearance: none !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  min-width: 0 !important;
  min-height: 164px !important;
  padding: 10px !important;
  border: 1px solid #e8d9d0 !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: #2a1713 !important;
  text-align: left !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease !important;
}

.tgms .tgms-style-card:hover,
body .tgms .tgms-style-card:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(122, 22, 12, .38) !important;
  box-shadow: 0 8px 18px rgba(88, 19, 11, .06) !important;
}

.tgms .tgms-style-card.is-active,
body .tgms .tgms-style-card.is-active {
  border-color: #301618 !important;
  background: #fffdfa !important;
  box-shadow: 0 0 0 1px rgba(122, 22, 12, .08) !important;
}

.tgms .tgms-style-thumb,
body .tgms .tgms-style-thumb {
  position: relative !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  height: 86px !important;
  min-height: 86px !important;
  padding: 8px !important;
  margin: 0 0 10px !important;
  overflow: hidden !important;
  border-radius: 11px !important;
  isolation: isolate !important;
}

.tgms .tgms-style-thumb::before,
body .tgms .tgms-style-thumb::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
}

.tgms .tgms-style-thumb--premium::before,
body .tgms .tgms-style-thumb--premium::before { background: linear-gradient(135deg,#fff8eb 0%,#f3e5c9 55%,#d9b879 100%) !important; }
.tgms .tgms-style-thumb--minimal::before,
body .tgms .tgms-style-thumb--minimal::before { background: linear-gradient(135deg,#fff 0%,#f7f2ee 100%) !important; }
.tgms .tgms-style-thumb--cute::before,
body .tgms .tgms-style-thumb--cute::before { background: linear-gradient(135deg,#fff1f6 0%,#fbd8e6 100%) !important; }
.tgms .tgms-style-thumb--funny::before,
body .tgms .tgms-style-thumb--funny::before { background: linear-gradient(135deg,#fff2d9 0%,#ffc87e 100%) !important; }
.tgms .tgms-style-thumb--floral::before,
body .tgms .tgms-style-thumb--floral::before { background: linear-gradient(135deg,#fff6fb 0%,#f7ddec 100%) !important; }
.tgms .tgms-style-thumb--luxury::before,
body .tgms .tgms-style-thumb--luxury::before { background: linear-gradient(135deg,#4d271b 0%,#89623d 50%,#d9a64f 100%) !important; }
.tgms .tgms-style-thumb--corporate::before,
body .tgms .tgms-style-thumb--corporate::before { background: linear-gradient(135deg,#eef8fa 0%,#cde8ee 100%) !important; }
.tgms .tgms-style-thumb--arabic::before,
body .tgms .tgms-style-thumb--arabic::before { background: linear-gradient(135deg,#fff8ec 0%,#ecd9b9 100%) !important; }

.tgms .tgms-style-meta,
body .tgms .tgms-style-meta {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px !important;
  padding: 0 2px !important;
}

.tgms .tgms-style-meta strong,
body .tgms .tgms-style-meta strong {
  color: #2b1713 !important;
  font: 800 13px/1.3 "DM Sans", Arial, sans-serif !important;
}

.tgms .tgms-style-meta em,
body .tgms .tgms-style-meta em {
  color: #7a6960 !important;
  font: 500 11px/1.35 "DM Sans", Arial, sans-serif !important;
  font-style: normal !important;
}

.tgms .tgms-upload-panel,
body .tgms .tgms-upload-panel {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 132px !important;
  padding: 18px 22px !important;
  text-align: center !important;
  cursor: pointer !important;
}

.tgms .tgms-upload-panel input,
body .tgms .tgms-upload-panel input { display: none !important; }

.tgms .tgms-upload-panel .tgms-upload-icon,
body .tgms .tgms-upload-panel .tgms-upload-icon {
  display: grid !important;
  place-items: center !important;
  width: 44px !important;
  height: 44px !important;
  margin: 0 0 8px !important;
  color: #301618 !important;
  background: transparent !important;
}

.tgms .tgms-upload-panel .tgms-upload-icon svg,
body .tgms .tgms-upload-panel .tgms-upload-icon svg {
  width: 38px !important;
  height: 38px !important;
}

.tgms .tgms-upload-panel strong,
body .tgms .tgms-upload-panel strong {
  margin: 0 !important;
  color: #301618 !important;
  font: 800 17px/1.35 "DM Sans", Arial, sans-serif !important;
}

.tgms .tgms-upload-panel em,
body .tgms .tgms-upload-panel em {
  margin: 7px 0 0 !important;
  color: #8d7a71 !important;
  font: 500 12px/1.45 "DM Sans", Arial, sans-serif !important;
  font-style: normal !important;
}

.tgms .tgms-reference-panel:empty,
body .tgms .tgms-reference-panel:empty { display: none !important; }

.tgms .tgms-font-panel,
body .tgms .tgms-font-panel,
.tgms .tgms-color-panel,
body .tgms .tgms-color-panel {
  padding: 16px 18px !important;
}

.tgms .tgms-font-panel > label,
body .tgms .tgms-font-panel > label {
  display: block !important;
  margin: 0 0 12px !important;
  color: #2a1814 !important;
  font: 600 15px/1.35 "DM Sans", Arial, sans-serif !important;
}

.tgms .tgms-soft-label,
body .tgms .tgms-soft-label {
  color: #7e6f67 !important;
  font-weight: 500 !important;
}

.tgms .tgms-font-panel select,
body .tgms .tgms-font-panel select,
.tgms .tgms-color-panel select,
body .tgms .tgms-color-panel select,
.tgms .tgms-color-panel .tgms-color-hex,
body .tgms .tgms-color-panel .tgms-color-hex {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 48px !important;
  padding: 0 16px !important;
  border: 1px solid #e5d5cc !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #2b1915 !important;
  font: 500 14px/1 "DM Sans", Arial, sans-serif !important;
  box-shadow: none !important;
}

.tgms .tgms-color-panel .tgms-check-row,
body .tgms .tgms-color-panel .tgms-check-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 11px !important;
  margin: 0 0 8px !important;
  color: #2a1814 !important;
  font: 800 15px/1.35 "DM Sans", Arial, sans-serif !important;
}

.tgms .tgms-color-panel .tgms-check-row input,
body .tgms .tgms-color-panel .tgms-check-row input {
  width: 20px !important;
  height: 20px !important;
  margin: 1px 0 0 !important;
  accent-color: #301618 !important;
}

.tgms .tgms-color-panel .tgms-helper,
body .tgms .tgms-color-panel .tgms-helper {
  margin: 0 0 14px 31px !important;
  color: #8d7c73 !important;
  font: 500 11px/1.5 "DM Sans", Arial, sans-serif !important;
}

.tgms .tgms-color-panel .tgms-mini-label,
body .tgms .tgms-color-panel .tgms-mini-label {
  display: block !important;
  margin: 0 0 8px !important;
  color: #2b1915 !important;
  font: 700 13px/1.35 "DM Sans", Arial, sans-serif !important;
}

.tgms .tgms-color-panel .tgms-color-row,
body .tgms .tgms-color-panel .tgms-color-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 0 14px !important;
}

.tgms .tgms-color-panel .tgms-color,
body .tgms .tgms-color-panel .tgms-color {
  flex: 0 0 40px !important;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  overflow: hidden !important;
}

.tgms .tgms-style-fixed-actions,
body .tgms .tgms-style-fixed-actions {
  display: grid !important;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr) !important;
  gap: 18px !important;
  width: 100% !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.tgms .tgms-style-fixed-actions .tgms-wizard-secondary,
body .tgms .tgms-style-fixed-actions .tgms-wizard-secondary,
.tgms .tgms-style-fixed-actions .tgms-generate,
body .tgms .tgms-style-fixed-actions .tgms-generate {
  width: 100% !important;
  min-height: 58px !important;
  margin: 0 !important;
  border-radius: 16px !important;
  font: 800 15px/1 "DM Sans", Arial, sans-serif !important;
}

.tgms .tgms-style-fixed-actions .tgms-wizard-secondary,
body .tgms .tgms-style-fixed-actions .tgms-wizard-secondary {
  border: 1px solid #eadbd2 !important;
  background: #fffdfb !important;
  color: #6d1a11 !important;
}

.tgms .tgms-style-fixed-actions .tgms-generate,
body .tgms .tgms-style-fixed-actions .tgms-generate {
  border: 1px solid #78150b !important;
  background: linear-gradient(180deg, #8f170b 0%, #6e1209 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(108, 20, 10, .18) !important;
}

.tgms .tgms-wizard-screen--style > .tgms-note,
body .tgms .tgms-wizard-screen--style > .tgms-note { display: none !important; }

/* Centre every wizard screen on the same axis. */
.tgms .tgms-workspace-topbar,
body .tgms .tgms-workspace-topbar,
.tgms .tgms-clean-journey,
body .tgms .tgms-clean-journey,
.tgms .tgms-alert,
body .tgms .tgms-alert,
.tgms .tgms-left,
body .tgms .tgms-left,
.tgms .tgms-right,
body .tgms .tgms-right {
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 1180px) {
  .tgms .tgms-wizard-screen--style,
  body .tgms .tgms-wizard-screen--style {
    width: min(960px, calc(100vw - 32px)) !important;
    padding: 24px !important;
  }
  .tgms .tgms-style-fixed-layout,
  body .tgms .tgms-style-fixed-layout {
    grid-template-columns: 1fr !important;
  }
  .tgms .tgms-style-cards,
  body .tgms .tgms-style-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .tgms .tgms-wizard-screen--style,
  body .tgms .tgms-wizard-screen--style {
    width: calc(100vw - 20px) !important;
    padding: 20px 14px !important;
    border-radius: 20px !important;
  }
  .tgms .tgms-style-page-header h3,
  body .tgms .tgms-style-page-header h3 {
    font-size: 38px !important;
  }
  .tgms .tgms-style-cards,
  body .tgms .tgms-style-cards,
  .tgms .tgms-style-fixed-actions,
  body .tgms .tgms-style-fixed-actions {
    grid-template-columns: 1fr !important;
  }
}
