/* ─── Shipping Cost Pro — Front CSS ─────────────────────────────────────── */

/* Highlight bar */
.scpro-highlight-bar {
  width: 100%;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 9999;
}

.scpro-highlight-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.scpro-highlight-bar-close {
  background: none;
  border: none;
  color: inherit;
  font-size: 18px;
  cursor: pointer;
  opacity: .7;
  line-height: 1;
  padding: 0 4px;
}

.scpro-highlight-bar-close:hover { opacity: 1; }

/* Notification */
.scpro-notification {
  margin: 8px 0;
  padding: 10px 16px;
  border-radius: 4px;
}

/* Banner */
.scpro-banner {
  display: block;
  margin: 10px 0;
  text-align: center;
}

.scpro-banner-img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* Popup overlay */
.scpro-popup-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.55);
  z-index: 100000;
  animation: scproFadeIn .25s ease;
}

@keyframes scproFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.scpro-popup-box {
  position: relative;
  min-width: 280px;
  max-width: 520px;
  width: 90%;
  border-radius: 10px;
  padding: 36px 32px 28px;
  box-shadow: 0 16px 48px rgba(0,0,0,.22);
  animation: scproSlideUp .25s ease;
}

@keyframes scproSlideUp {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.scpro-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  color: #6b7280;
}

.scpro-popup-close:hover { color: #111; }

.scpro-popup-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
}

.scpro-popup-body {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #374151;
}

.scpro-popup-footer { text-align: right; }

.scpro-popup-btn {
  padding: 9px 22px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
}
