/* Inquiry basket: "Add to Inquiry" buttons + sticky inquiry bar (site-wide) */

.ac-btn--inquiry { background: #fff; border: 1.5px solid var(--rs-theme-orange, #50266b); color: var(--rs-theme-orange, #50266b); }
.ac-btn--inquiry:hover { background: #f3eef8; color: var(--rs-theme-orange, #50266b); }
.ac-btn--inquiry.is-added { background: var(--rs-theme-orange, #50266b); color: #fff; }
.ac-btn--inquiry.is-added:hover { background: var(--rs-theme-orange-hover, #84569f); color: #fff; }

.aq-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 9998; width: min(620px, calc(100% - 24px)); background: #fff; border: 1.5px solid var(--rs-theme-orange, #50266b); border-radius: 16px; box-shadow: 0 14px 40px rgba(31, 31, 31, .18); overflow: hidden; }
.aq-bar[hidden] { display: none !important; }
.aq-bar__main { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; }
.aq-bar__toggle { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: var(--rs-title-primary, #1f1f1f); font-weight: 600; font-size: 15px; }
.aq-bar__count { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 10px; background: var(--rs-theme-orange, #50266b); color: #fff; font-weight: 700; font-size: 17px; }
.aq-bar__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aq-bar__chev { color: #8a8594; font-size: 12px; transition: transform .2s; }
.aq-bar.is-open .aq-bar__chev { transform: rotate(180deg); }
.aq-bar__clear { background: none; border: 0; color: #8a8594; font-weight: 600; font-size: 14px; padding: 8px 10px; cursor: pointer; }
.aq-bar__clear:hover { color: var(--rs-theme-orange, #50266b); }
.aq-bar__cta { display: inline-flex; align-items: center; gap: 8px; background: var(--rs-theme-orange, #50266b); color: #fff; font-weight: 700; font-size: 15px; padding: 11px 18px; border-radius: 11px; text-decoration: none; white-space: nowrap; }
.aq-bar__cta:hover { background: var(--rs-theme-orange-hover, #84569f); color: #fff; }
.aq-bar__list { max-height: 240px; overflow-y: auto; border-bottom: 1px solid #ededf2; padding: 8px 12px; }
.aq-bar__item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 4px; border-bottom: 1px dashed #ededf2; font-size: 14px; }
.aq-bar__item:last-child { border-bottom: 0; }
.aq-bar__item a { color: var(--rs-title-primary, #1f1f1f); text-decoration: none; }
.aq-bar__item a:hover { color: var(--rs-theme-orange, #50266b); }
.aq-bar__item button { background: #f1edf5; border: 0; width: 26px; height: 26px; border-radius: 50%; color: var(--rs-theme-orange, #50266b); font-size: 16px; line-height: 1; cursor: pointer; }

/* keep the floating WhatsApp / back-to-top buttons clear of the bar */
body.has-aq-bar .wa-float { bottom: 150px; }
body.has-aq-bar .backtotop-wrap { bottom: 96px !important; }

@media (max-width: 575px) {
  .aq-bar { bottom: 10px; border-radius: 14px; }
  .aq-bar__text { font-size: 13px; }
  .aq-bar__clear { display: none; }
  .aq-bar__cta { padding: 10px 14px; font-size: 14px; }
  body.has-aq-bar .wa-float { bottom: 140px; }
}

/* while the inquiry list is expanded, get the floating buttons out of the way */
body.aq-bar-open .wa-float, body.aq-bar-open .backtotop-wrap { opacity: 0; pointer-events: none; }
