/* BC Global — default design tokens for bc-core plugin.
   Overridden by the borderlesscommerce theme when active. */

:root {
  --bc-navy: #0A1628;
  --bc-text: #111827;
  --bc-text-secondary: #4B5563;
  --bc-bg: #FFFFFF;
  --bc-muted: #9CA3AF;
  --bc-border: rgba(0, 0, 0, 0.06);
  --bc-cream: #F7F8FA;
  --bc-grey-100: #F1F3F5;
  --bc-grey-200: #E5E7EB;
  --bc-grey-300: #D1D5DB;
  --bc-grey-400: #9CA3AF;
  --bc-accent: #DC2626;
  --bc-accent-hover: #C41E1E;
  --bc-accent-text: #FFFFFF;
  --bc-accent-soft: #FEF2F2;
  --bc-green: #059669;
  --bc-radius: 8px;
  --bc-radius-xs: 6px;
  --bc-radius-md: 12px;
  --bc-radius-lg: 16px;
  --bc-radius-pill: 100px;
  --bc-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --bc-shadow-md: 0 4px 6px rgba(0,0,0,0.04), 0 2px 4px rgba(0,0,0,0.03);
  --bc-font: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --bc-font-serif: 'Playfair Display', Georgia, serif;
  --bc-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scoped box-sizing for plugin components (in case theme doesn't reset) */
.bc-importer *,
.bc-importer *::before,
.bc-importer *::after,
.bc-pdp *,
.bc-pdp *::before,
.bc-pdp *::after,
.bc-pricing *,
.bc-pricing *::before,
.bc-pricing *::after,
.bc-catalog *,
.bc-catalog *::before,
.bc-catalog *::after,
.bc-wallet *,
.bc-wallet *::before,
.bc-wallet *::after,
.bc-tracking *,
.bc-tracking *::before,
.bc-tracking *::after,
.bc-auth *,
.bc-auth *::before,
.bc-auth *::after,
.bc-shipping *,
.bc-shipping *::before,
.bc-shipping *::after,
.bc-hiw *,
.bc-hiw *::before,
.bc-hiw *::after {
  box-sizing: border-box;
}

/* Static pages (Terms, Privacy, About, Contact, FAQ) */
.bc-static-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 24px 80px;
  font-family: 'Outfit', var(--bc-font, sans-serif);
  color: var(--bc-text, #111827);
  line-height: 1.7;
}

.bc-static-page h2 {
  font-family: 'Playfair Display', var(--bc-font-serif, Georgia), serif;
  font-size: 32px;
  margin: 0 0 8px;
  line-height: 1.2;
}

.bc-static-page h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--bc-navy, #0A1628);
}

.bc-static-page h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 16px 0 8px;
}

.bc-static-page p {
  margin: 0 0 16px;
  font-size: 15px;
}

.bc-static-page ul,
.bc-static-page ol {
  margin: 0 0 16px;
  padding-left: 24px;
}

.bc-static-page li {
  margin-bottom: 6px;
  font-size: 15px;
}

.bc-static-page a {
  color: var(--bc-accent, #DC2626);
  text-decoration: none;
  font-weight: 600;
}

.bc-static-page a:hover {
  text-decoration: underline;
}

.bc-static-page strong {
  font-weight: 700;
}

.bc-static-page em {
  font-style: italic;
  color: var(--bc-text-secondary, #4B5563);
}

/* Contact page grid */
.bc-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px 0;
}

.bc-contact-info h3 {
  margin-top: 0;
}

.bc-contact-form__form {
  display: grid;
  gap: 18px;
  margin-top: 16px;
}

.bc-contact-form__field {
  display: grid;
  gap: 8px;
}

.bc-contact-form__field label {
  font-size: 14px;
  font-weight: 700;
  color: var(--bc-navy, #0A1628);
}

.bc-contact-form__field input,
.bc-contact-form__field textarea {
  width: 100%;
  border: 1px solid var(--bc-grey-200, #E5E7EB);
  border-radius: 12px;
  background: #fff;
  padding: 14px 16px;
  font: inherit;
  color: var(--bc-text, #111827);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bc-contact-form__field textarea {
  resize: vertical;
  min-height: 180px;
}

.bc-contact-form__field input:focus,
.bc-contact-form__field textarea:focus {
  outline: none;
  border-color: var(--bc-accent, #DC2626);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

.bc-contact-form__submit {
  width: fit-content;
  min-width: 160px;
}

.bc-contact-alert {
  margin-top: 16px;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
}

.bc-contact-alert--success {
  background: var(--bc-green-soft, #ECFDF5);
  color: var(--bc-green, #059669);
}

.bc-contact-alert--error {
  background: var(--bc-accent-soft, #FEF2F2);
  color: var(--bc-accent, #DC2626);
}

@media (max-width: 768px) {
  .bc-contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 520px) {
  .bc-static-page {
    padding: 20px 16px 60px;
  }

  .bc-static-page h2 {
    font-size: 26px;
  }

  .bc-static-page h3 {
    font-size: 18px;
    margin-top: 24px;
  }

  .bc-static-page p,
  .bc-static-page li {
    font-size: 14px;
  }
}
