/* Top quick contact bar */
#sq-quick-bar {
  background: #021908;
  color: #B6E9C5;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.02em;
  z-index: 60;
  position: relative;
}
.sq-ar #sq-quick-bar, [dir="rtl"] #sq-quick-bar { font-family: "Readex Pro", system-ui, sans-serif; }
#sq-quick-bar .sq-qb-inner {
  max-width: 1320px; margin: 0 auto;
  padding: 8px 24px;
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  justify-content: center;
}
#sq-quick-bar a.sq-qb-item { color: #D9F2E1; text-decoration: none; transition: color 150ms; }
#sq-quick-bar a.sq-qb-item:hover { color: #fff; }
#sq-quick-bar .sq-qb-sep { color: #1FA84A; opacity: 0.6; }
@media (max-width: 720px) {
  #sq-quick-bar .sq-qb-only-wide { display: none; }
  #sq-quick-bar .sq-qb-inner { gap: 8px; padding: 6px 16px; font-size: 11px; }
}

/* Floating WhatsApp button */
#sq-whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 9999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(37,211,102,0.4), 0 4px 10px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 200ms cubic-bezier(.16,1,.3,1), box-shadow 200ms;
}
#sq-whatsapp::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  background: rgba(37,211,102,0.4); z-index: -1;
  animation: sqWaPulse 2.4s ease-out infinite;
}
@keyframes sqWaPulse {
  0% { transform: scale(0.95); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}
#sq-whatsapp:hover { transform: scale(1.08); }
[dir="rtl"] #sq-whatsapp { right: auto; left: 22px; }

/* Sticky Request Quote CTA */
#sq-stick-cta {
  position: fixed; right: 22px; bottom: 92px; z-index: 9998;
  background: #062E13; color: #fff; text-decoration: none;
  padding: 12px 20px; border-radius: 100px;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 16px 36px rgba(2,25,8,0.35), 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 250ms, transform 250ms cubic-bezier(.16,1,.3,1), background 200ms;
}
.sq-ar #sq-stick-cta, [dir="rtl"] #sq-stick-cta { font-family: "Readex Pro", system-ui, sans-serif; }
#sq-stick-cta.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
#sq-stick-cta:hover { background: #1FA84A; }
#sq-stick-cta .sq-arr { transition: transform 200ms; }
#sq-stick-cta:hover .sq-arr { transform: translateX(4px); }
[dir="rtl"] #sq-stick-cta { right: auto; left: 22px; }
[dir="rtl"] #sq-stick-cta:hover .sq-arr { transform: translateX(-4px); }
[dir="rtl"] #sq-stick-cta .sq-arr { display: inline-block; transform: scaleX(-1); }
@media (max-width: 720px) {
  #sq-stick-cta { bottom: 86px; right: 16px; padding: 10px 16px; font-size: 12px; }
  #sq-whatsapp { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  [dir="rtl"] #sq-whatsapp, [dir="rtl"] #sq-stick-cta { right: auto; }
  [dir="rtl"] #sq-whatsapp { left: 16px; }
  [dir="rtl"] #sq-stick-cta { left: 16px; }
}

/* Quote modal overlay */
#sq-modal-bg {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(2,25,8,0.65); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
#sq-modal-bg.open { display: flex; }
.sq-modal {
  position: relative;
  background: #fbfaf7; border-radius: 8px; max-width: 560px; width: 100%;
  padding: 32px; max-height: 90vh; overflow-y: auto;
  font-family: "Inter Tight", system-ui, sans-serif;
}
[dir="rtl"] .sq-modal { font-family: "Readex Pro", system-ui, sans-serif; }
.sq-modal h3 { margin: 0; font-family: "Fraunces", serif; font-size: 28px; font-weight: 500; letter-spacing: -0.018em; }
[dir="rtl"] .sq-modal h3 { font-family: "Readex Pro", sans-serif; font-weight: 700; }
.sq-modal .sq-step { display: none; }
.sq-modal .sq-step.active { display: block; }
.sq-modal label { display: block; margin: 14px 0 6px; font-size: 13px; font-weight: 600; color: #15181b; }
.sq-modal input, .sq-modal textarea, .sq-modal select {
  width: 100%; padding: 10px 12px; border: 1px solid #d2d6da; border-radius: 4px;
  font-size: 14px; font-family: inherit; background: #fff; outline: none;
}
.sq-modal input:focus, .sq-modal textarea:focus, .sq-modal select:focus {
  border-color: #1FA84A; box-shadow: 0 0 0 3px rgba(31,168,74,0.15);
}
.sq-modal-btns { margin-top: 22px; display: flex; gap: 10px; justify-content: space-between; }
.sq-modal-btns button {
  background: #062E13; color: #fff; border: none; padding: 10px 22px; border-radius: 4px;
  font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.sq-modal-btns button.sq-btn-back {
  background: transparent; color: #15181b; border: 1px solid #d2d6da;
}
.sq-modal-progress { display: flex; gap: 6px; margin-top: 18px; }
.sq-modal-progress span {
  flex: 1; height: 3px; border-radius: 2px; background: #e7e9eb; transition: background 200ms;
}
.sq-modal-progress span.on { background: #1FA84A; }
.sq-modal-close { position: absolute; top: 16px; right: 18px; background: transparent; border: none; font-size: 24px; cursor: pointer; color: #5a626a; }
[dir="rtl"] .sq-modal-close { right: auto; left: 18px; }
.sq-modal-success { text-align: center; padding: 30px 0; }
.sq-modal-success .sq-tick { width: 64px; height: 64px; border-radius: 50%; background: #1FA84A; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 32px; margin-bottom: 20px; }

/* ── Quote basket picker ─────────────────────────────────────────────── */
.sq-q-results { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.sq-q-hit {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  width: 100%; text-align: start; background: #fff; border: 1px solid #d2d6da;
  border-radius: 4px; padding: 10px 12px; font-size: 14px; font-family: inherit;
  color: #15181b; cursor: pointer;
}
.sq-q-hit:hover { border-color: #1FA84A; background: #EAF7EE; }
.sq-q-dn { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; color: #5a626a; white-space: nowrap; }
.sq-q-basket { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.sq-q-item {
  display: grid; grid-template-columns: 1fr 130px 30px; gap: 8px; align-items: center;
  background: #fff; border: 1px solid #d2d6da; border-radius: 4px; padding: 8px 10px;
}
.sq-q-item .sq-q-name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.sq-q-item .sq-q-qty { padding: 7px 9px; font-size: 13px; }
.sq-q-rm {
  background: transparent; border: none; font-size: 20px; line-height: 1;
  color: #a64928; cursor: pointer; padding: 0;
}
.sq-q-empty { font-size: 13px; color: #5a626a; padding: 10px 2px; line-height: 1.5; }
.sq-q-error { margin-top: 14px; font-size: 13px; color: #a64928; min-height: 18px; line-height: 1.45; }
.sq-modal-success p { color: #5a626a; margin-top: 10px; font-size: 15px; line-height: 1.6; }
.sq-modal-btns button[disabled] { opacity: 0.6; cursor: default; }
@media (max-width: 520px) {
  .sq-q-item { grid-template-columns: 1fr 30px; }
  .sq-q-item .sq-q-qty { grid-column: 1 / -1; }
}
