/* SafeShip — World-Class Design System
 * Inspired by Linear, Stripe & Claude
 * Ultra-refined typography, pixel-perfect spacing, luxury alabaster palette
 */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-canvas: #FAF8F5;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F4F1EA;
  --bg-muted: #ECE8DE;
  
  --text-primary: #12110F;
  --text-secondary: #57554E;
  --text-tertiary: #8C8A82;
  --text-on-dark: #FFFFFF;

  --border-hairline: rgba(18, 17, 15, 0.07);
  --border-medium: rgba(18, 17, 15, 0.12);
  --border-focus: #C45512;

  --accent-terra: #C45512;
  --accent-terra-soft: #FDF4ED;
  --accent-terra-hover: #A8450A;
  --accent-emerald: #1B5E41;
  --accent-emerald-soft: #EEF7F2;

  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shadow-subtle: 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 20px rgba(0, 0, 0, 0.02);
  --shadow-float: 0 12px 40px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.03);
  --shadow-glow: 0 0 0 1px rgba(196, 85, 18, 0.15), 0 8px 24px rgba(196, 85, 18, 0.08);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Base Layout Containers */
.site-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   GLOBAL NAVIGATION (Linear/Stripe Style)
   ============================================================ */
.global-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-hairline);
  padding: 12px 0;
  margin-bottom: 32px;
}

.nav-pill,
.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  box-shadow: none;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--text-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-brand-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link-item {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-link-item:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Refined Language Picker Dropdown */
.lang-select-wrapper {
  position: relative;
}

.lang-select-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-select-trigger:hover {
  background: var(--bg-muted);
  color: var(--text-primary);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 200px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
  padding: 6px;
  display: none;
  z-index: 200;
}

.lang-dropdown-menu.open {
  display: block;
}

.lang-option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.12s ease;
}

.lang-option-item:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
}

.lang-option-item.active {
  background: var(--accent-terra-soft);
  color: var(--accent-terra);
  font-weight: 600;
}

/* ============================================================
   BUTTONS & MICRO-INTERACTIONS
   ============================================================ */
.btn-primary {
  background: var(--text-primary);
  color: var(--text-on-dark);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  background: #2C2A26;
  transform: translateY(-1px);
}

.btn-terra {
  background: var(--accent-terra);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(196, 85, 18, 0.2);
  transition: all 0.15s ease;
}

.btn-terra:hover {
  background: var(--accent-terra-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(196, 85, 18, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid var(--border-medium);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-ghost:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
}

/* ============================================================
   HERO SECTION (Editorial & Authoritative)
   ============================================================ */
.hero-wrapper {
  text-align: center;
  padding: 48px 0 64px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-terra);
  margin-bottom: 24px;
  box-shadow: var(--shadow-subtle);
}

.hero-heading {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -1.2px;
  color: var(--text-primary);
  max-width: 860px;
  margin: 0 auto 20px;
}

.hero-heading em {
  font-style: italic;
  color: var(--accent-terra);
}

.hero-description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto 36px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 500;
}

.proof-bullet {
  display: flex;
  align-items: center;
  gap: 8px;
}

.proof-bullet svg {
  color: var(--accent-emerald);
}

/* ============================================================
   INTERACTIVE ROI CALCULATOR COMPONENT
   ============================================================ */
.interactive-section {
  margin-bottom: 80px;
}

.calculator-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.calc-left h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}

.calc-left p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.slider-container {
  margin-bottom: 24px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.slider-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.slider-value-badge {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--text-primary);
}

.custom-range-slider {
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: var(--bg-muted);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-terra);
  box-shadow: 0 2px 6px rgba(196, 85, 18, 0.4);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.custom-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Projection Result Box */
.projection-display-card {
  background: var(--bg-canvas);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.proj-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-secondary);
}

.proj-row strong {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 600;
}

.proj-divider {
  height: 1px;
  background: var(--border-hairline);
}

.proj-highlight-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.proj-highlight-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-emerald);
}

.proj-highlight-number {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 500;
  color: var(--accent-emerald);
}

.proj-note-pill {
  font-size: 11px;
  color: var(--text-tertiary);
  text-align: center;
  background: rgba(18, 17, 15, 0.03);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

/* ============================================================
   PIXEL-PERFECT SHOPIFY CHECKOUT SHOWCASE MOCKUP
   ============================================================ */
.checkout-mockup-wrapper {
  margin-bottom: 80px;
}

.section-headline-center {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
}

.section-headline-center h2 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}

.section-headline-center p {
  font-size: 15px;
  color: var(--text-secondary);
}

.browser-window-frame {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  max-width: 980px;
  margin: 0 auto;
}

.browser-chrome {
  background: #F6F5F2;
  border-bottom: 1px solid var(--border-hairline);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #DDD9D0;
}

.browser-address-bar {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 4px 14px;
  font-size: 11px;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Realistic 2-Column Shopify Checkout */
.shopify-checkout-canvas {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 520px;
}

.checkout-left-column {
  padding: 36px 40px;
  border-right: 1px solid var(--border-hairline);
}

.checkout-store-logo {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 18px;
}

.checkout-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 24px;
}

.checkout-breadcrumbs span.active {
  color: var(--text-primary);
  font-weight: 600;
}

.checkout-step-box {
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 12px;
  margin-bottom: 18px;
  background: #FAF9F7;
}

/* THE SAFESHIP CHECKOUT EXTENSION WIDGET CARD */
.safeship-widget-live {
  border: 1.5px solid var(--accent-terra);
  background: var(--accent-terra-soft);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-glow);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.safeship-widget-live.inactive {
  border-color: var(--border-hairline);
  background: #FFFFFF;
  box-shadow: none;
}

.widget-left-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.widget-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--accent-terra);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-subtle);
}

.widget-text-block h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.rec-badge {
  background: var(--accent-terra);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
}

.widget-text-block p {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
  line-height: 1.4;
}

.widget-right-control {
  display: flex;
  align-items: center;
  gap: 12px;
}

.widget-fee-amount {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-terra);
  white-space: nowrap;
}

/* Elegant Switch */
.ios-switch {
  position: relative;
  width: 36px;
  height: 20px;
  cursor: pointer;
}

.ios-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ios-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #D1CEC7;
  border-radius: 20px;
  transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ios-slider:before {
  content: "";
  position: absolute;
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ios-switch input:checked + .ios-slider {
  background-color: var(--accent-terra);
}

.ios-switch input:checked + .ios-slider:before {
  transform: translateX(16px);
}

/* Right Column (Order Summary) */
.checkout-right-column {
  background: #FAF9F7;
  padding: 36px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.item-thumb-box {
  width: 52px;
  height: 52px;
  background: #ECE9E1;
  border: 1px solid var(--border-hairline);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  position: relative;
}

.thumb-qty-bubble {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #5E5B53;
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-details h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.item-details span {
  font-size: 11px;
  color: var(--text-tertiary);
}

.item-price-tag {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
}

.checkout-totals-block {
  border-top: 1px solid var(--border-hairline);
  padding-top: 18px;
}

.total-line-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.total-line-item.safe-ship-line {
  color: var(--accent-terra);
  font-weight: 600;
}

.final-pay-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--border-hairline);
  padding-top: 14px;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ============================================================
   COMPARISON TABLE (Honest & Rigorous)
   ============================================================ */
.comparison-section {
  margin-bottom: 80px;
}

.clean-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-card);
}

.clean-table th {
  background: #FAF9F7;
  padding: 16px 22px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-hairline);
  text-align: left;
}

.clean-table td {
  padding: 16px 22px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-hairline);
  color: var(--text-primary);
}

.clean-table tr:last-child td {
  border-bottom: none;
}

.cell-highlight {
  background: var(--accent-terra-soft);
  color: var(--accent-terra);
  font-weight: 600;
}

/* ============================================================
   CALL TO ACTION FOOTER BANNER
   ============================================================ */
.cta-banner-wrapper {
  background: var(--text-primary);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.cta-banner-wrapper h2 {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}

.cta-banner-wrapper p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto 32px;
}

/* Responsive Rules */
@media (max-width: 860px) {
  .calculator-card {
    grid-template-columns: 1fr;
  }
  .shopify-checkout-canvas {
    grid-template-columns: 1fr;
  }
  .hero-heading {
    font-size: 38px;
  }
  .hero-social-proof {
    flex-direction: column;
    gap: 12px;
  }
}

/* ============================================================
   MERCHANT DASHBOARD LUXURY COMPONENT SUITE
   ============================================================ */

/* Pulse dot for live store */
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 0 0 rgba(27, 94, 65, 0.7);
  animation: pulseEmerald 2s infinite;
}

@keyframes pulseEmerald {
  0% { box-shadow: 0 0 0 0 rgba(27, 94, 65, 0.6); }
  70% { box-shadow: 0 0 0 7px rgba(27, 94, 65, 0); }
  100% { box-shadow: 0 0 0 0 rgba(27, 94, 65, 0); }
}

/* Segmented Tabs (Linear / Apple style) */
.tabs-nav {
  display: inline-flex;
  background: #ECE7DE;
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
  margin-bottom: 28px;
  border: 1px solid rgba(18, 17, 15, 0.06);
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 8px;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.6);
}

.tab-btn.active {
  background: #FFFFFF;
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 1px rgba(0, 0, 0, 0.04);
}

.tab-btn svg {
  color: var(--text-tertiary);
  transition: color 0.15s ease;
}

.tab-btn.active svg {
  color: var(--accent-terra);
}

.tab-badge {
  background: rgba(196, 85, 18, 0.12);
  color: var(--accent-terra);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: tabFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Premium Form Elements */
.input-group {
  margin-bottom: 22px;
}

.input-group label,
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.1px;
}

.input-group input[type="number"],
.input-group input[type="text"],
.form-input-field {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input-group input:focus,
.form-input-field:focus {
  border-color: var(--accent-terra);
  box-shadow: 0 0 0 3px rgba(196, 85, 18, 0.12);
}

.quick-examples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-hairline);
}

.quick-examples span {
  width: 100%;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.quick-examples .btn-sm {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-subtle);
}

.quick-examples .btn-sm:hover {
  background: var(--accent-terra-soft);
  border-color: var(--accent-terra);
  color: var(--accent-terra);
  transform: translateY(-1px);
}

/* Pricing Settings Form Card */
.form-row {
  margin-bottom: 24px;
}

.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.radio-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s ease;
}

.radio-card:hover {
  border-color: rgba(196, 85, 18, 0.4);
  background: #FFFCF9;
}

.radio-card.active,
.radio-card:has(input:checked) {
  border-color: var(--accent-terra);
  background: var(--accent-terra-soft);
  box-shadow: 0 0 0 1px var(--accent-terra);
}

.radio-card input[type="radio"] {
  accent-color: var(--accent-terra);
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
}

.radio-card strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.radio-card span {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.input-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.input-grid-3 input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.15s ease;
}

.input-grid-3 input:focus {
  border-color: var(--accent-terra);
  box-shadow: 0 0 0 3px rgba(196, 85, 18, 0.12);
}

.form-select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.form-select:focus {
  border-color: var(--accent-terra);
}

/* Status Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-sage {
  background: var(--accent-emerald-soft);
  color: var(--accent-emerald);
  border: 1px solid rgba(27, 94, 65, 0.15);
}

.badge-terracotta {
  background: var(--accent-terra-soft);
  color: var(--accent-terra);
  border: 1px solid rgba(196, 85, 18, 0.15);
}

.hidden {
  display: none !important;
}

/* ============================================================
   SLIDE-OUT CART DRAWER (Route / Navidium 1:1 Competitor Replica)
   ============================================================ */
.cart-drawer-container {
  display: grid;
  grid-template-columns: 1fr 420px;
  background: #F7F5F0;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  min-height: 560px;
}

.cart-drawer-store-backdrop {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: radial-gradient(circle at 20% 30%, #FFFFFF 0%, #F3EFE6 100%);
  position: relative;
}

.store-backdrop-badge {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.store-backdrop-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 16px;
  max-width: 420px;
}

.store-backdrop-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 400px;
  margin-bottom: 24px;
}

/* The Slide-Out Drawer Panel */
.cart-drawer-panel {
  background: #FFFFFF;
  border-left: 1px solid var(--border-medium);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 28px;
  box-shadow: -6px 0 24px rgba(0, 0, 0, 0.05);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-hairline);
}

.cart-drawer-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #12110F;
  letter-spacing: -0.3px;
}

.cart-drawer-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-view-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: underline;
  cursor: pointer;
}

.cart-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.15s ease;
}

.cart-close-btn:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
}

/* Free Shipping Progress Bar */
.cart-shipping-bar-box {
  background: #FAF9F6;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 16px 0 20px;
  text-align: center;
}

.cart-shipping-bar-text {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.cart-shipping-bar-text strong {
  color: #12110F;
  font-weight: 700;
}

.cart-shipping-progress-track {
  width: 100%;
  height: 6px;
  background: #E5E2D9;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.cart-shipping-progress-fill {
  width: 42%;
  height: 100%;
  background: #272521;
  border-radius: var(--radius-pill);
}

/* Cart Item in Drawer */
.cart-drawer-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-hairline);
}

.cart-item-img-box {
  width: 68px;
  height: 68px;
  border: 1px solid var(--border-hairline);
  border-radius: 8px;
  background: #FAF9F7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.cart-item-content {
  flex: 1;
}

.cart-item-vendor {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-tertiary);
  margin-bottom: 2px;
}

.cart-item-title {
  font-size: 13px;
  font-weight: 600;
  color: #12110F;
  line-height: 1.35;
  margin-bottom: 4px;
}

.cart-item-sold-by {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.cart-item-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
}

.cart-qty-btn {
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-qty-btn:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
}

.cart-qty-val {
  font-size: 12px;
  font-weight: 600;
  padding: 0 8px;
}

.cart-item-trash-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-tertiary);
  padding: 4px;
  transition: color 0.15s ease;
}

.cart-item-trash-btn:hover {
  color: #DC2626;
}

.cart-item-price-col {
  text-align: right;
}

.cart-current-price {
  font-size: 14px;
  font-weight: 700;
  color: #12110F;
}

.cart-compare-price {
  font-size: 11px;
  color: var(--text-tertiary);
  text-decoration: line-through;
  margin-top: 2px;
}

/* Order Notes & Taxes Note */
.cart-drawer-mid-notes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0 16px;
  font-size: 11px;
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: 16px;
}

.cart-drawer-mid-notes a {
  color: var(--text-secondary);
  text-decoration: underline;
  cursor: pointer;
}

/* ============================================================
   THE 1:1 ROUTE / NAVIDIUM EXACT SHIPPING PROTECTION WIDGET
   ============================================================ */
.competitor-protection-widget {
  background: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s ease;
}

.competitor-protection-widget.active {
  border-color: rgba(39, 150, 85, 0.4);
  background: #F8FCF9;
}

.competitor-shield-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #12110F;
}

.competitor-shield-icon svg {
  width: 28px;
  height: 28px;
}

.competitor-widget-info {
  flex: 1;
}

.competitor-widget-title {
  font-size: 14px;
  font-weight: 700;
  color: #12110F;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.competitor-widget-subtitle {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.competitor-widget-subtitle strong {
  color: #12110F;
  font-weight: 600;
}

/* The High-Converting Dual CTA Buttons */
.btn-protected-checkout {
  width: 100%;
  height: 48px;
  background: #279655; /* The exact SaveRite green */
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(39, 150, 85, 0.25);
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-protected-checkout:hover {
  background: #208347;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(39, 150, 85, 0.35);
}

.btn-unprotected-link {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-tertiary);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease;
}

.btn-unprotected-link:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

@media (max-width: 860px) {
  .cart-drawer-container {
    grid-template-columns: 1fr;
  }
}
