/* WAENN — waenn-subscribe: alineado con #s-access (blanco, beige, editorial) */

#access-experience.ws-root {
  --ws-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ws-ink: var(--dark, #1a1a1a);
  --ws-ink-soft: rgba(26, 26, 26, 0.62);
  --ws-ink-faint: rgba(26, 26, 26, 0.38);
  --ws-line: rgba(26, 26, 26, 0.12);
  --ws-line-strong: rgba(26, 26, 26, 0.2);
  --ws-paper: #faf9f7;
  --ws-panel: #ffffff;
  --ws-beige: var(--beige, #e8e3dc);
  --ws-red: var(--red, #c8102e);
  font-family: var(--ws-font);
  color: var(--ws-ink);
  max-width: 100%;
  position: relative;
}

.ws-playground-body {
  margin: 0;
  min-height: 100dvh;
  padding: 1.25rem clamp(1rem, 4vw, 2rem);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #fff;
  color: var(--dark, #1a1a1a);
}

.ws-playground-flag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(26, 26, 26, 0.55);
  cursor: pointer;
  user-select: none;
}

.ws-playground-flag input {
  accent-color: var(--red, #c8102e);
}

.ws-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ws-hidden-iframe {
  position: absolute;
  width: 0;
  height: 0;
  border: 0;
  visibility: hidden;
}

#access-experience .ws-title {
  margin: 0 0 0.4rem;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--ws-ink);
  text-align: left;
}

#access-experience .ws-hint {
  margin: 0 0 1.1rem;
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.55;
  color: var(--ws-ink-soft);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-align: left;
  max-width: 36em;
}

.ws-stage {
  border: 1px solid var(--ws-line);
  border-radius: 24px;
  background: var(--ws-paper);
  overflow: visible;
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.ws-main-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 34%);
  gap: clamp(1rem, 3vw, 1.75rem);
  align-items: start;
}

.ws-flow {
  min-width: 0;
  padding-right: 0.25rem;
}

.ws-step {
  border: 1px solid var(--ws-line);
  margin-bottom: 1.25rem;
  border-radius: 16px;
  background: var(--ws-panel);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ws-step--active {
  border-color: rgba(200, 16, 46, 0.45);
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.03);
}

.ws-step--done {
  border-color: rgba(26, 26, 26, 0.2);
}

.ws-step-header {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--ws-ink);
  transition: background 0.2s;
}

.ws-step-header:hover {
  background: rgba(26, 26, 26, 0.02);
}

.ws-step-header:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(200, 16, 46, 0.2) inset;
}

.ws-step-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--ws-ink-faint);
  margin-right: 1rem;
  transition: opacity 0.3s ease;
}

.ws-step--done .ws-step-num {
  display: none;
}

.ws-step-check {
  width: 18px;
  height: 18px;
  margin-right: 0.75rem;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--ws-red);
  flex-shrink: 0;
}

.ws-step-check svg {
  width: 16px;
  height: 16px;
}

.ws-step--done .ws-step-check {
  display: flex;
}

.ws-step-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex: 1;
}

.ws-step-summary {
  font-size: 12px;
  color: var(--ws-ink-soft);
  margin-right: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.ws-step-icon {
  width: 18px;
  height: 18px;
  color: var(--ws-ink-soft);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ws-step-header[aria-expanded="true"] .ws-step-icon {
  transform: rotate(180deg);
}

.ws-step-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.ws-step-content-inner {
  overflow: hidden;
  padding: 0 1.25rem;
}

.ws-step--active .ws-step-content {
  grid-template-rows: 1fr;
}

.ws-step--active .ws-step-content-inner {
  padding-bottom: 1.25rem;
}

.ws-field-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: #2b2b2b;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-weight: 600;
}

.ws-input {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(26, 26, 26, 0.15);
  border-radius: 0;
  color: var(--ws-ink);
  font: inherit;
  font-size: clamp(16px, 1.35vw, 18px);
  padding: 0 0 12px;
  min-height: 44px;
  outline: none;
  transition: border-color 0.2s;
}

.ws-input::placeholder {
  color: rgba(26, 26, 26, 0.22);
}

.ws-input:focus {
  border-bottom-color: rgba(26, 26, 26, 0.45);
  box-shadow: none;
}

.ws-btn-next {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 1.25rem;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ws-ink);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--ws-line-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.ws-btn-next:hover {
  background: #fff;
  border-color: rgba(200, 16, 46, 0.35);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.ws-btn-next:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
}

.ws-side-panel {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.ws-side-panel__title {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ws-ink-faint);
  font-weight: 600;
}

.ws-side-panel__caption {
  margin: 0 0 0.25rem;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ws-ink-soft);
  min-height: 2.6em;
}

.ws-drop-target {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-height: 120px;
  padding: 1rem 0.5rem;
  background: var(--ws-panel);
  border: 1px dashed rgba(26, 26, 26, 0.15);
  border-radius: 16px;
  transition: border-color 0.2s, background 0.2s;
}

.ws-drop-target:has(.ws-submit-panel--cart:not([hidden])) {
  min-height: 260px;
}

.ws-drop-target:focus-within {
  border-color: rgba(200, 16, 46, 0.35);
}

.ws-drop-target--active {
  border-color: rgba(200, 16, 46, 0.45);
  background: rgba(200, 16, 46, 0.04);
}

.ws-drop-target.ws-drop-target--send {
  overflow-x: hidden;
  position: relative;
}

.ws-drop-target--land {
  animation: ws-drop-land 0.48s ease-out;
}

@keyframes ws-drop-land {
  0% {
    box-shadow: 0 0 0 0 rgba(200, 16, 46, 0);
    border-color: rgba(26, 26, 26, 0.22);
  }
  35% {
    box-shadow: 0 0 0 6px rgba(200, 16, 46, 0.12);
    border-color: rgba(200, 16, 46, 0.45);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(200, 16, 46, 0);
    border-color: rgba(26, 26, 26, 0.22);
  }
}

.ws-profile-slots {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
  min-height: 0;
}

.ws-profile-chip {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0.32rem 0.45rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--ws-ink);
  background: rgba(200, 16, 46, 0.08);
  border: 1px solid rgba(200, 16, 46, 0.22);
  border-radius: 2px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ws-profile-chip[data-profile='name'] {
  text-transform: uppercase;
}

.ws-cart-btn {
  position: relative;
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border: 1px solid var(--ws-line);
  border-radius: 50%;
  background: var(--ws-paper);
  color: var(--ws-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    width 0.35s ease,
    height 0.35s ease,
    box-shadow 0.35s ease,
    filter 0.2s ease;
}

.ws-cart-btn:hover {
  background: #fff;
  border-color: rgba(200, 16, 46, 0.28);
}

.ws-cart-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
}

.ws-cart-btn--ready {
  width: 76px;
  height: 76px;
  border-color: rgba(200, 16, 46, 0.55);
  background: rgba(200, 16, 46, 0.08);
  box-shadow: 0 6px 22px rgba(200, 16, 46, 0.12);
}

.ws-drop-target:has(.ws-cart-btn--ready) {
  border-color: rgba(200, 16, 46, 0.28);
}

.ws-cart-btn--ready .ws-cart-btn__svg {
  width: 32px;
  height: 32px;
}

.ws-cart-btn__motion {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.ws-cart-btn__tilt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transform-origin: 52% 88%;
  will-change: transform;
}

.ws-cart-btn__face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ws-cart-btn__face--letter {
  opacity: 0;
}

.ws-cart-btn__letter-svg {
  width: 26px;
  height: 26px;
  display: block;
  color: var(--ws-ink);
}

.ws-cart-btn--ready .ws-cart-btn__letter-svg {
  width: 30px;
  height: 30px;
}

/* Carrito → carta → salida (flujo letter-send; no usar --sending legacy) */
@media (prefers-reduced-motion: no-preference) {
  .ws-cart-btn--send-phase-launch .ws-cart-btn__motion {
    animation: wsCartMotionLaunch 0.56s cubic-bezier(0.34, 0.9, 0.2, 1) forwards;
  }

  .ws-cart-btn--send-phase-launch .ws-cart-btn__face--cart {
    animation: wsCartFaceOut 0.38s ease forwards;
  }

  .ws-cart-btn--send-phase-launch .ws-cart-btn__face--letter {
    animation: wsLetterFaceIn 0.44s ease 0.08s forwards;
  }

  .ws-cart-btn--send-phase-flight .ws-cart-btn__motion {
    transform: translate3d(22px, 0, 0);
  }

  .ws-cart-btn--send-phase-flight .ws-cart-btn__face--cart {
    opacity: 0;
  }

  .ws-cart-btn--send-phase-flight .ws-cart-btn__face--letter {
    opacity: 1;
    transform: none;
  }

  .ws-cart-btn--send-phase-flight .ws-cart-btn__letter-seal {
    animation: wsLetterSealPulse 1.15s ease-in-out infinite;
  }

  .ws-cart-btn--send-phase-depart .ws-cart-btn__motion {
    animation: wsCartMotionDepart 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
}

@keyframes wsCartMotionLaunch {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  45% {
    transform: translate3d(12px, 0, 0) scale(1.06);
  }
  100% {
    transform: translate3d(22px, 0, 0) scale(1);
  }
}

@keyframes wsCartFaceOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes wsLetterFaceIn {
  0% {
    opacity: 0;
    transform: scale(0.82);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes wsLetterSealPulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.95;
  }
}

@keyframes wsCartMotionDepart {
  0% {
    transform: translate3d(22px, 0, 0) scale(1);
    opacity: 1;
  }
  55% {
    transform: translate3d(38px, -2px, 0) scale(0.92);
    opacity: 0.88;
  }
  100% {
    transform: translate3d(52px, -4px, 0) scale(0.78);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ws-cart-btn--send-phase-launch .ws-cart-btn__motion,
  .ws-cart-btn--send-phase-depart .ws-cart-btn__motion {
    animation: none !important;
  }

  .ws-cart-btn--send-phase-flight .ws-cart-btn__motion,
  .ws-cart-btn--send-phase-flight.ws-cart-send--reduced .ws-cart-btn__motion {
    transform: translate3d(8px, 0, 0);
  }

  .ws-cart-btn--send-phase-flight .ws-cart-btn__face--cart,
  .ws-cart-btn--send-phase-flight.ws-cart-send--reduced .ws-cart-btn__face--cart {
    opacity: 0;
  }

  .ws-cart-btn--send-phase-flight .ws-cart-btn__face--letter,
  .ws-cart-btn--send-phase-flight.ws-cart-send--reduced .ws-cart-btn__face--letter {
    opacity: 1;
    transform: none;
  }

  .ws-cart-btn--send-phase-flight .ws-cart-btn__letter-seal {
    animation: none !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* Listo: baile breve (~0,35 s) + pausa ~5 s + bucle (como e-commerce) */
  .ws-cart-btn--ready:not(.ws-cart-btn--busy):not(.ws-cart-btn--sending):not(.ws-cart-btn--lock):not(.ws-cart-btn--letter-send-flow) .ws-cart-btn__tilt {
    animation: ws-cart-ready-nudge 5.45s ease-in-out infinite;
  }

  /* Legacy unpack solo si no estamos en flujo carta */
  .ws-cart-btn--sending:not(.ws-cart-btn--busy):not(.ws-cart-btn--letter-send-flow) {
    animation: ws-cart-send-shell 0.62s cubic-bezier(0.34, 1.2, 0.64, 1) forwards;
  }

  .ws-cart-btn--sending:not(.ws-cart-btn--busy):not(.ws-cart-btn--letter-send-flow) .ws-cart-btn__tilt {
    animation: ws-cart-unpack-send 0.62s cubic-bezier(0.34, 1.2, 0.64, 1) forwards;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ws-cart-btn__tilt {
    animation: none !important;
  }

  .ws-cart-btn--sending:not(.ws-cart-btn--busy) {
    animation: none !important;
  }
}

@keyframes ws-cart-ready-nudge {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  0.7% {
    transform: translate3d(-1px, 0, 0) rotate(-2.2deg);
  }
  1.4% {
    transform: translate3d(1px, 0, 0) rotate(2.2deg);
  }
  2.1% {
    transform: translate3d(-1px, 0, 0) rotate(-1.6deg);
  }
  2.8% {
    transform: translate3d(1px, 0, 0) rotate(1.6deg);
  }
  3.5% {
    transform: translate3d(-0.5px, 0, 0) rotate(-0.9deg);
  }
  4.2% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  6.5%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes ws-cart-unpack-send {
  0% {
    transform: rotate(0deg) scale(1) translateY(0);
  }
  22% {
    transform: rotate(-12deg) scale(0.86) translateY(2px);
  }
  38% {
    transform: rotate(4deg) scale(1.08) translateY(-1px);
  }
  52% {
    transform: rotate(0deg) scale(1) translateY(0);
  }
  58% {
    transform: rotate(-1.5deg) scale(1.06) translateY(0);
  }
  100% {
    transform: rotate(0deg) scale(1) translateY(0);
  }
}

@keyframes ws-cart-send-shell {
  0% {
    filter: brightness(1);
    box-shadow: 0 6px 22px rgba(200, 16, 46, 0.12);
  }
  35% {
    filter: brightness(0.97);
    box-shadow: 0 3px 12px rgba(200, 16, 46, 0.08);
  }
  48% {
    filter: brightness(1.18);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.55),
      0 0 0 8px rgba(200, 16, 46, 0.22),
      0 10px 32px rgba(200, 16, 46, 0.28);
  }
  62% {
    filter: brightness(1.08);
    box-shadow:
      0 0 0 0 rgba(200, 16, 46, 0),
      0 8px 26px rgba(200, 16, 46, 0.16);
  }
  100% {
    filter: brightness(1);
    box-shadow: 0 6px 22px rgba(200, 16, 46, 0.12);
  }
}

.ws-cart-btn--lock {
  pointer-events: none;
}

.ws-cart-btn--busy {
  opacity: 0.55;
}

.ws-cart-btn--sending.ws-cart-btn--busy:not(.ws-cart-btn--letter-send-flow) .ws-cart-btn__tilt {
  animation: ws-cart-loading 1.1s ease-in-out infinite;
}

@keyframes ws-cart-loading {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  35% {
    transform: rotate(-5deg) scale(0.98);
  }
  70% {
    transform: rotate(4deg) scale(1.01);
  }
}

.ws-cart-btn--pop {
  animation: ws-cart-pop 0.38s ease-out;
}

@keyframes ws-cart-pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

.ws-cart-btn__svg {
  width: 28px;
  height: 28px;
  display: block;
  transition: width 0.35s ease, height 0.35s ease;
}

.ws-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  border-radius: 9px;
  background: var(--ws-red);
  color: #fff;
  transform: translate(18%, -18%);
}

.ws-cart-chips {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  min-height: 1.25rem;
}

.ws-mini-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 32px;
  padding: 0.35rem 0.6rem;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--ws-line);
  border-radius: 2px;
  color: var(--ws-ink);
  background: var(--ws-paper);
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ws-mini-tag:hover {
  border-color: rgba(200, 16, 46, 0.35);
}

.ws-mini-tag:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(200, 16, 46, 0.15);
}

.ws-cart-status {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ws-ink-faint);
  line-height: 1.4;
  max-width: 100%;
  transition: font-size 0.25s ease, color 0.25s ease;
}

/* Visible cart status removed from layout; status node stays sr-only for a11y + JS. */
.ws-drop-target .ws-cart-status.ws-visually-hidden + .ws-submit-panel--cart {
  margin-top: 0.25rem;
}

.ws-interests-head {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
}

.ws-drag-headline {
  flex: 1;
  margin: 0;
  min-width: 0;
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(0.9rem, 1.45vw, 1.05rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ws-ink);
}

.ws-interests-help {
  position: relative;
  flex-shrink: 0;
  margin-top: 0.05rem;
  z-index: 30;
}

.ws-info-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--ws-line);
  border-radius: 50%;
  background: #fff;
  color: var(--ws-ink-soft);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.ws-info-btn:hover,
.ws-info-btn[aria-expanded='true'] {
  border-color: rgba(200, 16, 46, 0.45);
  color: var(--ws-red);
}

.ws-info-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(200, 16, 46, 0.2);
}

.ws-info-btn__icon {
  width: 14px;
  height: 14px;
  display: block;
}

.ws-info-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 200;
  width: min(320px, max(100%, calc(100vw - 2.5rem)));
  padding: 0.95rem 1.05rem 1rem 1.15rem;
  box-sizing: border-box;
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(13px, 1.15vw, 15px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--ws-ink);
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.09);
  border-left: 3px solid var(--ws-red);
  border-radius: 12px;
  box-shadow:
    0 1px 2px rgba(26, 26, 26, 0.04),
    0 8px 22px rgba(26, 26, 26, 0.08),
    0 20px 44px rgba(26, 26, 26, 0.07);
}

.ws-info-popover::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 13px;
  width: 11px;
  height: 11px;
  background: #fff;
  border-left: 1px solid rgba(26, 26, 26, 0.09);
  border-top: 1px solid rgba(26, 26, 26, 0.09);
  transform: rotate(45deg);
  pointer-events: none;
}

.ws-info-popover__text {
  margin: 0;
  color: rgba(26, 26, 26, 0.88);
}

.ws-shelf {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-content: flex-start;
  min-height: 72px;
  padding: 0.15rem 0 0.35rem;
}

.ws-tag {
  position: relative;
  touch-action: none;
  cursor: grab;
  user-select: none;
  padding: 0.55rem 0.65rem 0.55rem 1.85rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ws-ink);
  background: #fff;
  border: 1px solid var(--ws-line);
  border-radius: 2px;
  font: inherit;
  text-align: left;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ws-tag::before {
  content: "⠿";
  position: absolute;
  left: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  letter-spacing: -0.12em;
  color: var(--ws-ink-faint);
  line-height: 1;
}

.ws-tag:hover {
  border-color: rgba(200, 16, 46, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ws-tag--ghost {
  opacity: 0.12;
  pointer-events: none;
}

.ws-tag--clone {
  position: fixed;
  z-index: 9999;
  margin: 0;
  pointer-events: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.ws-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ws-line);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(26, 26, 26, 0.65);
  letter-spacing: 0.02em;
  cursor: pointer;
  max-width: 42em;
}

.ws-consent input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--ws-red);
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(26, 26, 26, 0.35);
  border-radius: 3px;
  cursor: pointer;
}

.ws-consent input:checked {
  border-color: var(--ws-red);
  background: var(--ws-red);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M3 8.5l3 3 7-7' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

.ws-consent__text {
  display: inline;
}

.ws-consent__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.ws-consent__link:hover {
  color: var(--ws-red, #c8102e);
}

.ws-consent__link:focus-visible {
  outline: 2px solid var(--ws-red, #c8102e);
  outline-offset: 2px;
}

.ws-checkboxes {
  display: none;
}

.ws-fly-ghost {
  position: fixed;
  z-index: 10000;
  pointer-events: none;
  padding: 0.4rem 0.7rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(200, 16, 46, 0.35);
  border-radius: 2px;
  color: var(--ws-ink);
  font-family: var(--ws-font);
  white-space: nowrap;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  will-change: transform, opacity;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.42s ease;
}

#access-experience.ws-root .ws-consent {
  margin-top: 1rem;
}

.ws-mobile-submit-host {
  display: none;
}

.ws-submit-panel {
  position: relative;
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.55rem;
  scroll-margin-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

/* Submit CTA sits under the cart inside the drop zone (replaces visible cart status). */
.ws-drop-target > .ws-submit-panel--cart {
  margin-top: 0.35rem;
  width: 100%;
  max-width: 100%;
}

.ws-drop-target > .ws-submit-panel--cart .ws-submit-hint {
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
}

.ws-submit-panel[hidden] {
  display: none !important;
}

.ws-submit-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(26, 26, 26, 0.58);
  letter-spacing: 0.02em;
  transition: color 0.22s ease, transform 0.22s ease;
}

.ws-submit-panel--ready .ws-submit-hint {
  color: var(--ws-ink);
  transform: translateY(-1px);
}

.ws-submit-panel--awaiting-consent .ws-submit-hint {
  color: rgba(200, 16, 46, 0.88);
  font-weight: 600;
}

.ws-submit-btn {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.05rem 0 1.2rem;
  overflow: hidden;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.42);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(26, 26, 26, 0.11);
  border-radius: 999px;
  /* Clicable sin consentimiento (aria-disabled): mano; sin intereses (:disabled): prohibido */
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: translateZ(0);
  transition:
    color 0.24s ease,
    background 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.28s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}

.ws-submit-btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(200, 16, 46, 0.14),
    0 14px 30px rgba(26, 26, 26, 0.07);
}

.ws-submit-btn__shine {
  position: absolute;
  inset: -2px;
  z-index: 0;
  background:
    radial-gradient(circle at 16% 50%, rgba(200, 16, 46, 0.16), transparent 30%),
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.86) 42%, transparent 58%);
  opacity: 0;
  transform: translateX(-58%);
  pointer-events: none;
}

.ws-submit-btn__label,
.ws-submit-btn__icon {
  position: relative;
  z-index: 1;
}

.ws-submit-btn__icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(26, 26, 26, 0.22);
  transition:
    background 0.24s ease,
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.ws-submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  box-shadow: none;
}

/* Paso 2: intereses OK, falta casilla — parece pulsable, aún no envía */
.ws-submit-btn--needs-consent:not(:disabled) {
  opacity: 1;
  color: var(--ws-ink);
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.88) 100%);
  border-color: rgba(200, 16, 46, 0.42);
  box-shadow:
    0 0 0 1px rgba(200, 16, 46, 0.1),
    0 10px 26px rgba(26, 26, 26, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  cursor: pointer;
}

.ws-submit-btn--needs-consent:not(:disabled) .ws-submit-btn__icon {
  color: var(--ws-red);
  background: rgba(200, 16, 46, 0.14);
  box-shadow: none;
}

.ws-submit-btn--needs-consent:not(:disabled):hover {
  border-color: rgba(200, 16, 46, 0.55);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(200, 16, 46, 0.16),
    0 14px 32px rgba(26, 26, 26, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.ws-submit-btn--needs-consent:not(:disabled):active {
  transform: translateY(0);
}

.ws-submit-btn--ready {
  color: #fff;
  background: var(--ws-red);
  border-color: rgba(200, 16, 46, 0.72);
  cursor: pointer;
  box-shadow:
    0 12px 28px rgba(200, 16, 46, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ws-submit-btn--ready .ws-submit-btn__icon {
  color: var(--ws-red);
  background: #fff;
  box-shadow: 0 5px 14px rgba(26, 26, 26, 0.12);
}

.ws-submit-btn--ready:hover {
  transform: translateY(-1px);
  box-shadow:
    0 16px 34px rgba(200, 16, 46, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.ws-submit-btn--ready:hover .ws-submit-btn__icon {
  transform: translateX(2px) scale(1.04);
}

.ws-submit-btn--ready:active,
.ws-submit-panel--pressed .ws-submit-btn {
  transform: translateY(1px) scale(0.992);
}

.ws-submit-panel--sending .ws-submit-btn {
  cursor: wait;
  pointer-events: none;
  color: #fff;
  background: var(--ws-red);
  border-color: rgba(200, 16, 46, 0.7);
}

.ws-submit-panel--sending .ws-submit-btn__icon {
  background: #fff;
  color: var(--ws-red);
}

@media (prefers-reduced-motion: no-preference) {
  .ws-submit-btn--ready .ws-submit-btn__shine {
    animation: ws-submit-ready-shine 3.2s ease-in-out infinite;
  }

  .ws-submit-panel--ready .ws-submit-btn {
    animation: ws-submit-ready-breathe 3.2s ease-in-out infinite;
  }

  .ws-submit-panel--pressed .ws-submit-btn__icon {
    animation: ws-submit-arrow-pop 0.46s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  }

  .ws-submit-panel--sending .ws-submit-btn__shine {
    animation: ws-submit-send-sweep 0.95s cubic-bezier(0.22, 1, 0.36, 1) infinite;
    opacity: 0.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ws-submit-btn,
  .ws-submit-btn__icon,
  .ws-submit-btn__shine,
  .ws-submit-hint {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes ws-submit-ready-breathe {
  0%,
  100% {
    box-shadow:
      0 12px 28px rgba(200, 16, 46, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  45% {
    box-shadow:
      0 16px 36px rgba(200, 16, 46, 0.27),
      0 0 0 6px rgba(200, 16, 46, 0.07),
      inset 0 1px 0 rgba(255, 255, 255, 0.24);
  }
}

@keyframes ws-submit-ready-shine {
  0%,
  42% {
    opacity: 0;
    transform: translateX(-58%);
  }
  56% {
    opacity: 0.72;
  }
  72%,
  100% {
    opacity: 0;
    transform: translateX(58%);
  }
}

@keyframes ws-submit-arrow-pop {
  0% {
    transform: translateX(0) scale(1);
  }
  42% {
    transform: translateX(7px) scale(0.92);
  }
  72% {
    transform: translateX(2px) scale(1.12);
  }
  100% {
    transform: translateX(2px) scale(1);
  }
}

@keyframes ws-submit-send-sweep {
  0% {
    transform: translateX(-65%);
  }
  100% {
    transform: translateX(65%);
  }
}

@media (max-width: 720px) {
  .ws-main-row {
    grid-template-columns: 1fr;
  }
  .ws-mobile-submit-host--active {
    display: block;
    width: 100%;
    margin-top: 0.9rem;
    padding-bottom: 0.35rem;
  }
  .ws-drop-target {
    min-height: 140px;
  }
  .ws-drop-target > .ws-submit-panel--cart {
    margin-top: 0.5rem;
  }
  .ws-submit-panel--mobile-hosted {
    width: 100%;
    margin: 0;
  }
  .ws-submit-panel--mobile-hosted .ws-submit-hint {
    text-align: left;
    font-size: 12px;
    line-height: 1.45;
  }
  .ws-submit-panel:not(.ws-submit-panel--cart) {
    margin-top: 0.75rem;
  }
  .ws-submit-btn {
    min-height: 56px;
    padding-inline: 1rem;
    font-size: 12px;
  }
}
