/* Inspire Design — magazin: hero „De unde începem?" + chat Inspy (doar pe prima pagină) */
.inspy-hero { position: relative; width: 100%; min-height: 540px; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center top; overflow: hidden; }
.inspy-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,15,.30) 0%, rgba(20,17,15,.42) 55%, rgba(20,17,15,.55) 100%); }
.inspy-hero__inner { position: relative; z-index: 2; width: 100%; max-width: 760px; padding: 56px 24px; text-align: center; transition: padding .35s ease; }

.inspy-badge { display: inline-block; background: #dc2626; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .01em; padding: 8px 18px; border-radius: 999px; box-shadow: 0 6px 20px rgba(220,38,38,.35); }
.inspy-hero__title { color: #fff; font-size: 44px; font-weight: 300; letter-spacing: -0.6px; margin: 18px 0 26px; line-height: 1.1; transition: opacity .3s, margin .3s, font-size .3s; }

.inspy-box { position: relative; display: flex; align-items: flex-end; gap: 8px; background: #fff; border-radius: 22px; padding: 14px 14px 14px 16px; box-shadow: 0 20px 50px rgba(20,17,15,.28); text-align: left; }
.inspy-box__input { flex: 1 1 auto; border: 0; outline: none; resize: none; font: inherit; font-size: 16px; color: #14110f; line-height: 1.5; max-height: 132px; padding: 8px 4px; background: transparent; }
.inspy-box__input::placeholder { color: #9a958f; }
.inspy-box__img, .inspy-box__send { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s, transform .15s; border: 0; }
.inspy-box__img { width: 40px; height: 40px; background: transparent; color: #6b6660; align-self: center; }
.inspy-box__img:hover { background: #f3f1ee; color: #14110f; }
.inspy-box__img svg { width: 22px; height: 22px; }
.inspy-box__send { width: 40px; height: 40px; background: #14110f; color: #fff; align-self: flex-end; }
.inspy-box__send:hover { transform: scale(1.06); }
.inspy-box__send:disabled { background: #ded9d3; color: #fff; cursor: default; transform: none; }
.inspy-box__send svg { width: 20px; height: 20px; }

.inspy-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; transition: opacity .3s, max-height .3s; }
.inspy-chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #14110f; border: 0; border-radius: 999px; padding: 11px 18px; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; box-shadow: 0 6px 18px rgba(20,17,15,.16); transition: transform .15s, box-shadow .15s; text-decoration: none; }
.inspy-chip:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(20,17,15,.22); }
.inspy-chip svg { width: 17px; height: 17px; color: #6b6660; }

/* mod chat: ascunde titlu+chips, lasă loc conversației */
.inspy-hero.is-chatting { min-height: 0; }
.inspy-hero.is-chatting .inspy-hero__inner { max-width: 860px; padding: 28px 24px; }
.inspy-hero.is-chatting .inspy-badge,
.inspy-hero.is-chatting .inspy-chips { display: none; }
.inspy-hero.is-chatting .inspy-hero__title { font-size: 22px; margin: 0 0 16px; }

.inspy-chat { margin-top: 16px; max-height: 0; overflow: hidden; transition: max-height .4s ease; text-align: left; }
.inspy-hero.is-chatting .inspy-chat { max-height: 56vh; }
.inspy-chat__scroll { max-height: 56vh; overflow-y: auto; padding: 4px 2px 8px; display: flex; flex-direction: column; gap: 14px; }

.inspy-msg { display: flex; gap: 10px; max-width: 100%; }
.inspy-msg--user { flex-direction: row-reverse; }
.inspy-ava { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 999px; background: #14110f; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.inspy-msg--user .inspy-ava { background: #dc2626; }
.inspy-bubble { background: #fff; color: #14110f; border-radius: 16px; padding: 11px 15px; font-size: 14.5px; line-height: 1.5; box-shadow: 0 6px 18px rgba(20,17,15,.12); max-width: 78%; }
.inspy-msg--user .inspy-bubble { background: #14110f; color: #fff; }
.inspy-bubble img.inspy-up { display: block; width: 140px; border-radius: 10px; margin-top: 8px; }

.inspy-typing { display: inline-flex; gap: 4px; align-items: center; }
.inspy-typing span { width: 6px; height: 6px; border-radius: 999px; background: #b8b2aa; animation: inspyblink 1.2s infinite; }
.inspy-typing span:nth-child(2) { animation-delay: .2s; }
.inspy-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes inspyblink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }

.inspy-recos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 6px; }
.inspy-prod { position: relative; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 18px rgba(20,17,15,.10); text-decoration: none; color: #14110f; display: flex; flex-direction: column; }
.inspy-prod__img { aspect-ratio: 1; background: #f2f0ed; overflow: hidden; }
.inspy-prod__img img { width: 100%; height: 100%; object-fit: cover; }
.inspy-prod__body { padding: 10px 10px 12px; }
.inspy-prod__name { font-size: 12.5px; font-weight: 500; line-height: 1.35; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.inspy-prod__price { font-size: 13px; font-weight: 600; }
.inspy-prod .st-ai-add { top: 8px; right: 8px; width: 32px; height: 32px; }
.inspy-prod .st-ai-add svg { width: 17px; height: 17px; }

@media (max-width: 720px) {
  .inspy-hero { min-height: 460px; }
  .inspy-hero__title { font-size: 32px; }
  .inspy-bubble { max-width: 84%; }
}
