/* Think Gifts AI Mockup Studio v3.6.4
   Figma frame 1597881008 converted to the live WordPress / WooCommerce plugin. */

.tgms.tgms-figma-ai-364,
body .tgms.tgms-figma-ai-364 {
  --tg-figma-ink: #301618;
  --tg-figma-cream: #FEF7EF;
  --tg-figma-soft: #FCF5F1;
  --tg-figma-line: #E7DCD3;
  --tg-figma-panel-line: rgba(186,186,186,.39);
  --tg-figma-card-shadow: 0 -1px 5.3px rgba(0,0,0,.25);
  --tg-figma-max: 1312px;
  font-family: Karla, Arial, sans-serif !important;
}

/* Only redesign Create with AI. The embedded manual editor remains untouched. */
.tgms.tgms-figma-ai-364:not(.tgms-upload-mode) .tgms-workspace-shell,
body .tgms.tgms-figma-ai-364:not(.tgms-upload-mode) .tgms-workspace-shell {
  position: relative !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 65px 64px 80px !important;
  overflow: visible !important;
  border: 1px solid #fff !important;
  background: linear-gradient(180deg,#fff 0%,#fff 44%,var(--tg-figma-cream) 100%) !important;
  box-shadow: 0 10px 6.65px rgba(61,10,1,.25) !important;
}

.tgms.tgms-figma-ai-364:not(.tgms-upload-mode) .tgms-panel[data-panel="ai"],
body .tgms.tgms-figma-ai-364:not(.tgms-upload-mode) .tgms-panel[data-panel="ai"],
.tgms.tgms-figma-ai-364:not(.tgms-upload-mode) .tgms-panel[data-panel="ai"] .tgms-layout,
body .tgms.tgms-figma-ai-364:not(.tgms-upload-mode) .tgms-panel[data-panel="ai"] .tgms-layout {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.tgms.tgms-figma-ai-364:not(.tgms-upload-mode) .tgms-studio-hero,
.tgms.tgms-figma-ai-364:not(.tgms-upload-mode) .tgms-studio-tabs,
.tgms.tgms-figma-ai-364:not(.tgms-upload-mode) .tgms-ai-toolbar,
body .tgms.tgms-figma-ai-364:not(.tgms-upload-mode) .tgms-studio-hero,
body .tgms.tgms-figma-ai-364:not(.tgms-upload-mode) .tgms-studio-tabs,
body .tgms.tgms-figma-ai-364:not(.tgms-upload-mode) .tgms-ai-toolbar {
  display: none !important;
}

/* Figma header */
.tgms .tgms-figma-ai-header,
body .tgms .tgms-figma-ai-header {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: min(var(--tg-figma-max),100%) !important;
  margin: 0 auto 65px !important;
}
.tgms .tgms-figma-title-block,
body .tgms .tgms-figma-title-block {
  width: 100% !important;
  text-align: center !important;
}
.tgms .tgms-figma-title-block h2,
body .tgms .tgms-figma-title-block h2 {
  margin: 0 !important;
  color: var(--tg-figma-ink) !important;
  font-family: "Cormorant Garamond",Georgia,serif !important;
  font-size: 52.36px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}
.tgms .tgms-figma-title-block p,
body .tgms .tgms-figma-title-block p {
  margin: 1px 0 0 !important;
  color: #222 !important;
  font-family: Karla,Arial,sans-serif !important;
  font-size: 26.18px !important;
  line-height: 1.705 !important;
  font-weight: 400 !important;
}
.tgms .tgms-figma-header-back,
body .tgms .tgms-figma-header-back {
  position: absolute !important;
  top: -22px !important;
  left: 0 !important;
}
.tgms .tgms-figma-back,
body .tgms .tgms-figma-back {
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  border: 1px solid var(--tg-figma-line) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.82) !important;
  color: var(--tg-figma-ink) !important;
  font: 700 13px/1 Karla,Arial,sans-serif !important;
  box-shadow: none !important;
}

.tgms .tgms-figma-progress,
body .tgms .tgms-figma-progress {
  display: grid !important;
  grid-template-columns: 98px 98px 104px 98px 93px !important;
  justify-content: center !important;
  align-items: center !important;
  column-gap: 94px !important;
  width: 100% !important;
  margin-top: 65px !important;
}
.tgms .tgms-figma-progress-step,
body .tgms .tgms-figma-progress-step {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  color: #000 !important;
}
.tgms .tgms-figma-progress-step span,
body .tgms .tgms-figma-progress-step span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 27.75px !important;
  min-width: 27.75px !important;
  height: 27.75px !important;
  border: 1.725px solid var(--tg-figma-ink) !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #000 !important;
  font: 400 14.12px/1 Karla,Arial,sans-serif !important;
}
.tgms .tgms-figma-progress-step strong,
body .tgms .tgms-figma-progress-step strong {
  color: #000 !important;
  font: 400 13.3px/1.705 Karla,Arial,sans-serif !important;
  white-space: nowrap !important;
}
.tgms .tgms-figma-progress-step.is-active span,
body .tgms .tgms-figma-progress-step.is-active span,
.tgms .tgms-figma-progress-step.is-complete span,
body .tgms .tgms-figma-progress-step.is-complete span {
  background: var(--tg-figma-ink) !important;
  color: #fff !important;
}
.tgms .tgms-figma-progress i,
body .tgms .tgms-figma-progress i {
  display: block !important;
  width: 97.72px !important;
  height: 1.725px !important;
  background: var(--tg-figma-ink) !important;
  opacity: .9 !important;
}

/* Main 366 / 366 / 540 grid from Figma */
.tgms .tgms-figma-ai-grid,
body .tgms .tgms-figma-ai-grid {
  display: grid !important;
  grid-template-columns: 366px 366px minmax(500px,540px) !important;
  gap: 20px !important;
  align-items: start !important;
  width: min(var(--tg-figma-max),100%) !important;
  max-width: var(--tg-figma-max) !important;
  margin: 0 auto !important;
}
.tgms .tgms-figma-ai-grid > .tgms-wizard-screen,
.tgms .tgms-figma-ai-grid > .tgms-right,
body .tgms .tgms-figma-ai-grid > .tgms-wizard-screen,
body .tgms .tgms-figma-ai-grid > .tgms-right {
  box-sizing: border-box !important;
  position: relative !important;
  inset: auto !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 765px !important;
  min-height: 765px !important;
  max-height: 765px !important;
  margin: 0 !important;
  overflow: hidden !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  pointer-events: auto !important;
  z-index: 1 !important;
}
.tgms .tgms-figma-ai-grid > .tgms-figma-col,
body .tgms .tgms-figma-ai-grid > .tgms-figma-col {
  padding: 40px 20px !important;
  border: 1.725px solid var(--tg-figma-panel-line) !important;
  border-radius: 15.522px !important;
  background: rgba(255,255,255,.66) !important;
  box-shadow: var(--tg-figma-card-shadow) !important;
}

/* Left column */
.tgms .tgms-figma-describe > h3,
body .tgms .tgms-figma-describe > h3,
.tgms .tgms-figma-upload-block > h4,
body .tgms .tgms-figma-upload-block > h4,
.tgms .tgms-figma-customize-head h3,
body .tgms .tgms-figma-customize-head h3,
.tgms .tgms-figma-live-head h3,
body .tgms .tgms-figma-live-head h3,
.tgms .tgms-figma-mockups > h3,
body .tgms .tgms-figma-mockups > h3 {
  margin: 0 !important;
  color: var(--tg-figma-ink) !important;
  font-family: "Cormorant Garamond",Georgia,serif !important;
  font-size: 20px !important;
  line-height: 1.705 !important;
  font-weight: 700 !important;
}
.tgms .tgms-figma-describe .tgms-prompt,
body .tgms .tgms-figma-describe .tgms-prompt {
  box-sizing: border-box !important;
  width: 317px !important;
  max-width: 100% !important;
  min-height: 102px !important;
  height: 102px !important;
  margin: 16px 0 0 !important;
  padding: 14px 17px 28px !important;
  resize: none !important;
  border: 1.725px solid rgba(0,0,0,.12) !important;
  border-radius: 3.449px !important;
  background: rgba(255,255,255,.72) !important;
  color: #222 !important;
  font: 400 12px/1.705 Karla,Arial,sans-serif !important;
  box-shadow: none !important;
}
.tgms .tgms-figma-describe .tgms-count,
body .tgms .tgms-figma-describe .tgms-count {
  position: relative !important;
  align-self: flex-end !important;
  margin: -29px 10px 0 0 !important;
  color: rgba(0,0,0,.5) !important;
  font: 400 12px/1.705 Karla,Arial,sans-serif !important;
  z-index: 2 !important;
}
.tgms .tgms-figma-describe .tgms-prompt-simple,
body .tgms .tgms-figma-describe .tgms-prompt-simple {
  margin: 40px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.tgms .tgms-figma-describe .tgms-simple-head,
body .tgms .tgms-figma-describe .tgms-simple-head {
  display: block !important;
  margin: 0 0 16px !important;
}
.tgms .tgms-figma-describe .tgms-simple-head strong,
body .tgms .tgms-figma-describe .tgms-simple-head strong {
  color: var(--tg-figma-ink) !important;
  font-family: "Cormorant Garamond",Georgia,serif !important;
  font-size: 20px !important;
  line-height: 1.705 !important;
  font-weight: 700 !important;
}
.tgms .tgms-figma-describe .tgms-example-buttons,
body .tgms .tgms-figma-describe .tgms-example-buttons {
  display: grid !important;
  grid-template-columns: repeat(2,146px) !important;
  gap: 14px 30px !important;
  width: 100% !important;
}
.tgms .tgms-figma-describe .tgms-example-buttons button,
body .tgms .tgms-figma-describe .tgms-example-buttons button {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 146px !important;
  min-height: 32px !important;
  height: 32px !important;
  padding: 0 10px !important;
  border: 1.725px solid var(--tg-figma-line) !important;
  border-radius: 51px !important;
  background: transparent !important;
  color: #67272d !important;
  font: 400 12.72px/1 Karla,Arial,sans-serif !important;
  text-align: left !important;
  box-shadow: none !important;
}
.tgms .tgms-figma-describe .tgms-example-buttons button:nth-child(2),
body .tgms .tgms-figma-describe .tgms-example-buttons button:nth-child(2) {
  border-color: #67272d !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 5.7px rgba(0,0,0,.25) !important;
}
.tgms .tgms-figma-upload-block,
body .tgms .tgms-figma-upload-block {
  margin-top: 40px !important;
}
.tgms .tgms-figma-upload-block > h4,
body .tgms .tgms-figma-upload-block > h4 {
  margin-bottom: 16px !important;
}
.tgms .tgms-figma-upload-block .tgms-upload-panel,
body .tgms .tgms-figma-upload-block .tgms-upload-panel {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 316px !important;
  max-width: 100% !important;
  min-height: 99px !important;
  height: 99px !important;
  margin: 0 !important;
  padding: 12px 40px !important;
  border: 1.725px solid rgba(0,0,0,.12) !important;
  border-radius: 3.449px !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
}
.tgms .tgms-figma-upload-block .tgms-upload-panel .tgms-upload-icon,
body .tgms .tgms-figma-upload-block .tgms-upload-panel .tgms-upload-icon {
  width: 24px !important;
  height: 24px !important;
  margin: 0 0 8px !important;
  color: #7a6a63 !important;
}
.tgms .tgms-figma-upload-block .tgms-upload-panel strong,
body .tgms .tgms-figma-upload-block .tgms-upload-panel strong {
  display: none !important;
}
.tgms .tgms-figma-upload-block .tgms-upload-panel em,
body .tgms .tgms-figma-upload-block .tgms-upload-panel em {
  width: 153px !important;
  margin: 0 !important;
  color: rgba(0,0,0,.5) !important;
  font: 400 11.29px/1.705 Karla,Arial,sans-serif !important;
  font-style: normal !important;
}
.tgms .tgms-figma-upload-block .tgms-reference-result,
body .tgms .tgms-figma-upload-block .tgms-reference-result {
  margin: 6px 0 0 !important;
  color: #67272d !important;
  font-size: 11px !important;
}
.tgms .tgms-figma-quick-styles,
body .tgms .tgms-figma-quick-styles {
  display: grid !important;
  grid-template-columns: repeat(4,1fr) !important;
  gap: 10px !important;
  width: 316px !important;
  max-width: 100% !important;
  margin-top: 16px !important;
}
.tgms .tgms-figma-style-card,
body .tgms .tgms-figma-style-card {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  width: 72px !important;
  min-width: 0 !important;
  height: 69px !important;
  min-height: 69px !important;
  padding: 8px 4px !important;
  border: 1.725px solid var(--tg-figma-line) !important;
  border-radius: 5px !important;
  background: transparent !important;
  color: #67272d !important;
  box-shadow: none !important;
}
.tgms .tgms-figma-style-card.is-active,
body .tgms .tgms-figma-style-card.is-active {
  border-color: #67272d !important;
  box-shadow: 0 4px 4.6px rgba(0,0,0,.25) !important;
}
.tgms .tgms-figma-style-icon,
body .tgms .tgms-figma-style-icon {
  display: block !important;
  width: 23px !important;
  height: 23px !important;
}
.tgms .tgms-figma-style-icon svg,
body .tgms .tgms-figma-style-icon svg {
  width: 100% !important;
  height: 100% !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.5 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
.tgms .tgms-figma-style-card strong,
body .tgms .tgms-figma-style-card strong {
  color: #67272d !important;
  font: 400 11.3px/1.1 Karla,Arial,sans-serif !important;
}
.tgms .tgms-figma-style-card.is-active strong,
body .tgms .tgms-figma-style-card.is-active strong { font-weight: 700 !important; }
.tgms .tgms-figma-clear,
body .tgms .tgms-figma-clear {
  appearance: none !important;
  width: 316.64px !important;
  max-width: 100% !important;
  min-height: 45px !important;
  height: 45px !important;
  margin: auto 0 0 !important;
  padding: 0 18px !important;
  border: 1px solid var(--tg-figma-ink) !important;
  border-radius: 10px !important;
  background: var(--tg-figma-soft) !important;
  color: var(--tg-figma-ink) !important;
  font: 700 16px/1 Karla,Arial,sans-serif !important;
  letter-spacing: .8px !important;
  box-shadow: none !important;
}

/* Center column */
.tgms .tgms-figma-customize-head,
body .tgms .tgms-figma-customize-head { width: 100% !important; }
.tgms .tgms-figma-customize-head p,
body .tgms .tgms-figma-customize-head p {
  margin: 5px 0 0 !important;
  color: #222 !important;
  font: 400 13px/1.705 Karla,Arial,sans-serif !important;
}
.tgms .tgms-figma-custom-fields,
body .tgms .tgms-figma-custom-fields {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  width: 100% !important;
  margin-top: 30px !important;
}
.tgms .tgms-figma-field,
body .tgms .tgms-figma-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  width: 100% !important;
  margin: 0 !important;
}
.tgms .tgms-figma-field > span,
body .tgms .tgms-figma-field > span {
  color: #000 !important;
  font: 300 13.32px/1.705 Karla,Arial,sans-serif !important;
}
.tgms .tgms-figma-field input[type="text"],
.tgms .tgms-figma-field select,
body .tgms .tgms-figma-field input[type="text"],
body .tgms .tgms-figma-field select {
  box-sizing: border-box !important;
  width: 316px !important;
  max-width: 100% !important;
  min-height: 46px !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 17px !important;
  border: 1px solid var(--tg-figma-line) !important;
  border-radius: 8.623px !important;
  background: #fff !important;
  color: #67272d !important;
  font: 400 12.4px/1 Karla,Arial,sans-serif !important;
  box-shadow: none !important;
}
.tgms .tgms-figma-color-row,
body .tgms .tgms-figma-color-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.tgms .tgms-figma-color-row .tgms-color,
body .tgms .tgms-figma-color-row .tgms-color {
  width: 91px !important;
  min-width: 91px !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 5px !important;
  border: 1px solid var(--tg-figma-line) !important;
  border-radius: 8.623px !important;
  background: #fff !important;
  overflow: hidden !important;
}
.tgms .tgms-figma-color-row .tgms-color-hex,
body .tgms .tgms-figma-color-row .tgms-color-hex {
  width: auto !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 46px !important;
  padding: 0 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #67272d !important;
  font-size: 15px !important;
}
.tgms .tgms-figma-ai-auto,
body .tgms .tgms-figma-ai-auto {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  width: 100% !important;
  color: #000 !important;
  font: 300 13.32px/1.705 Karla,Arial,sans-serif !important;
}
.tgms .tgms-figma-ai-auto input,
body .tgms .tgms-figma-ai-auto input {
  width: 27px !important;
  height: 25px !important;
  margin: 0 !important;
  border: 1px solid var(--tg-figma-line) !important;
  border-radius: 2px !important;
  accent-color: var(--tg-figma-ink) !important;
}
.tgms .tgms-figma-generate-slot,
body .tgms .tgms-figma-generate-slot {
  width: 100% !important;
  margin-top: auto !important;
}
.tgms .tgms-figma-generate,
body .tgms .tgms-figma-generate {
  appearance: none !important;
  width: 100% !important;
  min-height: 45px !important;
  height: 45px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--tg-figma-ink) !important;
  color: #fff !important;
  font: 700 16px/1 Karla,Arial,sans-serif !important;
  letter-spacing: .8px !important;
  box-shadow: none !important;
}

/* Right column */
.tgms .tgms-figma-ai-grid > .tgms-figma-review,
body .tgms .tgms-figma-ai-grid > .tgms-figma-review {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.tgms .tgms-figma-live-card,
body .tgms .tgms-figma-live-card {
  box-sizing: border-box !important;
  position: relative !important;
  width: 540.22px !important;
  max-width: 100% !important;
  height: 424px !important;
  padding: 40px 20px 20px !important;
  border: 2.155px solid #e0dbd8 !important;
  border-radius: 19.393px !important;
  background: linear-gradient(180deg,#fff 0%,#fff8f3 80.23%) !important;
  overflow: hidden !important;
}
.tgms .tgms-figma-live-head,
body .tgms .tgms-figma-live-head {
  position: relative !important;
  z-index: 4 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  width: 100% !important;
}
.tgms .tgms-figma-before-after,
body .tgms .tgms-figma-before-after {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  width: 143.84px !important;
  height: 33.46px !important;
  margin-top: 12px !important;
  padding: 0 !important;
  border: 1px solid #e0dbd8 !important;
  border-radius: 70.5px !important;
  background: #fff !important;
  overflow: hidden !important;
}
.tgms .tgms-figma-before-after button,
body .tgms .tgms-figma-before-after button {
  appearance: none !important;
  width: 100% !important;
  min-height: 31px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 70.5px !important;
  background: transparent !important;
  color: #000 !important;
  font: 400 11.9px/1 Karla,Arial,sans-serif !important;
  box-shadow: none !important;
}
.tgms .tgms-figma-before-after button.is-active,
body .tgms .tgms-figma-before-after button.is-active {
  background: var(--tg-figma-ink) !important;
  color: #fff !important;
}
.tgms .tgms-figma-ai-badge,
body .tgms .tgms-figma-ai-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-width: 82px !important;
  height: 36.32px !important;
  padding: 0 12px !important;
  border-radius: 99px !important;
  background: #fff !important;
  color: #000 !important;
  font: 400 17.64px/1 Oxygen,Karla,Arial,sans-serif !important;
}
.tgms .tgms-figma-ai-badge b,
body .tgms .tgms-figma-ai-badge b {
  color: #d59a31 !important;
  font-size: 20px !important;
}
.tgms .tgms-figma-live-stage,
body .tgms .tgms-figma-live-stage {
  position: absolute !important;
  inset: 105px 20px 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  border-radius: 12px !important;
}
.tgms .tgms-figma-live-stage .tgms-ai-product-stage,
body .tgms .tgms-figma-live-stage .tgms-ai-product-stage {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 10px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
}
.tgms .tgms-figma-live-stage .tgms-ai-product-img,
body .tgms .tgms-figma-live-stage .tgms-ai-product-img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
.tgms .tgms-figma-live-stage .tgms-ai-product-side,
body .tgms .tgms-figma-live-stage .tgms-ai-product-side { display: none !important; }
.tgms .tgms-figma-live-stage .tgms-empty,
body .tgms .tgms-figma-live-stage .tgms-empty {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 30px !important;
  background: rgba(255,255,255,.72) !important;
  text-align: center !important;
  z-index: 3 !important;
}
.tgms .tgms-figma-live-stage .tgms-artwork-placeholder,
body .tgms .tgms-figma-live-stage .tgms-artwork-placeholder { color: #d59a31 !important; }
.tgms .tgms-figma-live-stage .tgms-preview-loading,
body .tgms .tgms-figma-live-stage .tgms-preview-loading {
  position: absolute !important;
  inset: 0 !important;
  z-index: 5 !important;
  background: rgba(255,255,255,.92) !important;
}
.tgms .tgms-figma-review.is-before .tgms-ai-product-mask,
body .tgms .tgms-figma-review.is-before .tgms-ai-product-mask { visibility: hidden !important; }
.tgms .tgms-figma-production-state,
body .tgms .tgms-figma-production-state,
.tgms .tgms-figma-review-hidden,
body .tgms .tgms-figma-review-hidden { display: none !important; }

.tgms .tgms-figma-mockups,
body .tgms .tgms-figma-mockups {
  width: 540px !important;
  max-width: 100% !important;
  margin-top: 40px !important;
}
.tgms .tgms-figma-mockups > h3,
body .tgms .tgms-figma-mockups > h3 {
  color: #000 !important;
  margin-bottom: 16px !important;
}
.tgms .tgms-figma-mockups .tgms-options,
body .tgms .tgms-figma-mockups .tgms-options {
  display: grid !important;
  grid-template-columns: repeat(4,1fr) !important;
  gap: 22px !important;
  width: 100% !important;
  min-height: 129px !important;
}
.tgms .tgms-figma-mockups .tgms-options > *,
body .tgms .tgms-figma-mockups .tgms-options > * {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 129px !important;
  min-height: 129px !important;
  margin: 0 !important;
  padding: 8px !important;
  border: 1.725px solid #e0dbd8 !important;
  border-radius: 8.623px !important;
  background: #fff !important;
  overflow: hidden !important;
  box-shadow: none !important;
}
.tgms .tgms-figma-mockups .tgms-options > *:first-child,
body .tgms .tgms-figma-mockups .tgms-options > *:first-child {
  border-color: #000 !important;
  box-shadow: 0 4px 4.6px rgba(0,0,0,.25) !important;
}
.tgms .tgms-figma-mockups .tgms-options img,
body .tgms .tgms-figma-mockups .tgms-options img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
.tgms .tgms-figma-mockups .tgms-option > span,
.tgms .tgms-figma-mockups .tgms-option > small,
body .tgms .tgms-figma-mockups .tgms-option > span,
body .tgms .tgms-figma-mockups .tgms-option > small {
  display: none !important;
}
.tgms .tgms-figma-placeholder-slot,
body .tgms .tgms-figma-placeholder-slot { pointer-events: none !important; }
.tgms .tgms-figma-cart-slot,
body .tgms .tgms-figma-cart-slot {
  width: 100% !important;
  margin-top: 40px !important;
}
.tgms .tgms-figma-cart-slot .tgms-add-cart,
body .tgms .tgms-figma-cart-slot .tgms-add-cart {
  appearance: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 45px !important;
  height: 45px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: linear-gradient(90deg,#3d0a01,#6c1000) !important;
  color: #fff !important;
  font: 700 20px/1 Karla,Arial,sans-serif !important;
  letter-spacing: 1px !important;
  box-shadow: none !important;
}
.tgms .tgms-figma-cart-slot .tgms-add-cart:disabled,
body .tgms .tgms-figma-cart-slot .tgms-add-cart:disabled {
  opacity: .45 !important;
  cursor: not-allowed !important;
}
.tgms .tgms-figma-cart-icon,
body .tgms .tgms-figma-cart-icon { font-size: 20px !important; }

/* Keep alerts aligned with the Figma content width. */
.tgms.tgms-figma-ai-364:not(.tgms-upload-mode) .tgms-alert,
body .tgms.tgms-figma-ai-364:not(.tgms-upload-mode) .tgms-alert {
  width: min(var(--tg-figma-max),100%) !important;
  margin: -44px auto 20px !important;
}

@media (max-width: 1439px) {
  .tgms.tgms-figma-ai-364:not(.tgms-upload-mode) .tgms-workspace-shell,
  body .tgms.tgms-figma-ai-364:not(.tgms-upload-mode) .tgms-workspace-shell {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
  .tgms .tgms-figma-ai-grid,
  body .tgms .tgms-figma-ai-grid {
    grid-template-columns: minmax(300px,1fr) minmax(300px,1fr) !important;
    width: 100% !important;
  }
  .tgms .tgms-figma-ai-grid > .tgms-figma-review,
  body .tgms .tgms-figma-ai-grid > .tgms-figma-review {
    grid-column: 1 / -1 !important;
    width: min(760px,100%) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 auto !important;
  }
  .tgms .tgms-figma-live-card,
  .tgms .tgms-figma-mockups,
  body .tgms .tgms-figma-live-card,
  body .tgms .tgms-figma-mockups { width: 100% !important; }
  .tgms .tgms-figma-progress,
  body .tgms .tgms-figma-progress {
    grid-template-columns: auto 80px auto 80px auto !important;
    column-gap: 30px !important;
  }
  .tgms .tgms-figma-progress i,
  body .tgms .tgms-figma-progress i { width: 80px !important; }
}

@media (max-width: 767px) {
  .tgms.tgms-figma-ai-364:not(.tgms-upload-mode) .tgms-workspace-shell,
  body .tgms.tgms-figma-ai-364:not(.tgms-upload-mode) .tgms-workspace-shell {
    padding: 48px 20px !important;
  }
  .tgms .tgms-figma-ai-header,
  body .tgms .tgms-figma-ai-header { margin-bottom: 36px !important; }
  .tgms .tgms-figma-title-block h2,
  body .tgms .tgms-figma-title-block h2 { font-size: 34px !important; line-height: 1.08 !important; }
  .tgms .tgms-figma-title-block p,
  body .tgms .tgms-figma-title-block p { margin-top: 10px !important; font-size: 16px !important; line-height: 1.5 !important; }
  .tgms .tgms-figma-header-back,
  body .tgms .tgms-figma-header-back { top: -34px !important; }
  .tgms .tgms-figma-progress,
  body .tgms .tgms-figma-progress {
    grid-template-columns: repeat(3,1fr) !important;
    gap: 10px !important;
    margin-top: 30px !important;
  }
  .tgms .tgms-figma-progress i,
  body .tgms .tgms-figma-progress i { display: none !important; }
  .tgms .tgms-figma-progress-step,
  body .tgms .tgms-figma-progress-step { justify-content: center !important; gap: 6px !important; }
  .tgms .tgms-figma-progress-step strong,
  body .tgms .tgms-figma-progress-step strong { font-size: 11px !important; }
  .tgms .tgms-figma-ai-grid,
  body .tgms .tgms-figma-ai-grid { grid-template-columns: 1fr !important; }
  .tgms .tgms-figma-ai-grid > .tgms-wizard-screen,
  .tgms .tgms-figma-ai-grid > .tgms-right,
  body .tgms .tgms-figma-ai-grid > .tgms-wizard-screen,
  body .tgms .tgms-figma-ai-grid > .tgms-right {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  .tgms .tgms-figma-describe,
  .tgms .tgms-figma-customize,
  body .tgms .tgms-figma-describe,
  body .tgms .tgms-figma-customize { padding: 24px 16px !important; }
  .tgms .tgms-figma-describe .tgms-example-buttons,
  body .tgms .tgms-figma-describe .tgms-example-buttons { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .tgms .tgms-figma-describe .tgms-example-buttons button,
  body .tgms .tgms-figma-describe .tgms-example-buttons button { width: 100% !important; }
  .tgms .tgms-figma-quick-styles,
  body .tgms .tgms-figma-quick-styles { grid-template-columns: repeat(2,1fr) !important; }
  .tgms .tgms-figma-style-card,
  body .tgms .tgms-figma-style-card { width: 100% !important; }
  .tgms .tgms-figma-clear,
  body .tgms .tgms-figma-clear { margin-top: 28px !important; }
  .tgms .tgms-figma-generate-slot,
  body .tgms .tgms-figma-generate-slot { margin-top: 32px !important; }
  .tgms .tgms-figma-live-card,
  body .tgms .tgms-figma-live-card { height: 400px !important; }
  .tgms .tgms-figma-mockups .tgms-options,
  body .tgms .tgms-figma-mockups .tgms-options { grid-template-columns: repeat(2,1fr) !important; gap: 12px !important; }
  .tgms .tgms-figma-cart-slot,
  body .tgms .tgms-figma-cart-slot { margin-top: 24px !important; }
}

