/* Βοηθός επιτοίχιας εγκατάστασης (επιπλέον κουμπί + panel).
   Φορτώνεται από: /epitoixies-egkatastaseis/ και /blog/epitoixies-egkatastaseis-tileoraseon/ */
.ttsf-wiz {
  background: #f1efe4;
  color: #333;
  border-top: 6px solid #ffbd00;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  text-align: left;
  box-sizing: border-box;
}
/* Floating panel (desktop: κάτω δεξιά) */
.ttsf-wiz--float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + var(--tts-off, 0px));
  width: 390px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px - var(--tts-off, 0px));
  overflow-y: auto;
  border-radius: 12px;
  padding: 18px 18px 20px;
  z-index: 9990;
  display: none;
}
.ttsf-wiz--float.is-open { display: block; animation: ttsfIn 0.22s ease; }
@keyframes ttsfIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Το floating κουμπί */
.ttsf-fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + var(--tts-off, 0px));
  z-index: 9990;
  display: inline-flex; align-items: center; gap: 8px;
  background: #ffbd00; color: #222;
  border: none; border-radius: 999px;
  padding: 13px 20px;
  font-size: 15px; font-weight: 700; font-family: inherit; line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  animation: ttsfPulse 2s ease-out 3;
  transition: transform 0.15s ease, background 0.15s ease;
}
.ttsf-fab:hover { background: #d9a300; transform: translateY(-2px); }
.ttsf-fab.is-hidden { display: none; }
@keyframes ttsfPulse {
  0%   { box-shadow: 0 6px 18px rgba(0,0,0,0.3), 0 0 0 0 rgba(255,189,0,0.65); }
  70%  { box-shadow: 0 6px 18px rgba(0,0,0,0.3), 0 0 0 16px rgba(255,189,0,0); }
  100% { box-shadow: 0 6px 18px rgba(0,0,0,0.3), 0 0 0 0 rgba(255,189,0,0); }
}
@media (prefers-reduced-motion: reduce) {
  .ttsf-fab { animation: none; }
  .ttsf-wiz--float.is-open { animation: none; }
}
.ttsf-backdrop { display: none; }
.ttsf-wiz__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ttsf-wiz__close {
  flex-shrink: 0; background: transparent; border: none;
  font-size: 20px; line-height: 1; color: #888780; cursor: pointer;
  padding: 4px 6px; font-family: inherit;
}
.ttsf-wiz__close:hover { color: #242424; }
.ttsf-wiz *, .ttsf-wiz *::before, .ttsf-wiz *::after { box-sizing: border-box; }
.ttsf-wiz__title { font-size: 20px; font-weight: 700; color: #1a5f7a; line-height: 1.3; }
.ttsf-wiz__sub { font-size: 14px; color: #6b6b6b; margin-top: 4px; }
.ttsf-wiz__progress { height: 5px; background: #ddd8c9; border-radius: 3px; margin: 16px 0 18px; overflow: hidden; }
.ttsf-wiz__bar { height: 100%; width: 0; background: #ffbd00; border-radius: 3px; transition: width 0.3s ease; }
.ttsf-wiz__body:focus { outline: none; }
.ttsf-wiz__q { font-size: 17px; font-weight: 600; color: #242424; margin: 0 0 12px; line-height: 1.35; }
.ttsf-wiz__hint { font-size: 13px; color: #777; margin: -6px 0 12px; }
.ttsf-wiz__opts { display: flex; flex-direction: column; gap: 10px; }
.ttsf-wiz__opt {
  display: block; width: 100%; text-align: left;
  background: #fff; color: #242424;
  border: 2px solid #ddd8c9; border-radius: 8px;
  padding: 14px 16px; min-height: 50px;
  font-size: 15px; font-weight: 600; line-height: 1.35;
  cursor: pointer; font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.ttsf-wiz__opt small { display: block; font-weight: 500; color: #777; font-size: 12.5px; margin-top: 2px; }
.ttsf-wiz__opt:hover { border-color: #ffbd00; transform: translateY(-1px); }
.ttsf-wiz__opt.is-on { border-color: #ffbd00; background: #fff7d6; }
.ttsf-wiz__row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; align-items: center; }
.ttsf-wiz__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px; border: 2px solid transparent;
  font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer;
  font-family: inherit; line-height: 1.2; transition: all 0.2s ease;
}
.ttsf-wiz__btn--primary { background: #ffbd00; color: #222; border-color: #ffbd00; }
.ttsf-wiz__btn--primary:hover { background: #d9a300; border-color: #d9a300; }
.ttsf-wiz__btn--ghost { background: transparent; color: #1a5f7a; border-color: #1a5f7a; }
.ttsf-wiz__btn--ghost:hover { background: #1a5f7a; color: #fff; }
.ttsf-wiz__back { background: none; border: none; color: #1a5f7a; font-size: 14px; font-weight: 600; cursor: pointer; padding: 8px 0; font-family: inherit; }
.ttsf-wiz__back:hover { text-decoration: underline; }
.ttsf-wiz__sum { background: #fff; border-radius: 8px; padding: 14px 16px; margin: 0 0 14px; }
.ttsf-wiz__sum-title { font-size: 13px; font-weight: 700; color: #888780; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 6px; }
.ttsf-wiz__sum ul { list-style: none; margin: 0; padding: 0; }
.ttsf-wiz__sum li { font-size: 15px; padding: 3px 0 3px 18px; position: relative; color: #333; }
.ttsf-wiz__sum li::before { content: "\2022"; position: absolute; left: 2px; color: #ffbd00; font-weight: 900; }
.ttsf-wiz__price { background: #fff7d6; border: 2px solid #ffbd00; border-radius: 8px; padding: 14px 16px; margin: 0 0 14px; text-align: center; }
.ttsf-wiz__price-label { font-size: 13px; color: #6b6b6b; }
.ttsf-wiz__price-val { font-size: 30px; font-weight: 800; color: #242424; line-height: 1.2; }
.ttsf-wiz__price-val small { font-size: 14px; font-weight: 600; color: #6b6b6b; }
.ttsf-wiz__price--promo { background: #1a5f7a; border-color: #1a5f7a; }
.ttsf-wiz__price--promo .ttsf-wiz__price-label, .ttsf-wiz__price--promo .ttsf-wiz__price-val small { color: #e6f0f4; }
.ttsf-wiz__price--promo .ttsf-wiz__price-val { color: #ffbd00; }
.ttsf-wiz__price--promo s { font-size: 17px; font-weight: 600; color: #e6f0f4; opacity: .75; }
.ttsf-wiz__notice { background: #fff; border-left: 4px solid #ffbd00; border-radius: 6px; padding: 12px 14px; margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: #444; }
.ttsf-wiz__fine { font-size: 12.5px; color: #777; line-height: 1.5; margin: 0 0 14px; }
@media (max-width: 480px) {
  .ttsf-wiz--float {
    left: 0; right: 0; bottom: var(--tts-off, 0px);
    width: auto; max-width: none;
    max-height: calc(88vh - var(--tts-off, 0px));
    border-radius: 14px 14px 0 0;
    padding: 16px 14px 20px;
  }
  .ttsf-wiz__btn { width: 100%; }
  .ttsf-fab { padding: 13px 16px; }
  .ttsf-fab__long { display: none; }
  .ttsf-backdrop.is-open { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 9989; }
}

/* Μικρό μήνυμα πάνω από το κουμπί */
.ttsf-nudge { position: fixed; right: 16px; bottom: calc(16px + 60px + var(--tts-off, 0px)); z-index: 9991; max-width: min(300px, calc(100vw - 32px)); display: flex; align-items: flex-start; background: #fff; color: #242424; border-radius: 12px; border-left: 4px solid #ffbd00; box-shadow: 0 8px 24px rgba(0,0,0,0.28); animation: ttsfIn 0.25s ease; }
.ttsf-nudge::after { content: ""; position: absolute; right: 30px; bottom: -6px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); }
.ttsf-nudge__go { flex: 1; text-align: left; background: none; border: none; padding: 12px 4px 12px 14px; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.4; color: #242424; cursor: pointer; }
.ttsf-nudge__go:hover { color: #1a5f7a; }
.ttsf-nudge__x { background: none; border: none; color: #888780; font-size: 16px; line-height: 1; padding: 10px 12px; cursor: pointer; font-family: inherit; }
.ttsf-nudge__x:hover { color: #242424; }
@media (prefers-reduced-motion: reduce) { .ttsf-nudge { animation: none; } }
/* Κουμπί μέσα στη σελίδα που ανοίγει τον βοηθό (<button class="ttsf-inline-btn" data-open-wizard>) */
.ttsf-inline-btn { display: inline-flex; align-items: center; gap: 8px; background: #ffbd00; color: #222; border: 2px solid #ffbd00; border-radius: 8px; padding: 12px 22px; font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; cursor: pointer; transition: all 0.2s ease; }
.ttsf-inline-btn:hover { background: #d9a300; border-color: #d9a300; }
