/* LC Store chat widget */
#lcc-root, #lcc-root * { box-sizing: border-box; font-family: "Noto Sans", "Noto Sans Armenian", -apple-system, "Segoe UI", Roboto, Arial, sans-serif; text-transform: none; letter-spacing: 0; }
#lcc-root { position: fixed; right: 20px; bottom: 20px; z-index: 2147483000; }
#lcc-btn { position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(135deg, #c99d44, #a87a23); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.3); display: flex; align-items: center; justify-content: center; transition: transform .15s ease; }
#lcc-btn:hover { transform: scale(1.06); }
#lcc-btn svg { width: 28px; height: 28px; fill: #fff; }
#lcc-badge { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #d92d20; color: #fff; font-size: 12px; font-weight: 700; line-height: 22px; text-align: center; display: none; border: 2px solid #fff; }
#lcc-panel { position: absolute; right: 0; bottom: 74px; width: 390px; max-width: calc(100vw - 24px); height: 620px; max-height: calc(100vh - 110px); background: #fff; border-radius: 20px; overflow: hidden; display: none; flex-direction: column; box-shadow: 0 18px 60px rgba(0,0,0,.34); }
#lcc-root.lcc-open #lcc-panel { display: flex; animation: lcc-in .18s ease; }
@keyframes lcc-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
#lcc-head { background: radial-gradient(140% 180% at 0 0, #3a2f17 0, #17181a 60%); color: #fff; padding: 14px 12px 14px 16px; display: flex; align-items: center; gap: 12px; flex: none; }
.lcc-ava { position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #c99d44, #a87a23); display: flex; align-items: center; justify-content: center; }
.lcc-ava svg { width: 21px; height: 21px; fill: #fff; }
.lcc-ava .lcc-dot { position: absolute; right: -1px; bottom: -1px; width: 13px; height: 13px; border-radius: 50%; background: #9aa0a6; border: 2px solid #1c1c1c; }
#lcc-head.lcc-online .lcc-dot { background: #34c759; }
.lcc-ht { flex: 1; min-width: 0; }
#lcc-head .lcc-title { font-size: 16px; font-weight: 800; line-height: 1.2; }
#lcc-head .lcc-sub { font-size: 12.5px; color: #cfd1d5; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lcc-hbtn, #lcc-close { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; text-decoration: none; transition: background .15s; }
.lcc-hbtn svg { width: 18px; height: 18px; fill: #fff; }
.lcc-hbtn:hover, #lcc-close:hover { background: #b98a2f; }
.lcc-hwa:hover { background: #25d366; }
#lcc-close { font-size: 24px; line-height: 1; }
#lcc-msgs { flex: 1; overflow-y: auto; padding: 14px 14px 6px; background: #f5f5f3; overscroll-behavior: contain; scrollbar-width: thin; }
.lcc-day { text-align: center; font-size: 11.5px; font-weight: 600; color: #8b9097; margin: 4px 0 12px; }
.lcc-row { display: flex; flex-direction: column; align-items: flex-start; margin: 0 0 12px; }
.lcc-row.lcc-visitor { align-items: flex-end; }
.lcc-m { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; color: #17181a; }
.lcc-visitor .lcc-m { background: #b98a2f; color: #fff; border-bottom-right-radius: 5px; }
.lcc-bot .lcc-m, .lcc-agent .lcc-m { background: #fff; border: 1px solid #e7e8ea; border-bottom-left-radius: 5px; }
.lcc-agent .lcc-m { border-color: #e3d3aa; background: #fffdf8; }
.lcc-who { display: block; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #8a6417; margin-bottom: 3px; }
.lcc-time { font-size: 10.5px; color: #a3a7ad; margin: 3px 4px 0; }
.lcc-pending .lcc-m { opacity: .75; }
.lcc-failed { cursor: pointer; }
.lcc-failed .lcc-m { background: #b42318; opacity: 1; }
.lcc-fail { font-size: 12px; color: #b42318; margin-top: 4px; font-weight: 600; }
.lcc-cards { display: grid; gap: 8px; width: 100%; margin-top: 8px; }
.lcc-card { display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid #e7e8ea; border-radius: 14px; padding: 8px 10px 8px 8px; text-decoration: none !important; color: #17181a !important; transition: border-color .15s, box-shadow .15s, transform .15s; }
.lcc-card:hover { border-color: #d9b469; box-shadow: 0 6px 18px rgba(23,24,26,.1); transform: translateY(-1px); }
.lcc-cimg { flex: none; width: 60px; height: 60px; border-radius: 10px; background: #f6f6f4; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lcc-cimg img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.lcc-ct { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lcc-ct b { font-size: 13px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lcc-cp { font-style: normal; font-size: 14.5px; font-weight: 800; color: #17181a; }
.lcc-cp.lcc-sale { color: #c8102e; }
.lcc-cp del { font-size: 12px; font-weight: 500; color: #9a9fa6; }
.lcc-cp u { text-decoration: none; font-size: 11px; font-weight: 700; color: #b42318; background: #fef3f2; border-radius: 999px; padding: 1px 7px; }
.lcc-card em { flex: none; font-style: normal; font-size: 12.5px; font-weight: 700; color: #8a6417; white-space: nowrap; }
.lcc-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.lcc-links a { display: inline-flex; align-items: center; background: #17181a; color: #fff !important; font-size: 13px; font-weight: 700; border-radius: 10px; padding: 8px 13px; text-decoration: none !important; transition: background .15s; }
.lcc-links a:hover { background: #b98a2f; }
.lcc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.lcc-chips-h { flex: 1 1 100%; font-size: 12.5px; font-weight: 600; color: #6b7076; margin-bottom: 2px; }
.lcc-chip { border: 1px solid #e3d3aa; color: #8a6417; background: #fff; border-radius: 999px; padding: 7px 13px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all .15s; }
.lcc-chip:hover { background: #b98a2f; border-color: #b98a2f; color: #fff; }
.lcc-chip-h { background: #17181a; border-color: #17181a; color: #fff; }
.lcc-quick { justify-content: flex-start; }
.lcc-quick .lcc-chip { font-size: 12.5px; padding: 6px 12px; }
.lcc-typing { display: inline-flex; gap: 4px; align-items: center; background: #fff; border: 1px solid #e7e8ea; border-radius: 16px; border-bottom-left-radius: 5px; padding: 12px 14px; margin-bottom: 12px; }
.lcc-typing span { width: 7px; height: 7px; border-radius: 50%; background: #b98a2f; opacity: .35; animation: lcc-dot 1s infinite; }
.lcc-typing span:nth-child(2) { animation-delay: .15s; }
.lcc-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes lcc-dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
#lcc-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid #e7e8ea; background: #fff; flex: none; }
#lcc-input { flex: 1; border: 1px solid #dcdee2; border-radius: 22px; padding: 11px 15px; font-size: 14.5px; line-height: 1.4; outline: none; resize: none; height: 44px; max-height: 104px; color: #17181a; background: #fafafb; overflow-y: auto; scrollbar-width: none; box-shadow: none; }
#lcc-input::-webkit-scrollbar { display: none; }
#lcc-input:focus { border-color: #b98a2f; background: #fff; box-shadow: 0 0 0 3px rgba(185,138,47,.16); }
#lcc-send { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: #b98a2f; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; }
#lcc-send:hover { background: #17181a; }
#lcc-send svg { width: 19px; height: 19px; fill: #fff; margin-left: 2px; }
#lcc-send:disabled { opacity: .5; cursor: default; }
@media (max-width: 480px) {
    #lcc-root { right: 12px; bottom: 12px; }
    #lcc-panel { position: fixed; right: 0; left: 0; bottom: 0; top: 0; width: auto; max-width: none; height: auto; max-height: none; border-radius: 0; animation: none !important; }
    #lcc-head { padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
    #lcc-form { padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
    #lcc-input { font-size: 16px; }
    #lcc-close { width: 40px; height: 40px; font-size: 28px; }
    html.lcc-is-open, html.lcc-is-open body { overflow: hidden !important; }
}

/* guided choices under an answer */
.lcc-opts .lcc-chip-sub { background: #fbf5e8; border-color: #e3d3aa; font-weight: 700; }
.lcc-opts .lcc-chip-brand { background: #fff; }
.lcc-opts .lcc-chip-price { background: #fff; border-style: dashed; }
.lcc-opts .lcc-chip-nav { background: #f1f2f4; border-color: #e1e3e7; color: #3d4147; }
.lcc-opts .lcc-chip-h, .lcc-opts .lcc-chip-t { font-size: 12.5px; padding: 6px 12px; }
.lcc-opts .lcc-chip-t { background: transparent; border-color: #d9dbdf; color: #6b7076; }
