*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: var(--font-body, 'Inter', sans-serif);
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

:root {
  --bg-color: #F9F8F6;
  --bg-alt: #F0EBE1;
  --text-main: #2C3531;
  --text-muted: #5C6A64;
  --accent: #8E9B90;
  --accent-hover: #758377;
  --border: #E8E5DF;
  --helper-bg: #EAE6DF;
  --helper-text: #6A655F;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

body[data-font="modern"] {
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Inter', sans-serif;
}

body[data-font="classic"] {
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

[data-theme="ocean"] {
  --bg-color: #F4F7FB;
  --bg-alt: #E8EEF5;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --accent: #3B82F6;
  --accent-hover: #2563EB;
  --border: #E2E8F0;
  --helper-bg: #DBEAFE;
  --helper-text: #1E40AF;
}

[data-theme="sunset"] {
  --bg-color: #FFF9F5;
  --bg-alt: #FFEFE5;
  --text-main: #431407;
  --text-muted: #9A3412;
  --accent: #EA580C;
  --accent-hover: #C2410C;
  --border: #FFEDD5;
  --helper-bg: #FFEDD5;
  --helper-text: #9A3412;
}

[data-theme="forest"] {
  --bg-color: #F5F7F5;
  --bg-alt: #E9EFE9;
  --text-main: #14532D;
  --text-muted: #166534;
  --accent: #15803D;
  --accent-hover: #166534;
  --border: #DCFCE7;
  --helper-bg: #DCFCE7;
  --helper-text: #14532D;
}

[data-theme="minimal"] {
  --bg-color: #FFFFFF;
  --bg-alt: #F8FAFC;
  --text-main: #020617;
  --text-muted: #475569;
  --accent: #0F172A;
  --accent-hover: #334155;
  --border: #E2E8F0;
  --helper-bg: #F1F5F9;
  --helper-text: #475569;
}

.container {
  width: 100%;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.5s, color 0.5s;
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
}

/* --- Botones y Controles --- */

.demo-controls {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 10px 20px;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
}

.btn-control {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 9999px;
  cursor: pointer;
  border: 1px solid var(--border);
  background-color: #fff;
  color: var(--text-main);
  transition: all 0.2s;
}

.btn-control:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-primary-control {
  background-color: var(--accent);
  color: #fff;
  border: none;
}

.btn-primary-control:hover {
  background-color: var(--accent-hover);
  color: #fff;
}

.btn-strong {
  background-color: var(--text-main);
  color: #fff;
  border: none;
  font-weight: 600;
}

.btn-strong:hover {
  background-color: #000;
  color: #fff;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 500;
  padding: 16px 36px;
  border-radius: 0.25rem;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
  text-align: center;
}

.cta-button:hover {
  background-color: var(--accent-hover);
}

/* --- Elementos de Edición (Zero-Builder) --- */

.helper-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--helper-text);
  background-color: var(--helper-bg);
  padding: 6px 12px;
  border-radius: 0.25rem;
  display: inline-block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.3s;
}

body.is-editing .helper-text {
  opacity: 1;
}

[contenteditable="true"] {
  outline: 2px dashed var(--accent);
  outline-offset: 4px;
  transition: all 0.2s;
  cursor: text;
}

[contenteditable="true"]:focus {
  outline: 2px solid var(--accent);
  background-color: rgba(0,0,0,0.05);
}

/* --- Subida de Imágenes --- */

.img-upload-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
}

.img-upload-wrap img,
  .img-upload-wrap .img-upload-target {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: all 0.3s;
}

.img-upload-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
  display: none;
}

.img-upload-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 0;
  text-align: center;
}

body.is-editing .img-upload-input {
  display: block;
}

body.is-editing .img-upload-wrap:hover .img-upload-overlay {
  opacity: 1;
}

body.is-editing .img-upload-wrap:hover img,
  body.is-editing .img-upload-wrap:hover .img-upload-target {
  filter: brightness(0.75);
}

/* --- Modal de Bienvenida --- */

.welcome-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.welcome-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.welcome-modal-content {
  background-color: #fff;
  padding: 40px;
  border-radius: 0.75rem;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.3s;
  width: 90%;
  max-width: 450px;
}

.welcome-modal.show .welcome-modal-content {
  transform: translateY(0);
}

/* --- Theme Switcher Menu --- */

.theme-switcher {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%) translateX(-150%);
  background-color: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  padding: 16px 12px;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 50;
  transition: transform 0.3s;
}

body.is-editing .theme-switcher {
  transform: translateY(-50%) translateX(0);
}

.theme-btn {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s;
}

.theme-btn:hover {
  transform: scale(1.1);
}

.theme-btn.active {
  border-color: var(--text-main);
  transform: scale(1.1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@media print {
  .demo-controls, .helper-text, .welcome-modal, .theme-switcher {
    display: none !important;
  }

  [contenteditable="true"] {
    outline: none !important;
    background: transparent !important;
  }
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.-top-8 {
  top: -2rem;
}

.left-0 {
  left: 0px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.h-24 {
  height: 6rem;
}

.h-\[400px\] {
  height: 400px;
}

.h-full {
  height: 100%;
}

.w-24 {
  width: 6rem;
}

.w-full {
  width: 100%;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.flex-col {
  flex-direction: column;
}

.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-12 {
  gap: 3rem;
}

.gap-8 {
  gap: 2rem;
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.\!rounded-full {
  border-radius: 9999px !important;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9999px;
}

.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-border {
  border-color: var(--border);
}

.bg-background {
  background-color: var(--bg-color);
}

.bg-bg-alt {
  background-color: var(--bg-alt);
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.bg-cover {
  background-size: cover;
}

.bg-center {
  background-position: center;
}

.p-10 {
  padding: 2.5rem;
}

.\!px-6 {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

.\!py-3 {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.pl-8 {
  padding-left: 2rem;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.font-heading {
  font-family: var(--font-heading);
}

.\!text-base {
  font-size: 1rem !important;
  line-height: 1.5rem !important;
}

.\!text-xs {
  font-size: 0.75rem !important;
  line-height: 1rem !important;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.italic {
  font-style: italic;
}

.leading-snug {
  line-height: 1.375;
}

.leading-tight {
  line-height: 1.25;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.text-accent {
  color: var(--accent);
}

.text-foreground {
  color: var(--text-main);
}

.text-muted {
  color: var(--text-muted);
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.shadow-2xl {
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-md {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-xl {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.outline {
  outline-style: solid;
}

.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.backdrop-filter {
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

@media (min-width: 768px) {
  .md\:h-\[500px\] {
    height: 500px;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:p-14 {
    padding: 3.5rem;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  .lg\:gap-16 {
    gap: 4rem;
  }
}

@media print {
  .print\:py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .print\:shadow-none {
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  }
}

/* --- Barra de Editor Sticky (Footer Toolbar) --- */
.idi-ob-editor-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
body.is-editing .idi-ob-editor-bar {
  transform: translateY(0);
}

/* Secciones dentro de la barra */
.idi-ob-editor-bar__section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.idi-ob-editor-bar__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted, #888);
  white-space: nowrap;
}

.idi-ob-editor-bar__colors {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.idi-ob-editor-bar__options {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Divisores verticales */
.idi-ob-editor-bar__divider {
  width: 1px;
  height: 1.75rem;
  background: rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

/* Acciones (al final de la barra) */
.idi-ob-editor-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

/* Botones de la barra (font/layout options) */
.font-btn, .layout-btn {
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  color: var(--text-main);
  padding: 0.375rem 0.625rem;
  text-align: center;
  border-radius: 0.375rem;
  transition: all 0.2s;
  font-size: 0.8125rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  line-height: 1.3;
}

.font-btn:hover, .layout-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.font-btn.active, .layout-btn.active {
  background-color: var(--accent, #8E9B90);
  color: #fff;
  font-weight: 600;
  border-color: transparent;
}

/* Botones de acción de la barra */
.idi-ob-editor-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: var(--font-body);
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: var(--text-main, #333);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  line-height: 1.3;
}
.idi-ob-editor-bar__btn:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.2);
}

/* Botón primario: Descargar */
.idi-ob-editor-bar__btn--primary {
  background: linear-gradient(135deg, #10B981, #059669) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700 !important;
  padding: 0.5rem 1.25rem !important;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
  position: relative;
  overflow: hidden;
}
.idi-ob-editor-bar__btn--primary:hover {
  background: linear-gradient(135deg, #059669, #047857) !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}
.idi-ob-editor-bar__btn--primary svg {
  stroke: #fff;
  animation: idiObDownloadBounce 1.8s ease-in-out infinite;
}
/* Shimmer en botón descargar */
.idi-ob-editor-bar__btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: idiObShimmer 3s ease-in-out infinite;
  pointer-events: none;
}

/* Botón Guardar */
.idi-ob-editor-bar__btn--save {
  background: #1E293B;
  color: #fff;
  border-color: transparent;
}
.idi-ob-editor-bar__btn--save:hover {
  background: #0F172A;
  color: #fff;
}

/* Botón cerrar (✕) */
.idi-ob-editor-bar__btn--close {
  width: 2rem;
  height: 2rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
  color: var(--text-muted, #888);
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.idi-ob-editor-bar__btn--close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
  border-color: rgba(239, 68, 68, 0.3);
}

/* Data Font / Layout Rules */
body[data-font="tech"] {
  --font-body: 'Space Mono', monospace;
  --font-heading: 'Space Mono', monospace;
}

body[data-layout="modern"] .rounded-2xl {
  border-radius: 2rem;
}
body[data-layout="modern"] .cta-button {
  border-radius: 9999px;
}

body[data-layout="tech"] .rounded-2xl {
  border-radius: 0;
}
body[data-layout="tech"] .cta-button {
  border-radius: 0;
}
body[data-layout="tech"] {
  --border: #333;
}

/* --- CTA "Editar con tus datos" (entrada) --- */
.idi-ob-bottom-cta {
  position: fixed !important;
  bottom: 2rem !important;
  left: 50% !important;
  top: auto !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  z-index: 9999 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  text-align: center !important;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

body.is-editing .idi-ob-bottom-cta {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateX(-50%) translateY(20px) !important;
}

button.idi-ob-bottom-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.875rem 2rem !important;
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 9999px !important;
  cursor: pointer !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.3s !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  outline: none !important;
}

button.idi-ob-bottom-cta-btn--edit {
  background: linear-gradient(135deg, #10B981, #059669) !important;
  box-shadow:
    0 0 0 4px rgba(16, 185, 129, 0.2),
    0 8px 20px -4px rgba(0, 0, 0, 0.15),
    0 0 30px rgba(16, 185, 129, 0.25) !important;
  animation: idiObCtaPulse 2.5s ease-in-out infinite !important;
}
button.idi-ob-bottom-cta-btn--edit:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow:
    0 0 0 6px rgba(16, 185, 129, 0.3),
    0 12px 30px -4px rgba(0, 0, 0, 0.2),
    0 0 50px rgba(16, 185, 129, 0.35) !important;
  background: linear-gradient(135deg, #059669, #047857) !important;
}

/* CTA de captura de leads (visitante en oferta clonada) */
button.idi-ob-bottom-cta-btn--capture {
  background: linear-gradient(135deg, var(--accent, #3B82F6), color-mix(in srgb, var(--accent, #3B82F6) 75%, #000)) !important;
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--accent, #3B82F6) 20%, transparent),
    0 8px 20px -4px rgba(0, 0, 0, 0.15),
    0 0 30px color-mix(in srgb, var(--accent, #3B82F6) 25%, transparent) !important;
  animation: idiObCtaPulse 2.5s ease-in-out infinite !important;
}
button.idi-ob-bottom-cta-btn--capture:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow:
    0 0 0 6px color-mix(in srgb, var(--accent, #3B82F6) 30%, transparent),
    0 12px 30px -4px rgba(0, 0, 0, 0.2),
    0 0 50px color-mix(in srgb, var(--accent, #3B82F6) 35%, transparent) !important;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent, #3B82F6) 85%, #000), color-mix(in srgb, var(--accent, #3B82F6) 70%, #000)) !important;
}
button.idi-ob-bottom-cta-btn:active {
  transform: translateY(0) scale(0.97) !important;
}
button.idi-ob-bottom-cta-btn svg {
  flex-shrink: 0;
  width: 20px !important;
  height: 20px !important;
  color: #fff !important;
  stroke: #fff !important;
  fill: none !important;
}

/* Animaciones */
@keyframes idiObCtaPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2), 0 8px 20px -4px rgba(0, 0, 0, 0.15), 0 0 30px rgba(16, 185, 129, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.12), 0 8px 20px -4px rgba(0, 0, 0, 0.15), 0 0 45px rgba(16, 185, 129, 0.35); }
}
@keyframes idiObDownloadBounce {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(3px); }
  60% { transform: translateY(-1px); }
}
@keyframes idiObShimmer {
  0% { left: -100%; }
  50%, 100% { left: 150%; }
}

/* ═══════════════════════════════════════════════
   WooCommerce: Precio y Botón de Compra
   ═══════════════════════════════════════════════ */

/* Contenedor del precio */
.idi-ob-price-wrap {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px dashed var(--border, #e2e8f0);
}

/* Etiqueta de precio */
.idi-ob-price-tag {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--foreground, #0a1128);
  line-height: 1.2;
}
.idi-ob-price-tag del {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--muted, #64748b);
  text-decoration: line-through;
  margin-right: 0.5rem;
  vertical-align: middle;
}
.idi-ob-price-tag ins {
  text-decoration: none;
}

/* Botón de compra principal (dentro del card de oferta) */
.idi-ob-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent, #3B82F6), color-mix(in srgb, var(--accent, #3B82F6) 75%, #000));
  border: none;
  border-radius: 0.75rem;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 4px 15px -3px color-mix(in srgb, var(--accent, #3B82F6) 40%, transparent),
    0 0 0 3px color-mix(in srgb, var(--accent, #3B82F6) 15%, transparent);
  position: relative;
  overflow: hidden;
}
.idi-ob-buy-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: idiObShimmer 3s ease-in-out infinite;
}
.idi-ob-buy-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 8px 25px -3px color-mix(in srgb, var(--accent, #3B82F6) 50%, transparent),
    0 0 0 4px color-mix(in srgb, var(--accent, #3B82F6) 20%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent, #3B82F6) 90%, #fff), color-mix(in srgb, var(--accent, #3B82F6) 70%, #000));
}
.idi-ob-buy-btn:active {
  transform: translateY(0) scale(0.98);
}
.idi-ob-buy-btn svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* CTA flotante de compra (para visitantes en ofertas con pago) */
.idi-ob-bottom-cta-btn--buy {
  display: inline-flex !important;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem !important;
  text-decoration: none !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.9375rem !important;
  border-radius: 50px !important;
  border: none !important;
  background: linear-gradient(135deg, var(--accent, #3B82F6), color-mix(in srgb, var(--accent, #3B82F6) 75%, #000)) !important;
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--accent, #3B82F6) 20%, transparent),
    0 8px 20px -4px rgba(0, 0, 0, 0.15),
    0 0 30px color-mix(in srgb, var(--accent, #3B82F6) 25%, transparent) !important;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: idiObBuyPulse 2.5s ease-in-out infinite;
}
.idi-ob-bottom-cta-btn--buy:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow:
    0 0 0 6px color-mix(in srgb, var(--accent, #3B82F6) 30%, transparent),
    0 12px 30px -4px rgba(0, 0, 0, 0.2),
    0 0 50px color-mix(in srgb, var(--accent, #3B82F6) 35%, transparent) !important;
}
.idi-ob-bottom-cta-btn--buy svg {
  flex-shrink: 0;
  width: 20px !important;
  height: 20px !important;
  color: #fff !important;
  stroke: #fff !important;
  fill: none !important;
}

@keyframes idiObBuyPulse {
  0%, 100% {
    box-shadow:
      0 0 0 4px color-mix(in srgb, var(--accent, #3B82F6) 20%, transparent),
      0 8px 20px -4px rgba(0, 0, 0, 0.15),
      0 0 30px color-mix(in srgb, var(--accent, #3B82F6) 25%, transparent);
  }
  50% {
    box-shadow:
      0 0 0 8px color-mix(in srgb, var(--accent, #3B82F6) 12%, transparent),
      0 8px 20px -4px rgba(0, 0, 0, 0.15),
      0 0 45px color-mix(in srgb, var(--accent, #3B82F6) 35%, transparent);
  }
}

/* Responsive: Móvil */
@media (max-width: 767px) {
  .idi-ob-editor-bar {
    flex-wrap: wrap;
    gap: 0.625rem;
    padding: 0.75rem 1rem 1rem;
    justify-content: center;
  }
  .idi-ob-editor-bar__divider {
    display: none;
  }
  .idi-ob-editor-bar__actions {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 0.625rem;
  }
}

@media print {
  .idi-ob-bottom-cta,
  .idi-ob-editor-bar,
  .idi-ob-modal,
  .idi-ob-progress-overlay { display: none !important; }
}

/* --- Modal de Captura de Leads --- */
.idi-ob-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.idi-ob-modal.show {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.idi-ob-modal__card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  width: 92%;
  max-width: 26rem;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.35);
  text-align: center;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.idi-ob-modal.show .idi-ob-modal__card {
  transform: translateY(0) scale(1);
}

.idi-ob-modal__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.idi-ob-modal__subtitle {
  font-size: 0.9375rem;
  color: #6B7280;
  margin: 0 0 1.75rem;
  line-height: 1.5;
}

.idi-ob-modal__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.idi-ob-modal__field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.375rem;
}

.idi-ob-modal__field input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #D1D5DB;
  border-radius: 0.625rem;
  font-size: 0.9375rem;
  color: #111827;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  font-family: var(--font-body);
  box-sizing: border-box;
}
.idi-ob-modal__field input:focus {
  border-color: var(--accent, #10B981);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}
.idi-ob-modal__field input::placeholder {
  color: #9CA3AF;
}

.idi-ob-modal__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem;
  margin-top: 0.5rem;
  background: #111827;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-body);
  border: none;
  border-radius: 0.625rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.idi-ob-modal__submit:hover {
  background: #1F2937;
  transform: translateY(-1px);
}
.idi-ob-modal__submit:active {
  transform: translateY(0);
}
.idi-ob-modal__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}
.idi-ob-modal__submit svg {
  stroke: #fff;
  flex-shrink: 0;
}

.idi-ob-modal__cancel {
  background: none;
  border: none;
  color: #9CA3AF;
  font-size: 0.8125rem;
  cursor: pointer;
  margin-top: 0.75rem;
  padding: 0.5rem;
  transition: color 0.2s;
  font-family: var(--font-body);
}
.idi-ob-modal__cancel:hover {
  color: #4B5563;
}

/* --- Overlay de Progreso de Onboarding --- */
.idi-ob-progress-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.idi-ob-progress-overlay.show {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.idi-ob-progress-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 48px 40px 40px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.idi-ob-progress-overlay.show .idi-ob-progress-card {
  transform: translateY(0) scale(1);
}

.idi-ob-progress-icon {
  color: var(--accent, #3b82f6);
  margin-bottom: 16px;
  animation: idi-pulse-icon 2s ease-in-out infinite;
}
@keyframes idi-pulse-icon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.8; }
}

.idi-ob-progress-title {
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 24px;
}

.idi-ob-progress-bar {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 28px;
}
.idi-ob-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent, #3b82f6), color-mix(in srgb, var(--accent, #3b82f6) 70%, #fff));
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.idi-ob-progress-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.idi-ob-progress-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.95rem;
  color: #94a3b8;
  transition: color 0.3s, transform 0.3s;
}
.idi-ob-progress-steps li.active {
  color: #0f172a;
  font-weight: 600;
}
.idi-ob-progress-steps li.done {
  color: #16a34a;
  font-weight: 500;
}
.idi-ob-progress-steps li .step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.3s;
}
.idi-ob-progress-steps li.pending .step-icon {
  background: #f1f5f9;
  color: #94a3b8;
}
.idi-ob-progress-steps li.active .step-icon {
  background: var(--accent, #3b82f6);
  color: #fff;
  animation: idi-spin-step 1s linear infinite;
}
@keyframes idi-spin-step {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.idi-ob-progress-steps li.done .step-icon {
  background: #16a34a;
  color: #fff;
}
