/* =====================================================
   ESPERIENZE — pagina + wizard acquisto
   ===================================================== */

/* ====== Categorie scroller ====== */
.exp-cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.exp-cat {
  position: relative;
  border: none;
  background: var(--c-bg-deep) center/cover no-repeat;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  height: 220px;
  padding: 0;
  text-align: left;
  color: var(--c-white);
  isolation: isolate;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}
.exp-cat::before {
  content: ""; position: absolute; inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
  z-index: -2;
}
.exp-cat__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 25, 18, 0.05) 0%, rgba(20, 25, 18, 0.7) 100%);
  z-index: -1;
}
.exp-cat__body {
  position: absolute; left: 22px; right: 22px; bottom: 22px;
  display: flex; flex-direction: column; gap: 6px;
}
.exp-cat__title {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--c-white);
}
.exp-cat__tag {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.exp-cat__count {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,.92);
  color: var(--c-primary);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

/* ====== Step 1: griglia esperienze ====== */
.exp-pick {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin: 22px 0 8px;
}
.exp-pick__card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 0;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.exp-pick__card:hover {
  transform: translateY(-3px);
  border-color: var(--c-accent);
  box-shadow: var(--shadow-md);
}
.exp-pick__img {
  height: 130px;
  background: var(--c-bg-deep) center/cover no-repeat;
}
.exp-pick__img--empty {
  background: linear-gradient(135deg, var(--c-bg-deep), var(--c-bg-soft));
}
.exp-pick__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.exp-pick__body h4 {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0;
  color: var(--c-ink);
}
.exp-pick__sup {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin: 0;
}
.exp-pick__sup strong { color: var(--c-accent); font-weight: 600; }
.exp-pick__sum {
  font-size: 0.85rem;
  color: var(--c-ink-soft);
  margin: 0;
  line-height: 1.4;
}
.exp-pick__price {
  margin-top: 6px;
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--c-primary);
}
.exp-pick__price small {
  font-family: var(--f-body);
  font-size: 11px;
  color: var(--c-muted);
  font-weight: 400;
  margin-left: 4px;
}

/* ====== Step 4: riepilogo ====== */
.exp-recap {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 22px;
  margin: 22px 0;
  align-items: start;
}
.exp-recap__img {
  height: 160px;
  background: var(--c-bg-deep) center/cover no-repeat;
  border-radius: var(--r-md);
}
.exp-recap__rows {
  display: flex; flex-direction: column; gap: 8px;
}
.exp-recap__row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed var(--c-line);
  font-size: 0.95rem;
}
.exp-recap__row span { color: var(--c-muted); }
.exp-recap__row strong { color: var(--c-ink); font-weight: 600; }
@media (max-width: 575.98px) {
  .exp-recap { grid-template-columns: 1fr; }
}
.exp-cat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.exp-cat:hover::before { transform: scale(1.08); }
.exp-cat.is-active {
  outline: 2px solid var(--c-accent);
  outline-offset: 4px;
}
.exp-cat--no-image {
  background-color: var(--c-primary);
  background-image: none !important;
}
.exp-cat--no-image .exp-cat__overlay { display: none; }
.exp-cat--no-image::before { display: none; }

.page-hero--no-image {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-d) 100%) !important;
}
.page-hero--no-image .page-hero__overlay { display: none; }

/* ====== Pannelli categoria ====== */
.exp-cat-panel { display: none; animation: fadeUp .45s ease both; }
.exp-cat-panel.is-active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* ====== Card esperienza ====== */
.exp-card {
  background: var(--c-white);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}
.exp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.exp-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: 0;
}
.exp-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}
.exp-card:hover .exp-card__media img { transform: scale(1.06); }
.exp-card--no-image .exp-card__media {
  background: linear-gradient(135deg, var(--c-bg-deep), var(--c-bg-soft));
}

.exp-card__price {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 100px;
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--c-primary);
  box-shadow: var(--shadow-sm);
}
.exp-card__price-suffix {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--c-muted);
  margin-left: 4px;
}

.exp-card__body {
  padding: 22px 24px 26px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.exp-card__title {
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0;
}
.exp-card__summary {
  color: var(--c-ink-soft);
  font-size: .96rem;
  margin: 0;
}
.exp-card__supplier {
  font-size: 11px;
  color: var(--c-muted);
  margin: -4px 0 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.exp-card__supplier strong {
  color: var(--c-accent);
  font-weight: 600;
}
.exp-card__highlights {
  list-style: none;
  padding: 0;
  margin: 4px 0 14px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.exp-card__highlights li {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: rgba(181, 112, 58, 0.1);
  padding: 4px 10px;
  border-radius: 100px;
}
.exp-card__cta { margin-top: auto; align-self: flex-start; }

/* ====== Wizard ====== */
.exp-wizard {
  position: fixed; inset: 0;
  z-index: 2000;
  visibility: hidden; opacity: 0;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.exp-wizard.is-open {
  visibility: visible; opacity: 1;
  transition: opacity .35s ease;
}
.exp-wizard__backdrop {
  position: absolute; inset: 0;
  background: rgba(20, 25, 18, 0.7);
  backdrop-filter: blur(6px);
}
.exp-wizard__panel {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -45%) scale(.96);
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--c-bg);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
.exp-wizard.is-open .exp-wizard__panel {
  transform: translate(-50%, -50%) scale(1);
}
.exp-wizard__close {
  position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--c-white);
  color: var(--c-ink);
  font-size: 22px; line-height: 1;
  cursor: pointer;
  z-index: 3;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, background .25s ease;
}
.exp-wizard__close:hover { background: var(--c-accent); color: var(--c-white); transform: rotate(90deg); }

.exp-wizard__steps {
  display: flex; justify-content: center; gap: 12px;
  padding: 24px 24px 0;
  flex-wrap: wrap;
}
.exp-wizard__step {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-bg-deep);
  color: var(--c-muted);
  padding: 6px 14px 6px 6px;
  border-radius: 100px;
  font-size: 13px; font-weight: 500;
  transition: background .25s, color .25s;
}
.exp-wizard__step i {
  width: 26px; height: 26px;
  background: var(--c-bg);
  color: inherit;
  font-style: normal; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 12px;
}
.exp-wizard__step b { font-weight: 600; letter-spacing: 0.02em; }
.exp-wizard__step.is-active {
  background: var(--c-primary);
  color: var(--c-white);
}
.exp-wizard__step.is-active i { background: var(--c-accent); color: var(--c-white); }
.exp-wizard__step.is-done {
  background: var(--c-accent);
  color: var(--c-white);
}
.exp-wizard__step.is-done i { background: rgba(255,255,255,.2); color: var(--c-white); }
@media (max-width: 575.98px) {
  .exp-wizard__step b { display: none; }
  .exp-wizard__step { padding: 4px; }
}

.exp-wizard__body { padding: 24px 36px 40px; }

/* ====== Step ====== */
.exp-step { display: none; animation: fadeUp .45s ease both; }
.exp-step.is-active { display: block; }

.exp-step__hero {
  height: 220px;
  background-size: cover;
  background-position: center;
  border-radius: var(--r-md);
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
}
.exp-step__hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(20, 25, 18, 0.45) 100%);
}

.exp-step__content { padding: 0 4px; }
.exp-step__summary {
  color: var(--c-ink-soft);
  font-size: 1.02rem;
  margin-bottom: 1.2em;
}
.exp-step__details {
  list-style: none;
  padding: 0; margin: 0 0 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 22px 0;
}
.exp-step__details li {
  display: flex; flex-direction: column; gap: 3px;
}
.exp-step__details strong {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--c-primary);
  line-height: 1;
}
.exp-step__details span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.exp-step__cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 28px;
}
/* "Indietro" deve essere leggibile sul pannello chiaro del wizard */
.exp-wizard__panel .btn-ghost {
  color: var(--c-ink);
  background: var(--c-white);
  border-color: var(--c-line);
}
.exp-wizard__panel .btn-ghost:hover {
  background: var(--c-bg-soft);
  color: var(--c-primary);
  border-color: var(--c-primary);
  transform: none;
}

/* ====== Form wizard ====== */
.exp-form { display: flex; flex-direction: column; gap: 18px; margin-top: 22px; }
.exp-form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.exp-form__field {
  display: flex; flex-direction: column; gap: 6px;
}
.exp-form__field > span {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 600;
}
.exp-form__field input {
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  background: var(--c-white);
  font-family: var(--f-body);
  font-size: 15px;
  transition: border-color .25s, box-shadow .25s;
}
.exp-form__field input:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(58, 74, 55, 0.12);
}
.exp-form__check {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: .98rem;
  color: var(--c-ink-soft);
}
.exp-form__check input { accent-color: var(--c-primary); width: 18px; height: 18px; }

/* ====== Riepilogo prezzo ====== */
.exp-summary {
  background: var(--c-white);
  border-radius: var(--r-md);
  padding: 20px 22px;
  margin-top: 8px;
  border: 1px solid var(--c-line);
}
.exp-summary__row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0;
  color: var(--c-ink-soft);
  font-size: .98rem;
}
.exp-summary__row + .exp-summary__row { border-top: 1px dashed var(--c-line); }
.exp-summary__row strong { font-family: var(--f-body); font-weight: 600; color: var(--c-ink); }
.exp-summary__row--total {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 2px solid var(--c-primary) !important;
}
.exp-summary__row--total span,
.exp-summary__row--total strong {
  font-family: var(--f-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--c-primary);
}

/* ====== Pagamento ====== */
.exp-pay { padding: 18px 0; }
.exp-pay__loading {
  text-align: center;
  padding: 40px 0;
  color: var(--c-muted);
  font-style: italic;
}
.exp-pay__error {
  background: #f8e6e0;
  color: #6a2b14;
  border: 1px solid #e6c2b3;
  padding: 14px 16px;
  border-radius: var(--r-sm);
}

/* ====== Chatbox (stile ElevenLabs-like) ====== */
.chatbox-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 1500;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-white);
  border: none;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.chatbox-fab:hover { transform: scale(1.06); background: var(--c-primary-d); box-shadow: var(--shadow-lg); }
.chatbox-fab svg { width: 28px; height: 28px; }
.chatbox-fab__pulse {
  position: absolute; inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--c-accent);
  animation: chatPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes chatPulse {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.4); opacity: 0; }
}

.chatbox {
  position: fixed;
  bottom: 100px; right: 24px;
  z-index: 1499;
  width: min(380px, calc(100vw - 48px));
  height: min(620px, calc(100vh - 140px));
  background: var(--c-white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(.96);
  pointer-events: none;
  transition: opacity .3s ease, transform .35s cubic-bezier(.2, .7, .2, 1);
}
.chatbox.is-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.chatbox__header {
  background: var(--c-primary);
  color: var(--c-white);
  padding: 18px 22px;
  display: flex; align-items: center; gap: 14px;
}
.chatbox__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--c-accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.chatbox__avatar::after {
  content: "";
  position: absolute;
  bottom: 2px; right: 2px;
  width: 10px; height: 10px;
  background: #4dd17a;
  border: 2px solid var(--c-primary);
  border-radius: 50%;
}
.chatbox__avatar svg { width: 22px; height: 22px; color: var(--c-white); }
.chatbox__avatar--oxa { background: #fff; }
.chatbox__avatar--oxa img {
  width: 30px; height: 30px;
  object-fit: contain;
  display: block;
}
.chatbox__avatar--oxa::after { border-color: var(--c-primary); }
.chatbox__title { font-family: var(--f-display); font-size: 1.1rem; line-height: 1.1; margin: 0; color: var(--c-white); }
.chatbox__subtitle { font-size: 12px; opacity: .85; margin: 0; }
.chatbox__close,
.chatbox__voice {
  background: transparent;
  border: none;
  color: var(--c-white);
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: background .25s, color .25s, transform .2s;
}
.chatbox__close { margin-left: auto; font-size: 24px; }
.chatbox__voice { margin-left: auto; }
.chatbox__voice + .chatbox__close { margin-left: 0; }
.chatbox__close:hover,
.chatbox__voice:hover { background: rgba(255, 255, 255, 0.15); }
.chatbox__voice svg { width: 18px; height: 18px; }
.chatbox__voice.is-on {
  background: var(--c-accent);
  color: var(--c-white);
  box-shadow: 0 0 0 0 rgba(181, 112, 58, 0.6);
  animation: voicePulse 2s ease-in-out infinite;
}
@keyframes voicePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(181, 112, 58, 0.6); }
  50%      { box-shadow: 0 0 0 8px rgba(181, 112, 58, 0); }
}

/* Microfono nell'input */
.chatbox__mic {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--c-bg-soft);
  color: var(--c-ink-soft);
  border: 1px solid var(--c-line);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, color .25s, transform .2s;
}
.chatbox__mic:hover { background: var(--c-accent); color: var(--c-white); border-color: var(--c-accent); }
.chatbox__mic svg { width: 17px; height: 17px; }
.chatbox__mic.is-listening {
  background: #DC2626;
  color: #fff;
  border-color: #DC2626;
  animation: micPulse 1.1s ease-in-out infinite;
}
@keyframes micPulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.55); }
  50%      { transform: scale(1.06); box-shadow: 0 0 0 9px rgba(220, 38, 38, 0); }
}

.chatbox__messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 18px;
  background: var(--c-bg);
  display: flex; flex-direction: column; gap: 12px;
  scroll-behavior: smooth;
}

.chat-msg {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: .95rem;
  line-height: 1.5;
  animation: msgIn .3s ease both;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.chat-msg--bot {
  align-self: flex-start;
  background: var(--c-white);
  color: var(--c-ink);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.chat-msg--user {
  align-self: flex-end;
  background: var(--c-primary);
  color: var(--c-white);
  border-bottom-right-radius: 4px;
}
.chat-msg--typing {
  display: inline-flex; align-items: center; gap: 4px;
}
.chat-msg--typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-muted);
  animation: dot 1.2s infinite ease-in-out;
}
.chat-msg--typing span:nth-child(2) { animation-delay: .15s; }
.chat-msg--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot {
  0%, 60%, 100% { transform: scale(.7); opacity: .4; }
  30% { transform: scale(1); opacity: 1; }
}

/* Suggerimenti rapidi sotto i messaggi */
.chat-suggestions {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 8px;
}
.chat-suggestion {
  background: rgba(58, 74, 55, 0.08);
  color: var(--c-primary);
  border: 1px solid rgba(58, 74, 55, 0.15);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.chat-suggestion:hover { background: var(--c-primary); color: var(--c-white); }

/* ============== Card esperienza dentro la chat (semplice) ============== */
.chat-rec {
  position: relative;
  display: block;
  width: 100%;
  background: #ffffff;
  border: 1px solid #DCD3BE;
  border-radius: 14px;
  overflow: hidden;
  margin: 8px 0 4px;
  box-shadow: 0 4px 14px rgba(30,34,27,0.08);
}

/* immagine — height fissa, niente aspect-ratio */
.chat-rec__img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  background: #ECE3D2;
}
.chat-rec__img--ph {
  background: linear-gradient(135deg, #3A4A37 0%, #2A3826 100%);
}

/* badge fornitore in alto a sinistra */
.chat-rec__sup {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(255,255,255,0.95);
  color: #B5703A;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  z-index: 2;
}

/* badge prezzo in alto a destra */
.chat-rec__price {
  position: absolute;
  top: 12px; right: 12px;
  background: #3A4A37;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 2;
}
.chat-rec__price i {
  font-style: normal;
  opacity: 0.85;
  font-size: 10px;
  margin-left: 2px;
}

/* body */
.chat-rec__body {
  padding: 14px 16px 16px;
  background: #ffffff;
  color: #1E221B;
}
.chat-rec__name {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 19px;
  font-weight: 500;
  color: #1E221B;
  line-height: 1.2;
  margin: 0 0 6px;
}
.chat-rec__desc {
  font-size: 13px;
  color: #4A4D43;
  line-height: 1.45;
  margin: 0 0 12px;
}

/* bottone Acquista */
.chat-rec__btn {
  display: inline-block;
  background: #3A4A37;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s ease, transform .2s ease;
  box-shadow: 0 4px 12px rgba(58,74,55,0.25);
}
.chat-rec__btn:hover {
  background: #B5703A;
  transform: translateY(-1px);
}
.chat-rec__btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  background: #7A7A6F;
  transform: none;
  box-shadow: none;
}
.chat-rec__cta:disabled { opacity: .5; cursor: not-allowed; }
.chat-rec__sum {
  font-size: 13px;
  color: var(--c-ink-soft);
  margin: 0 0 8px;
  line-height: 1.45;
}
.chat-rec__sup {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin: 0 0 4px;
}
.chat-rec__sup strong { color: var(--c-accent); font-weight: 600; }

/* ====== Inline form dentro la chat ====== */
.chat-form {
  background: var(--c-white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  margin-top: 6px;
  animation: msgIn .35s ease both;
  box-shadow: var(--shadow-sm);
}
.chat-form__hero {
  position: relative;
  height: 110px;
  background-size: cover;
  background-position: center;
}
.chat-form__hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 25, 18, 0.1), rgba(20, 25, 18, 0.7));
}
.chat-form__name {
  position: absolute; left: 14px; bottom: 10px;
  color: var(--c-white);
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 500;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.chat-form__body {
  padding: 14px 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.chat-form label {
  display: flex; flex-direction: column; gap: 4px;
}
.chat-form label > span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 600;
}
.chat-form input[type=text],
.chat-form input[type=email],
.chat-form input[type=tel],
.chat-form input[type=date],
.chat-form input[type=number] {
  border: 1px solid var(--c-line);
  border-radius: 8px;
  padding: 9px 11px;
  font-family: var(--f-body);
  font-size: 14px;
  background: var(--c-bg);
  outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.chat-form input:focus {
  border-color: var(--c-primary);
  background: var(--c-white);
  box-shadow: 0 0 0 3px rgba(58, 74, 55, 0.1);
}
.chat-form__check {
  flex-direction: row !important;
  align-items: center;
  gap: 8px !important;
  font-size: 13px;
  color: var(--c-ink-soft);
  cursor: pointer;
}
.chat-form__check input { accent-color: var(--c-primary); width: 16px; height: 16px; }
.chat-form__check span { font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--c-ink-soft); font-weight: 400; }

.chat-form__summary {
  background: var(--c-bg-soft);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 4px;
}
.chat-form__row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px;
  color: var(--c-ink-soft);
  padding: 4px 0;
}
.chat-form__row strong { font-weight: 600; color: var(--c-ink); }
.chat-form__row--note { font-size: 12px; opacity: .8; }
.chat-form__row--total {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--c-line);
  font-family: var(--f-display);
  font-size: 1.1rem;
  color: var(--c-primary);
}
.chat-form__row--total strong {
  font-family: var(--f-display);
  font-size: 1.15rem;
  color: var(--c-primary);
}

.chat-form__pay {
  margin-top: 6px;
  background: var(--c-primary);
  color: var(--c-white);
  border: none;
  padding: 12px 16px;
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 14px;
  cursor: pointer;
  transition: background .25s, transform .2s;
}
.chat-form__pay:hover:not(:disabled) {
  background: var(--c-primary-d);
  transform: translateY(-1px);
}
.chat-form__pay:disabled { opacity: .6; cursor: wait; }
.chat-form__note {
  background: #f8e6e0;
  color: #6a2b14;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12px;
  margin: 4px 0 0;
}

.chatbox__input {
  display: flex; gap: 8px;
  padding: 14px 14px 16px;
  background: var(--c-white);
  border-top: 1px solid var(--c-line);
}
.chatbox__input input {
  flex: 1;
  border: 1px solid var(--c-line);
  border-radius: 100px;
  padding: 10px 16px;
  font-family: var(--f-body);
  font-size: 14px;
  background: var(--c-bg);
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.chatbox__input input:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(58, 74, 55, 0.1);
  background: var(--c-white);
}
.chatbox__input button {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-white);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, transform .2s;
}
.chatbox__input button:hover { background: var(--c-primary-d); transform: scale(1.05); }
.chatbox__input button:disabled { background: var(--c-muted); cursor: not-allowed; transform: none; }
.chatbox__input button svg { width: 18px; height: 18px; }

.chatbox__footer {
  text-align: center;
  font-size: 11px;
  color: var(--c-muted);
  padding: 8px 0 12px;
  background: var(--c-white);
  letter-spacing: 0.04em;
  display: flex; align-items: center; justify-content: center; gap: 4px;
}
.chatbox__brand {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--c-ink);
  font-weight: 600;
}
.chatbox__brand img {
  width: 16px; height: 16px;
  object-fit: contain;
  display: inline-block;
}
.chatbox__brand:hover { color: var(--c-accent); }

/* ====== Responsive ====== */
@media (max-width: 575.98px) {
  .exp-wizard__panel { width: 100%; max-height: 100vh; border-radius: 0; }
  .exp-wizard__body { padding: 16px 22px 30px; }
  .exp-step__hero { height: 160px; }
  .chatbox {
    bottom: 0; right: 0;
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }
  .chatbox-fab { bottom: 16px; right: 16px; width: 56px; height: 56px; }
}
