/* GreenZ Chat widget. Scoped under .gzc- to avoid theme clashes. */
.gzc-root, .gzc-root * { box-sizing: border-box; }
.gzc-root { --gzc-green: #006c50; --gzc-hover: #50b848; --gzc-accent: #d2ab67; font-family: Lato, "Helvetica Neue", Arial, sans-serif; font-size: 15px; line-height: 1.45; color: #1d2a25; }

.gzc-bubble { position: fixed; right: 20px; bottom: 20px; z-index: 9999; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--gzc-green); color: #fff; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); display: flex; align-items: center; justify-content: center; transition: background .15s; }
.gzc-bubble:hover, .gzc-bubble:focus-visible { background: var(--gzc-hover); outline: none; }
.gzc-bubble svg { width: 26px; height: 26px; fill: currentColor; }

.gzc-panel { position: fixed; right: 20px; bottom: 88px; z-index: 9999; width: 360px; max-height: min(600px, calc(100vh - 110px)); background: #fff; border-radius: 14px; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); display: flex; flex-direction: column; overflow: hidden; }
.gzc-panel[hidden] { display: none; }

.gzc-head { background: var(--gzc-green); color: #fff; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 3px solid var(--gzc-accent); }
.gzc-title { font-weight: 700; font-size: 16px; margin: 0; }
.gzc-close { background: transparent; border: 0; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px; }

.gzc-msgs { flex: 1; overflow-y: auto; padding: 12px; background: #f5f7f6; display: flex; flex-direction: column; gap: 8px; min-height: 160px; }
.gzc-msg { max-width: 85%; padding: 8px 11px; border-radius: 12px; white-space: pre-wrap; word-wrap: break-word; }
.gzc-msg.gzc-user { align-self: flex-end; background: var(--gzc-green); color: #fff; border-bottom-right-radius: 4px; }
.gzc-msg.gzc-bot { align-self: flex-start; background: #fff; border: 1px solid #e1e6e3; border-bottom-left-radius: 4px; }
.gzc-typing { align-self: flex-start; color: #6b7a73; font-style: italic; font-size: 13px; }

.gzc-cards { align-self: stretch; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.gzc-card { flex: 0 0 140px; background: #fff; border: 1px solid #e1e6e3; border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.gzc-card img { width: 100%; height: 100px; object-fit: contain; background: #fff; }
.gzc-card-name { font-size: 13px; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gzc-card-price { color: var(--gzc-green); font-weight: 700; font-size: 14px; }
.gzc-card a { margin-top: auto; text-align: center; background: var(--gzc-green); color: #fff; text-decoration: none; border-radius: 6px; padding: 5px 0; font-size: 13px; }
.gzc-card a:hover { background: var(--gzc-hover); }

.gzc-rate { align-self: flex-start; display: flex; gap: 4px; margin-top: -4px; }
.gzc-rate button { background: transparent; border: 1px solid transparent; border-radius: 6px; cursor: pointer; font-size: 14px; padding: 1px 5px; opacity: .55; }
.gzc-rate button:hover { opacity: 1; border-color: #d6ddd9; }
.gzc-rate button[aria-pressed="true"] { opacity: 1; border-color: var(--gzc-accent); }

.gzc-wa { display: block; text-align: center; padding: 7px; background: #fff; border-top: 1px solid #e1e6e3; color: var(--gzc-green); font-weight: 700; text-decoration: none; font-size: 14px; }
.gzc-wa:hover { color: var(--gzc-hover); }
.gzc-wa[hidden] { display: none; }

.gzc-form { display: flex; gap: 6px; padding: 10px; border-top: 1px solid #e1e6e3; background: #fff; }
.gzc-input { flex: 1; border: 1px solid #c9d3ce; border-radius: 8px; padding: 9px 10px; font: inherit; min-width: 0; }
.gzc-input:focus { outline: 2px solid var(--gzc-hover); outline-offset: -1px; }
.gzc-send { background: var(--gzc-green); color: #fff; border: 0; border-radius: 8px; padding: 0 14px; font: inherit; font-weight: 700; cursor: pointer; }
.gzc-send:hover { background: var(--gzc-hover); }
.gzc-send:disabled { opacity: .6; cursor: default; }

@media (max-width: 480px) {
	.gzc-panel { right: 0; left: 0; bottom: 0; width: 100%; max-height: 100%; height: 100%; border-radius: 0; }
	.gzc-bubble { right: 14px; bottom: 14px; }
	.gzc-root.gzc-open .gzc-bubble { display: none; }
}
.gzc-msg a.gzc-link { color: var(--gzc-green); text-decoration: underline; word-break: break-all; }
