.jc-add-inquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid #0f2a44;
  border-radius: 3px;
  background: #0f2a44;
  color: #fff !important;
  font: 600 14px/1.2 Arial, sans-serif;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

/* Replaced by the simpler WhatsApp and inquiry-cart controls below. */
.floatwindow_fd_conct { display: none !important; }

.jc-add-inquiry:hover,
.jc-add-inquiry:focus {
  background: #173f63;
  border-color: #173f63;
  transform: translateY(-1px);
}

.pro-item .jc-add-inquiry {
  width: calc(100% - 24px);
  margin: 0 12px 14px;
}

.pro-c-info .jc-add-inquiry {
  min-width: 170px;
  min-height: 48px;
  margin-right: 12px;
  font-size: 16px;
}

.jc-floating-actions {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jc-float-action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(15, 42, 68, .24);
  color: #fff !important;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.jc-float-action:hover,
.jc-float-action:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15, 42, 68, .32);
}

.jc-chat-action { background: #1faa59; }
.jc-cart-action { background: #0f2a44; }

.jc-action-icon {
  font: 700 23px/1 Arial, sans-serif;
}

.jc-cart-svg {
  display: block;
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jc-action-label {
  position: absolute;
  right: 66px;
  top: 50%;
  transform: translateY(-50%);
  width: max-content;
  max-width: 220px;
  padding: 8px 11px;
  border-radius: 4px;
  background: #1f2937;
  color: #fff;
  font: 13px/1.2 Arial, sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.jc-float-action:hover .jc-action-label,
.jc-float-action:focus .jc-action-label { opacity: 1; }

.jc-cart-count {
  position: absolute;
  top: -5px;
  right: -4px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 11px;
  background: #e64a3b;
  color: #fff;
  font: 700 11px/17px Arial, sans-serif;
  text-align: center;
  box-sizing: border-box;
}

.jc-cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  background: rgba(15, 23, 42, .5);
}

.jc-cart-overlay.is-open { display: block; }

.jc-cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(560px, 94vw);
  height: 100%;
  padding: 0;
  overflow-y: auto;
  background: #f6f8fa;
  box-shadow: -12px 0 36px rgba(15, 42, 68, .2);
}

.jc-cart-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  background: #0f2a44;
  color: #fff;
}

.jc-cart-head h2 {
  margin: 0;
  color: #fff;
  font: 600 24px/1.25 Arial, sans-serif;
}

.jc-cart-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font: 300 28px/1 Arial, sans-serif;
  cursor: pointer;
}

.jc-cart-body { padding: 22px 26px 36px; }

.jc-cart-intro {
  margin: 0 0 16px;
  color: #475569;
  font: 14px/1.6 Arial, sans-serif;
}

.jc-cart-empty {
  padding: 30px 16px;
  border: 1px dashed #b8c2cc;
  border-radius: 6px;
  background: #fff;
  color: #64748b;
  text-align: center;
  font: 14px/1.6 Arial, sans-serif;
}

.jc-cart-items {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.jc-cart-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
}

.jc-cart-thumb {
  width: 74px;
  height: 74px;
  object-fit: contain;
  background: #f8fafc;
}

.jc-cart-product-name {
  display: block;
  margin-bottom: 9px;
  color: #0f2a44 !important;
  font: 600 14px/1.4 Arial, sans-serif;
}

.jc-qty-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font: 13px/1 Arial, sans-serif;
}

.jc-cart-qty {
  width: 64px;
  height: 34px;
  padding: 4px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  text-align: center;
}

.jc-cart-remove {
  padding: 7px;
  border: 0;
  background: transparent;
  color: #c2413a;
  font: 13px/1 Arial, sans-serif;
  cursor: pointer;
}

.jc-cart-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #dbe3ea;
}

.jc-cart-form h3,
.jc-cart-form .jc-full { grid-column: 1 / -1; }

.jc-cart-form h3 {
  margin: 0 0 4px;
  color: #0f2a44;
  font: 600 20px/1.3 Arial, sans-serif;
}

.jc-cart-form input,
.jc-cart-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #fff;
  color: #1f2937;
  font: 14px/1.45 Arial, sans-serif;
  box-sizing: border-box;
}

.jc-cart-form textarea { min-height: 105px; resize: vertical; }

.jc-cart-submit {
  grid-column: 1 / -1;
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  background: #0f2a44;
  color: #fff;
  font: 600 15px/1.2 Arial, sans-serif;
  cursor: pointer;
}

.jc-cart-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #64748b;
  font: 12px/1.5 Arial, sans-serif;
}

.jc-cart-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 1500;
  transform: translate(-50%, 20px);
  padding: 11px 18px;
  border-radius: 5px;
  background: #0f2a44;
  color: #fff;
  font: 14px/1.3 Arial, sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.jc-cart-toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

body.jc-cart-open { overflow: hidden; }

@media (min-width: 769px) {
  footer.foot > .top-btn {
    right: 24px !important;
    bottom: 240px !important;
  }
}

@media (max-width: 768px) {
  .jc-floating-actions { display: none; }
  .jc-cart-drawer { width: 100%; }
  .jc-cart-head { padding: 18px; }
  .jc-cart-head h2 { font-size: 20px; }
  .jc-cart-body { padding: 18px 16px 90px; }
  .jc-cart-form { grid-template-columns: 1fr; }
  .jc-cart-form h3,
  .jc-cart-form .jc-full,
  .jc-cart-submit,
  .jc-cart-note { grid-column: 1; }
  .jc-cart-item { grid-template-columns: 62px minmax(0, 1fr); }
  .jc-cart-thumb { width: 62px; height: 62px; }
  .jc-cart-remove { grid-column: 2; justify-self: start; padding-left: 0; }
  .pro-item .jc-add-inquiry { width: calc(100% - 16px); margin: 0 8px 10px; padding: 8px 6px; font-size: 12px; }
  .pro-c-info .jc-add-inquiry { width: 100%; margin: 0 0 10px; }
  .mobile-bottom .jc-mobile-cart { position: relative; }
  .mobile-bottom .jc-mobile-cart .jc-cart-svg { width: 19px; height: 19px; margin-bottom: 2px; }
  .mobile-bottom .jc-cart-count { top: -8px; right: 10%; }
}
