/* Printers Cart Phase 5 CSS — 2026-08-31 */

/* === B2B Banner === */
.pt-cart-b2b-wrap {
  margin: 32px 0 16px;
  padding: 0;
}
.pt-cart-b2b {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8edff 100%);
  border: 1px solid #d6dffb;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(11, 33, 240, 0.06);
}
.pt-cart-b2b-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  color: #0b21f0;
  box-shadow: 0 2px 8px rgba(11, 33, 240, 0.1);
}
.pt-cart-b2b-content {
  flex: 1;
  min-width: 0;
}
.pt-cart-b2b-title {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.pt-cart-b2b-sub {
  font-size: 14px;
  color: #5a5a6e;
  line-height: 1.5;
}
.pt-cart-b2b-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.pt-cart-b2b-wa,
.pt-cart-b2b-quote {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.pt-cart-b2b-wa {
  background: #25d366;
  color: #fff;
  border: 1px solid #25d366;
}
.pt-cart-b2b-wa:hover {
  background: #1da851;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.pt-cart-b2b-quote {
  background: linear-gradient(180deg, #0b21f0 0%, #0014c8 100%);
  color: #fff;
  border: 1px solid #0b21f0;
}
.pt-cart-b2b-quote:hover {
  background: linear-gradient(180deg, #0014c8 0%, #0010a0 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 33, 240, 0.3);
}

/* === Trust strip === */
.pt-cart-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0 32px;
  padding: 20px;
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: 14px;
}
.pt-cart-trust-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.pt-cart-trust-item svg {
  flex-shrink: 0;
  color: #0b21f0;
  margin-top: 2px;
}
.pt-cart-trust-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 2px;
}
.pt-cart-trust-sub {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

/* === B2B Modal === */
.pt-b2b-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.pt-b2b-modal.pt-open {
  display: flex !important;
}
.pt-b2b-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}
.pt-b2b-modal-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 32px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.pt-b2b-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: #f3f3f7;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.pt-b2b-modal-close:hover {
  background: #e8e8ed;
}
.pt-b2b-modal-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1a1a1a;
}
.pt-b2b-modal-card > p {
  font-size: 14px;
  color: #5a5a6e;
  margin: 0 0 24px;
  line-height: 1.6;
}
.pt-b2b-modal-channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pt-b2b-modal-wa,
.pt-b2b-modal-email,
.pt-b2b-modal-phone {
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  background: #f7f8fc;
  border: 1px solid #e8eaf0;
}
.pt-b2b-modal-wa strong,
.pt-b2b-modal-email strong,
.pt-b2b-modal-phone strong {
  font-size: 14px;
  color: #0b21f0;
  font-weight: 600;
  margin-bottom: 2px;
}
.pt-b2b-modal-wa span,
.pt-b2b-modal-email span,
.pt-b2b-modal-phone span {
  font-size: 12px;
  color: #666;
}
.pt-b2b-modal-wa:hover,
.pt-b2b-modal-email:hover,
.pt-b2b-modal-phone:hover {
  background: #fff;
  border-color: #0b21f0;
  transform: translateY(-1px);
}

/* === Mobile === */
@media (max-width: 768px) {
  .pt-cart-b2b {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
  }
  .pt-cart-b2b-actions {
    flex-direction: column;
    width: 100%;
  }
  .pt-cart-b2b-wa,
  .pt-cart-b2b-quote {
    width: 100%;
    justify-content: center;
  }
  .pt-cart-trust {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}