/**
 * Dental Care Savings Calculator
 * WordPress Embed Widget Styles
 * Version: 1.0.0
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ==========================================
   SECTION WRAPPER
   ========================================== */
.dental-embed-section,
#dental-embed-widget {
  --de-accent-h: var(--embed-accent-h, 170);
  --de-max-width: var(--embed-max-width, 800px);
  
  /* Dynamic color palette based on hue */
  --de-primary-50: hsl(var(--de-accent-h), 80%, 97%);
  --de-primary-100: hsl(var(--de-accent-h), 75%, 92%);
  --de-primary-200: hsl(var(--de-accent-h), 70%, 82%);
  --de-primary-300: hsl(var(--de-accent-h), 65%, 68%);
  --de-primary-400: hsl(var(--de-accent-h), 60%, 55%);
  --de-primary-500: hsl(var(--de-accent-h), 72%, 44%);
  --de-primary-600: hsl(var(--de-accent-h), 78%, 38%);
  --de-primary-700: hsl(var(--de-accent-h), 80%, 32%);
  --de-primary-800: hsl(var(--de-accent-h), 82%, 26%);
  --de-primary-900: hsl(var(--de-accent-h), 85%, 20%);
  
  /* Complementary colors */
  --de-gold-400: #FBBF24;
  --de-gold-500: #F59E0B;
  --de-emerald-400: #34D399;
  --de-emerald-500: #10B981;
  --de-rose-400: #FB7185;
  --de-rose-500: #F43F5E;
  
  /* Neutrals */
  --de-slate-50: #F8FAFC;
  --de-slate-100: #F1F5F9;
  --de-slate-200: #E2E8F0;
  --de-slate-300: #CBD5E1;
  --de-slate-400: #94A3B8;
  --de-slate-500: #64748B;
  --de-slate-600: #475569;
  --de-slate-700: #334155;
  --de-slate-800: #1E293B;
  --de-slate-900: #0F172A;
  
  /* Shadows */
  --de-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --de-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --de-shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
  --de-shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  --de-shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --de-shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.2);
  --de-shadow-glow: 0 0 30px hsla(var(--de-accent-h), 70%, 50%, 0.12);
  
  /* Radii */
  --de-radius-sm: 6px;
  --de-radius-md: 10px;
  --de-radius-lg: 14px;
  --de-radius-xl: 18px;
  --de-radius-2xl: 22px;
  --de-radius-3xl: 28px;
  --de-radius-full: 9999px;
  
  /* Typography */
  --de-font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Transitions */
  --de-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --de-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  
  padding: 24px 16px;
  background: linear-gradient(180deg, var(--de-slate-50) 0%, #FFFFFF 50%, var(--de-slate-50) 100%);
}

.dental-embed-wrapper {
  max-width: var(--de-max-width);
  margin: 0 auto;
  width: 100%;
}

/* ==========================================
   RESET & BASE CONTAINER
   ========================================== */
#dental-embed-widget {
  all: initial !important;
  display: block !important;
  font-family: var(--de-font) !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  isolation: isolate !important;
}

#dental-embed-widget *,
#dental-embed-widget *::before,
#dental-embed-widget *::after {
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0;
  border: none !important;
  font-family: var(--de-font) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: normal !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  text-decoration: none !important;
  font-style: normal !important;
  vertical-align: baseline !important;
  background: transparent;
  color: inherit;
}

#dental-embed-widget button {
  all: unset !important;
  cursor: pointer !important;
  font-family: var(--de-font) !important;
}

#dental-embed-widget input {
  all: unset !important;
  display: block !important;
  font-family: var(--de-font) !important;
}

#dental-embed-widget svg {
  display: block !important;
  flex-shrink: 0 !important;
  fill: none !important;
  stroke: currentColor !important;
}

#dental-embed-widget p,
#dental-embed-widget h1,
#dental-embed-widget h2,
#dental-embed-widget h3,
#dental-embed-widget h4,
#dental-embed-widget span,
#dental-embed-widget div {
  margin: 0 !important;
  padding: 0 !important;
}

/* ==========================================
   MAIN CONTAINER
   ========================================== */
#dental-embed-widget .de-container {
  background: #FFFFFF !important;
  border-radius: var(--de-radius-2xl) !important;
  box-shadow: 
    var(--de-shadow-lg),
    0 0 0 1px rgba(15, 23, 42, 0.04),
    var(--de-shadow-glow) !important;
  overflow: hidden !important;
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

#dental-embed-widget .de-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    var(--de-primary-400), 
    var(--de-primary-500), 
    var(--de-gold-400), 
    var(--de-primary-500), 
    var(--de-primary-400)
  ) !important;
  background-size: 200% 100%;
  animation: de-gradient-shift 8s linear infinite;
}

@keyframes de-gradient-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ==========================================
   HEADER
   ========================================== */
#dental-embed-widget .de-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 20px !important;
  background: linear-gradient(135deg, var(--de-slate-50) 0%, #FFFFFF 100%) !important;
  border-bottom: 1px solid var(--de-slate-200) !important;
  gap: 12px;
}

/* Back button */
#dental-embed-widget .de-back-btn {
  display: none !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 8px 12px !important;
  border-radius: var(--de-radius-full) !important;
  color: var(--de-slate-600) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: all 0.1s ease-out !important;
  flex-shrink: 0 !important;
  background: transparent !important;
  cursor: pointer !important;
  min-width: 70px !important;
}

#dental-embed-widget .de-back-btn.is-visible {
  display: flex !important;
}

#dental-embed-widget .de-back-btn:hover {
  background: var(--de-slate-100) !important;
  color: var(--de-slate-800) !important;
}

#dental-embed-widget .de-back-btn svg {
  width: 16px !important;
  height: 16px !important;
  stroke-width: 2 !important;
}

#dental-embed-widget .de-progress {
  display: flex !important;
  align-items: center !important;
  gap: 12px;
  flex: 1;
  justify-content: center !important;
  min-width: 0;
}

#dental-embed-widget .de-progress__text {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--de-slate-500) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  white-space: nowrap;
}

#dental-embed-widget .de-progress__bar {
  width: 100px;
  height: 5px;
  background: var(--de-slate-200) !important;
  border-radius: var(--de-radius-full) !important;
  overflow: hidden;
  flex-shrink: 0;
}

#dental-embed-widget .de-progress__fill {
  height: 100% !important;
  background: linear-gradient(90deg, var(--de-primary-400), var(--de-primary-500)) !important;
  border-radius: var(--de-radius-full) !important;
  transition: width 0.2s ease-out !important;
  position: relative !important;
}

#dental-embed-widget .de-progress__fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: de-shimmer 2s infinite;
}

@keyframes de-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

#dental-embed-widget .de-header__brand {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0;
}

#dental-embed-widget .de-header__icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px;
  height: 36px;
  border-radius: var(--de-radius-sm) !important;
  background: linear-gradient(135deg, var(--de-primary-500), var(--de-primary-600)) !important;
  color: white !important;
  box-shadow: var(--de-shadow-sm);
}

#dental-embed-widget .de-header__icon svg {
  width: 20px !important;
  height: 20px !important;
  stroke-width: 2 !important;
}

/* ==========================================
   BODY & SCREENS
   ========================================== */
#dental-embed-widget .de-body {
  position: relative !important;
  overflow: hidden !important;
  background: #FFFFFF !important;
}

#dental-embed-widget .de-screen-container {
  position: relative !important;
  width: 100% !important;
}

#dental-embed-widget .de-screen {
  padding: 32px 28px 40px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

/* ==========================================
   WELCOME SCREEN
   ========================================== */
#dental-embed-widget .de-welcome {
  text-align: center !important;
  max-width: 520px;
  margin: 0 auto !important;
}

#dental-embed-widget .de-welcome__icon {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 72px;
  height: 72px;
  margin-bottom: 20px !important;
}

#dental-embed-widget .de-welcome__icon-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--de-primary-100), var(--de-primary-50)) !important;
  border-radius: var(--de-radius-xl) !important;
  transform: rotate(-6deg);
}

#dental-embed-widget .de-welcome__icon-bg::after {
  content: '';
  position: absolute;
  inset: -6px;
  background: linear-gradient(135deg, var(--de-primary-50), transparent) !important;
  border-radius: var(--de-radius-2xl) !important;
  z-index: -1;
  transform: rotate(3deg);
}

#dental-embed-widget .de-welcome__icon svg {
  position: relative !important;
  z-index: 1 !important;
  width: 36px !important;
  height: 36px !important;
  color: var(--de-primary-600) !important;
  stroke-width: 2 !important;
}

#dental-embed-widget .de-welcome__title {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: var(--de-slate-900) !important;
  line-height: 1.2 !important;
  margin-bottom: 10px !important;
  letter-spacing: -0.03em !important;
}

#dental-embed-widget .de-welcome__subtitle {
  font-size: 15px !important;
  font-weight: 400 !important;
  color: var(--de-slate-500) !important;
  line-height: 1.5 !important;
  margin-bottom: 24px !important;
}

#dental-embed-widget .de-welcome__features {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center !important;
  gap: 10px;
  margin-bottom: 28px !important;
}

#dental-embed-widget .de-feature {
  display: flex !important;
  align-items: center !important;
  gap: 6px;
  padding: 8px 14px !important;
  background: var(--de-slate-50) !important;
  border-radius: var(--de-radius-full) !important;
  border: 1px solid var(--de-slate-200) !important;
}

#dental-embed-widget .de-feature__icon {
  display: flex !important;
  color: var(--de-primary-500) !important;
}

#dental-embed-widget .de-feature__icon svg {
  width: 14px !important;
  height: 14px !important;
  stroke-width: 2 !important;
}

#dental-embed-widget .de-feature__text {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--de-slate-600) !important;
}

#dental-embed-widget .de-welcome__actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px;
}

/* ==========================================
   BUTTONS
   ========================================== */
#dental-embed-widget .de-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 14px 24px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: var(--de-radius-md) !important;
  transition: all 0.15s ease-out !important;
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  cursor: pointer !important;
  line-height: 1.4 !important;
}

#dental-embed-widget .de-btn__icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

#dental-embed-widget .de-btn__icon svg {
  width: 18px !important;
  height: 18px !important;
  stroke-width: 2 !important;
}

#dental-embed-widget .de-btn--primary {
  background: linear-gradient(135deg, var(--de-primary-500) 0%, var(--de-primary-600) 50%, var(--de-primary-700) 100%) !important;
  color: white !important;
  box-shadow: var(--de-shadow-md), inset 0 1px 0 rgba(255,255,255,0.15) !important;
  border: none !important;
}

#dental-embed-widget .de-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--de-shadow-lg), var(--de-shadow-glow) !important;
  opacity: 1 !important;
}

#dental-embed-widget .de-btn--primary:active {
  transform: translateY(0);
}

#dental-embed-widget .de-btn--secondary {
  background: #FFFFFF !important;
  color: var(--de-slate-700) !important;
  border: 2px solid var(--de-slate-200) !important;
  box-shadow: var(--de-shadow-xs) !important;
}

#dental-embed-widget .de-btn--secondary:hover {
  border-color: var(--de-primary-300) !important;
  background: var(--de-primary-50) !important;
  color: var(--de-primary-700) !important;
}

#dental-embed-widget .de-btn--ghost {
  background: transparent !important;
  color: var(--de-slate-500) !important;
  padding: 10px 16px !important;
  font-size: 13px !important;
}

#dental-embed-widget .de-btn--ghost:hover {
  color: var(--de-primary-600) !important;
  background: var(--de-primary-50) !important;
}

#dental-embed-widget .de-btn--lg {
  padding: 16px 28px !important;
  font-size: 15px !important;
}

/* ==========================================
   QUESTION SCREENS
   ========================================== */
#dental-embed-widget .de-question {
  max-width: 580px;
  margin: 0 auto !important;
}

#dental-embed-widget .de-question__header {
  display: flex !important;
  gap: 14px;
  margin-bottom: 24px !important;
}

#dental-embed-widget .de-question__number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, var(--de-primary-500), var(--de-primary-600)) !important;
  color: white !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border-radius: var(--de-radius-md) !important;
  box-shadow: var(--de-shadow-sm) !important;
}

#dental-embed-widget .de-question__content {
  flex: 1;
  padding-top: 2px !important;
}

#dental-embed-widget .de-question__title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--de-slate-900) !important;
  line-height: 1.3 !important;
  margin-bottom: 4px !important;
  letter-spacing: -0.02em !important;
}

#dental-embed-widget .de-question__hint {
  font-size: 13px !important;
  color: var(--de-slate-500) !important;
  line-height: 1.4 !important;
}

/* ==========================================
   OPTIONS
   ========================================== */
#dental-embed-widget .de-options {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px;
}

#dental-embed-widget .de-option-btn {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 14px 18px !important;
  background: #FFFFFF !important;
  border: 2px solid var(--de-slate-200) !important;
  border-radius: var(--de-radius-md) !important;
  text-align: left !important;
  transition: all 0.15s ease-out !important;
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;
}

#dental-embed-widget .de-option-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--de-primary-500) !important;
  transform: scaleY(0);
  transition: transform 0.2s var(--de-ease-out);
}

#dental-embed-widget .de-option-btn:hover {
  border-color: var(--de-primary-300) !important;
  background: var(--de-primary-50) !important;
  transform: translateX(2px) !important;
}

#dental-embed-widget .de-option-btn:hover::before {
  transform: scaleY(1);
}

#dental-embed-widget .de-option-btn:active {
  transform: translateX(2px) scale(0.99);
}

#dental-embed-widget .de-option-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

#dental-embed-widget .de-option-btn.is-selected {
  background: linear-gradient(135deg, var(--de-primary-500), var(--de-primary-600)) !important;
  border-color: transparent !important;
  transform: scale(0.98) !important;
  box-shadow: var(--de-shadow-md) !important;
}

#dental-embed-widget .de-option-btn.is-selected::before {
  transform: scaleY(0);
}

#dental-embed-widget .de-option-btn.is-selected .de-option__label,
#dental-embed-widget .de-option-btn.is-selected .de-option__meta {
  color: white !important;
}

#dental-embed-widget .de-option__label {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--de-slate-800) !important;
  line-height: 1.3 !important;
}

#dental-embed-widget .de-option__meta {
  font-size: 12px !important;
  color: var(--de-slate-500) !important;
  margin-top: 2px !important;
}

#dental-embed-widget .de-option-btn.is-selected .de-option__meta {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* ==========================================
   INPUT FIELDS
   ========================================== */
#dental-embed-widget .de-input-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

#dental-embed-widget .de-input-wrapper {
  display: flex !important;
  align-items: center !important;
  background: #FFFFFF !important;
  border: 2px solid var(--de-slate-200) !important;
  border-radius: var(--de-radius-md) !important;
  padding: 4px 16px !important;
  transition: all 0.2s var(--de-ease-in-out) !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

#dental-embed-widget .de-input-wrapper:focus-within {
  border-color: var(--de-primary-400) !important;
  box-shadow: 0 0 0 3px hsla(var(--de-accent-h), 70%, 50%, 0.1) !important;
}

#dental-embed-widget .de-input-prefix {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--de-slate-400) !important;
  margin-right: 4px !important;
  flex-shrink: 0;
}

#dental-embed-widget .de-input-field {
  flex: 1 !important;
  padding: 12px 8px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--de-slate-900) !important;
  background: transparent !important;
  outline: none !important;
  min-width: 0 !important;
  width: 100% !important;
  border: none !important;
  box-shadow: none !important;
  line-height: 1.4 !important;
  display: block !important;
}

#dental-embed-widget .de-input-field::placeholder {
  color: var(--de-slate-300) !important;
  font-weight: 500 !important;
}

#dental-embed-widget .de-input-field.de-input--error {
  animation: de-shake 0.4s ease;
}

@keyframes de-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

#dental-embed-widget .de-input-group .de-btn {
  flex-shrink: 0;
}

#dental-embed-widget .de-input-group .de-input-hint {
  width: 100%;
}

#dental-embed-widget .de-input-hint {
  display: flex !important;
  align-items: center !important;
  gap: 6px;
  font-size: 12px !important;
  color: var(--de-slate-500) !important;
  padding-left: 2px !important;
  margin-top: 4px !important;
}

#dental-embed-widget .de-input-hint__label {
  font-weight: 600 !important;
  color: var(--de-slate-600) !important;
}

/* ==========================================
   CALCULATING SCREEN
   ========================================== */
#dental-embed-widget .de-calculating {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 40px 20px !important;
  text-align: center !important;
}

#dental-embed-widget .de-calculating__animation {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 24px !important;
}

#dental-embed-widget .de-calculating__ring {
  position: absolute !important;
  inset: 0 !important;
  border: 3px solid transparent !important;
  border-top-color: var(--de-primary-400) !important;
  border-radius: 50% !important;
  animation: de-spin 0.8s linear infinite !important;
}

#dental-embed-widget .de-calculating__ring:nth-child(2) {
  inset: 10px !important;
  border-top-color: var(--de-primary-300) !important;
  animation-duration: 1s !important;
  animation-direction: reverse !important;
}

@keyframes de-spin {
  to { transform: rotate(360deg); }
}

#dental-embed-widget .de-calculating__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, var(--de-primary-500), var(--de-primary-600)) !important;
  color: white !important;
  border-radius: var(--de-radius-md) !important;
  animation: de-pulse 1.5s ease-in-out infinite;
}

#dental-embed-widget .de-calculating__icon svg {
  width: 22px !important;
  height: 22px !important;
  stroke-width: 2 !important;
}

@keyframes de-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
}

#dental-embed-widget .de-calculating__title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--de-slate-900) !important;
  margin-bottom: 6px !important;
  letter-spacing: -0.02em !important;
}

#dental-embed-widget .de-calculating__subtitle {
  font-size: 14px !important;
  color: var(--de-slate-500) !important;
}

/* ==========================================
   RESULTS SCREEN
   ========================================== */
#dental-embed-widget .de-results {
  max-width: 620px;
  margin: 0 auto !important;
}

#dental-embed-widget .de-results__header {
  text-align: center !important;
  margin-bottom: 20px !important;
}

#dental-embed-widget .de-results__badge {
  display: inline-block !important;
  padding: 6px 14px !important;
  background: linear-gradient(135deg, var(--de-primary-100), var(--de-primary-50)) !important;
  color: var(--de-primary-700) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  border-radius: var(--de-radius-full) !important;
  margin-bottom: 10px !important;
}

#dental-embed-widget .de-results__title {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--de-slate-900) !important;
  letter-spacing: -0.03em !important;
}

/* Stat Cards */
#dental-embed-widget .de-results__cards {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

#dental-embed-widget .de-stat-card {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 16px !important;
  background: #FFFFFF !important;
  border: 1px solid var(--de-slate-200) !important;
  border-radius: var(--de-radius-lg) !important;
  box-shadow: var(--de-shadow-xs) !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

#dental-embed-widget .de-stat-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: var(--de-radius-sm) !important;
}

#dental-embed-widget .de-stat-card__icon svg {
  width: 20px !important;
  height: 20px !important;
  stroke-width: 2 !important;
}

#dental-embed-widget .de-stat-card--cost .de-stat-card__icon {
  background: linear-gradient(135deg, var(--de-rose-400), var(--de-rose-500)) !important;
  color: white !important;
}

#dental-embed-widget .de-stat-card--time .de-stat-card__icon {
  background: linear-gradient(135deg, var(--de-gold-400), var(--de-gold-500)) !important;
  color: white !important;
}

#dental-embed-widget .de-stat-card__content {
  flex: 1;
  min-width: 0;
}

#dental-embed-widget .de-stat-card__value {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: var(--de-slate-900) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
}

#dental-embed-widget .de-stat-card__label {
  font-size: 12px !important;
  color: var(--de-slate-500) !important;
  margin-top: 2px !important;
  line-height: 1.3 !important;
}

/* Savings Section */
#dental-embed-widget .de-savings {
  background: linear-gradient(135deg, var(--de-primary-50) 0%, #E0F7F4 50%, var(--de-primary-100) 100%) !important;
  border: 1px solid var(--de-primary-200) !important;
  border-radius: var(--de-radius-lg) !important;
  padding: 20px !important;
  margin-bottom: 16px !important;
  text-align: center !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

#dental-embed-widget .de-savings__header {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
  padding: 5px 12px !important;
  background: rgba(255,255,255,0.7) !important;
  border-radius: var(--de-radius-full) !important;
  margin-bottom: 10px !important;
}

#dental-embed-widget .de-savings__icon {
  display: flex !important;
  color: var(--de-gold-500) !important;
}

#dental-embed-widget .de-savings__icon svg {
  width: 16px !important;
  height: 16px !important;
  stroke-width: 2 !important;
}

#dental-embed-widget .de-savings__title {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: var(--de-primary-700) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

#dental-embed-widget .de-savings__amount {
  font-size: 36px !important;
  font-weight: 800 !important;
  color: var(--de-primary-800) !important;
  line-height: 1 !important;
  letter-spacing: -0.04em !important;
  margin-bottom: 4px !important;
}

#dental-embed-widget .de-savings__subtitle {
  font-size: 14px !important;
  color: var(--de-primary-600) !important;
  margin-bottom: 16px !important;
}

#dental-embed-widget .de-savings__benefits {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px;
  text-align: left !important;
}

#dental-embed-widget .de-benefit {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px;
  font-size: 13px !important;
  color: var(--de-slate-700) !important;
  line-height: 1.4 !important;
}

#dental-embed-widget .de-benefit__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, var(--de-emerald-400), var(--de-emerald-500)) !important;
  color: white !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3) !important;
}

#dental-embed-widget .de-benefit__icon svg {
  width: 10px !important;
  height: 10px !important;
  stroke-width: 3 !important;
}

/* Product Section */
#dental-embed-widget .de-product {
  background: #FFFFFF !important;
  border: 1px solid var(--de-slate-200) !important;
  border-radius: var(--de-radius-lg) !important;
  padding: 20px !important;
  box-shadow: var(--de-shadow-sm) !important;
  margin-bottom: 16px !important;
  overflow: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

#dental-embed-widget .de-product__header {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px;
  margin-bottom: 12px !important;
}

#dental-embed-widget .de-product__title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--de-slate-800) !important;
}

#dental-embed-widget .de-product__badges {
  display: flex !important;
  gap: 6px;
}

#dental-embed-widget .de-badge {
  padding: 5px 10px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  border-radius: var(--de-radius-full) !important;
}

#dental-embed-widget .de-badge--discount {
  background: linear-gradient(135deg, var(--de-gold-400), var(--de-gold-500)) !important;
  color: white !important;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3) !important;
}

#dental-embed-widget .de-badge--shipping {
  background: linear-gradient(135deg, var(--de-emerald-400), var(--de-emerald-500)) !important;
  color: white !important;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3) !important;
}

#dental-embed-widget .de-product__desc {
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: var(--de-slate-600) !important;
  margin-bottom: 16px !important;
}

#dental-embed-widget .de-product__desc strong {
  color: var(--de-primary-700) !important;
  font-weight: 700 !important;
}

#dental-embed-widget .de-product__actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

#dental-embed-widget .de-product__note {
  font-size: 11px !important;
  color: var(--de-slate-500) !important;
  text-align: center !important;
  margin-top: 12px !important;
}

#dental-embed-widget .de-product__note strong {
  color: var(--de-primary-600) !important;
  font-weight: 600 !important;
}

/* Stock Badges */
#dental-embed-widget .de-badge--in-stock {
  background: linear-gradient(135deg, var(--de-emerald-400), var(--de-emerald-500)) !important;
  color: white !important;
}

#dental-embed-widget .de-badge--low-stock {
  background: linear-gradient(135deg, #F97316, #EA580C) !important;
  color: white !important;
  animation: de-pulse-badge 2s ease-in-out infinite;
}

@keyframes de-pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

#dental-embed-widget .de-badge--out-stock {
  background: var(--de-slate-400) !important;
  color: white !important;
}

/* Product Image */
#dental-embed-widget .de-product__image-wrapper {
  text-align: center !important;
  margin-bottom: 16px !important;
}

#dental-embed-widget .de-product__image {
  max-width: 150px !important;
  height: auto !important;
  border-radius: var(--de-radius-lg) !important;
  box-shadow: var(--de-shadow-md) !important;
}

/* Price Display */
#dental-embed-widget .de-product__price {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
}

#dental-embed-widget .de-price-original {
  font-size: 16px !important;
  color: var(--de-slate-400) !important;
  text-decoration: line-through !important;
}

#dental-embed-widget .de-price-sale {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: var(--de-primary-700) !important;
}

#dental-embed-widget .de-price-current {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: var(--de-primary-700) !important;
}

/* Add to Cart Success State */
#dental-embed-widget .de-btn--success {
  background: linear-gradient(135deg, var(--de-emerald-400), var(--de-emerald-500)) !important;
  pointer-events: none !important;
}

/* Product Trust Indicators */
#dental-embed-widget .de-product__trust {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  margin-top: 16px !important;
  padding-top: 16px !important;
  border-top: 1px solid var(--de-slate-200) !important;
}

#dental-embed-widget .de-trust-item {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  color: var(--de-slate-500) !important;
  font-weight: 500 !important;
}

#dental-embed-widget .de-trust-item svg {
  width: 14px !important;
  height: 14px !important;
  color: var(--de-emerald-500) !important;
}

/* Restart Button */
#dental-embed-widget .de-restart-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 12px !important;
  color: var(--de-slate-500) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  border-radius: var(--de-radius-md) !important;
  transition: all 0.1s ease-out !important;
  background: transparent !important;
  cursor: pointer !important;
}

#dental-embed-widget .de-restart-btn:hover {
  background: var(--de-slate-100) !important;
  color: var(--de-slate-700) !important;
}

#dental-embed-widget .de-restart-btn__icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#dental-embed-widget .de-restart-btn__icon svg {
  width: 16px !important;
  height: 16px !important;
  stroke-width: 2 !important;
}

/* ==========================================
   RESPONSIVE - LARGE SCREENS
   ========================================== */
@media (min-width: 768px) {
  #dental-embed-widget .de-screen {
    padding: 40px 36px 48px !important;
  }
  
  #dental-embed-widget .de-welcome__title {
    font-size: 28px !important;
  }
  
  #dental-embed-widget .de-welcome__subtitle {
    font-size: 16px !important;
  }
  
  #dental-embed-widget .de-question__title {
    font-size: 20px !important;
  }
  
  #dental-embed-widget .de-results__title {
    font-size: 26px !important;
  }
  
  #dental-embed-widget .de-stat-card__value {
    font-size: 24px !important;
  }
  
  #dental-embed-widget .de-savings__amount {
    font-size: 42px !important;
  }
  
  #dental-embed-widget .de-product__actions {
    flex-direction: row !important;
  }
  
  #dental-embed-widget .de-product__actions .de-btn {
    flex: 1;
  }
}

/* ==========================================
   RESPONSIVE - MEDIUM SCREENS
   ========================================== */
@media (max-width: 767px) and (min-width: 601px) {
  #dental-embed-widget .de-screen {
    padding: 32px 28px 40px !important;
  }
}

/* ==========================================
   RESPONSIVE - SMALL SCREENS
   ========================================== */
@media (max-width: 600px) {
  .dental-embed-section {
    padding: 16px 8px !important;
  }
  
  #dental-embed-widget .de-container::before {
    height: 3px;
  }
  
  #dental-embed-widget .de-header {
    padding: 14px 16px !important;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  #dental-embed-widget .de-back-btn {
    order: 1;
    padding: 8px 10px !important;
    font-size: 12px !important;
  }
  
  #dental-embed-widget .de-back-btn svg {
    width: 16px;
    height: 16px;
  }
  
  #dental-embed-widget .de-progress {
    order: 3;
    width: 100%;
    justify-content: flex-start !important;
  }
  
  #dental-embed-widget .de-progress__text {
    font-size: 11px !important;
  }
  
  #dental-embed-widget .de-progress__bar {
    flex: 1;
    height: 5px;
  }
  
  #dental-embed-widget .de-header__brand {
    order: 2;
  }
  
  #dental-embed-widget .de-header__icon {
    width: 36px;
    height: 36px;
  }
  
  #dental-embed-widget .de-header__icon svg {
    width: 18px !important;
    height: 18px !important;
  }
  
  #dental-embed-widget .de-screen {
    padding: 20px 14px 28px !important;
  }
  
  #dental-embed-widget .de-welcome__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px !important;
  }
  
  #dental-embed-widget .de-welcome__icon svg {
    width: 30px !important;
    height: 30px !important;
  }
  
  #dental-embed-widget .de-welcome__title {
    font-size: 20px !important;
  }
  
  #dental-embed-widget .de-welcome__subtitle {
    font-size: 14px !important;
    margin-bottom: 20px !important;
  }
  
  #dental-embed-widget .de-welcome__features {
    gap: 8px;
    margin-bottom: 24px !important;
  }
  
  #dental-embed-widget .de-feature {
    padding: 6px 12px !important;
  }
  
  #dental-embed-widget .de-feature__text {
    font-size: 11px !important;
  }
  
  #dental-embed-widget .de-question__header {
    gap: 12px;
    margin-bottom: 20px !important;
  }
  
  #dental-embed-widget .de-question__number {
    width: 36px;
    height: 36px;
    font-size: 14px !important;
  }
  
  #dental-embed-widget .de-question__title {
    font-size: 16px !important;
  }
  
  #dental-embed-widget .de-question__hint {
    font-size: 12px !important;
  }
  
  #dental-embed-widget .de-options {
    gap: 8px;
  }
  
  #dental-embed-widget .de-option-btn {
    padding: 12px 14px !important;
  }
  
  #dental-embed-widget .de-option__label {
    font-size: 13px !important;
  }
  
  #dental-embed-widget .de-option__meta {
    font-size: 11px !important;
  }
  
  #dental-embed-widget .de-input-wrapper {
    padding: 2px 12px !important;
  }
  
  #dental-embed-widget .de-input-prefix {
    font-size: 16px !important;
  }
  
  #dental-embed-widget .de-input-field {
    padding: 10px 6px !important;
    font-size: 16px !important;
  }
  
  #dental-embed-widget .de-btn {
    padding: 12px 20px !important;
    font-size: 13px !important;
  }
  
  #dental-embed-widget .de-btn--lg {
    padding: 14px 24px !important;
    font-size: 14px !important;
  }
  
  #dental-embed-widget .de-results__cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  #dental-embed-widget .de-stat-card {
    padding: 16px !important;
  }
  
  #dental-embed-widget .de-stat-card__icon {
    width: 38px;
    height: 38px;
  }
  
  #dental-embed-widget .de-stat-card__value {
    font-size: 18px !important;
  }
  
  #dental-embed-widget .de-savings {
    padding: 20px 16px !important;
  }
  
  #dental-embed-widget .de-savings__amount {
    font-size: 32px !important;
  }
  
  #dental-embed-widget .de-savings__subtitle {
    font-size: 13px !important;
    margin-bottom: 20px !important;
  }
  
  #dental-embed-widget .de-benefit {
    font-size: 13px !important;
  }
  
  #dental-embed-widget .de-product {
    padding: 20px 16px !important;
  }
  
  #dental-embed-widget .de-product__header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px;
  }
  
  #dental-embed-widget .de-product__title {
    font-size: 15px !important;
  }
  
  #dental-embed-widget .de-product__desc {
    font-size: 13px !important;
  }
  
  #dental-embed-widget .de-calculating {
    padding: 32px 16px !important;
  }
  
  #dental-embed-widget .de-calculating__animation {
    width: 80px;
    height: 80px;
    margin-bottom: 20px !important;
  }
  
  #dental-embed-widget .de-calculating__icon {
    width: 32px;
    height: 32px;
  }
  
  #dental-embed-widget .de-calculating__icon svg {
    width: 18px !important;
    height: 18px !important;
  }
  
  #dental-embed-widget .de-calculating__title {
    font-size: 16px !important;
  }
  
  #dental-embed-widget .de-calculating__subtitle {
    font-size: 13px !important;
  }
}

/* ==========================================
   REDUCED MOTION
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  #dental-embed-widget .de-container::before,
  #dental-embed-widget .de-progress__fill::after,
  #dental-embed-widget .de-calculating__ring,
  #dental-embed-widget .de-calculating__icon {
    animation: none !important;
  }
  
  #dental-embed-widget .de-option-btn,
  #dental-embed-widget .de-btn {
    transition-duration: 0.05s !important;
  }
}

/* ==========================================
   PRINT
   ========================================== */
@media print {
  .dental-embed-section {
    display: none !important;
  }
}

