.pcc-cart,
.pcc-cart * {
  font-family: 'Montserrat', sans-serif;
}

.pcc-cart {
  width: 100%;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0,0,0,.04);
}

.pcc-cart-header {
  min-height: 54px;
  background: #282828;
  color: #fff;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.pcc-cart-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.pcc-cart-icon {
  font-size: 18px;
}

.pcc-cart-steps {
  grid-column: 2;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.pcc-cart-steps span {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  display: block;
}

.pcc-cart-steps span.is-current {
  background: transparent;
  border: 4px solid #fff;
}

.pcc-cart-content {
  padding: 34px;
}

.pcc-product {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.pcc-product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.pcc-product h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #333;
}

.pcc-product-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pcc-edit-config-btn {
  min-height: 32px!important;
  padding: 0 14px!important;
  border: 1px solid #ddd!important;
  border-radius: 999px!important;
  background: #fff!important;
  color: #111!important;
  font-size: 12px!important;
  font-weight: 800!important;
  cursor: pointer!important;
  transition: .2s ease!important;
}

.pcc-edit-config-btn:hover:not(:disabled) {
  background: #f5f5f5;
}

.pcc-edit-config-btn.is-loading {
  opacity: .65;
  cursor: wait;
}

/* Estilos do card de plano: ver packster-smart-purchase/assets/css/smart-purchase.css (.psp-plan-line) */

.pcc-remove {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 22px;
  line-height: 1;
  color: #111;
  transition: .2s ease;
}

.pcc-remove:hover {
  background: #f2f2f2;
}

.pcc-product-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(520px, 1fr);
  gap: 44px;
  align-items: start;
}

.pcc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pcc-tags span {
  padding: 5px 12px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
}

.pcc-values {
  display: grid;
  grid-template-columns: repeat(5, minmax(88px, 1fr));
  gap: 18px;
}

.pcc-values small {
  display: block;
  margin-bottom: 9px;
  color: #777;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
}

.pcc-values strong {
  display: block;
  color: #222;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
}

.pcc-arts {
  margin-top: 20px;
  padding-top: 4px;
}

.pcc-art-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) 130px 150px 100px;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #eee;
  color: #444;
  font-size: 13px;
}

.pcc-art-row strong {
  color: #111;
  font-weight: 800;
}

.pcc-art-row a {
  justify-self: start;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  transition: .2s ease;
}

.pcc-art-row a:hover {
  background: #f5f5f5;
}

.pcc-shipping,
.pcc-total,
.pcc-proof-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid #eee;
}

.pcc-shipping > div > strong,
.pcc-total > strong:first-child,
.pcc-proof-total > strong:first-child {
  font-size: 15px;
  color: #333;
}

.pcc-shipping span {
  display: block;
  margin-top: 8px;
  color: #777;
  font-size: 13px;
  line-height: 1.35;
}

.pcc-shipping > strong,
.pcc-total > strong:last-child,
.pcc-proof-total > strong:last-child {
  font-size: 15px;
  color: #222;
  white-space: nowrap;
}

.pcc-ipi-exemption-flag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #eef8f0;
  border: 1px solid #b9dfc2;
  color: #1f5f2f;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.pcc-ipi-exemption-flag-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2e8b47;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  font-style: italic;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pcc-actions {
  text-align: center;
  margin-top: 30px;
}

.pcc-checkout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 42px;
  background: #111;
  color: #fff !important;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 900;
  transition: .2s ease;
}

.pcc-checkout-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.pcc-cart--empty .pcc-cart-content.pcc-empty-cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 34px 64px;
}

.pcc-empty-cart-icon {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #f5f5f5;
  font-size: 36px;
}

.pcc-empty-cart-title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  color: #222;
}

.pcc-empty-cart-text {
  margin: 0 0 28px;
  max-width: 420px;
  color: #777;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
}

.pcc-empty-cart-btn {
  min-width: 220px;
}

@media (max-width: 1100px) {
  .pcc-product-grid,
  .pcc-values,
  .pcc-art-row {
    grid-template-columns: 1fr;
  }

  .pcc-cart-header {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pcc-cart-steps {
    grid-column: 1;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .pcc-cart-content {
    padding: 22px;
  }

  .pcc-cart--empty .pcc-cart-content.pcc-empty-cart {
    padding: 40px 22px 48px;
  }

  .pcc-cart-header {
    padding: 14px 18px;
  }
}

.pcc-shipping-debug,
.pcc-shipping-debug-summary {
  color: #6b7280;
  font-size: 12px;
}

.pcc-shipping-debug-summary {
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px dashed #d1d5db;
  border-radius: 6px;
  line-height: 1.5;
}

.pcc-art-upload-pending {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #fbbf24;
  border-radius: 10px;
  background: #fffbeb;
}

.pcc-art-upload-pending p {
  margin: 0 0 12px;
  color: #92400e;
  font-size: 14px;
  line-height: 1.45;
}

.pcc-upload-arts-btn {
  display: inline-flex!important;
  align-items: center!important;
  justify-content: center!important;
  padding: 10px 18px!important;
  border: 0!important;
  border-radius: 999px!important;
  background: #111827!important;
  color: #fff!important;
  font-weight: 700!important;
  cursor: pointer!important;
}

.pcc-upload-arts-btn.is-loading {
  opacity: 0.7;
  cursor: wait;
}

.pcc-checkout-blocked-note {
  margin: 0 0 12px;
  color: #b45309;
  font-size: 14px;
  line-height: 1.45;
}

.pcc-checkout-btn--disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.pcc-coupon {
  margin-top: 18px;
  padding-top: 15px;
}

.pcc-coupon-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.pcc-coupon-actions {
  display: flex;
  gap: 10px;
}

.pcc-coupon-actions input {
  flex: 1!important;
  min-height: 42px!important;
  padding: 0 12px!important;
  border: 1px solid #d1d5db!important;
  border-radius: 8px!important;
  max-width: 255px;
}

.pcc-coupon-apply {
  min-height: 42px!important;
  padding: 0 16px!important;
  border: 0!important;
  border-radius: 8px!important;
  background: #111827!important;
  color: #fff!important;
  font-weight: 700!important;
  cursor: pointer!important;
}

.pcc-coupon-feedback {
  margin: 8px 0 0;
  font-size: 13px;
  color: #15803d;
}

.pcc-coupon-feedback.is-error {
  color: #b91c1c;
}

.pcc-coupon-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.pcc-coupon-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
}

.pcc-coupon-code {
  font-weight: 800;
  text-transform: uppercase;
}

.pcc-coupon-amount {
  margin-left: auto;
  font-weight: 700;
}

.pcc-coupon-remove {
  border: 0!important;
  background: transparent!important;
  font-size: 20px!important;
  color: #9ca3af!important;
  cursor: pointer!important;
}

.pcc-discount {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  color: #15803d;
}
