.spqc-wrap,
.spqc-wrap * {
  box-sizing: border-box;
}

.spqc-wrap {
  position: fixed;
  bottom: var(--spqc-desktop-y, 22px);
  z-index: var(--spqc-z, 2147483000);
  font-family: inherit;
  color: var(--spqc-text, #1f2933);
  line-height: 1.6;
  direction: rtl;
}

.spqc-pos-right {
  right: var(--spqc-desktop-x, 22px);
}

.spqc-pos-left {
  left: var(--spqc-desktop-x, 22px);
}

.spqc-bubble {
  position: relative;
  width: min(330px, calc(100vw - 28px));
  border: 1px solid rgba(3, 100, 121, .12);
  min-height: 72px;
  padding: 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .97);
  color: var(--spqc-text, #1f2933);
  box-shadow: 0 14px 38px rgba(15, 23, 42, .16), 0 3px 10px rgba(3, 100, 121, .08);
  display: flex;
  align-items: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.spqc-launcher-minimize {
  display: none;
}

.spqc-bubble-open {
  width: 100%;
  min-width: 0;
  padding: 1px 3px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  line-height: 1.3;
  text-align: right;
  cursor: pointer;
}

.spqc-launchers {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
}

.spqc-launcher-tip {
  position: relative;
  width: min(330px, calc(100vw - 28px));
  padding: 14px 42px 14px 16px;
  border: 1px solid rgba(3, 100, 121, .13);
  border-radius: 17px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 12px 34px rgba(15, 23, 42, .13);
  animation: spqc-tip-in .35s ease both;
}

.spqc-launcher-tip::after {
  position: absolute;
  bottom: -7px;
  right: 27px;
  width: 13px;
  height: 13px;
  border-right: 1px solid rgba(3, 100, 121, .13);
  border-bottom: 1px solid rgba(3, 100, 121, .13);
  background: #fff;
  content: '';
  transform: rotate(45deg);
}

.spqc-launcher-tip strong,
.spqc-launcher-tip span {
  display: block;
}

.spqc-launcher-tip strong {
  margin-bottom: 3px;
  color: var(--spqc-primary, #036479);
  font-size: 13px;
}

.spqc-launcher-tip span {
  color: #526173;
  font-size: 11px;
  line-height: 1.7;
}

.spqc-launcher-tip-close {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 25px;
  height: 25px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: #eef2f5;
  color: #64748b;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.spqc-quick-form {
  display: none;
}

@keyframes spqc-tip-in {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.spqc-bubble:hover {
  transform: translateY(-3px);
  border-color: rgba(3, 100, 121, .32);
  border-color: color-mix(in srgb, var(--spqc-primary, #036479) 38%, transparent);
  box-shadow: 0 20px 48px rgba(15, 23, 42, .2), 0 5px 16px rgba(3, 100, 121, .12);
}

.spqc-bubble-icon {
  width: calc(var(--spqc-desktop-icon, 22px) + 24px);
  height: calc(var(--spqc-desktop-icon, 22px) + 24px);
  font-size: var(--spqc-desktop-icon, 22px);
  line-height: 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 15px;
  background: var(--spqc-primary, #036479);
  color: var(--spqc-button-text, #fff);
  box-shadow: 0 7px 18px rgba(3, 100, 121, .2);
  box-shadow: 0 7px 18px color-mix(in srgb, var(--spqc-primary, #036479) 28%, transparent);
}

.spqc-bubble-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.spqc-bubble-copy {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 3px;
}

.spqc-bubble-text {
  overflow: hidden;
  color: var(--spqc-primary, #036479);
  font-size: 14px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spqc-bubble-copy small {
  overflow: hidden;
  color: #64748b;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spqc-bubble-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #edf7f8;
  background: color-mix(in srgb, var(--spqc-primary, #036479) 10%, white);
  color: var(--spqc-primary, #036479);
}

.spqc-bubble-arrow svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.spqc-panel {
  position: absolute;
  bottom: 88px;
  width: 390px;
  max-width: calc(100vw - 28px);
  height: 580px;
  max-height: calc(100vh - 110px);
  background: var(--spqc-panel-bg, #ffffff);
  border-radius: var(--spqc-radius, 18px);
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: none;
  flex-direction: column;
}

.spqc-pos-right .spqc-panel {
  right: 0;
}

.spqc-pos-left .spqc-panel {
  left: 0;
}

.spqc-open .spqc-panel {
  display: flex;
}

.spqc-open .spqc-launchers {
  display: none;
}

.spqc-header {
  background: var(--spqc-primary, #036479);
  color: var(--spqc-button-text, #ffffff);
  min-height: 78px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.spqc-header-brand {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.spqc-header-brand > div {
  min-width: 0;
}

.spqc-header-logo {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, .14);
}

.spqc-header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.spqc-panel-nav {
  min-height: 46px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(0, 0, 0, .07);
  background: var(--spqc-panel-bg, #fff);
}

.spqc-panel-nav::-webkit-scrollbar {
  display: none;
}

.spqc-wrap .spqc-panel-nav .spqc-reset,
.spqc-wrap .spqc-panel-nav .spqc-status-header,
.spqc-wrap .spqc-panel-nav .spqc-quote-mode,
.spqc-wrap .spqc-panel-nav .spqc-ai-mode {
  min-height: 32px !important;
  padding: 0 11px !important;
  margin: 0 !important;
  border: 1px solid rgba(0, 0, 0, .1) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--spqc-text, #1f2933) !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap;
  flex: 0 0 auto;
  cursor: pointer;
}

.spqc-wrap .spqc-panel-nav .spqc-status-header {
  border-color: var(--spqc-primary, #036479) !important;
  background: var(--spqc-secondary, #e9f6f8) !important;
  color: var(--spqc-primary, #036479) !important;
}

.spqc-wrap .spqc-panel-nav .spqc-quote-mode.is-active,
.spqc-wrap .spqc-panel-nav .spqc-ai-mode.is-active {
  border-color: var(--spqc-primary, #036479) !important;
  background: var(--spqc-primary, #036479) !important;
  color: var(--spqc-button-text, #fff) !important;
}

.spqc-status-count {
  min-width: 19px;
  height: 19px;
  margin-right: 5px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--spqc-primary, #036479);
  color: var(--spqc-button-text, #fff);
  font-size: 10px;
  line-height: 1;
}

.spqc-status-count[hidden] {
  display: none !important;
}

.spqc-header strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spqc-header span {
  display: block;
  font-size: 12px;
  opacity: .86;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spqc-wrap .spqc-close {
  width: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 30px !important;
  border: 0 !important;
  border-radius: 8px !important;
  cursor: pointer;
  color: var(--spqc-button-text, #ffffff);
  background: rgba(255, 255, 255, 0.16) !important;
  box-shadow: none !important;
  font-family: Arial, sans-serif !important;
  font-size: 22px !important;
}

.spqc-messages {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, .24) transparent;
  background: #f7f8fa;
}

.spqc-messages::-webkit-scrollbar {
  width: 6px;
}

.spqc-messages::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: rgba(0, 0, 0, .24);
}

.spqc-msg {
  width: fit-content;
  max-width: 88%;
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.spqc-msg-bot {
  margin-left: auto;
  background: var(--spqc-secondary, #e9f6f8);
  color: var(--spqc-text, #1f2933);
  border-bottom-right-radius: 3px;
}

.spqc-msg-user {
  margin-right: auto;
  background: var(--spqc-primary, #036479);
  color: var(--spqc-button-text, #ffffff);
  border-bottom-left-radius: 4px;
}

.spqc-msg-price {
  width: 100%;
  max-width: 100%;
}

.spqc-price-card {
  margin-top: 8px;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  border: 1px solid rgba(0,0,0,0.08);
}

.spqc-price-card div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.08);
}

.spqc-price-card div:last-child {
  border-bottom: 0;
}

.spqc-price-card span {
  opacity: .76;
}

.spqc-price-card b {
  text-align: left;
}

.spqc-price-card p {
  margin: 10px 0 0;
  padding: 8px;
  border-radius: 10px;
  background: rgba(0,0,0,0.04);
}

.spqc-buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--spqc-primary, #036479);
  color: var(--spqc-button-text, #ffffff) !important;
  font-weight: 800;
  text-decoration: none !important;
}

.spqc-history-list {
  display: grid;
  gap: 10px;
  width: 100%;
}

.spqc-history-card {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, .1);
  border-right: 4px solid #a4a9ae;
  border-radius: 8px;
  background: var(--spqc-panel-bg, #fff);
  color: var(--spqc-text, #1f2933);
}

.spqc-history-card.is-ready {
  border-right-color: var(--spqc-primary, #036479);
}

.spqc-history-head,
.spqc-history-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.spqc-history-head {
  margin-bottom: 8px;
}

.spqc-history-head span {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--spqc-secondary, #e9f6f8);
  font-size: 11px;
}

.spqc-history-row {
  padding: 6px 0;
  border-top: 1px dashed rgba(0, 0, 0, .09);
}

.spqc-history-row span {
  opacity: .72;
}

.spqc-history-row b {
  text-align: left;
}

.spqc-history-card small {
  display: block;
  margin-top: 7px;
  opacity: .62;
}

.spqc-history-card p {
  margin: 8px 0 0;
}

.spqc-msg-disclaimer {
  border: 1px dashed rgba(0, 0, 0, .14);
  background: #fff !important;
  font-size: 11px;
  opacity: .82;
}

.spqc-ai-products {
  display: grid;
  gap: 9px;
}

.spqc-ai-product {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  padding: 9px;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 8px;
  background: #fff;
}

.spqc-ai-product img {
  width: 74px;
  height: 74px;
  border-radius: 6px;
  object-fit: cover;
  background: #f3f4f6;
}

.spqc-ai-product > div {
  min-width: 0;
}

.spqc-ai-product strong,
.spqc-ai-product span {
  display: block;
}

.spqc-ai-product small {
  display: block;
  margin: -2px 0 7px;
  color: #667085;
  font-size: 10px;
}

.spqc-ai-product strong {
  margin-bottom: 3px;
  line-height: 1.55;
}

.spqc-ai-product span {
  margin-bottom: 7px;
  color: var(--spqc-primary, #036479);
  font-weight: 800;
}

.spqc-ai-product a {
  display: inline-flex;
  min-height: 30px;
  padding: 5px 10px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--spqc-primary, #036479);
  color: var(--spqc-button-text, #fff) !important;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none !important;
}

.spqc-ai-quote-action {
  width: 100%;
  min-height: 42px;
  padding: 9px 14px;
  border: 0;
  border-radius: 7px;
  background: var(--spqc-primary, #036479);
  color: var(--spqc-button-text, #fff);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.spqc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid rgba(0,0,0,.06);
  background: var(--spqc-panel-bg, #fff);
}

.spqc-action-btn {
  border: 0;
  border-radius: 8px;
  background: var(--spqc-secondary, #e9f6f8);
  color: var(--spqc-text, #1f2933);
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 700;
}

.spqc-whatsapp-btn {
  background: #24d366;
  color: #ffffff;
}

.spqc-form {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid rgba(0,0,0,0.08);
  background: var(--spqc-panel-bg, #ffffff);
}

.spqc-form[hidden] {
  display: none !important;
}

.spqc-input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(0,0,0,0.16);
  min-height: 42px;
  border-radius: 8px;
  padding: 10px 12px;
  outline: 0;
  color: var(--spqc-text, #1f2933);
  background: #fff;
  font-family: inherit;
  font-size: inherit;
}

.spqc-input:focus {
  border-color: var(--spqc-primary, #036479);
  box-shadow: 0 0 0 3px rgba(3, 100, 121, 0.12);
}

.spqc-send {
  border: 0;
  min-width: 66px;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 14px;
  background: var(--spqc-primary, #036479);
  color: var(--spqc-button-text, #ffffff);
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
}

.spqc-send:disabled,
.spqc-input:disabled {
  opacity: .58;
  cursor: not-allowed;
}

.spqc-privacy {
  display: block;
  padding: 9px 14px 11px;
  font-size: 11px;
  line-height: 1.7;
  opacity: .7;
  border-top: 1px solid rgba(0,0,0,.05);
  background: var(--spqc-panel-bg, #fff);
}

.spqc-product-quote-wrap {
  width: 100%;
  max-width: 100%;
  margin: 12px 0 0;
  display: block;
  clear: both;
}

.single-product form.cart.spqc-has-quote-button {
  flex-wrap: wrap !important;
}

.single-product form.cart .spqc-product-quote-wrap {
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
  flex: 0 0 100% !important;
  grid-column: 1 / -1 !important;
  justify-self: stretch !important;
  align-self: stretch !important;
}

.spqc-product-quote-button {
  position: relative;
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) 30px;
  align-items: center !important;
  gap: 11px;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 68px !important;
  margin: 0 !important;
  padding: 9px 11px !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 15px !important;
  color: var(--spqc-button-text, #fff) !important;
  background: var(--spqc-primary, #036479) !important;
  background: linear-gradient(135deg, var(--spqc-primary, #036479), color-mix(in srgb, var(--spqc-primary, #036479) 76%, #0f172a)) !important;
  box-shadow: 0 11px 24px rgba(15, 23, 42, .18) !important;
  font-family: inherit !important;
  line-height: 1.4 !important;
  writing-mode: horizontal-tb !important;
  word-break: normal !important;
  text-align: right !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}

.spqc-product-quote-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, .24) !important;
}

.spqc-product-quote-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .16);
}

.spqc-product-quote-icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.spqc-product-quote-copy,
.spqc-product-quote-copy strong,
.spqc-product-quote-copy small {
  min-width: 0;
  display: block;
}

.spqc-product-quote-copy strong {
  margin-bottom: 2px;
  color: inherit;
  font-size: 14px;
  font-weight: 900;
}

.spqc-product-quote-copy small {
  overflow: hidden;
  color: rgba(255, 255, 255, .8);
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spqc-product-quote-arrow {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #fff;
  color: var(--spqc-primary, #036479);
  font-size: 17px;
  line-height: 1;
}

.single-product form.cart .spqc-product-quote-button {
  width: 100% !important;
  max-width: 100% !important;
}

.spqc-purchase-lock-note {
  width: 100%;
  margin: 8px 0 0 !important;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(234, 88, 12, .15);
  border-radius: 10px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 11px;
  line-height: 1.7;
}

.spqc-purchase-lock-note[hidden] {
  display: none !important;
}

.spqc-quote-required form.cart:not(.spqc-purchase-unlocked) .single_add_to_cart_button,
form.cart.spqc-purchase-locked .single_add_to_cart_button {
  pointer-events: none !important;
  opacity: .58 !important;
  filter: grayscale(.35);
  cursor: not-allowed !important;
  box-shadow: none !important;
}

.spqc-price-countdown {
  --spqc-countdown-primary: #ff5a00;
  --spqc-countdown-accent: #ffb000;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin: 14px 0 4px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--spqc-countdown-primary) 24%, #fff);
  border-radius: 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--spqc-countdown-primary) 9%, #fff), #fff 58%, color-mix(in srgb, var(--spqc-countdown-accent) 11%, #fff));
  box-shadow: 0 12px 28px color-mix(in srgb, var(--spqc-countdown-primary) 14%, transparent);
  color: #25211f;
  direction: rtl;
}

.single-product form.cart > .spqc-price-countdown,
.single-product form.cart .spqc-price-countdown {
  min-width: 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  grid-column: 1 / -1 !important;
  align-self: stretch !important;
  clear: both !important;
}

.spqc-price-countdown::before {
  content: "";
  position: absolute;
  inset-inline-start: -35px;
  top: -50px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--spqc-countdown-accent) 18%, transparent);
  pointer-events: none;
}

.spqc-countdown-heading {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 12px;
}

.spqc-countdown-heading strong,
.spqc-countdown-heading small { display: block; }
.spqc-countdown-heading strong { font-size: 14px; line-height: 1.7; color: #27211f; }
.spqc-countdown-heading small { margin-top: 1px; font-size: 11px; color: #715f57; }

.spqc-countdown-pulse {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--spqc-countdown-primary);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--spqc-countdown-primary) 38%, transparent);
  animation: spqc-countdown-pulse 1.8s infinite;
}

.spqc-countdown-units {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 6px;
}

.spqc-countdown-units > span {
  min-width: 0;
  padding: 8px 5px 6px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 11px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 5px 14px rgba(45,31,24,.07);
  text-align: center;
}

.spqc-countdown-units b,
.spqc-countdown-units small { display: block; }
.spqc-countdown-units b { font-size: 18px; line-height: 1.15; color: var(--spqc-countdown-primary); font-variant-numeric: tabular-nums; }
.spqc-countdown-units small { margin-top: 3px; font-size: 9px; color: #786b65; direction: rtl; }
.spqc-countdown-units i { color: var(--spqc-countdown-primary); font-style: normal; font-weight: 800; }

.spqc-countdown-refresh {
  width: 100%;
  margin-top: 10px;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--spqc-countdown-primary);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.spqc-price-countdown.is-expired .spqc-countdown-pulse { animation: none; background: #8b9298; }
.spqc-price-countdown.is-expired .spqc-countdown-units { opacity: .48; }

@keyframes spqc-countdown-pulse {
  70% { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@media (min-width: 768px) {
  .single-product form.cart .spqc-price-countdown {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(220px, .95fr);
    align-items: center;
    gap: 14px;
  }

  .spqc-price-countdown .spqc-countdown-heading {
    margin-bottom: 0;
  }

  .spqc-price-countdown .spqc-countdown-refresh {
    grid-column: 1 / -1;
  }
}

.spqc-product-modal[hidden] {
  display: none !important;
}

.spqc-product-modal {
  position: fixed;
  inset: 0;
  z-index: var(--spqc-z, 2147483000);
  display: grid;
  place-items: center;
  padding: 18px;
  font-family: inherit;
}

.spqc-product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}

.spqc-product-modal-box {
  position: relative;
  width: min(430px, 100%);
  padding: 24px;
  border-radius: var(--spqc-radius, 18px);
  background: var(--spqc-panel-bg, #fff);
  color: var(--spqc-text, #1f2933);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
}

.spqc-product-modal-box h3 {
  margin: 0 0 8px;
  padding-left: 32px;
}

.spqc-product-modal-copy {
  margin: 0 0 10px;
  line-height: 1.8;
}

.spqc-selected-product {
  display: block;
  margin-bottom: 14px;
  color: var(--spqc-primary, #036479);
}

.spqc-product-modal-close {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  background: rgba(0, 0, 0, .07);
}

.spqc-product-quote-form label {
  display: block;
  margin: 12px 0;
  font-weight: 700;
}

.spqc-product-quote-form input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 8px;
  font: inherit;
}

.spqc-product-quote-submit {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  background: var(--spqc-primary, #036479);
  color: var(--spqc-button-text, #fff);
  font: inherit;
  font-weight: 800;
}

.spqc-product-form-message {
  min-height: 24px;
  margin: 10px 0 0;
  color: #b42318;
}

.spqc-product-form-message.is-success {
  color: #067647;
}

.spqc-product-otp-panel {
  margin: 14px 0;
  padding: 13px;
  border: 1px solid color-mix(in srgb, var(--spqc-primary, #036479) 24%, #fff);
  border-radius: 12px;
  background: color-mix(in srgb, var(--spqc-secondary, #e9f6f8) 72%, #fff);
}

.spqc-product-otp-panel[hidden] {
  display: none !important;
}

.spqc-product-otp-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.spqc-product-otp-heading span {
  direction: ltr;
  color: #667085;
  font-size: 12px;
}

.spqc-product-otp-actions,
.spqc-otp-card > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spqc-product-otp-actions button,
.spqc-otp-card button {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid color-mix(in srgb, var(--spqc-primary, #036479) 35%, #fff);
  border-radius: 9px;
  background: #fff;
  color: var(--spqc-primary, #036479);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.spqc-product-otp-actions button:disabled,
.spqc-otp-card button:disabled {
  opacity: .55;
  cursor: wait;
}

.spqc-otp-card strong {
  display: block;
  margin-bottom: 4px;
}

.spqc-otp-card p {
  margin: 0 0 10px;
  line-height: 1.8;
}

.spqc-msg-verified {
  border: 1px solid #a7e3c2;
  background: #ecfdf3 !important;
  color: #067647;
}

body.spqc-modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .spqc-hide-mobile {
    display: none !important;
  }

  .spqc-wrap {
    bottom: var(--spqc-mobile-y, 14px);
    width: calc(100vw - (2 * var(--spqc-mobile-x, 14px)));
  }

  .spqc-wrap.spqc-mobile-pos-left {
    right: auto;
    left: var(--spqc-mobile-x, 14px);
  }

  .spqc-wrap.spqc-mobile-pos-right {
    right: var(--spqc-mobile-x, 14px);
    left: auto;
  }

  .spqc-bubble-icon {
    width: calc(var(--spqc-mobile-icon, 22px) + 22px);
    height: calc(var(--spqc-mobile-icon, 22px) + 22px);
    font-size: var(--spqc-mobile-icon, 22px);
  }

  .spqc-bubble {
    width: 100%;
    min-height: 66px;
    border-radius: 18px;
  }

  .spqc-wrap button.spqc-launcher-minimize {
    position: static !important;
    z-index: 3;
    width: 27px !important;
    min-width: 27px !important;
    max-width: 27px !important;
    height: 27px !important;
    min-height: 27px !important;
    max-height: 27px !important;
    margin: 0 1px 0 0 !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center;
    flex: 0 0 27px;
    border: 1px solid #dbe2e8 !important;
    border-radius: 50% !important;
    outline: 0 !important;
    background: #f3f6f8 !important;
    color: #64748b !important;
    box-shadow: none !important;
    font: inherit !important;
    line-height: 1 !important;
    text-shadow: none !important;
    transform: none !important;
    appearance: none;
    cursor: pointer;
  }

  .spqc-wrap button.spqc-launcher-minimize:hover,
  .spqc-wrap button.spqc-launcher-minimize:focus {
    border-color: var(--spqc-primary, #036479) !important;
    background: #fff !important;
    color: var(--spqc-primary, #036479) !important;
  }

  .spqc-launcher-minimize svg {
    width: 12px;
    height: 12px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2;
  }

  .spqc-mobile-minimized {
    width: 60px;
  }

  .spqc-mobile-minimized .spqc-launchers {
    width: 60px;
  }

  .spqc-mobile-minimized .spqc-launcher-tip,
  .spqc-mobile-minimized .spqc-quick-form {
    display: none !important;
  }

  .spqc-wrap.spqc-mobile-minimized button.spqc-launcher-minimize {
    display: none !important;
  }

  .spqc-mobile-minimized .spqc-bubble {
    width: 60px;
    min-height: 60px;
    padding: 7px;
    border-radius: 18px;
  }

  .spqc-mobile-minimized .spqc-bubble-open {
    width: 100%;
    padding: 0;
  }

  .spqc-mobile-minimized .spqc-bubble-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .spqc-launchers {
    width: 100%;
    max-width: none;
  }

  .spqc-launcher-tip {
    width: 100%;
  }

  .spqc-bubble-open {
    width: auto;
    flex: 0 0 auto;
  }

  .spqc-bubble-open .spqc-bubble-copy,
  .spqc-bubble-open .spqc-bubble-arrow {
    display: none;
  }

  .spqc-hide-quick-input .spqc-quick-form {
    display: none;
  }

  .spqc-hide-quick-input .spqc-bubble-open {
    width: 100%;
  }

  .spqc-hide-quick-input .spqc-bubble-copy {
    display: flex;
  }

  .spqc-hide-quick-input .spqc-bubble-arrow {
    display: grid;
  }

  .spqc-quick-form {
    min-width: 0;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 7px;
  }

  .spqc-quick-field {
    min-width: 0;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
  }

  .spqc-quick-hint {
    display: block;
    padding: 0 12px;
    overflow: hidden;
    color: var(--spqc-primary, #036479);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.35;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .spqc-quick-input {
    width: 100%;
    min-width: 0;
    height: 27px;
    min-height: 27px !important;
    padding: 0 12px !important;
    flex: 1 1 auto;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #253244 !important;
    font: inherit !important;
    font-size: 12px !important;
    text-align: right;
  }

  .spqc-quick-field:not(.has-hint) .spqc-quick-input {
    height: 46px;
    min-height: 46px !important;
  }

  .spqc-quick-input::placeholder {
    color: #8a96a5;
    opacity: 1;
  }

  .spqc-quick-submit {
    width: 42px;
    height: 42px;
    padding: 0;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 0;
    border-radius: 14px;
    background: var(--spqc-primary, #036479);
    color: var(--spqc-button-text, #fff);
    box-shadow: 0 7px 16px rgba(3, 100, 121, .2);
    cursor: pointer;
  }

  .spqc-quick-submit svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }

  .spqc-header-actions {
    gap: 4px;
  }

  .spqc-wrap .spqc-panel-nav .spqc-reset,
  .spqc-wrap .spqc-panel-nav .spqc-status-header,
  .spqc-wrap .spqc-panel-nav .spqc-quote-mode,
  .spqc-wrap .spqc-panel-nav .spqc-ai-mode {
    padding: 0 7px !important;
    font-size: 11px !important;
  }

  .spqc-hide-bubble-text-mobile .spqc-bubble-copy {
    display: none;
  }

  .spqc-panel {
    position: fixed;
    width: calc(100vw - (2 * var(--spqc-mobile-x, 14px)));
    height: min(620px, calc(100dvh - 24px));
    bottom: max(12px, env(safe-area-inset-bottom));
    right: var(--spqc-mobile-x, 14px) !important;
    left: var(--spqc-mobile-x, 14px) !important;
  }

  .spqc-header {
    min-height: 70px;
    padding: 12px 14px;
  }

  .spqc-product-quote-button {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (min-width: 768px) {
  .spqc-hide-desktop {
    display: none !important;
  }

  .spqc-hide-bubble-text-desktop .spqc-bubble-copy {
    display: none;
  }

  .spqc-hide-bubble-text-desktop .spqc-bubble {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spqc-launcher-tip {
    animation: none;
  }
}
.spqc-wrap.spqc-pending-display {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.spqc-wrap.spqc-display-ready {
  animation: spqc-display-in .28s ease both;
}

@keyframes spqc-display-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

/* UI refresh 3.2 */
.spqc-header {
  background: linear-gradient(135deg, var(--spqc-primary, #036479), color-mix(in srgb, var(--spqc-primary, #036479) 78%, #111827));
}

.spqc-header-avatar {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  border: 2px solid rgba(255,255,255,.72);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.16);
}

.spqc-header-avatar .spqc-header-logo {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: #fff;
}

.spqc-header-avatar i {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--spqc-primary, #036479);
  border-radius: 50%;
  background: #22c55e;
}

.spqc-wrap .spqc-close {
  display: grid !important;
  place-items: center;
  border-radius: 12px !important;
}

.spqc-close svg,
.spqc-product-modal-close svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.2;
}

.spqc-panel-nav {
  padding: 8px 10px;
  gap: 6px;
  background: rgba(255,255,255,.98);
}

.spqc-wrap .spqc-panel-nav .spqc-reset,
.spqc-wrap .spqc-panel-nav .spqc-status-header,
.spqc-wrap .spqc-panel-nav .spqc-quote-mode,
.spqc-wrap .spqc-panel-nav .spqc-ai-mode {
  border-radius: 11px !important;
}

.spqc-messages {
  background: linear-gradient(180deg, #f4f8fa 0%, #f8fafb 55%, #fff 100%);
}

.spqc-msg {
  border-radius: 15px;
  box-shadow: 0 3px 10px rgba(15,23,42,.04);
}

.spqc-msg-bot {
  border: 1px solid color-mix(in srgb, var(--spqc-primary, #036479) 9%, transparent);
  border-bottom-right-radius: 5px;
}

.spqc-msg-user {
  border-bottom-left-radius: 5px;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--spqc-primary, #036479) 18%, transparent);
}

.spqc-price-card {
  margin-top: 10px;
  padding: 12px;
  border-color: color-mix(in srgb, var(--spqc-primary, #036479) 14%, transparent);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(15,23,42,.07);
}

.spqc-price-card div {
  min-height: 34px;
  align-items: center;
  border-bottom-color: rgba(15,23,42,.07);
}

.spqc-price-card b {
  color: #18232c;
  font-weight: 800;
}

.spqc-buy-btn {
  min-height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--spqc-primary, #036479), color-mix(in srgb, var(--spqc-primary, #036479) 82%, #111827));
  box-shadow: 0 10px 20px color-mix(in srgb, var(--spqc-primary, #036479) 20%, transparent);
}

.spqc-form {
  align-items: center;
  background: #fff;
}

.spqc-input {
  min-height: 48px;
  border-color: #d7e0e5;
  border-radius: 13px;
  background: #f8fafb;
}

.spqc-send {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 13px;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--spqc-primary, #036479) 22%, transparent);
}

.spqc-send svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.spqc-action-btn {
  min-height: 39px;
  padding: 8px 14px;
  border: 1px solid color-mix(in srgb, var(--spqc-primary, #036479) 14%, transparent);
  border-radius: 11px;
}

.spqc-product-modal-backdrop {
  background: rgba(15,23,42,.58);
  backdrop-filter: blur(5px);
}

.spqc-product-modal-box {
  width: min(460px, 100%);
  padding: 24px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 26px;
  box-shadow: 0 30px 90px rgba(15,23,42,.34);
}

.spqc-product-modal-heading {
  padding-left: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.spqc-product-modal-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  border-radius: 15px;
  background: color-mix(in srgb, var(--spqc-primary, #036479) 11%, #fff);
  color: var(--spqc-primary, #036479);
}

.spqc-product-modal-icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.spqc-product-modal-heading small {
  display: block;
  margin-bottom: 2px;
  color: var(--spqc-primary, #036479);
  font-size: 11px;
  font-weight: 800;
}

.spqc-product-modal-box .spqc-product-modal-heading h3 {
  margin: 0;
  padding: 0;
  color: #1f2937;
  font-size: 18px;
  line-height: 1.55;
}

.spqc-product-modal-copy {
  margin: 14px 0 12px;
  color: #586574;
  font-size: 13px;
}

.spqc-selected-product-row {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid color-mix(in srgb, var(--spqc-primary, #036479) 13%, transparent);
  border-radius: 12px;
  background: #f7fafb;
}

.spqc-selected-product-row > span {
  flex: 0 0 auto;
  color: #7a8793;
  font-size: 11px;
}

.spqc-selected-product-row .spqc-selected-product {
  margin: 0;
  overflow: hidden;
  color: var(--spqc-primary, #036479);
  font-size: 13px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spqc-product-modal-trust {
  margin: 10px 0 2px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.spqc-product-modal-trust span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #087443;
  font-size: 10px;
  font-weight: 700;
}

.spqc-product-modal-close {
  top: 14px;
  left: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #e1e7eb;
  border-radius: 12px;
  background: #f4f6f8;
  color: #485563;
  font-size: 0;
}

.spqc-product-quote-form label {
  margin: 13px 0 6px;
  color: #303b46;
  font-size: 12px;
  font-weight: 800;
}

.spqc-product-quote-form input {
  min-height: 50px;
  margin-top: 7px;
  padding: 11px 13px;
  border-color: #d8e0e5;
  border-radius: 12px;
  outline: 0;
  background: #f9fbfc;
  color: #1f2937;
  font-weight: 500;
  box-shadow: none;
}

.spqc-product-quote-form input:focus {
  border-color: var(--spqc-primary, #036479);
  background: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--spqc-primary, #036479) 12%, transparent);
}

.spqc-product-quote-submit {
  min-height: 54px;
  margin-top: 10px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--spqc-primary, #036479), color-mix(in srgb, var(--spqc-primary, #036479) 82%, #111827));
  box-shadow: 0 12px 24px color-mix(in srgb, var(--spqc-primary, #036479) 22%, transparent);
}

@media (max-width: 767px) {
  .spqc-launcher-tip {
    padding: 13px 40px 13px 14px;
    border: 0;
    border-right: 4px solid var(--spqc-primary, #036479);
    border-radius: 16px;
    box-shadow: 0 15px 36px rgba(15,23,42,.15);
  }

  .spqc-bubble {
    min-height: 74px;
    padding: 8px 9px;
    overflow: visible;
    border-color: rgba(15,23,42,.08);
    border-radius: 21px;
    box-shadow: 0 16px 38px rgba(15,23,42,.16), 0 5px 14px color-mix(in srgb, var(--spqc-primary, #036479) 10%, transparent);
  }

  .spqc-bubble-open {
    width: 58px;
    align-self: stretch;
    flex: 0 0 58px;
    justify-content: center;
    overflow: visible;
  }

  .spqc-bubble-icon {
    position: relative;
    z-index: 2;
    width: 58px;
    height: 58px;
    padding: 3px;
    align-self: flex-start;
    border: 3px solid #fff;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15,23,42,.2);
    transform: translateY(-13px);
  }

  .spqc-bubble-icon img {
    border-radius: 15px;
  }

  .spqc-quick-form {
    min-height: 54px;
    gap: 5px;
  }

  .spqc-quick-field {
    min-height: 50px;
    padding: 4px 2px;
  }

  .spqc-quick-hint {
    padding: 0 8px;
    font-size: 10px;
  }

  .spqc-quick-input {
    height: 30px;
    min-height: 30px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
  }

  .spqc-quick-submit {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--spqc-primary, #036479) 25%, transparent);
  }

  .spqc-wrap button.spqc-launcher-minimize {
    width: 29px !important;
    min-width: 29px !important;
    max-width: 29px !important;
    height: 29px !important;
    min-height: 29px !important;
    max-height: 29px !important;
    border-color: #e1e7eb !important;
    background: #f5f7f9 !important;
  }

  .spqc-mobile-minimized,
  .spqc-mobile-minimized .spqc-launchers {
    width: 66px;
  }

  .spqc-mobile-minimized .spqc-bubble {
    width: 66px;
    min-height: 60px;
    padding: 5px;
    border-radius: 21px;
  }

  .spqc-mobile-minimized .spqc-bubble-open {
    width: 56px;
    flex-basis: 56px;
  }

  .spqc-mobile-minimized .spqc-bubble-icon {
    width: 56px;
    height: 56px;
    transform: translateY(-8px);
  }

  .spqc-panel {
    width: calc(100vw - 16px);
    height: min(80dvh, 680px);
    max-height: calc(100dvh - 16px);
    right: 8px !important;
    left: 8px !important;
    bottom: max(8px, env(safe-area-inset-bottom));
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 26px 26px 20px 20px;
    box-shadow: 0 28px 80px rgba(15,23,42,.28);
  }

  .spqc-header {
    min-height: 74px;
    padding: 12px 14px;
  }

  .spqc-header-avatar {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 14px;
  }

  .spqc-header-avatar .spqc-header-logo {
    width: 38px;
    height: 38px;
  }

  .spqc-panel-nav {
    min-height: 50px;
    padding: 8px;
  }

  .spqc-wrap .spqc-panel-nav .spqc-reset,
  .spqc-wrap .spqc-panel-nav .spqc-status-header,
  .spqc-wrap .spqc-panel-nav .spqc-quote-mode,
  .spqc-wrap .spqc-panel-nav .spqc-ai-mode {
    min-height: 34px !important;
    padding: 0 9px !important;
    font-size: 10.5px !important;
  }

  .spqc-messages {
    padding: 14px 12px;
  }

  .spqc-msg {
    max-width: 92%;
    margin-bottom: 9px;
    padding: 10px 11px;
    border-radius: 15px;
    font-size: 12px;
  }

  .spqc-msg-price {
    max-width: 100%;
  }

  .spqc-actions {
    display: contents;
  }

  .spqc-actions[hidden] {
    display: none !important;
  }

  .spqc-actions .spqc-action-btn {
    min-height: 36px;
    margin: 6px 12px 0;
    padding: 7px 11px;
    align-self: flex-start;
    flex: 0 0 auto;
    font-size: 11px;
  }

  .spqc-form {
    margin: 0 9px 6px;
    padding: 7px;
    gap: 6px;
    border: 1px solid #dfe6ea;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15,23,42,.08);
  }

  .spqc-input {
    min-height: 44px;
    padding: 9px 11px;
    border: 0;
    background: #f5f8fa;
    font-size: 12px;
  }

  .spqc-input:focus {
    border: 0;
    box-shadow: none;
  }

  .spqc-send {
    min-width: 52px;
    min-height: 44px;
    padding: 0 11px;
    border-radius: 12px;
    font-size: 11px;
  }

  .spqc-send svg {
    display: none;
  }

  .spqc-privacy {
    padding: 4px 12px 7px;
    overflow: hidden;
    border-top: 0;
    font-size: 9px;
    line-height: 1.5;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .spqc-product-modal {
    place-items: end center;
    padding: 8px;
  }

  .spqc-product-modal-box {
    width: 100%;
    max-height: calc(100dvh - 16px);
    padding: 20px 17px calc(18px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border-radius: 28px 28px 22px 22px;
    animation: spqc-sheet-in .28s ease both;
    scrollbar-width: none;
  }

  .spqc-product-modal-box::-webkit-scrollbar {
    display: none;
  }

  .spqc-product-modal-heading {
    padding-left: 42px;
  }

  .spqc-product-modal-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .spqc-product-modal-box .spqc-product-modal-heading h3 {
    font-size: 16px;
  }

  .spqc-product-modal-copy {
    margin: 12px 0 10px;
    font-size: 12px;
  }

  .spqc-product-quote-form label {
    margin-top: 11px;
  }

  .spqc-product-quote-form input {
    min-height: 49px;
  }
}

@keyframes spqc-sheet-in {
  from { opacity: 0; transform: translateY(28px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Marked visual fixes 3.2.2 */
.spqc-product-quote-button .spqc-product-quote-icon {
  position: static !important;
  inset: auto !important;
  width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  display: grid !important;
  place-items: center !important;
  align-self: center !important;
  justify-self: center !important;
  overflow: hidden;
  border-radius: 11px !important;
  line-height: 1 !important;
  transform: none !important;
}

.spqc-product-quote-button .spqc-product-quote-icon svg {
  width: 23px !important;
  height: 23px !important;
  margin: 0 !important;
  display: block !important;
  transform: none !important;
}

@media (max-width: 767px) {
  .spqc-product-quote-button {
    grid-template-columns: 40px minmax(0, 1fr) 30px;
  }

  .spqc-bubble {
    min-height: 72px;
    align-items: center;
    overflow: visible;
  }

  .spqc-bubble-open {
    width: 54px;
    height: 54px;
    align-self: center;
    flex: 0 0 54px;
    overflow: visible;
  }

  .spqc-bubble-icon {
    width: 54px;
    height: 54px;
    padding: 3px;
    align-self: center;
    border-width: 2px;
    border-radius: 18px;
    transform: none;
  }

  .spqc-bubble-icon img {
    border-radius: 14px;
  }

  .spqc-quick-form,
  .spqc-wrap button.spqc-launcher-minimize {
    align-self: center;
  }

  .spqc-mobile-minimized,
  .spqc-mobile-minimized .spqc-launchers {
    width: 50px;
  }

  .spqc-mobile-minimized .spqc-bubble {
    width: 50px;
    min-height: 50px;
    height: 50px;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: transparent;
    box-shadow: none;
  }

  .spqc-mobile-minimized .spqc-bubble:hover {
    border: 0;
    box-shadow: none;
    transform: none;
  }

  .spqc-mobile-minimized .spqc-bubble-open {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    padding: 0;
  }

  .spqc-mobile-minimized .spqc-bubble-icon {
    width: 48px;
    height: 48px;
    padding: 2px;
    border: 2px solid #fff;
    border-radius: 16px;
    box-shadow: 0 7px 18px rgba(15,23,42,.18);
    transform: none;
  }

  .spqc-mobile-minimized .spqc-bubble-icon img {
    border-radius: 13px;
  }
}
