/* ============================================
   WOOCOMMERCE SEO TABS - DESIGN SYSTEM
   ============================================ */

/* ===== CSS Variables - Design System ===== */
:root {
  /* Base Colors */
  --seo-bg: #fff;
  --seo-bg-secondary: #f9fafb;
  --seo-bg-tertiary: #f3f4f6;
  --seo-border: #e5e7eb;
  --seo-border-light: #f3f4f6;
  --seo-border-dark: #d1d5db;
  
  /* Text Colors */
  --seo-ink: #111827; /* Dark gray - Elementor default */
  --seo-ink-secondary: #374151;
  --seo-muted: #6b7280;
  --seo-muted-light: #9ca3af;
  --seo-text-on-primary: #fff;
  
  /* Primary Color System (Orange #F7A984) */
  --seo-primary: #F7A984;
  --seo-primary-light: #fbc4a8;
  --seo-primary-dark: #e8926a;
  --seo-primary-hover: color-mix(in srgb, #F7A984, white 12%);
  --seo-primary-active: color-mix(in srgb, #F7A984, black 8%);
  --seo-primary-gradient: linear-gradient(135deg, #F7A984 0%, #fbc4a8 100%);
  --seo-primary-subtle: rgba(247, 169, 132, 0.1);
  
  /* Semantic Colors */
  --seo-success: #10b981;
  --seo-success-light: #d1fae5;
  --seo-success-dark: #059669;
  --seo-warning: #f59e0b;
  --seo-warning-light: #fef3c7;
  --seo-warning-dark: #d97706;
  --seo-error: #ef4444;
  --seo-error-light: #fee2e2;
  --seo-error-dark: #dc2626;
  --seo-info: #3b82f6;
  --seo-info-light: #dbeafe;
  --seo-info-dark: #2563eb;
  
  /* Focus & Interactive */
  --seo-focus: #3b82f6;
  --seo-focus-ring: rgba(59, 130, 246, 0.15);
  --seo-hover: #f7f9ff;
  --seo-hover-dark: #f0f4ff;
  
  /* Shadows - Elevation System */
  --seo-shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.04);
  --seo-shadow-sm: 0 2px 4px rgba(16, 24, 40, 0.06);
  --seo-shadow-md: 0 4px 8px rgba(16, 24, 40, 0.08);
  --seo-shadow-lg: 0 8px 16px rgba(16, 24, 40, 0.1);
  --seo-shadow-xl: 0 12px 24px rgba(16, 24, 40, 0.12);
  --seo-shadow-inner: inset 0 2px 4px rgba(16, 24, 40, 0.06);
  
  /* Typography Scale */
  --seo-font-size-xs: 11px;
  --seo-font-size-sm: 13px;
  --seo-font-size-base: 14px;
  --seo-font-size-md: 16px;
  --seo-font-size-lg: 18px;
  --seo-font-size-xl: 20px;
  --seo-font-size-2xl: 24px;
  
  --seo-line-height-tight: 1.25;
  --seo-line-height-normal: 1.5;
  --seo-line-height-relaxed: 1.75;
  
  --seo-font-weight-normal: 400;
  --seo-font-weight-medium: 500;
  --seo-font-weight-semibold: 600;
  --seo-font-weight-bold: 700;
  
  /* Spacing Scale */
  --seo-space-1: 4px;
  --seo-space-2: 8px;
  --seo-space-3: 12px;
  --seo-space-4: 16px;
  --seo-space-5: 20px;
  --seo-space-6: 24px;
  --seo-space-8: 32px;
  --seo-space-10: 40px;
  
  /* Border Radius */
  --seo-radius-sm: 6px;
  --seo-radius-md: 8px;
  --seo-radius-lg: 12px;
  --seo-radius-xl: 16px;
  --seo-radius-full: 9999px;
  
  /* Transitions */
  --seo-transition-fast: 150ms ease;
  --seo-transition-base: 200ms ease;
  --seo-transition-slow: 300ms ease;
  --seo-transition-bounce: 300ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Z-index Scale */
  --seo-z-base: 1;
  --seo-z-dropdown: 10;
  --seo-z-sticky: 20;
  --seo-z-overlay: 30;
  --seo-z-modal: 40;
  --seo-z-tooltip: 50;
}

/* Ensure plugin scope keeps its own design tokens */
.wc-seo-plugin-scope {
  --seo-primary: #F7A984;
  --seo-primary-hover: color-mix(in srgb, #F7A984, white 12%);
  --seo-primary-active: color-mix(in srgb, #F7A984, black 8%);
  --seo-primary-gradient: linear-gradient(135deg, #F7A984 0%, #fbc4a8 100%);
  --seo-primary-subtle: rgba(247, 169, 132, 0.1);
  
  /* Reset text color to ensure Elementor compatibility */
  color: var(--seo-ink);
}

/* ===== SVG Icons (Base64 encoded) ===== */
.wc-seo-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}

.wc-seo-icon--visits {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7A984' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

.wc-seo-icon--bounce {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7A984' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Cpath d='M12 7v6'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
}

.wc-seo-icon--time {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7A984' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
}

.wc-seo-icon--rank {
  /* Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎСљР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎСљР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В° Р В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚СљР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎСљР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’В Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р вЂ™Р’В¦ Р В Р’В Р вЂ™Р’В Р В РЎС›Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р В Р вЂ№Р В Р’В Р В Р РЏ Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р В Р вЂ№Р В Р’В Р В Р РЏР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚СљР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’В Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р Р†РІР‚С›РІР‚вЂњР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚СљР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р В Р вЂ№Р В Р’В Р В Р РЏ */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7A984' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5'/%3E%3Cpath d='M5 12l7-7 7 7'/%3E%3C/svg%3E");
}

.wc-seo-icon--ma {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7A984' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 19V9'/%3E%3Cpath d='M12 19V5'/%3E%3Cpath d='M18 19v-7'/%3E%3Cpath d='M4 19h16'/%3E%3C/svg%3E");
}

.wc-seo-icon--ma-yandex {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7A984' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4l7 7 7-7'/%3E%3Cpath d='M12 11v9'/%3E%3C/svg%3E");
}

.wc-seo-icon--ma-google {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7A984' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12a8 8 0 1 1-4.69-7.19'/%3E%3Cpath d='M12 12h8'/%3E%3Cpath d='M20 12v4'/%3E%3C/svg%3E");
}

.wc-seo-icon--pf {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7A984' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l9 16H3l9-16z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
}

.wc-seo-icon--iks {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7A984' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5z'/%3E%3Cpath d='M2 17l10 5 10-5'/%3E%3Cpath d='M2 12l10 5 10-5'/%3E%3C/svg%3E");
}

.wc-seo-icon--trust {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7A984' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
}

.wc-seo-icon--tr {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7A984' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); /* Using a gauge/clock style for Rank/Score */
}

.wc-seo-icon--link {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7A984' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E");
}

.wc-seo-icon--info {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E");
}

.wc-seo-icon--check {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.wc-seo-icon--alert {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
}

.wc-seo-icon--empty {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
}

.wc-seo-icon--country {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7A984' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z'/%3E%3Cline x1='4' y1='22' x2='4' y2='15'/%3E%3C/svg%3E");
}

.wc-seo-icon--cf {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7A984' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E");
}

.wc-seo-icon--sda {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7A984' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E");
}

.wc-seo-icon--content {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7A984' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cline x1='10' y1='9' x2='8' y2='9'/%3E%3C/svg%3E");
}

.wc-seo-icon--image {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7A984' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E");
}

.wc-seo-icon--links {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7A984' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E");
}

/* ===== Base Styles & Reset ===== */
.wc-seo-plugin-scope {
  /* CSS Containment for better isolation */
  contain: layout style;
  overflow: visible;
  
  /* Ensure proper text rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  /* Reset common theme overrides */
  box-sizing: border-box;
  
  /* Isolate from theme font settings */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--seo-ink);
}

.wc-seo-plugin-scope *,
.wc-seo-plugin-scope *::before,
.wc-seo-plugin-scope *::after {
  box-sizing: inherit;
}

/* Selective reset for our components - avoid all:initial to prevent flickering */
.wc-seo-plugin-scope .woocommerce-seo-tab {
  display: block !important;
  background: var(--seo-bg) !important;
  border: 1px solid var(--seo-border) !important;
  border-radius: var(--seo-radius-lg) !important;
  padding: var(--seo-space-6) !important;
  box-shadow: var(--seo-shadow-md) !important;
  margin-top: var(--seo-space-4) !important;
  transition: box-shadow var(--seo-transition-base) !important;
  box-sizing: border-box !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: var(--seo-ink) !important;
}

/* ===== Product Tabs ===== */

.wc-seo-plugin-scope .woocommerce-seo-tab:hover {
  box-shadow: var(--seo-shadow-lg);
}

.wc-seo-plugin-scope .woocommerce-seo-tab .metric-updated {
  margin: 0 0 var(--seo-space-4) 0;
  color: var(--seo-muted);
  font-size: var(--seo-font-size-sm);
  display: flex;
  align-items: center;
  gap: var(--seo-space-2);
}

.wc-seo-plugin-scope .woocommerce-seo-tab .metric-updated::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--seo-success);
  display: inline-block;
  flex-shrink: 0;
}

/* ===== Tooltips ===== */
/* Base styles for metrics tooltips (with data-wc-tooltip) */
/* Exclude --sensitivity class which uses SVG and needs border from SERM styles */
.wc-seo-plugin-scope .wc-seo-help[data-wc-tooltip]:not(.wc-seo-help--sensitivity) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--seo-bg-tertiary);
  border: none !important; /* Force no border to prevent double border from SERM styles */
  color: var(--seo-muted);
  font-size: 10px;
  font-weight: bold;
  font-family: sans-serif;
  margin-left: var(--seo-space-2);
  cursor: help;
  position: relative;
  transition: all var(--seo-transition-base);
  line-height: 1;
  box-sizing: border-box;
}

.wc-seo-plugin-scope .wc-seo-help[data-wc-tooltip]:not(.wc-seo-help--sensitivity):hover {
  background: var(--seo-primary);
  color: #fff;
  border: none !important; /* Ensure no border on hover */
}

/* For metrics tooltips: show "i" text, but allow --sensitivity to use SVG */
.wc-seo-plugin-scope .wc-seo-help[data-wc-tooltip]:not(.wc-seo-help--sensitivity)::before {
  content: "i" !important; /* Force "i" content, override any SVG backgrounds from SERM styles */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
  background-image: none !important; /* Remove any conflicting SVG backgrounds */
  background-size: auto !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.wc-seo-plugin-scope .wc-seo-help[data-wc-tooltip]:hover::after {
  content: attr(data-wc-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #1f2937;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: normal;
  white-space: normal;
  width: max-content;
  max-width: 220px;
  line-height: 1.4;
  z-index: 9999; /* Increased z-index to avoid conflicts */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  pointer-events: none;
  text-align: center;
}

.wc-seo-plugin-scope .wc-seo-help[data-wc-tooltip]:not(.wc-seo-help--sensitivity):hover::before {
  content: "i" !important; /* Keep the 'i' content visible on hover, but allow --sensitivity to use SVG */
  background-image: none !important;
}

/* Add a separate element for the arrow if needed, but for now simple shadow is enough. 
   If we used ::before for arrow, it conflicted with the content "i". 
   Let's use a tiny pseudo-element on ::after for the arrow if CSS allowed nesting, but it doesn't.
   Simpler approach: Just the tooltip box.
*/

/* ===== Metrics Grid (Flexbox Layout) ===== */
.wc-seo-plugin-scope .wc-seo-metrics-grid {
  display: flex;
  flex-direction: column;
  gap: var(--seo-space-2);
  width: 100%;
}

.wc-seo-plugin-scope .wc-seo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--seo-space-3) var(--seo-space-4);
  background: var(--seo-bg-secondary);
  border-radius: var(--seo-radius-md);
  transition: all var(--seo-transition-base);
  border: 1px solid transparent;
  width: 100%;
  box-sizing: border-box;
}

.wc-seo-plugin-scope .wc-seo-row:hover {
  background: color-mix(in srgb, var(--seo-bg-secondary), var(--seo-hover) 50%);
  border-color: rgba(229, 231, 235, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(16, 24, 40, 0.03);
}

/* ===== Metrics Columns Layout ===== */
.wc-seo-plugin-scope .wc-seo-columns {
  display: flex;
  gap: var(--seo-space-6);
  width: 100%;
}

.wc-seo-plugin-scope .wc-seo-column {
  flex: 1;
  min-width: 0; /* Prevent flex overflow */
  display: flex;
  flex-direction: column;
  gap: var(--seo-space-2);
}

.wc-seo-plugin-scope .wc-seo-column-title {
  font-size: var(--seo-font-size-md);
  font-weight: var(--seo-font-weight-semibold);
  color: var(--seo-ink);
  margin-bottom: var(--seo-space-2);
  padding-bottom: var(--seo-space-2);
  border-bottom: 1px solid var(--seo-border-light);
}

@media (max-width: 768px) {
  .wc-seo-plugin-scope .wc-seo-columns {
    flex-direction: column;
    gap: var(--seo-space-4);
  }
}

.wc-seo-plugin-scope .wc-seo-label {
  display: flex;
  align-items: center;
  gap: var(--seo-space-2);
  font-weight: var(--seo-font-weight-medium);
  color: var(--seo-ink-secondary);
  font-size: var(--seo-font-size-base);
}

.wc-seo-plugin-scope .wc-seo-label .wc-seo-icon {
  opacity: 0.8;
  flex-shrink: 0;
}

.wc-seo-plugin-scope .wc-seo-value {
  font-weight: var(--seo-font-weight-medium);
  color: var(--seo-ink);
  font-size: var(--seo-font-size-base);
  text-align: right;
}

/* Value styling with badges */
.wc-seo-plugin-scope .wc-seo-value strong {
  display: inline-flex;
  align-items: center;
  gap: var(--seo-space-1);
  padding: var(--seo-space-1) var(--seo-space-3);
  background: var(--seo-primary-subtle);
  color: var(--seo-primary-dark);
  border-radius: var(--seo-radius-sm);
  font-weight: var(--seo-font-weight-semibold);
  font-size: var(--seo-font-size-base);
}

/* Empty state styling */
.wc-seo-plugin-scope .wc-seo-value em {
  color: var(--seo-muted-light);
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: var(--seo-space-2);
  padding: var(--seo-space-2) var(--seo-space-3);
}

.wc-seo-plugin-scope .wc-seo-value em::before {
  content: "";
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.5;
}

/* ===== Inline Metrics on Catalog ===== */
.wc-seo-plugin-scope .wc-seo-inline-metrics {
  display: inline-flex;
  gap: var(--seo-space-2);
  align-items: center;
  margin-top: var(--seo-space-2);
  font-size: var(--seo-font-size-sm);
  flex-wrap: wrap;
}

.wc-seo-plugin-scope .wc-seo-inline-metrics > span {
  display: inline-flex;
  align-items: center;
  gap: var(--seo-space-2);
  padding: var(--seo-space-2) var(--seo-space-3);
  background: var(--seo-bg-secondary);
  border: 1px solid var(--seo-border);
  border-radius: var(--seo-radius-md);
  color: var(--seo-ink);
  transition: all var(--seo-transition-base);
}

.wc-seo-plugin-scope .wc-seo-inline-metrics > span:hover {
  background: var(--seo-hover);
  border-color: var(--seo-primary);
  transform: translateY(-1px);
  box-shadow: var(--seo-shadow-xs);
}

.wc-seo-plugin-scope .wc-seo-inline-metrics strong {
  color: var(--seo-primary-dark);
  font-weight: var(--seo-font-weight-semibold);
  background: var(--seo-primary-subtle);
  padding: 2px var(--seo-space-2);
  border-radius: var(--seo-radius-sm);
  font-size: var(--seo-font-size-sm);
}

.wc-seo-plugin-scope .wc-seo-inline-metrics em {
  color: var(--seo-muted-light);
  font-style: normal;
}

.wc-seo-plugin-scope .wc-seo-badges {
  display: inline-flex;
  gap: var(--seo-space-2);
  align-items: center;
  flex-wrap: wrap;
}

.wc-seo-plugin-scope .wc-seo-badges--overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: var(--seo-z-dropdown);
  overflow: visible;
}

.wc-seo-plugin-scope .product-transition,
.wc-seo-plugin-scope .product-block {
  position: relative;
  overflow: visible;
}

.wc-seo-plugin-scope .product-transition .wc-seo-badges--overlay {
  top: 10px;
  right: 10px;
}

.wc-seo-plugin-scope .product-transition .onsale ~ .wc-seo-badges--overlay {
}

.wc-seo-plugin-scope .product-transition .wpcbm-badges-top-right ~ .wc-seo-badges--overlay {
}

.wc-seo-plugin-scope .woocommerce-LoopProduct-link .onsale ~ .wc-seo-badges--overlay {
}

.wc-seo-plugin-scope .woocommerce-LoopProduct-link .wpcbm-badges-top-right ~ .wc-seo-badges--overlay {
}

.wc-seo-plugin-scope .woocommerce-LoopProduct-link {
  position: relative;
  display: block;
}

.wc-seo-plugin-scope ul.products,
.wc-seo-plugin-scope .products,
.wc-seo-plugin-scope .products-list,
.wc-seo-plugin-scope .products-list ul.products,
body .wc-seo-plugin-scope ul.products,
body .wc-seo-plugin-scope .products,
body .wc-seo-plugin-scope .products-list,
body .wc-seo-plugin-scope .products-list ul.products,
.woocommerce .wc-seo-plugin-scope ul.products,
.woocommerce .wc-seo-plugin-scope .products,
.woocommerce .wc-seo-plugin-scope .products-list,
.woocommerce .wc-seo-plugin-scope .products-list ul.products {
  overflow: visible !important;
}

.wc-seo-plugin-scope ul.products-list li.product-list .product-image {
  position: relative;
  overflow: visible;
}

.wc-seo-plugin-scope ul.products-list li.product-list .product-image .wc-seo-badges--overlay {
  top: 10px;
  right: 10px;
}

.wc-seo-plugin-scope ul.products-list li.product-list .product-image .onsale ~ .wc-seo-badges--overlay {
}

.wc-seo-plugin-scope ul.products-list li.product-list .product-image .wpcbm-badges-top-right ~ .wc-seo-badges--overlay {
}

.wc-seo-plugin-scope .wc-seo-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--seo-space-2);
  padding: 4px var(--seo-space-3);
  border-radius: var(--seo-radius-full);
  font-size: var(--seo-font-size-xs);
  font-weight: var(--seo-font-weight-semibold);
  background: var(--seo-bg);
  border: 1px solid var(--seo-border-light);
  color: var(--seo-ink);
  box-shadow: var(--seo-shadow-xs);
  line-height: 1;
}

.wc-seo-plugin-scope .wc-seo-badge-logo {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.wc-seo-plugin-scope .wc-seo-badge-logo--yandex {
  background-image: var(--wpr-bg-10d5c272-7af8-4980-974d-e3ea3e3ec953);
  background-color: transparent;
  -webkit-mask-image: none;
  mask-image: none;
  filter: grayscale(1) saturate(0) brightness(0.82) contrast(0.9);
  width: 13.6px;
  height: 13.6px;
  opacity: 0.5;
}

.wc-seo-plugin-scope .wc-seo-badge-logo--google {
  background-image: var(--wpr-bg-48a25484-30a2-45d7-b325-cb9fb6a63db5);
  background-color: transparent;
  -webkit-mask-image: none;
  mask-image: none;
  filter: grayscale(1) saturate(0) brightness(0.82) contrast(0.9);
  width: 13.6px;
  height: 13.6px;
  opacity: 0.5;
}

.wc-seo-plugin-scope .wc-seo-badge strong {
  font-size: var(--seo-font-size-sm);
  color: var(--seo-primary-dark);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4ch;
  font-variant-numeric: tabular-nums;
}

.wc-seo-plugin-scope .wc-seo-badge .wc-seo-help {
  margin-left: var(--seo-space-1);
  flex-shrink: 0;
}

.wc-seo-plugin-scope .wc-seo-badge--ma {
  background: var(--seo-bg-secondary);
  border-color: var(--seo-border);
  color: var(--seo-ink);
}

.wc-seo-plugin-scope .product-img-wrap,
.wc-seo-plugin-scope .product-img-wrap .inner,
.wc-seo-plugin-scope .product-img-wrap .product-image {
  overflow: visible;
}

.wc-seo-plugin-scope .wc-seo-badge--serm {
  background: var(--seo-primary-gradient);
  border-color: var(--seo-primary-dark);
  color: var(--seo-text-on-primary);
}

.wc-seo-plugin-scope .wc-seo-badge--serm strong {
  color: #fff;
}

.wc-seo-plugin-scope .wc-seo-badge--serm .wc-seo-help {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.wc-seo-plugin-scope .wc-seo-badge--serm .wc-seo-help:hover {
  background: #fff;
  color: var(--seo-primary-dark);
}

.wc-seo-plugin-scope .wc-seo-badge--risk-low {
  background: var(--seo-success-light);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--seo-success-dark);
}

.wc-seo-plugin-scope .wc-seo-badge--risk-medium {
  background: var(--seo-warning-light);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--seo-warning-dark);
}

.wc-seo-plugin-scope .wc-seo-badge--risk-high {
  background: var(--seo-error-light);
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--seo-error-dark);
}

.wc-seo-plugin-scope .wc-seo-ma-panel {
  display: flex;
  flex-direction: column;
  gap: var(--seo-space-2);
  padding: var(--seo-space-3);
  border-radius: var(--seo-radius-md);
  background: var(--seo-bg-secondary);
  border: 1px solid var(--seo-border);
}

.wc-seo-plugin-scope .wc-seo-ma-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--seo-space-2);
}

.wc-seo-plugin-scope .wc-seo-ma-title {
  font-weight: var(--seo-font-weight-semibold);
  color: var(--seo-ink);
}

.wc-seo-plugin-scope .wc-seo-ma-score {
  font-size: var(--seo-font-size-lg);
  font-weight: var(--seo-font-weight-bold);
  color: var(--seo-primary-dark);
}

.wc-seo-plugin-scope .wc-seo-ma-score--empty {
  font-size: var(--seo-font-size-sm);
  font-weight: var(--seo-font-weight-medium);
  color: var(--seo-muted-light);
}

.wc-seo-plugin-scope .wc-seo-ma-bar {
  position: relative;
  height: 8px;
  border-radius: var(--seo-radius-full);
  background: var(--seo-bg-tertiary);
  overflow: hidden;
}

.wc-seo-plugin-scope .wc-seo-ma-bar__fill {
  display: block;
  height: 100%;
  background: var(--seo-primary-gradient);
  border-radius: inherit;
}

.wc-seo-plugin-scope .wc-seo-ma-metas {
  display: inline-flex;
  gap: var(--seo-space-3);
  font-size: var(--seo-font-size-sm);
  color: var(--seo-muted);
}

.wc-seo-plugin-scope .wc-seo-ma-metas strong {
  color: var(--seo-ink);
}

.wc-seo-plugin-scope .wc-seo-ma-inline {
  display: inline-flex;
  align-items: center;
  gap: var(--seo-space-3);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.wc-seo-plugin-scope .wc-seo-ma-inline__item {
  display: inline-flex;
  align-items: center;
  gap: var(--seo-space-2);
  font-size: var(--seo-font-size-sm);
  color: var(--seo-ink);
}

.wc-seo-plugin-scope .wc-seo-ma-inline__item--active {
  padding: 2px var(--seo-space-2);
  border-radius: var(--seo-radius-sm);
  background: var(--seo-primary-subtle);
  border: 1px solid rgba(247, 169, 132, 0.25);
}

.wc-seo-plugin-scope .wc-seo-ma-inline__item em {
  font-style: normal;
  color: var(--seo-muted-light);
}

.wc-seo-plugin-scope .wc-seo-pf-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--seo-space-3);
  padding: var(--seo-space-3);
  border-radius: var(--seo-radius-md);
  background: var(--seo-bg-secondary);
  border: 1px solid var(--seo-border);
}

.wc-seo-plugin-scope .wc-seo-pf-title {
  font-weight: var(--seo-font-weight-semibold);
  color: var(--seo-ink);
}

.wc-seo-plugin-scope .wc-seo-pf-status {
  display: inline-flex;
  align-items: center;
  gap: var(--seo-space-2);
  padding: 4px var(--seo-space-3);
  border-radius: var(--seo-radius-full);
  font-size: var(--seo-font-size-sm);
  font-weight: var(--seo-font-weight-semibold);
  background: var(--seo-bg-tertiary);
  color: var(--seo-muted);
}

.wc-seo-plugin-scope .wc-seo-pf-status::before {
  content: "";
  width: 14px;
  height: 14px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.wc-seo-plugin-scope .wc-seo-pf-status--low {
  background: var(--seo-success-light);
  color: var(--seo-success-dark);
}

.wc-seo-plugin-scope .wc-seo-pf-status--low::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2310b981' stroke='%2310b981' stroke-width='1.2'%3E%3Cpath d='M12 2l7 3v6c0 5-3.5 9-7 11-3.5-2-7-6-7-11V5l7-3z'/%3E%3C/svg%3E");
}

.wc-seo-plugin-scope .wc-seo-pf-status--medium {
  background: var(--seo-warning-light);
  color: var(--seo-warning-dark);
}

.wc-seo-plugin-scope .wc-seo-pf-status--medium::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f59e0b' stroke='%23f59e0b' stroke-width='1.2'%3E%3Cpath d='M12 2l7 3v6c0 5-3.5 9-7 11-3.5-2-7-6-7-11V5l7-3z'/%3E%3C/svg%3E");
}

.wc-seo-plugin-scope .wc-seo-pf-status--high {
  background: var(--seo-error-light);
  color: var(--seo-error-dark);
}

.wc-seo-plugin-scope .wc-seo-pf-status--high::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ef4444' stroke='%23ef4444' stroke-width='1.2'%3E%3Cpath d='M12 2l7 3v6c0 5-3.5 9-7 11-3.5-2-7-6-7-11V5l7-3z'/%3E%3C/svg%3E");
}

.wc-seo-plugin-scope .wc-seo-pf-status--unknown {
  background: var(--seo-bg-tertiary);
  color: var(--seo-muted-light);
}

.wc-seo-plugin-scope .wc-seo-pf-status--unknown::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239ca3af' stroke='%239ca3af' stroke-width='1.2'%3E%3Cpath d='M12 2l7 3v6c0 5-3.5 9-7 11-3.5-2-7-6-7-11V5l7-3z'/%3E%3C/svg%3E");
}

.wc-seo-plugin-scope .wc-seo-pf-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: var(--seo-radius-full);
  background: rgba(17, 24, 39, 0.08);
  font-size: var(--seo-font-size-xs);
  color: inherit;
}

.wc-seo-plugin-scope .wc-seo-serm-verdict {
  display: inline-flex;
  align-items: center;
  gap: var(--seo-space-2);
  padding: 6px 10px;
  border-radius: var(--seo-radius-md);
  background: var(--seo-primary-subtle);
  font-size: var(--seo-font-size-sm);
  font-weight: var(--seo-font-weight-semibold);
  color: var(--seo-ink-secondary);
}

.wc-seo-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  padding: var(--seo-space-6);
}

.wc-seo-loader-box {
  text-align: center;
  padding: var(--seo-space-6);
  background: var(--seo-bg);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  border-radius: var(--seo-radius-lg);
  min-width: 320px;
  max-width: 420px;
  width: 100%;
  border: 1px solid var(--seo-border);
}

.wc-seo-loader-spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid var(--seo-border-light);
  border-top-color: var(--seo-primary);
  animation: wcSeoSpin 1s linear infinite !important;
  animation-duration: 1s !important;
  animation-iteration-count: infinite !important;
  animation-play-state: running !important;
  margin: 0 auto var(--seo-space-4);
  transform-origin: center;
  will-change: transform;
}

.wc-seo-loader-text {
  font-size: var(--seo-font-size-md);
  font-weight: var(--seo-font-weight-semibold);
  color: var(--seo-ink);
  margin-bottom: var(--seo-space-2);
}

.wc-seo-loader-progress {
  font-size: var(--seo-font-size-sm);
  color: var(--seo-muted);
  margin-bottom: var(--seo-space-3);
}

.wc-seo-loader-bar {
  height: 8px;
  width: 100%;
  border-radius: var(--seo-radius-full);
  background: var(--seo-bg-tertiary);
  overflow: hidden;
}

.wc-seo-loader-bar__fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--seo-primary-gradient);
  transition: width var(--seo-transition-slow);
}

@keyframes wcSeoSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ===== SERM Controls - Maximum Specificity ===== */
.wc-seo-plugin-scope .wc-seo-serm-controls,
body .wc-seo-plugin-scope .wc-seo-serm-controls,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-controls {
  display: block !important;
  margin: var(--seo-space-6) 0 !important;
  padding: var(--seo-space-4) !important;
  border: 1px solid var(--seo-border) !important;
  background: linear-gradient(180deg, #fbfbfb 0%, #f5f7fb 100%) !important;
  border-radius: var(--seo-radius-lg) !important;
  box-shadow: var(--seo-shadow-md) !important;
  position: relative !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: var(--seo-ink) !important;
}

/* Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†РІР‚С›РЎС›Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В Р Р‹Р вЂ™Р’ВР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРІР‚СњР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎСљР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р Р†РІР‚С›РІР‚вЂњР В Р’В Р вЂ™Р’В Р В Р вЂ Р Р†Р вЂљРЎвЂєР Р†Р вЂљРІР‚Сљ Р В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В¶Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В Р Р‹Р вЂ™Р’В Р В Р’В Р вЂ™Р’В Р В РЎС›Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р В Р вЂ№Р В Р’В Р В Р РЏ Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎСљР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В Р вЂ Р Р†Р вЂљРЎвЂєР Р†Р вЂљРІР‚Сљ Р В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚СљР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎСљР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’В */
.wc-seo-plugin-scope .wc-seo-serm-controls--compact,
body .wc-seo-plugin-scope .wc-seo-serm-controls--compact,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-controls--compact {
  padding: var(--seo-space-3) !important;
  margin: var(--seo-space-4) 0 !important;
}

/* Р В Р’В Р вЂ™Р’В Р В Р вЂ Р В РІР‚С™Р РЋРЎС™Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРІР‚СњР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р В Р вЂ№Р В Р’В Р В РІР‚В°Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’Вµ Р В Р’В Р В Р вЂ№Р В Р Р‹Р Р†Р вЂљРЎС™Р В Р’В Р вЂ™Р’В Р В Р Р‹Р вЂ™Р’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р В Р вЂ№Р В Р’В Р В РІР‚В°Р В Р’В Р В Р вЂ№Р В Р вЂ Р Р†Р вЂљРЎв„ўР вЂ™Р’В¬Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’Вµ Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚СљР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р В Р вЂ№Р В Р Р‹Р Р†Р вЂљРЎС™Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРІР‚СњР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В  Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В  Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎСљР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В Р Р‹Р вЂ™Р’ВР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРІР‚СњР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎСљР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В Р Р‹Р вЂ™Р’В Р В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В¶Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В Р Р‹Р вЂ™Р’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’Вµ */
.wc-seo-plugin-scope .wc-seo-serm-controls--compact .wc-seo-serm-row,
body .wc-seo-plugin-scope .wc-seo-serm-controls--compact .wc-seo-serm-row,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-controls--compact .wc-seo-serm-row {
  margin-bottom: var(--seo-space-1) !important;
}

.wc-seo-plugin-scope .wc-seo-serm-controls--compact .wc-seo-field,
body .wc-seo-plugin-scope .wc-seo-serm-controls--compact .wc-seo-field,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-controls--compact .wc-seo-field {
  gap: var(--seo-space-1) !important;
}

.wc-seo-plugin-scope .wc-seo-serm-form #serm_url[disabled],
body .wc-seo-plugin-scope .wc-seo-serm-form #serm_url[disabled],
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-form #serm_url[disabled] {
  pointer-events: none !important;
}

.wc-seo-plugin-scope .wc-seo-serm-controls::before,
body .wc-seo-plugin-scope .wc-seo-serm-controls::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: var(--seo-primary-gradient) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.wc-seo-plugin-scope .wc-seo-serm-form,
body .wc-seo-plugin-scope .wc-seo-serm-form,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-form {
  display: flex !important;
  gap: var(--seo-space-1) !important;
  align-items: flex-start !important;
  flex-wrap: wrap !important;
  position: relative !important;
  z-index: 2 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  /* Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†РІР‚С™Р’В¬Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р В Р вЂ№Р В Р Р‹Р Р†Р вЂљРЎС™Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р В Р вЂ№Р В Р’В Р В Р вЂ№Р В Р вЂ Р Р†Р вЂљРЎв„ўР вЂ™Р’В¬Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р В Р вЂ№Р В Р’В Р В Р РЏ Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРІР‚СљР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В·Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р вЂ™Р’В Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р В Р вЂ№Р В Р’В Р В Р РЏ Р В Р’В Р В Р вЂ№Р В Р’В Р В Р вЂ°Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р Р‹Р вЂ™Р’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В  */
  row-gap: var(--seo-space-1) !important;
  overflow: visible !important;
}

/* Р В Р’В Р вЂ™Р’В Р В Р вЂ Р В РІР‚С™Р РЋРЎв„ўР В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р В Р вЂ№Р В Р Р‹Р Р†Р вЂљРЎС™Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРІР‚СњР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРІР‚СњР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎСљР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В° Р В Р’В Р В Р вЂ№Р В Р’В Р В Р вЂ°Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р Р‹Р вЂ™Р’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В  Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІР‚С”Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В Р Р‹Р вЂ™Р’ВР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р Р†РІР‚С›РІР‚вЂњ Р В Р’В Р вЂ™Р’В Р В РЎС›Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р В Р вЂ№Р В Р’В Р В Р РЏ Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р В Р вЂ№Р В Р Р‹Р Р†Р вЂљРЎС™Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р В Р вЂ№Р В Р’В Р В Р вЂ№Р В Р вЂ Р Р†Р вЂљРЎв„ўР вЂ™Р’В¬Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р вЂ Р Р†Р вЂљРЎвЂєР Р†Р вЂљРІР‚Сљ Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРІР‚СљР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В·Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р вЂ™Р’В Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’В */
.wc-seo-plugin-scope .wc-seo-serm-form > label + input,
.wc-seo-plugin-scope .wc-seo-serm-form > label + input[type="number"],
body .wc-seo-plugin-scope .wc-seo-serm-form > label + input,
body .wc-seo-plugin-scope .wc-seo-serm-form > label + input[type="number"] {
  margin-left: var(--seo-space-2) !important;
}

/* Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†РІР‚С™Р’В¬Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р В Р вЂ№Р В Р Р‹Р Р†Р вЂљРЎС™Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р В Р вЂ№Р В Р’В Р В Р вЂ№Р В Р вЂ Р Р†Р вЂљРЎв„ўР вЂ™Р’В¬Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’Вµ Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В±Р В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В¶Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р В Р вЂ№Р В Р’В Р В Р РЏ Р В Р’В Р В Р вЂ№Р В Р’В Р В Р вЂ°Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р Р‹Р вЂ™Р’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В  Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В  Р В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚СљР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎСљР В Р’В Р В Р вЂ№Р В Р Р‹Р Р†Р вЂљРЎС™ */
.wc-seo-plugin-scope .wc-seo-serm-form > label,
body .wc-seo-plugin-scope .wc-seo-serm-form > label,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-form > label {
  flex-shrink: 0 !important;
  align-self: center !important;
}

.wc-seo-plugin-scope .wc-seo-group,
body .wc-seo-plugin-scope .wc-seo-group,
.woocommerce .wc-seo-plugin-scope .wc-seo-group {
  display: flex !important;
  align-items: center !important;
  gap: var(--seo-space-2) !important;
  flex-wrap: wrap !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
}

.wc-seo-plugin-scope .wc-seo-group label,
body .wc-seo-plugin-scope .wc-seo-group label,
.woocommerce .wc-seo-plugin-scope .wc-seo-group label {
  white-space: nowrap !important;
  font-weight: var(--seo-font-weight-semibold) !important;
  color: var(--seo-ink-secondary) !important;
  font-size: var(--seo-font-size-sm) !important;
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Р В Р’В Р вЂ™Р’В Р В Р вЂ Р В РІР‚С™Р Р†Р вЂљРЎСљР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р вЂ™Р’В°Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В° Р В Р’В Р вЂ™Р’В Р В РЎС›Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р В Р вЂ№Р В Р’В Р В Р РЏ Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В Р В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚СљР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р вЂ™Р’В¦ label Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В  Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІР‚С”Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В Р Р‹Р вЂ™Р’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’Вµ SERM */
.wc-seo-plugin-scope .wc-seo-serm-form > label,
.wc-seo-plugin-scope .wc-seo-serm-form label:not(.wc-seo-group label),
body .wc-seo-plugin-scope .wc-seo-serm-form > label,
body .wc-seo-plugin-scope .wc-seo-serm-form label:not(.wc-seo-group label),
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-form > label,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-form label:not(.wc-seo-group label) {
  font-weight: var(--seo-font-weight-semibold) !important;
  color: var(--seo-ink) !important;
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  font-size: var(--seo-font-size-sm) !important;
  line-height: 1.5 !important;
  white-space: nowrap !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Layout helpers for SERM form */
.wc-seo-plugin-scope .wc-seo-serm-row,
body .wc-seo-plugin-scope .wc-seo-serm-row,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-row {
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: var(--seo-space-2) !important;
  align-items: flex-start !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.wc-seo-plugin-scope .wc-seo-serm-row--controls,
body .wc-seo-plugin-scope .wc-seo-serm-row--controls,
body .wc-seo-plugin-scope .wc-seo-serm-row--controls,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-row--controls {
  display: grid !important;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) max-content !important;
  gap: var(--seo-space-2) !important;
  margin-top: var(--seo-space-1) !important;
  padding-top: 0 !important;
  border-top: none !important;
  align-items: flex-end !important;
}

.wc-seo-plugin-scope .wc-seo-serm-row--controls > .wc-seo-field--button,
body .wc-seo-plugin-scope .wc-seo-serm-row--controls > .wc-seo-field--button,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-row--controls > .wc-seo-field--button {
  width: auto !important;
  max-width: 100% !important;
  justify-self: end !important;
}

/* Р В РЎв„ўР В Р вЂ¦Р В РЎвЂўР В РЎвЂ”Р В РЎвЂќР В РЎвЂ Р В Р вЂ  Р В РЎвЂўР В РўвЂР В Р вЂ¦Р В РЎвЂўР В РЎВ Р В РЎвЂќР В РЎвЂўР В Р вЂ¦Р РЋРІР‚С™Р В Р’ВµР В РІвЂћвЂ“Р В Р вЂ¦Р В Р’ВµР РЋР вЂљР В Р’Вµ */
.wc-seo-plugin-scope .wc-seo-field--button,
body .wc-seo-plugin-scope .wc-seo-field--button,
.woocommerce .wc-seo-plugin-scope .wc-seo-field--button {
  display: flex !important;
  justify-content: flex-end !important;
  width: auto !important;
  gap: var(--seo-space-1) !important;
  flex-wrap: nowrap !important;
}

.wc-seo-plugin-scope .wc-seo-serm-actions,
body .wc-seo-plugin-scope .wc-seo-serm-actions,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-actions,
.wc-seo-plugin-scope .wc-seo-field--button .wc-seo-field__inline,
body .wc-seo-plugin-scope .wc-seo-field--button .wc-seo-field__inline,
.woocommerce .wc-seo-plugin-scope .wc-seo-field--button .wc-seo-field__inline {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: var(--seo-space-1) !important;
  width: auto !important;
  max-width: 100% !important;
}

.wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__stack,
body .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__stack,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__stack {
  display: flex !important;
  flex-direction: column !important;
  gap: var(--seo-space-1) !important;
}

.wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__inline,
body .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__inline,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__inline {
  display: flex !important;
  align-items: stretch !important;
  gap: var(--seo-space-1) !important;
}

.wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__inline input[type="text"],
body .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__inline input[type="text"],
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__inline input[type="text"] {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

@media (max-width: 767px) {
  .wc-seo-plugin-scope .wc-seo-serm-row--controls,
  body .wc-seo-plugin-scope .wc-seo-serm-row--controls,
  .woocommerce .wc-seo-plugin-scope .wc-seo-serm-row--controls {
    grid-template-columns: 1fr !important;
  }

  .wc-seo-plugin-scope .wc-seo-serm-row--controls > .wc-seo-field--button,
  body .wc-seo-plugin-scope .wc-seo-serm-row--controls > .wc-seo-field--button,
  .woocommerce .wc-seo-plugin-scope .wc-seo-serm-row--controls > .wc-seo-field--button,
  .wc-seo-plugin-scope .wc-seo-field--button,
  body .wc-seo-plugin-scope .wc-seo-field--button,
  .woocommerce .wc-seo-plugin-scope .wc-seo-field--button {
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
  }

  .wc-seo-plugin-scope .wc-seo-serm-actions,
  body .wc-seo-plugin-scope .wc-seo-serm-actions,
  .woocommerce .wc-seo-plugin-scope .wc-seo-serm-actions,
  .wc-seo-plugin-scope .wc-seo-field--button .wc-seo-field__inline,
  body .wc-seo-plugin-scope .wc-seo-field--button .wc-seo-field__inline,
  .woocommerce .wc-seo-plugin-scope .wc-seo-field--button .wc-seo-field__inline {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  .wc-seo-plugin-scope .wc-seo-serm-actions > .wc-seo-btn,
  body .wc-seo-plugin-scope .wc-seo-serm-actions > .wc-seo-btn,
  .woocommerce .wc-seo-plugin-scope .wc-seo-serm-actions > .wc-seo-btn {
    width: 100% !important;
  }

  .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__inline,
  body .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__inline,
  .woocommerce .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__inline {
    flex-wrap: wrap !important;
    gap: var(--seo-space-2) !important;
  }

  .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__inline input[type="text"],
  body .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__inline input[type="text"],
  .woocommerce .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__inline input[type="text"] {
    flex: 1 1 100% !important;
    width: 100% !important;
    border-radius: var(--seo-radius-md) !important;
    border-right: 1px solid var(--seo-border) !important;
  }

  .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-ghost-add,
  body .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-ghost-add,
  .woocommerce .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-ghost-add {
    flex: 1 1 100% !important;
    width: 100% !important;
    border-radius: var(--seo-radius-md) !important;
    border-left: 1px solid var(--seo-border) !important;
  }
}
body .wc-seo-plugin-scope .wc-seo-serm-row:first-child {
  margin-top: 0 !important;
}

.wc-seo-plugin-scope .wc-seo-field,
body .wc-seo-plugin-scope .wc-seo-field,
.woocommerce .wc-seo-plugin-scope .wc-seo-field {
  display: flex !important;
  flex-direction: column !important;
  gap: var(--seo-space-1) !important;
  flex: 1 1 240px !important;
  min-width: 200px !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

.wc-seo-plugin-scope .wc-seo-field--ghost-list,
body .wc-seo-plugin-scope .wc-seo-field--ghost-list,
.woocommerce .wc-seo-plugin-scope .wc-seo-field--ghost-list {
  min-height: auto !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  gap: var(--seo-space-1) !important;
  flex: 0 0 auto !important;
  width: 100% !important;
}

.wc-seo-plugin-scope .wc-seo-field--actions,
body .wc-seo-plugin-scope .wc-seo-field--actions {
  flex: 0 0 auto !important;
  align-items: flex-end !important;
}

.wc-seo-plugin-scope .wc-seo-serm-row--selectors .wc-seo-field--actions .wc-seo-field__inline,
body .wc-seo-plugin-scope .wc-seo-serm-row--selectors .wc-seo-field--actions .wc-seo-field__inline,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-row--selectors .wc-seo-field--actions .wc-seo-field__inline {
  width: auto !important;
  flex-wrap: nowrap !important;
}

.wc-seo-plugin-scope .wc-seo-field__stack,
body .wc-seo-plugin-scope .wc-seo-field__stack,
.wc-seo-plugin-scope .wc-seo-field__inline,
body .wc-seo-plugin-scope .wc-seo-field__inline {
  width: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  gap: var(--seo-space-2) !important;
}

.wc-seo-plugin-scope .wc-seo-field__stack,
body .wc-seo-plugin-scope .wc-seo-field__stack {
  flex-direction: column !important;
}

.wc-seo-plugin-scope .wc-seo-field__inline,
body .wc-seo-plugin-scope .wc-seo-field__inline {
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}

.wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__inline,
body .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__inline,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__inline {
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0 !important;
}

.wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__inline input[type="text"],
body .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__inline input[type="text"],
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__inline input[type="text"] {
  flex: 1 1 auto !important;
  width: auto !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-ghost-add,
body .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-ghost-add,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-ghost-add {
  flex: 0 0 auto !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-left: 0 !important;
}

@media (max-width: 767px) {
  .wc-seo-serm-row--ghost-input .wc-seo-field__inline,
  .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__inline,
  body .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__inline,
  .woocommerce .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__inline {
    flex-wrap: wrap !important;
    gap: var(--seo-space-2) !important;
  }

  .wc-seo-serm-row--ghost-input .wc-seo-field__inline input[type="text"],
  .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__inline input[type="text"],
  body .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__inline input[type="text"],
  .woocommerce .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field__inline input[type="text"] {
    flex: 1 1 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    border-radius: var(--seo-radius-md) !important;
    border-right: 1px solid var(--seo-border) !important;
  }

  .wc-seo-serm-row--ghost-input .wc-seo-ghost-add,
  .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-ghost-add,
  body .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-ghost-add,
  .woocommerce .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-ghost-add {
    flex: 1 1 100% !important;
    width: 100% !important;
    border-radius: var(--seo-radius-md) !important;
    border-left: 1px solid var(--seo-border) !important;
  }

  .wc-seo-plugin-scope .wc-seo-serm-row--selectors .wc-seo-field--actions .wc-seo-field__inline,
  body .wc-seo-plugin-scope .wc-seo-serm-row--selectors .wc-seo-field--actions .wc-seo-field__inline,
  .woocommerce .wc-seo-plugin-scope .wc-seo-serm-row--selectors .wc-seo-field--actions .wc-seo-field__inline {
    width: 100% !important;
    flex-wrap: wrap !important;
  }
}

.wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field--sensitivity,
body .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field--sensitivity,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-row--ghost-input .wc-seo-field--sensitivity {
  flex: 0 1 240px !important;
  margin-left: auto !important;
}

.wc-seo-plugin-scope .wc-seo-field--sensitivity > label,
body .wc-seo-plugin-scope .wc-seo-field--sensitivity > label,
.woocommerce .wc-seo-plugin-scope .wc-seo-field--sensitivity > label {
  display: inline-flex !important;
  align-items: center !important;
  gap: var(--seo-space-1) !important;
}

.wc-seo-plugin-scope .wc-seo-serm-row--selectors .wc-seo-field,
body .wc-seo-plugin-scope .wc-seo-serm-row--selectors .wc-seo-field {
  flex: 1 1 220px !important;
}

.wc-seo-plugin-scope .wc-seo-serm-row--ghost-list,
body .wc-seo-plugin-scope .wc-seo-serm-row--ghost-list,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-row--ghost-list {
  flex-direction: column !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  gap: 0 !important;
}

.wc-seo-plugin-scope .wc-seo-serm-row--ghost-list .wc-seo-ghost-chips,
body .wc-seo-plugin-scope .wc-seo-serm-row--ghost-list .wc-seo-ghost-chips,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-row--ghost-list .wc-seo-ghost-chips {
  padding: 0 !important;
}

.wc-seo-plugin-scope .wc-seo-ghost-chips,
body .wc-seo-plugin-scope .wc-seo-ghost-chips {
  min-height: auto !important;
  padding: var(--seo-space-1) 0 !important;
}

.wc-seo-plugin-scope .wc-seo-ghost-chips:empty,
body .wc-seo-plugin-scope .wc-seo-ghost-chips:empty {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.wc-seo-plugin-scope .wc-seo-serm-row--selectors .wc-seo-field--actions,
body .wc-seo-plugin-scope .wc-seo-serm-row--selectors .wc-seo-field--actions {
  align-self: flex-end !important;
}

.wc-seo-plugin-scope .wc-seo-field--sensitivity .wc-seo-field__inline,
body .wc-seo-plugin-scope .wc-seo-field--sensitivity .wc-seo-field__inline,
.woocommerce .wc-seo-plugin-scope .wc-seo-field--sensitivity .wc-seo-field__inline {
  flex-wrap: nowrap !important;
  align-items: center !important;
}

.wc-seo-plugin-scope .wc-seo-field--sensitivity .wc-seo-help--sensitivity,
body .wc-seo-plugin-scope .wc-seo-field--sensitivity .wc-seo-help--sensitivity,
.woocommerce .wc-seo-plugin-scope .wc-seo-field--sensitivity .wc-seo-help--sensitivity {
  flex: 0 0 auto !important;
}

.wc-seo-plugin-scope .wc-seo-field--sensitivity input[type="number"],
body .wc-seo-plugin-scope .wc-seo-field--sensitivity input[type="number"],
.woocommerce .wc-seo-plugin-scope .wc-seo-field--sensitivity input[type="number"] {
  flex: 1 1 auto !important;
  min-width: 120px !important;
}

/* ===== Form Inputs - Enhanced with Maximum Specificity ===== */
.wc-seo-plugin-scope .wc-seo-serm-form input[type="text"],
.wc-seo-plugin-scope .wc-seo-serm-form input[type="url"],
.wc-seo-plugin-scope .wc-seo-serm-form input[type="number"],
body .wc-seo-plugin-scope .wc-seo-serm-form input[type="text"],
body .wc-seo-plugin-scope .wc-seo-serm-form input[type="url"],
body .wc-seo-plugin-scope .wc-seo-serm-form input[type="number"],
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-form input[type="text"],
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-form input[type="url"],
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-form input[type="number"] {
  min-width: 0 !important;
  padding: var(--seo-space-3) var(--seo-space-4) !important;
  border: 1px solid var(--seo-border) !important;
  border-radius: var(--seo-radius-md) !important;
  background: var(--seo-bg) !important;
  color: var(--seo-ink) !important;
  font-size: var(--seo-font-size-base) !important;
  transition: border-color var(--seo-transition-base), box-shadow var(--seo-transition-base), background-color var(--seo-transition-base) !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
  display: inline-block !important;
  margin: 0 !important;
  vertical-align: middle !important;
  width: 100% !important;
  max-width: 100% !important;
}

.wc-seo-plugin-scope .wc-seo-serm-form input#serm_url[disabled],
body .wc-seo-plugin-scope .wc-seo-serm-form input#serm_url[disabled],
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-form input#serm_url[disabled] {
  pointer-events: none !important;
}

.wc-seo-plugin-scope .wc-seo-serm-form input[type="text"]:focus,
.wc-seo-plugin-scope .wc-seo-serm-form input[type="url"]:focus,
.wc-seo-plugin-scope .wc-seo-serm-form input[type="number"]:focus {
  outline: none;
  border-color: var(--seo-primary);
  box-shadow: 0 0 0 3px var(--seo-focus-ring);
  background: var(--seo-bg);
}

.wc-seo-plugin-scope .wc-seo-serm-form input[type="text"]:hover,
.wc-seo-plugin-scope .wc-seo-serm-form input[type="url"]:hover,
.wc-seo-plugin-scope .wc-seo-serm-form input[type="number"]:hover {
  border-color: var(--seo-border-dark);
}

.wc-seo-plugin-scope .wc-seo-serm-form input[type="text"]::placeholder,
.wc-seo-plugin-scope .wc-seo-serm-form input[type="url"]::placeholder {
  color: var(--seo-muted-light);
}

/* Input states */
.wc-seo-plugin-scope .wc-seo-serm-form input[type="text"].wc-seo-input--error,
.wc-seo-plugin-scope .wc-seo-serm-form input[type="url"].wc-seo-input--error {
  border-color: var(--seo-error);
  box-shadow: 0 0 0 3px var(--seo-error-light);
}

.wc-seo-plugin-scope .wc-seo-serm-form input[type="text"].wc-seo-input--success,
.wc-seo-plugin-scope .wc-seo-serm-form input[type="url"].wc-seo-input--success {
  border-color: var(--seo-success);
  box-shadow: 0 0 0 3px var(--seo-success-light);
}

/* ===== Select - Custom Styled with Maximum Specificity ===== */
.wc-seo-plugin-scope .wc-seo-serm-form select,
body .wc-seo-plugin-scope .wc-seo-serm-form select,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-form select {
  min-width: 0 !important;
  padding: var(--seo-space-3) var(--seo-space-4) !important;
  padding-right: var(--seo-space-10) !important;
  border: 1px solid var(--seo-border) !important;
  border-radius: var(--seo-radius-md) !important;
  background: var(--seo-bg) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right var(--seo-space-3) center !important;
  background-size: 16px !important;
  color: var(--seo-ink) !important;
  font-size: var(--seo-font-size-base) !important;
  font-family: inherit !important;
  cursor: pointer !important;
  transition: border-color var(--seo-transition-base), box-shadow var(--seo-transition-base) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  box-sizing: border-box !important;
  display: inline-block !important;
  margin: 0 !important;
  vertical-align: middle !important;
  width: 100% !important;
  max-width: 100% !important;
}

.wc-seo-plugin-scope .wc-seo-serm-form select:focus {
  outline: none;
  border-color: var(--seo-primary);
  box-shadow: 0 0 0 3px var(--seo-focus-ring);
}

.wc-seo-plugin-scope .wc-seo-serm-form select:hover {
  border-color: var(--seo-border-dark);
}

/* ===== Buttons - Enhanced with Variants (No Flickering) ===== */
.wc-seo-plugin-scope .wc-seo-btn,
.wc-seo-plugin-scope a.wc-seo-btn,
body .wc-seo-plugin-scope .wc-seo-btn,
body .wc-seo-plugin-scope a.wc-seo-btn,
.woocommerce .wc-seo-plugin-scope .wc-seo-btn,
.woocommerce .wc-seo-plugin-scope a.wc-seo-btn {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  padding: var(--seo-space-3) var(--seo-space-5) !important;
  border-radius: var(--seo-radius-md) !important;
  border: 1px solid var(--seo-primary) !important;
  background: var(--seo-primary-gradient) !important;
  color: var(--seo-text-on-primary) !important;
  font-weight: var(--seo-font-weight-semibold) !important;
  font-size: var(--seo-font-size-base) !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  transition: background var(--seo-transition-base), border-color var(--seo-transition-base), box-shadow var(--seo-transition-base), transform var(--seo-transition-base) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--seo-space-2) !important;
  cursor: pointer !important;
  position: relative !important;
  overflow: hidden !important;
  font-family: inherit !important;
  line-height: 1.5 !important;
  height: auto !important;
  min-height: 40px !important; /* Touch-friendly */
  box-sizing: border-box !important;
  margin: 0 !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  /* Prevent flickering */
  visibility: visible !important;
  opacity: 1 !important;
}

.wc-seo-plugin-scope .wc-seo-btn::before,
body .wc-seo-plugin-scope .wc-seo-btn::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
  transition: left var(--seo-transition-slow) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.wc-seo-plugin-scope .wc-seo-btn:hover,
body .wc-seo-plugin-scope .wc-seo-btn:hover,
.woocommerce .wc-seo-plugin-scope .wc-seo-btn:hover {
  background: var(--seo-primary-hover) !important;
  border-color: var(--seo-primary-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: var(--seo-shadow-md) !important;
  /* Prevent flickering on hover */
  visibility: visible !important;
  opacity: 1 !important;
  display: inline-flex !important;
}

.wc-seo-plugin-scope .wc-seo-btn:hover::before,
body .wc-seo-plugin-scope .wc-seo-btn:hover::before {
  left: 100% !important;
}

.wc-seo-plugin-scope .wc-seo-btn:active,
body .wc-seo-plugin-scope .wc-seo-btn:active,
.woocommerce .wc-seo-plugin-scope .wc-seo-btn:active {
  transform: translateY(0) !important;
  box-shadow: var(--seo-shadow-sm) !important;
  background: var(--seo-primary-active) !important;
  /* Prevent flickering on active */
  visibility: visible !important;
  opacity: 1 !important;
  display: inline-flex !important;
}

.wc-seo-plugin-scope .wc-seo-btn:focus,
body .wc-seo-plugin-scope .wc-seo-btn:focus,
.woocommerce .wc-seo-plugin-scope .wc-seo-btn:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px var(--seo-focus-ring), var(--seo-shadow-md) !important;
  /* Prevent flickering on focus */
  visibility: visible !important;
  opacity: 1 !important;
  display: inline-flex !important;
}

.wc-seo-plugin-scope .wc-seo-btn:disabled,
.wc-seo-plugin-scope .wc-seo-btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Button variants - Maximum Specificity */
.wc-seo-plugin-scope .wc-seo-btn--primary,
body .wc-seo-plugin-scope .wc-seo-btn--primary,
.woocommerce .wc-seo-plugin-scope .wc-seo-btn--primary {
  background: var(--seo-primary-gradient) !important;
  border-color: var(--seo-primary) !important;
  color: var(--seo-text-on-primary) !important;
}

.wc-seo-plugin-scope .wc-seo-btn--primary:hover,
body .wc-seo-plugin-scope .wc-seo-btn--primary:hover,
.woocommerce .wc-seo-plugin-scope .wc-seo-btn--primary:hover {
  background: var(--seo-primary-hover) !important;
  border-color: var(--seo-primary-dark) !important;
  visibility: visible !important;
  opacity: 1 !important;
  display: inline-flex !important;
}

.wc-seo-plugin-scope .wc-seo-btn--secondary,
body .wc-seo-plugin-scope .wc-seo-btn--secondary,
.woocommerce .wc-seo-plugin-scope .wc-seo-btn--secondary {
  background: var(--seo-bg) !important;
  border-color: var(--seo-border) !important;
  color: var(--seo-ink) !important;
}

.wc-seo-plugin-scope .wc-seo-btn--secondary:hover,
body .wc-seo-plugin-scope .wc-seo-btn--secondary:hover,
.woocommerce .wc-seo-plugin-scope .wc-seo-btn--secondary:hover {
  background: var(--seo-bg-secondary) !important;
  border-color: var(--seo-border-dark) !important;
  color: var(--seo-ink) !important;
  visibility: visible !important;
  opacity: 1 !important;
  display: inline-flex !important;
}

.wc-seo-plugin-scope .wc-seo-btn--ghost,
body .wc-seo-plugin-scope .wc-seo-btn--ghost,
.woocommerce .wc-seo-plugin-scope .wc-seo-btn--ghost {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--seo-primary) !important;
}

.wc-seo-plugin-scope .wc-seo-btn--ghost:hover,
body .wc-seo-plugin-scope .wc-seo-btn--ghost:hover,
.woocommerce .wc-seo-plugin-scope .wc-seo-btn--ghost:hover {
  background: var(--seo-primary-subtle) !important;
  border-color: var(--seo-primary) !important;
  visibility: visible !important;
  opacity: 1 !important;
  display: inline-flex !important;
}

.wc-seo-plugin-scope .wc-seo-btn--small,
body .wc-seo-plugin-scope .wc-seo-btn--small,
.woocommerce .wc-seo-plugin-scope .wc-seo-btn--small {
  padding: var(--seo-space-2) var(--seo-space-3) !important;
  font-size: var(--seo-font-size-sm) !important;
  height: auto !important;
  min-height: 32px !important;
}

.wc-seo-plugin-scope .wc-seo-btn--large,
body .wc-seo-plugin-scope .wc-seo-btn--large,
.woocommerce .wc-seo-plugin-scope .wc-seo-btn--large {
  padding: var(--seo-space-4) var(--seo-space-6) !important;
  font-size: var(--seo-font-size-md) !important;
  min-height: 48px !important;
}

/* Loading state - Maximum Specificity */
.wc-seo-plugin-scope .wc-seo-btn--loading,
body .wc-seo-plugin-scope .wc-seo-btn--loading,
.woocommerce .wc-seo-plugin-scope .wc-seo-btn--loading {
  position: relative !important;
  pointer-events: none !important;
  opacity: 0.85 !important;
  color: transparent !important;
  visibility: visible !important;
  display: inline-flex !important;
}

.wc-seo-plugin-scope .wc-seo-btn--disabled,
body .wc-seo-plugin-scope .wc-seo-btn--disabled,
.woocommerce .wc-seo-plugin-scope .wc-seo-btn--disabled {
  pointer-events: none !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

.wc-seo-plugin-scope input.is-disabled,
body .wc-seo-plugin-scope input.is-disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}

.wc-seo-plugin-scope .wc-seo-btn--loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-top-color: var(--seo-text-on-primary);
  border-radius: 50%;
  animation: wcSeoSpin 0.8s linear infinite;
}

@keyframes wcSeoSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== Inline SERM URL Form - Better Positioning & Integration ===== */
/* Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРІР‚СљР В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р вЂ™Р’В Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р В Р вЂ№Р В Р’В Р В Р РЏ Р В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚Сљ Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В±Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚СљР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р В Р вЂ№Р В Р’В Р В РІР‚В°Р В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРІвЂћвЂ“ Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІР‚С”Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р В Р вЂ№Р В Р’В Р В РІР‚В°Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В  WooCommerce */
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-inline-wrapper,
body .woocommerce .wc-seo-plugin-scope .wc-seo-serm-inline-wrapper,
.woocommerce-page .wc-seo-plugin-scope .wc-seo-serm-inline-wrapper {
  display: inline-flex !important;
  align-items: center !important;
  gap: var(--seo-space-2) !important;
  margin: 0 var(--seo-space-3) 0 0 !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 10 !important;
  flex-wrap: wrap !important;
  /* Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРІР‚СљР В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р вЂ™Р’В Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р В Р вЂ№Р В Р’В Р В Р РЏ Р В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚Сљ Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В±Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚СљР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р В Р вЂ№Р В Р’В Р В РІР‚В°Р В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРІвЂћвЂ“ Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІР‚С”Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р В Р вЂ№Р В Р’В Р В РІР‚В°Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В  */
  float: none !important;
  clear: none !important;
}

/* Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРІвЂћСћР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р В Р вЂ№Р В Р’В Р В РІР‚В°Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’Вµ Р В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚СљР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРІР‚СњР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В¶Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’Вµ: Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚СљР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’В Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚СљР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р В Р вЂ№Р В Р’В Р В РІР‚В° Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В±Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚СљР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р В Р вЂ№Р В Р’В Р В РІР‚В° Р В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚Сљ Р В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В·Р В Р’В Р В Р вЂ№Р В Р Р‹Р Р†Р вЂљРЎС™Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р В Р вЂ№Р В Р’В Р В РІР‚В°Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р вЂ™Р’В Р В Р Р‹Р вЂ™Р’ВР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’В/Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІР‚С”Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р В Р вЂ№Р В Р’В Р В РІР‚В°Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р вЂ™Р’В Р В Р Р‹Р вЂ™Р’ВР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’В */
.woocommerce-result-count + .wc-seo-plugin-scope .wc-seo-serm-inline-wrapper,
.woocommerce-ordering + .wc-seo-plugin-scope .wc-seo-serm-inline-wrapper,
.woocommerce .woocommerce-result-count ~ .wc-seo-plugin-scope .wc-seo-serm-inline-wrapper,
.woocommerce .woocommerce-ordering ~ .wc-seo-plugin-scope .wc-seo-serm-inline-wrapper {
  margin-left: var(--seo-space-4) !important;
}

.wc-seo-plugin-scope .wc-seo-serm-inline-wrapper,
body .wc-seo-plugin-scope .wc-seo-serm-inline-wrapper {
  display: inline-flex !important;
  align-items: center !important;
  gap: var(--seo-space-2) !important;
  margin: 0 var(--seo-space-3) var(--seo-space-4) 0 !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 10 !important;
  flex-wrap: wrap !important;
}

.wc-seo-plugin-scope .wc-seo-serm-inline-url,
body .wc-seo-plugin-scope .wc-seo-serm-inline-url,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-inline-url {
  display: inline-flex !important;
  gap: var(--seo-space-2) !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  margin: 0 !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  position: relative !important;
}

.wc-seo-plugin-scope .wc-seo-serm-inline-label,
body .wc-seo-plugin-scope .wc-seo-serm-inline-label,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-inline-label {
  font-size: var(--seo-font-size-sm) !important;
  color: var(--seo-muted) !important;
  font-weight: var(--seo-font-weight-medium) !important;
  margin: 0 !important;
  white-space: nowrap !important;
  display: inline-block !important;
  box-sizing: border-box !important;
}

.wc-seo-plugin-scope .wc-seo-serm-inline-input,
.wc-seo-plugin-scope .wc-seo-serm-inline-url input[type="text"],
.wc-seo-plugin-scope .wc-seo-serm-inline-url input[type="url"],
body .wc-seo-plugin-scope .wc-seo-serm-inline-input,
body .wc-seo-plugin-scope .wc-seo-serm-inline-url input[type="text"],
body .wc-seo-plugin-scope .wc-seo-serm-inline-url input[type="url"],
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-inline-input,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-inline-url input[type="text"],
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-inline-url input[type="url"] {
  min-width: 200px !important;
  max-width: 280px !important;
  padding: var(--seo-space-2) var(--seo-space-3) !important;
  border: 1px solid var(--seo-border) !important;
  border-radius: var(--seo-radius-md) !important;
  background: var(--seo-bg) !important;
  color: var(--seo-ink) !important;
  font-size: var(--seo-font-size-sm) !important;
  transition: border-color var(--seo-transition-base), box-shadow var(--seo-transition-base) !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
  display: inline-block !important;
  margin: 0 !important;
  vertical-align: middle !important;
  width: auto !important;
}

.wc-seo-plugin-scope .wc-seo-serm-inline-input:focus,
.wc-seo-plugin-scope .wc-seo-serm-inline-url input:focus,
body .wc-seo-plugin-scope .wc-seo-serm-inline-input:focus,
body .wc-seo-plugin-scope .wc-seo-serm-inline-url input:focus {
  outline: none !important;
  border-color: var(--seo-primary) !important;
  box-shadow: 0 0 0 3px var(--seo-focus-ring) !important;
}

.wc-seo-plugin-scope .wc-seo-serm-inline-url .wc-seo-btn,
body .wc-seo-plugin-scope .wc-seo-serm-inline-url .wc-seo-btn {
  padding: var(--seo-space-2) var(--seo-space-4) !important;
  min-height: 36px !important;
}

/* ===== SERM Topbar ===== */
.wc-seo-plugin-scope .wc-seo-serm-topbar,
body .wc-seo-plugin-scope .wc-seo-serm-topbar {
  width: 100% !important;
  margin: 0 0 var(--seo-space-4) 0 !important;
  background: linear-gradient(135deg, rgba(247, 169, 132, 0.12), rgba(255, 255, 255, 0.8)) !important;
  border: 1px solid var(--seo-border-light) !important;
  border-radius: var(--seo-radius-lg) !important;
  box-shadow: var(--seo-shadow-sm) !important;
  box-sizing: border-box !important;
  padding: var(--seo-space-5) !important;
}

.wc-seo-plugin-scope .wc-seo-serm-topbar__container,
body .wc-seo-plugin-scope .wc-seo-serm-topbar__container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: var(--seo-space-4) !important;
  align-items: flex-start !important;
}

.wc-seo-plugin-scope .wc-seo-serm-topbar__copy,
body .wc-seo-plugin-scope .wc-seo-serm-topbar__copy {
  flex: 1 1 300px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: var(--seo-space-2) !important;
}

.wc-seo-plugin-scope .wc-seo-serm-topbar__eyebrow,
body .wc-seo-plugin-scope .wc-seo-serm-topbar__eyebrow {
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  font-size: var(--seo-font-size-xs) !important;
  font-weight: var(--seo-font-weight-semibold) !important;
  color: var(--seo-primary-dark) !important;
}

.wc-seo-plugin-scope .wc-seo-serm-topbar__title,
body .wc-seo-plugin-scope .wc-seo-serm-topbar__title {
  margin: 0 !important;
  font-size: var(--seo-font-size-xl) !important;
  font-weight: var(--seo-font-weight-semibold) !important;
  color: var(--seo-ink) !important;
}

.wc-seo-plugin-scope .wc-seo-serm-topbar__desc,
body .wc-seo-plugin-scope .wc-seo-serm-topbar__desc {
  margin: 0 !important;
  font-size: var(--seo-font-size-sm) !important;
  color: var(--seo-muted) !important;
  max-width: 520px !important;
}

.wc-seo-plugin-scope .wc-seo-serm-topbar__form,
body .wc-seo-plugin-scope .wc-seo-serm-topbar__form {
  flex: 1 1 360px !important;
  background: #fff !important;
  border-radius: var(--seo-radius-md) !important;
  padding: var(--seo-space-4) !important;
  border: 1px solid var(--seo-border) !important;
  box-shadow: var(--seo-shadow-xs) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: var(--seo-space-2) !important;
}

.wc-seo-plugin-scope .wc-seo-serm-topbar__fields,
body .wc-seo-plugin-scope .wc-seo-serm-topbar__fields {
  display: flex !important;
  flex-direction: column !important;
  gap: var(--seo-space-2) !important;
}

.wc-seo-plugin-scope .wc-seo-serm-topbar__input,
body .wc-seo-plugin-scope .wc-seo-serm-topbar__input {
  display: flex !important;
  gap: var(--seo-space-2) !important;
  align-items: center !important;
}

.wc-seo-plugin-scope .wc-seo-serm-topbar__input .wc-seo-field__inline,
body .wc-seo-plugin-scope .wc-seo-serm-topbar__input .wc-seo-field__inline {
  width: auto !important;
  flex-wrap: nowrap !important;
  flex: 0 0 auto !important;
}

.wc-seo-plugin-scope .wc-seo-serm-topbar__current,
body .wc-seo-plugin-scope .wc-seo-serm-topbar__current {
  margin: 0 !important;
  font-size: var(--seo-font-size-xs) !important;
  color: var(--seo-muted-light) !important;
}

.wc-seo-plugin-scope .wc-seo-shop-topbar,
body .wc-seo-plugin-scope .wc-seo-shop-topbar,
.woocommerce .wc-seo-plugin-scope .wc-seo-shop-topbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: var(--seo-space-3) !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: var(--seo-space-3) var(--seo-space-4) !important;
  border-radius: var(--seo-radius-lg) !important;
  background: linear-gradient(135deg, rgba(247, 169, 132, 0.06), rgba(255, 255, 255, 0.9)) !important;
  border: 1px solid var(--seo-border-light) !important;
  box-shadow: var(--seo-shadow-sm) !important;
  margin: 0 0 var(--seo-space-4) 0 !important;
}

.wc-seo-plugin-scope .kitchor-sorting,
body .wc-seo-plugin-scope .kitchor-sorting,
.woocommerce .wc-seo-plugin-scope .kitchor-sorting {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  gap: var(--seo-space-3) !important;
}

.wc-seo-plugin-scope .kitchor-sorting > *,
body .wc-seo-plugin-scope .kitchor-sorting > *,
.woocommerce .wc-seo-plugin-scope .kitchor-sorting > * {
  margin-bottom: 0 !important;
}

.wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-result-count,
body .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-result-count,
.woocommerce .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-result-count,
.wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering,
body .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering,
.woocommerce .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering {
  margin: 0 !important;
  float: none !important;
  flex: 0 0 auto !important;
}

.wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-result-count,
body .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-result-count,
.woocommerce .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-result-count {
  order: 2 !important;
  color: var(--seo-muted) !important;
  font-size: var(--seo-font-size-sm) !important;
}

.wc-seo-plugin-scope .wc-seo-shop-topbar .gridlist-toggle,
body .wc-seo-plugin-scope .wc-seo-shop-topbar .gridlist-toggle,
.woocommerce .wc-seo-plugin-scope .wc-seo-shop-topbar .gridlist-toggle {
  order: 4 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 4px !important;
  border-radius: var(--seo-radius-md) !important;
  background: var(--seo-bg-tertiary) !important;
  border: 1px solid var(--seo-border) !important;
  margin-left: var(--seo-space-2) !important;
}

.wc-seo-plugin-scope .wc-seo-shop-topbar .gridlist-toggle a,
body .wc-seo-plugin-scope .wc-seo-shop-topbar .gridlist-toggle a,
.woocommerce .wc-seo-plugin-scope .wc-seo-shop-topbar .gridlist-toggle a {
  width: 32px !important;
  height: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: var(--seo-radius-sm) !important;
  color: var(--seo-muted) !important;
  transition: background var(--seo-transition-base), color var(--seo-transition-base) !important;
}

.wc-seo-plugin-scope .wc-seo-shop-topbar .gridlist-toggle a.active,
body .wc-seo-plugin-scope .wc-seo-shop-topbar .gridlist-toggle a.active,
.woocommerce .wc-seo-plugin-scope .wc-seo-shop-topbar .gridlist-toggle a.active {
  background: var(--seo-primary) !important;
  color: var(--seo-text-on-primary) !important;
}

.wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering,
body .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering,
.woocommerce .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering {
  order: 3 !important;
  margin-left: auto !important;
}

.wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering select,
body .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering select,
.woocommerce .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering select {
  min-height: 36px !important;
  padding: 6px 32px 6px 12px !important;
  border-radius: var(--seo-radius-md) !important;
  border: 1px solid var(--seo-border) !important;
  background: var(--seo-bg) !important;
  color: var(--seo-ink) !important;
  font-size: var(--seo-font-size-sm) !important;
  line-height: var(--seo-line-height-normal) !important;
  font-family: inherit !important;
  appearance: none !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 10px 10px !important;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 3.5L5 6.5L8 3.5' stroke='currentColor' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

.wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering select:hover,
body .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering select:hover,
.woocommerce .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering select:hover {
  border-color: var(--seo-primary) !important;
}

.wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering select:focus,
body .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering select:focus,
.woocommerce .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering select:focus {
  outline: none !important;
  border-color: var(--seo-primary) !important;
  box-shadow: 0 0 0 3px var(--seo-focus-ring) !important;
}

.wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering select option,
body .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering select option,
.woocommerce .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering select option {
  background: var(--seo-bg) !important;
  color: var(--seo-ink) !important;
}

.wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering select option:checked,
body .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering select option:checked,
.woocommerce .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering select option:checked {
  background: var(--seo-primary-subtle) !important;
  color: var(--seo-ink) !important;
}

[dir="rtl"] .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering select,
[dir="rtl"] body .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering select,
[dir="rtl"] .woocommerce .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering select {
  padding: 6px 12px 6px 32px !important;
  background-position: left 10px center !important;
}

.wc-seo-plugin-scope .wc-seo-shop-topbar .wc-seo-ma-switcher,
body .wc-seo-plugin-scope .wc-seo-shop-topbar .wc-seo-ma-switcher,
.woocommerce .wc-seo-plugin-scope .wc-seo-shop-topbar .wc-seo-ma-switcher {
  order: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

@media (max-width: 768px) {
  .wc-seo-plugin-scope .wc-seo-shop-topbar,
  body .wc-seo-plugin-scope .wc-seo-shop-topbar,
  .woocommerce .wc-seo-plugin-scope .wc-seo-shop-topbar {
    align-items: stretch !important;
  }
  .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-result-count,
  body .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-result-count,
  .woocommerce .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-result-count,
  .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering,
  body .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering,
  .woocommerce .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering,
  .wc-seo-plugin-scope .wc-seo-shop-topbar .wc-seo-ma-switcher,
  body .wc-seo-plugin-scope .wc-seo-shop-topbar .wc-seo-ma-switcher,
  .woocommerce .wc-seo-plugin-scope .wc-seo-shop-topbar .wc-seo-ma-switcher {
    width: 100% !important;
  }
  .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering,
  body .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering,
  .woocommerce .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering {
    margin-left: 0 !important;
  }
  .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering select,
  body .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering select,
  .woocommerce .wc-seo-plugin-scope .wc-seo-shop-topbar .woocommerce-ordering select {
    width: 100% !important;
  }
  .gridlist-toggle,
  .wc-seo-plugin-scope .wc-seo-shop-topbar .gridlist-toggle,
  body .wc-seo-plugin-scope .wc-seo-shop-topbar .gridlist-toggle,
  .woocommerce .wc-seo-plugin-scope .wc-seo-shop-topbar .gridlist-toggle {
    display: none !important;
  }
}
.wc-seo-plugin-scope .wc-seo-ma-switcher,
body .wc-seo-plugin-scope .wc-seo-ma-switcher {
  display: inline-flex !important;
  align-items: center !important;
  gap: var(--seo-space-2) !important;
  padding: var(--seo-space-2) var(--seo-space-3) !important;
  border-radius: var(--seo-radius-md) !important;
  background: #fff !important;
  border: 1px solid var(--seo-border) !important;
  box-shadow: var(--seo-shadow-xs) !important;
  margin: 0 0 var(--seo-space-3) 0 !important;
}

.wc-seo-plugin-scope .wc-seo-ma-switcher__label,
body .wc-seo-plugin-scope .wc-seo-ma-switcher__label {
  font-size: var(--seo-font-size-xs) !important;
  font-weight: var(--seo-font-weight-semibold) !important;
  color: var(--seo-muted) !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.wc-seo-plugin-scope .wc-seo-ma-switcher__buttons,
body .wc-seo-plugin-scope .wc-seo-ma-switcher__buttons {
  display: inline-flex !important;
  gap: var(--seo-space-1) !important;
}

.wc-seo-plugin-scope .wc-seo-ma-switcher__btn,
body .wc-seo-plugin-scope .wc-seo-ma-switcher__btn {
  appearance: none !important;
  border: 1px solid var(--seo-border) !important;
  background: var(--seo-bg) !important;
  color: var(--seo-ink) !important;
  padding: 6px 12px !important;
  border-radius: var(--seo-radius-sm) !important;
  font-size: var(--seo-font-size-sm) !important;
  font-weight: var(--seo-font-weight-medium) !important;
  cursor: pointer !important;
  transition: border-color var(--seo-transition-base), background var(--seo-transition-base), color var(--seo-transition-base) !important;
}

.wc-seo-plugin-scope .wc-seo-ma-switcher__btn:hover,
.wc-seo-plugin-scope .wc-seo-ma-switcher__btn:focus,
body .wc-seo-plugin-scope .wc-seo-ma-switcher__btn:hover,
body .wc-seo-plugin-scope .wc-seo-ma-switcher__btn:focus {
  border-color: var(--seo-primary) !important;
  color: var(--seo-primary-dark) !important;
  outline: none !important;
}

.wc-seo-plugin-scope .wc-seo-ma-switcher__btn.is-active,
body .wc-seo-plugin-scope .wc-seo-ma-switcher__btn.is-active {
  background: var(--seo-primary) !important;
  border-color: var(--seo-primary) !important;
  color: var(--seo-text-on-primary) !important;
}

.wc-seo-plugin-scope .wc-seo-ma-switcher.is-loading,
body .wc-seo-plugin-scope .wc-seo-ma-switcher.is-loading {
  opacity: 0.6 !important;
}

.wc-seo-plugin-scope .wc-seo-ma-switcher.is-loading .wc-seo-ma-switcher__btn,
body .wc-seo-plugin-scope .wc-seo-ma-switcher.is-loading .wc-seo-ma-switcher__btn {
  pointer-events: none !important;
}

/* ===== Help Tooltip ===== */
.wc-seo-plugin-scope .wc-seo-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--seo-primary-subtle);
  color: var(--seo-primary);
  font-size: var(--seo-font-size-xs);
  font-weight: var(--seo-font-weight-bold);
  line-height: 1;
  cursor: help;
  margin-left: var(--seo-space-2);
  transition: all var(--seo-transition-base);
  position: relative;
  flex-shrink: 0;
  border: 1px solid var(--seo-primary);
}

.wc-seo-plugin-scope .wc-seo-help:hover,
.wc-seo-plugin-scope .wc-seo-help:focus {
  background: var(--seo-primary);
  color: var(--seo-text-on-primary);
  transform: scale(1.1);
  outline: none;
}

.wc-seo-plugin-scope .wc-seo-help::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7A984' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
  transition: background-image var(--seo-transition-base);
}

/* Р В Р’В Р вЂ™Р’В Р В Р Р‹Р РЋРЎСџР В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’В hover Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В±Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р Р†РІР‚С›РІР‚вЂњР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р В Р вЂ№Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В Р вЂ Р Р†Р вЂљРЎвЂєР Р†Р вЂљРІР‚Сљ Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎСљР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎСљР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’В Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В¶Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’Вµ Р В Р’В Р вЂ™Р’В Р В Р Р‹Р вЂ™Р’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р В Р вЂ№Р В Р’В Р В Р РЏР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р Р‹Р вЂ™Р’В Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р вЂ™Р’В Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћ Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В° Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В±Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р Р†РІР‚С›РІР‚вЂњР В Р’В Р вЂ™Р’В Р В Р вЂ Р Р†Р вЂљРЎвЂєР Р†Р вЂљРІР‚Сљ */
.wc-seo-plugin-scope .wc-seo-help:hover::before,
.wc-seo-plugin-scope .wc-seo-help:focus::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E");
}

/* Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎСљР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎСљР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В° Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚СљР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎСљ/Р В Р’В Р В Р вЂ№Р В Р вЂ Р Р†Р вЂљРЎв„ўР вЂ™Р’В¬Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚СљР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎСљР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’В Р В Р’В Р вЂ™Р’В Р В РЎС›Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р В Р вЂ№Р В Р’В Р В Р РЏ Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р В Р вЂ№Р В Р’В Р В Р вЂ№Р В Р Р‹Р Р†Р вЂљРЎС™Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В Р В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚СљР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р В Р вЂ№Р В Р’В Р В РІР‚В°Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚СљР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’В */
.wc-seo-plugin-scope .wc-seo-help--sensitivity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--seo-bg-tertiary);
  border: none !important;
  color: var(--seo-muted);
  font-size: 10px;
  font-weight: bold;
  font-family: sans-serif;
  cursor: help;
  line-height: 1;
  box-sizing: border-box;
}

.wc-seo-plugin-scope .wc-seo-help--sensitivity::before,
.wc-seo-plugin-scope .wc-seo-help--sensitivity:hover::before,
.wc-seo-plugin-scope .wc-seo-help--sensitivity:focus::before {
  content: "i" !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: none !important;
}

/* Duplicate tooltip styles for data-tooltip removed - all tooltips now use data-wc-tooltip */
/* Tooltip functionality is handled by styles above (lines 303-328) for data-wc-tooltip */

/* ===== Ghost URL Chips ===== */
.wc-seo-plugin-scope .wc-seo-ghost-chips,
body .wc-seo-plugin-scope .wc-seo-ghost-chips,
.woocommerce .wc-seo-plugin-scope .wc-seo-ghost-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: var(--seo-space-1) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  min-height: auto !important;
  padding: var(--seo-space-1) 0 !important;
  width: 100% !important;
}

.wc-seo-plugin-scope .wc-seo-chip,
body .wc-seo-plugin-scope .wc-seo-chip,
.woocommerce .wc-seo-plugin-scope .wc-seo-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: var(--seo-space-2) !important;
  background: var(--seo-bg-secondary) !important;
  border: 1px solid var(--seo-border) !important;
  border-radius: var(--seo-radius-full) !important;
  padding: var(--seo-space-2) var(--seo-space-3) !important;
  font-size: var(--seo-font-size-sm) !important;
  color: var(--seo-ink) !important;
  transition: all var(--seo-transition-base) !important;
  animation: wcSeoChipIn var(--seo-transition-bounce) !important;
  position: relative !important;
  white-space: nowrap !important;
}

@keyframes wcSeoChipIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.wc-seo-plugin-scope .wc-seo-chip:hover,
body .wc-seo-plugin-scope .wc-seo-chip:hover,
.woocommerce .wc-seo-plugin-scope .wc-seo-chip:hover {
  background: var(--seo-hover) !important;
  border-color: var(--seo-primary) !important;
  transform: translateY(-1px) !important;
  box-shadow: var(--seo-shadow-xs) !important;
}

.wc-seo-plugin-scope .wc-seo-chip-remove,
body .wc-seo-plugin-scope .wc-seo-chip-remove,
.woocommerce .wc-seo-plugin-scope .wc-seo-chip-remove {
  appearance: none !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--seo-muted) !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  transition: all var(--seo-transition-fast) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
  text-indent: 0 !important;
  transform: none !important;
}

.wc-seo-plugin-scope .wc-seo-chip-remove:hover,
body .wc-seo-plugin-scope .wc-seo-chip-remove:hover,
.woocommerce .wc-seo-plugin-scope .wc-seo-chip-remove:hover {
  background: var(--seo-error-light) !important;
  color: var(--seo-error) !important;
  transform: scale(1.1) !important;
}

.wc-seo-plugin-scope .wc-seo-chip.is-locked,
body .wc-seo-plugin-scope .wc-seo-chip.is-locked,
.woocommerce .wc-seo-plugin-scope .wc-seo-chip.is-locked {
  background: var(--seo-bg-tertiary) !important;
  border-color: var(--seo-border-light) !important;
  box-shadow: none !important;
}

.wc-seo-plugin-scope .wc-seo-chip.is-locked .wc-seo-chip-remove,
body .wc-seo-plugin-scope .wc-seo-chip.is-locked .wc-seo-chip-remove,
.woocommerce .wc-seo-plugin-scope .wc-seo-chip.is-locked .wc-seo-chip-remove {
  opacity: 0.4 !important;
  pointer-events: none !important;
  cursor: default !important;
  transform: none !important;
}

.wc-seo-plugin-scope .wc-seo-chip-remove:focus,
body .wc-seo-plugin-scope .wc-seo-chip-remove:focus,
.woocommerce .wc-seo-plugin-scope .wc-seo-chip-remove:focus {
  outline: 2px solid var(--seo-focus) !important;
  outline-offset: 2px !important;
}
.wc-seo-plugin-scope .wc-seo-ghost-hint,
body .wc-seo-plugin-scope .wc-seo-ghost-hint,
.woocommerce .wc-seo-plugin-scope .wc-seo-ghost-hint {
  margin-top: var(--seo-space-1) !important;
  margin-bottom: 0 !important;
  font-size: var(--seo-font-size-sm);
  color: var(--seo-muted);
  padding: var(--seo-space-1) var(--seo-space-2) !important;
  background: var(--seo-bg-secondary);
  border-left: 3px solid var(--seo-info);
  border-radius: var(--seo-radius-sm);
  animation: wcSeoHintIn var(--seo-transition-base);
}

.wc-seo-plugin-scope .wc-seo-ghost-hint.wc-seo-ghost-hint--error {
  border-left-color: var(--seo-error);
  background: var(--seo-error-light);
  color: var(--seo-error-dark);
}

.wc-seo-plugin-scope .wc-seo-ghost-hint.wc-seo-ghost-hint--success {
  border-left-color: var(--seo-success);
  background: var(--seo-success-light);
  color: var(--seo-success-dark);
}

@keyframes wcSeoHintIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Ghost Product Cards ===== */
.wc-seo-plugin-scope .products .product.wc-seo-ghost {
  opacity: 0.95;
  border: 1px solid var(--seo-border);
  background: var(--seo-bg);
  border-radius: var(--seo-radius-lg);
  min-height: 0;
  box-shadow: var(--seo-shadow-xs);
  transition: all var(--seo-transition-base);
  position: relative;
  animation: wcSeoGhostIn var(--seo-transition-slow);
}

@keyframes wcSeoGhostIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 0.95;
    transform: translateY(0);
  }
}

.wc-seo-plugin-scope .products .product.wc-seo-ghost::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--seo-primary-gradient);
  opacity: 0.6;
}

.wc-seo-plugin-scope .woocommerce .products .product.wc-seo-ghost {
  border: 1px solid var(--seo-border) !important;
  background: var(--seo-bg) !important;
}

.wc-seo-plugin-scope .wc-seo-ghost-card {
  padding: var(--seo-space-4);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--seo-space-3);
}

.wc-seo-plugin-scope .wc-seo-ghost-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--seo-space-1);
  background: var(--seo-primary-gradient);
  color: var(--seo-text-on-primary);
  font-size: var(--seo-font-size-xs);
  font-weight: var(--seo-font-weight-semibold);
  padding: var(--seo-space-1) var(--seo-space-3);
  border-radius: var(--seo-radius-full);
  margin-bottom: var(--seo-space-1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--seo-shadow-xs);
}

.wc-seo-plugin-scope .wc-seo-ghost-title {
  font-weight: var(--seo-font-weight-semibold);
  color: var(--seo-ink);
  font-size: var(--seo-font-size-md);
  margin: 0;
  word-break: break-word;
}

.wc-seo-plugin-scope .wc-seo-ghost-metrics {
  color: var(--seo-muted);
  font-size: var(--seo-font-size-sm);
  display: flex;
  align-items: center;
  gap: var(--seo-space-2);
  flex-wrap: wrap;
}

.wc-seo-plugin-scope .wc-seo-ghost-metrics strong {
  color: var(--seo-primary-dark);
  font-weight: var(--seo-font-weight-semibold);
  background: var(--seo-primary-subtle);
  padding: var(--seo-space-1) var(--seo-space-2);
  border-radius: var(--seo-radius-sm);
}

/* Progress indicator for probability */
.wc-seo-plugin-scope .wc-seo-ghost-progress {
  width: 100%;
  height: 4px;
  background: var(--seo-bg-tertiary);
  border-radius: var(--seo-radius-full);
  overflow: hidden;
  margin-top: var(--seo-space-2);
}

.wc-seo-plugin-scope .wc-seo-ghost-progress-bar {
  height: 100%;
  background: var(--seo-primary-gradient);
  border-radius: var(--seo-radius-full);
  transition: width var(--seo-transition-slow);
  box-shadow: 0 0 8px rgba(247, 169, 132, 0.4);
}

/* No-data marker */
.wc-seo-plugin-scope .wc-seo-ghost-nodata {
  color: var(--seo-error-dark);
  font-weight: var(--seo-font-weight-semibold);
  display: inline-flex;
  align-items: center;
  gap: var(--seo-space-1);
  padding: var(--seo-space-1) var(--seo-space-2);
  background: var(--seo-error-light);
  border-radius: var(--seo-radius-sm);
}

/* ===== Input Error Messages ===== */
.wc-seo-plugin-scope .wc-seo-input-error {
  display: block;
  margin-top: var(--seo-space-1);
  font-size: var(--seo-font-size-sm);
  color: var(--seo-error-dark);
  background: var(--seo-error-light);
  padding: var(--seo-space-2) var(--seo-space-3);
  border-radius: var(--seo-radius-sm);
  border-left: 3px solid var(--seo-error);
  animation: wcSeoHintIn var(--seo-transition-base);
}

/* Screen reader only text */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===== Skeleton Loading States ===== */
.wc-seo-plugin-scope .wc-seo-skeleton {
  background: linear-gradient(90deg, var(--seo-bg-secondary) 25%, var(--seo-bg-tertiary) 50%, var(--seo-bg-secondary) 75%);
  background-size: 200% 100%;
  animation: wcSeoSkeleton 1.5s ease-in-out infinite;
  border-radius: var(--seo-radius-sm);
}

@keyframes wcSeoSkeleton {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.wc-seo-plugin-scope .wc-seo-skeleton-text {
  height: 16px;
  margin: var(--seo-space-2) 0;
}

.wc-seo-plugin-scope .wc-seo-skeleton-text--short {
  width: 60%;
}

.wc-seo-plugin-scope .wc-seo-skeleton-text--long {
  width: 100%;
}

/* ===== Additional Protection from Theme Conflicts (Kitchor, Elementor) ===== */
/* Р В Р’В Р вЂ™Р’В Р В Р вЂ Р В РІР‚С™Р Р†Р вЂљРЎСљР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р вЂ™Р’В°Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В° Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћ Elementor - Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚СљР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРІР‚СњР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р В Р вЂ№Р В Р’В Р В РІР‚В°Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В·Р В Р’В Р В Р вЂ№Р В Р Р‹Р Р†Р вЂљРЎС™Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р Р‹Р вЂ™Р’В Р В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚СљР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎСљР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р Р†РІР‚С›РІР‚вЂњР В Р’В Р вЂ™Р’В Р В Р вЂ Р Р†Р вЂљРЎвЂєР Р†Р вЂљРІР‚Сљ reset Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В Р В Р’В Р вЂ™Р’В Р В Р Р‹Р вЂ™Р’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚СљР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС› all:unset */
.elementor-page .wc-seo-plugin-scope .wc-seo-serm-controls,
.elementor-page .wc-seo-plugin-scope .wc-seo-serm-form {
  /* Р В Р’В Р вЂ™Р’В Р В Р’В Р В РІР‚в„–Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎСљР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р Р†РІР‚С›РІР‚вЂњР В Р’В Р вЂ™Р’В Р В Р вЂ Р Р†Р вЂљРЎвЂєР Р†Р вЂљРІР‚Сљ reset Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р В Р вЂ№Р В Р’В Р В РІР‚В°Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎСљР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС› Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎСљР В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р В Р вЂ№Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р Р†РІР‚С›РІР‚вЂњР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р вЂ™Р’В¦ Р В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚СљР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В Р вЂ Р Р†Р вЂљРЎвЂєР Р†Р вЂљРІР‚СљР В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚СљР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В  */
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
  text-align: left !important;
  direction: ltr !important;
}

/* Р В Р’В Р вЂ™Р’В Р В Р Р‹Р РЋРЎСџР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРІР‚СњР В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В РЎС›Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р В Р вЂ№Р В Р’В Р В Р РЏР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р Р‹Р вЂ™Р’В Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРІР‚СњР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚СљР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’Вµ reset */
.elementor-page .wc-seo-plugin-scope .wc-seo-serm-controls {
  display: block !important;
  margin: var(--seo-space-6) 0 !important;
  padding: var(--seo-space-6) !important;
  border: 1px solid var(--seo-border) !important;
  background: linear-gradient(180deg, #fbfbfb 0%, #f5f7fb 100%) !important;
  border-radius: var(--seo-radius-lg) !important;
  box-shadow: var(--seo-shadow-md) !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.elementor-page .wc-seo-plugin-scope .wc-seo-serm-form {
  display: flex !important;
  gap: var(--seo-space-3) !important;
  align-items: flex-start !important;
  flex-wrap: wrap !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.elementor-page .wc-seo-plugin-scope .wc-seo-btn {
  /* Р В Р’В Р вЂ™Р’В Р В Р’В Р В РІР‚в„–Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎСљР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р Р†РІР‚С›РІР‚вЂњР В Р’В Р вЂ™Р’В Р В Р вЂ Р Р†Р вЂљРЎвЂєР Р†Р вЂљРІР‚Сљ reset Р В Р’В Р вЂ™Р’В Р В РЎС›Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р В Р вЂ№Р В Р’В Р В Р РЏ Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎСљР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРІР‚СњР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎСљ */
  margin: 0 !important;
  padding: var(--seo-space-3) var(--seo-space-5) !important;
  border: 1px solid var(--seo-primary) !important;
  border-radius: var(--seo-radius-md) !important;
  background: var(--seo-primary-gradient) !important;
  color: var(--seo-text-on-primary) !important;
  font-weight: var(--seo-font-weight-semibold) !important;
  font-size: var(--seo-font-size-base) !important;
  font-family: inherit !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  visibility: visible !important;
  opacity: 1 !important;
  transition: background var(--seo-transition-base), border-color var(--seo-transition-base), box-shadow var(--seo-transition-base), transform var(--seo-transition-base) !important;
}

.elementor-page .wc-seo-plugin-scope .wc-seo-btn:hover {
  background: var(--seo-primary-hover) !important;
  border-color: var(--seo-primary-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: var(--seo-shadow-md) !important;
  visibility: visible !important;
  opacity: 1 !important;
  display: inline-flex !important;
}

/* Р В Р’В Р вЂ™Р’В Р В Р вЂ Р В РІР‚С™Р Р†Р вЂљРЎСљР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р вЂ™Р’В°Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В° Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћ Kitchor theme */
.kitchor .wc-seo-plugin-scope .wc-seo-serm-controls,
.kitchor .wc-seo-plugin-scope .wc-seo-serm-form,
body.kitchor .wc-seo-plugin-scope .wc-seo-serm-controls,
body.kitchor .wc-seo-plugin-scope .wc-seo-serm-form {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Р В Р’В Р вЂ™Р’В Р В Р вЂ Р В РІР‚С™Р Р†Р вЂљРЎСљР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р вЂ™Р’В°Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В° Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћ Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В±Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р вЂ™Р’В°Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р вЂ™Р’В¦ Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРІР‚СњР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРІР‚СњР В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В РЎС›Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В Р вЂ Р Р†Р вЂљРЎвЂєР Р†Р вЂљРІР‚Сљ Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р Р‹Р вЂ™Р’В */
body .wc-seo-plugin-scope .wc-seo-serm-controls *,
body .wc-seo-plugin-scope .wc-seo-serm-form * {
  box-sizing: border-box !important;
}

/* Р В Р’В Р вЂ™Р’В Р В Р Р‹Р РЋРЎСџР В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В РЎС›Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В Р В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В°Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р вЂ™Р’В°Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’Вµ Р В Р’В Р В Р вЂ№Р В Р’В Р РЋРІР‚СљР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎСљР В Р’В Р В Р вЂ№Р В Р’В Р Р†Р вЂљРЎв„ўР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р Р†РІР‚С›РІР‚вЂњР В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљР’ВР В Р’В Р В Р вЂ№Р В Р’В Р В Р РЏ Р В Р’В Р В Р вЂ№Р В Р’В Р В Р вЂ°Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’В»Р В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р Р‹Р вЂ™Р’ВР В Р’В Р вЂ™Р’В Р В РІР‚в„ўР вЂ™Р’ВµР В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В¦Р В Р’В Р В Р вЂ№Р В Р вЂ Р В РІР‚С™Р РЋРІвЂћСћР В Р’В Р вЂ™Р’В Р В Р Р‹Р Р†Р вЂљРЎС›Р В Р’В Р вЂ™Р’В Р В Р’В Р Р†Р вЂљР’В  - Maximum Protection */
body .wc-seo-plugin-scope .wc-seo-serm-controls,
body .wc-seo-plugin-scope .wc-seo-serm-form,
body .wc-seo-plugin-scope .wc-seo-btn,
body .wc-seo-plugin-scope .wc-seo-group,
body .wc-seo-plugin-scope .wc-seo-serm-form input,
body .wc-seo-plugin-scope .wc-seo-serm-form select,
body .wc-seo-plugin-scope .wc-seo-serm-form label,
body .wc-seo-plugin-scope .wc-seo-serm-form button {
  visibility: visible !important;
  opacity: 1 !important;
}

body .wc-seo-plugin-scope .wc-seo-serm-controls {
  display: block !important;
}

body .wc-seo-plugin-scope .wc-seo-serm-form {
  display: flex !important;
}

body .wc-seo-plugin-scope .wc-seo-btn {
  display: inline-flex !important;
}

body .wc-seo-plugin-scope .wc-seo-group {
  display: flex !important;
}

body .wc-seo-plugin-scope .wc-seo-serm-form input,
body .wc-seo-plugin-scope .wc-seo-serm-form select {
  display: inline-block !important;
}

body .wc-seo-plugin-scope .wc-seo-serm-form label {
  display: inline-block !important;
}

body .wc-seo-plugin-scope .wc-seo-serm-form button {
  display: inline-flex !important;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .wc-seo-plugin-scope .wc-seo-serm-form,
  body .wc-seo-plugin-scope .wc-seo-serm-form,
  .woocommerce .wc-seo-plugin-scope .wc-seo-serm-form {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: var(--seo-space-4) !important;
  }
  
  .wc-seo-plugin-scope .wc-seo-group,
  body .wc-seo-plugin-scope .wc-seo-group,
  .woocommerce .wc-seo-plugin-scope .wc-seo-group {
    width: 100% !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: var(--seo-space-2) !important;
  }
  
  .wc-seo-plugin-scope .wc-seo-serm-form input[type="text"],
  .wc-seo-plugin-scope .wc-seo-serm-form input[type="url"],
  .wc-seo-plugin-scope .wc-seo-serm-form input[type="number"],
  .wc-seo-plugin-scope .wc-seo-serm-form select,
  body .wc-seo-plugin-scope .wc-seo-serm-form input[type="text"],
  body .wc-seo-plugin-scope .wc-seo-serm-form input[type="url"],
  body .wc-seo-plugin-scope .wc-seo-serm-form input[type="number"],
  body .wc-seo-plugin-scope .wc-seo-serm-form select {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  
  .wc-seo-plugin-scope .wc-seo-serm-inline-url,
  .wc-seo-plugin-scope .wc-seo-serm-inline-wrapper,
  body .wc-seo-plugin-scope .wc-seo-serm-inline-url,
  body .wc-seo-plugin-scope .wc-seo-serm-inline-wrapper {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: var(--seo-space-2) !important;
    width: 100% !important;
    margin: 0 0 var(--seo-space-4) 0 !important;
  }
  
  .wc-seo-plugin-scope .wc-seo-serm-inline-input,
  .wc-seo-plugin-scope .wc-seo-serm-inline-url input[type="text"],
  .wc-seo-plugin-scope .wc-seo-serm-inline-url input[type="url"],
  body .wc-seo-plugin-scope .wc-seo-serm-inline-input,
  body .wc-seo-plugin-scope .wc-seo-serm-inline-url input[type="text"],
  body .wc-seo-plugin-scope .wc-seo-serm-inline-url input[type="url"] {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  
  .wc-seo-plugin-scope .wc-seo-btn,
  body .wc-seo-plugin-scope .wc-seo-btn,
  .woocommerce .wc-seo-plugin-scope .wc-seo-btn {
    width: 100% !important;
    justify-content: center !important;
  }
  
  .wc-seo-plugin-scope .wc-seo-serm-topbar__container,
  body .wc-seo-plugin-scope .wc-seo-serm-topbar__container {
    flex-direction: column !important;
  }

  .wc-seo-plugin-scope .wc-seo-serm-topbar__input,
  body .wc-seo-plugin-scope .wc-seo-serm-topbar__input {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .wc-seo-plugin-scope .wc-seo-serm-topbar__form,
  body .wc-seo-plugin-scope .wc-seo-serm-topbar__form {
    flex: 1 1 auto !important;
  }
  
  .wc-seo-plugin-scope .woocommerce-seo-tab {
    padding: var(--seo-space-4) !important;
  }
  
  .wc-seo-plugin-scope .woocommerce .wc-seo-shop-table th,
  .wc-seo-plugin-scope .woocommerce .wc-seo-shop-table td {
    padding: var(--seo-space-3) var(--seo-space-4) !important;
    font-size: var(--seo-font-size-sm) !important;
  }
}

@media (max-width: 480px) {
  .wc-seo-plugin-scope .wc-seo-inline-metrics {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .wc-seo-plugin-scope .wc-seo-inline-metrics > span {
    width: 100%;
  }
}

/* ===== Print Styles ===== */
@media print {
  .wc-seo-plugin-scope .wc-seo-serm-controls,
  .wc-seo-plugin-scope .wc-seo-serm-inline-url,
  .wc-seo-plugin-scope .wc-seo-btn {
    display: none;
  }
  
  .wc-seo-plugin-scope .woocommerce-seo-tab {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* ===== High Contrast Mode Support ===== */
@media (prefers-contrast: high) {
  .wc-seo-plugin-scope .woocommerce-seo-tab {
    border-width: 2px;
  }
  
  .wc-seo-plugin-scope .wc-seo-btn {
    border-width: 2px;
  }
}

/* ===== Reduced Motion Support ===== */
@media (prefers-reduced-motion: reduce) {
  .wc-seo-plugin-scope *,
  .wc-seo-plugin-scope *::before,
  .wc-seo-plugin-scope *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .wc-seo-loader-spinner {
    animation-duration: 1s !important;
    animation-iteration-count: infinite !important;
    animation-play-state: running !important;
  }

  .wc-seo-loader-bar__fill {
    transition-duration: var(--seo-transition-slow) !important;
  }
}

/* ===== My Account SEO History ===== */
.wc-seo-history-desc {
  color: var(--seo-muted);
  margin-bottom: var(--seo-space-4);
}

.wc-seo-history-table {
  width: 100%;
  margin-top: var(--seo-space-4);
}

.wc-seo-history-table th,
.wc-seo-history-table td {
  padding: var(--seo-space-3) var(--seo-space-4);
  text-align: left;
  vertical-align: middle;
}

.wc-seo-history-table th {
  background: var(--seo-bg-secondary);
  font-weight: var(--seo-font-weight-semibold);
  color: var(--seo-ink);
  border-bottom: 2px solid var(--seo-border);
}

.wc-seo-history-table td {
  border-bottom: 1px solid var(--seo-border-light);
}

.wc-seo-history-table tr:hover td {
  background: var(--seo-bg-secondary);
}

.wc-seo-url-cell {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wc-seo-feedback-btn {
  padding: var(--seo-space-2) var(--seo-space-3);
  font-size: var(--seo-font-size-sm);
  background: var(--seo-primary);
  color: var(--seo-text-on-primary);
  border: 1px solid var(--seo-primary);
  border-radius: var(--seo-radius-md);
  cursor: pointer;
  transition: all var(--seo-transition-base);
}

.wc-seo-feedback-btn:hover {
  background: var(--seo-primary-dark);
  border-color: var(--seo-primary-dark);
}

/* ===== Feedback Modal ===== */
.wc-seo-history-action {
  min-width: 220px;
}

.wc-seo-history-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: var(--seo-space-2) !important;
}

.wc-seo-history-actions .wc-seo-btn,
.wc-seo-history-actions .wc-seo-feedback-sent {
  margin: 0 !important;
}

.wc-seo-history-actions .wc-seo-history-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.wc-seo-feedback-sent {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 40px;
  color: var(--seo-muted);
  font-size: var(--seo-font-size-sm);
}

@media (max-width: 767px) {
  .wc-seo-history-action {
    min-width: 0 !important;
  }

  .wc-seo-history-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .wc-seo-history-actions .wc-seo-btn,
  .wc-seo-history-actions .wc-seo-feedback-sent,
  .wc-seo-history-actions .wc-seo-history-link {
    width: 100% !important;
  }
}
.wc-seo-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--seo-z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wc-seo-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: blur(3px);
  z-index: 0;
}

.wc-seo-modal-content {
  position: relative;
  background: var(--seo-bg);
  border-radius: var(--seo-radius-lg);
  padding: var(--seo-space-6);
  max-width: 480px;
  width: 90%;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  animation: wcSeoModalIn 0.3s ease;
  z-index: 1;
  box-sizing: border-box;
}

@keyframes wcSeoModalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.wc-seo-modal-close {
  position: absolute;
  top: var(--seo-space-3);
  right: var(--seo-space-3);
  width: 32px;
  height: 32px;
  border: none;
  background: var(--seo-bg-secondary);
  color: var(--seo-muted);
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--seo-transition-base);
  padding: 0 !important;
  line-height: 1 !important;
  pointer-events: auto !important;
  z-index: 2;
}

.wc-seo-modal-close:hover {
  background: var(--seo-error-light);
  color: var(--seo-error);
}

.wc-seo-modal-content h3 {
  margin: 0 0 var(--seo-space-2) 0;
  font-size: var(--seo-font-size-lg);
  color: var(--seo-ink);
}

.wc-seo-modal-content p {
  margin: 0 0 var(--seo-space-4) 0;
  color: var(--seo-muted);
}

.wc-seo-feedback-options {
  display: flex;
  gap: var(--seo-space-3);
  margin-bottom: var(--seo-space-4);
}

.wc-seo-feedback-option {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--seo-space-4);
  border: 2px solid var(--seo-border);
  border-radius: var(--seo-radius-md);
  cursor: pointer;
  transition: all var(--seo-transition-base);
  text-align: center;
  position: relative;
}

.wc-seo-feedback-option:hover {
  border-color: var(--seo-primary);
  background: var(--seo-primary-subtle);
}

.wc-seo-feedback-option input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  pointer-events: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
}

.wc-seo-feedback-option.is-selected {
  border-color: var(--seo-primary);
  background: var(--seo-primary-subtle);
}

.wc-seo-feedback-option input[type="radio"]:checked + .wc-seo-feedback-option__label .wc-seo-feedback-option__text {
  color: var(--seo-primary-dark);
  font-weight: var(--seo-font-weight-semibold);
}

.wc-seo-feedback-option__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--seo-space-2);
  font-size: var(--seo-font-size-base);
  color: var(--seo-ink);
  line-height: 1.3;
}

.wc-seo-feedback-option__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--seo-radius-full);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  background-color: var(--seo-bg-secondary);
  border: 1px solid var(--seo-border);
  flex-shrink: 0;
}

.wc-seo-feedback-option__icon--win {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.wc-seo-feedback-option__icon--loss {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='M6 6l12 12'/%3E%3C/svg%3E");
}

.wc-seo-feedback-option__text {
  display: block;
}

.wc-seo-plugin-scope .wc-seo-history-table .wc-seo-btn {
  min-height: 32px !important;
  padding: 6px 12px !important;
  line-height: 1.2 !important;
}

.wc-seo-plugin-scope .wc-seo-feedback-actions .wc-seo-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 8px 16px !important;
  line-height: 1.2 !important;
}

.wc-seo-feedback-proof {
  display: flex;
  flex-direction: column;
  gap: var(--seo-space-1);
  margin-bottom: var(--seo-space-4);
}

.wc-seo-feedback-proof label {
  display: block;
  margin: 0;
  font-size: var(--seo-font-size-sm);
  color: var(--seo-muted);
  line-height: 1.3;
}

.wc-seo-feedback-proof input[type="url"] {
  width: 100%;
  padding: var(--seo-space-3);
  border: 1px solid var(--seo-border);
  border-radius: var(--seo-radius-md);
  font-size: var(--seo-font-size-base);
  transition: border-color var(--seo-transition-base), box-shadow var(--seo-transition-base);
  margin: 0;
  min-height: 40px;
  box-sizing: border-box;
}

.wc-seo-feedback-proof input[type="url"]:focus {
  outline: none;
  border-color: var(--seo-primary);
  box-shadow: 0 0 0 3px var(--seo-focus-ring);
}

.wc-seo-feedback-actions {
  display: flex;
  gap: var(--seo-space-2);
  justify-content: flex-end;
  flex-wrap: wrap;
}

.wc-seo-modal .wc-seo-feedback-proof {
  gap: var(--seo-space-2) !important;
}

.wc-seo-modal .wc-seo-feedback-proof label {
  margin: 0 0 var(--seo-space-1) 0 !important;
  padding: 0 !important;
}

.wc-seo-modal .wc-seo-feedback-proof input[type="url"] {
  margin: 0 !important;
  min-height: 44px !important;
}

.wc-seo-modal .wc-seo-feedback-actions .wc-seo-btn {
  min-height: 44px !important;
  padding: 10px 18px !important;
  line-height: 1.2 !important;
}

.wc-seo-feedback-actions .button {
  padding: var(--seo-space-3) var(--seo-space-5);
  border-radius: var(--seo-radius-md);
  font-size: var(--seo-font-size-base);
  cursor: pointer;
  transition: all var(--seo-transition-base);
}

.wc-seo-feedback-actions .button-primary {
  background: var(--seo-primary);
  color: var(--seo-text-on-primary);
  border: 1px solid var(--seo-primary);
}

.wc-seo-feedback-actions .button-primary:hover {
  background: var(--seo-primary-dark);
  border-color: var(--seo-primary-dark);
}

.wc-seo-feedback-actions .wc-seo-modal-cancel {
  background: var(--seo-bg);
  color: var(--seo-ink);
  border: 1px solid var(--seo-border);
}

.wc-seo-feedback-actions .wc-seo-modal-cancel:hover {
  background: var(--seo-bg-secondary);
  border-color: var(--seo-border-dark);
}


/* ===== FIX 3.1: ML Confidence Badge ===== */
.wc-seo-ml-confidence {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #6c757d;
}

.wc-seo-ml-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
}

.wc-seo-ml-badge--learning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.wc-seo-ml-badge--high {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wc-seo-ml-badge--medium {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.wc-seo-ml-badge--low {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wc-seo-ml-hint {
    margin: 8px 0 0 0;
    font-size: 13px;
    color: #6c757d;
    line-height: 1.5;
}

/* ===== FIX 3.2: Demo Mode Badge ===== */
.wc-seo-demo-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    animation: demo-badge-pulse 2s ease-in-out infinite;
}

@keyframes demo-badge-pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5);
    }
}

.wc-seo-demo-badge__icon {
    font-size: 28px;
    line-height: 1;
    animation: demo-icon-rotate 3s ease-in-out infinite;
}

@keyframes demo-icon-rotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

.wc-seo-demo-badge__text {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.wc-seo-demo-badge__hint {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 400;
    margin-left: auto;
}

/* ===== FIX 2.1: Cancel Button in Loader ===== */
.wc-seo-cancel-btn {
    margin-top: 16px;
    padding: 10px 20px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wc-seo-cancel-btn:hover {
    background: rgba(220, 38, 38, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.wc-seo-cancel-btn:active {
    transform: translateY(0);
}

/* ===== FIX 2.2: Share Button ===== */
.wc-seo-btn--share {
    margin-top: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wc-seo-btn--share:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

/* Demo result polish */
.wc-seo-plugin-scope .wc-seo-serm-form[data-serm-demo="1"],
body .wc-seo-plugin-scope .wc-seo-serm-form[data-serm-demo="1"],
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-form[data-serm-demo="1"] {
    padding-top: 0 !important;
}

.wc-seo-plugin-scope .wc-seo-demo-badge,
body .wc-seo-plugin-scope .wc-seo-demo-badge,
.woocommerce .wc-seo-plugin-scope .wc-seo-demo-badge {
    position: absolute !important;
    top: -2px !important;
    right: 0 !important;
    width: auto !important;
    min-height: 0 !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 5px 10px !important;
    border: 1px solid rgba(247, 169, 132, 0.34) !important;
    border-radius: 999px !important;
    background: rgba(247, 169, 132, 0.12) !important;
    color: #b15f38 !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.wc-seo-plugin-scope .wc-seo-demo-badge__text,
body .wc-seo-plugin-scope .wc-seo-demo-badge__text,
.woocommerce .wc-seo-plugin-scope .wc-seo-demo-badge__text {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: 1 !important;
}

.wc-seo-plugin-scope .wc-seo-serm-demo-btn,
body .wc-seo-plugin-scope .wc-seo-serm-demo-btn,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-demo-btn {
    min-width: 0 !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 14px !important;
    gap: 8px !important;
    border: 1px solid rgba(247, 169, 132, 0.35) !important;
    border-radius: 999px !important;
    background: rgba(247, 169, 132, 0.12) !important;
    color: #a95632 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

.wc-seo-plugin-scope .wc-seo-serm-demo-btn::before,
body .wc-seo-plugin-scope .wc-seo-serm-demo-btn::before,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-demo-btn::before {
    content: "" !important;
    display: block !important;
    width: 0 !important;
    height: 0 !important;
    border-top: 5px solid transparent !important;
    border-bottom: 5px solid transparent !important;
    border-left: 7px solid currentColor !important;
    border-radius: 0 !important;
    background: transparent !important;
    opacity: 0.78 !important;
    position: static !important;
    transform: none !important;
}

.wc-seo-plugin-scope .wc-seo-serm-demo-btn:hover,
body .wc-seo-plugin-scope .wc-seo-serm-demo-btn:hover,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-demo-btn:hover {
    background: rgba(247, 169, 132, 0.2) !important;
    border-color: rgba(247, 169, 132, 0.48) !important;
    color: #8e4525 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 18px rgba(247, 169, 132, 0.16) !important;
}

/* Final archive action palette: keep this after every legacy demo override. */
:root {
    --seo-primary: var(--e-global-color-primary, #f7a984);
    --seo-ink: var(--e-global-color-accent, #30373e);
    --seo-muted: #5b6470;
    --seo-line: rgba(48, 55, 62, 0.12);
    --seo-surface: #ffffff;
}

.wc-seo-serm-topbar__form .wc-seo-btn,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-btn {
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 8px !important;
    padding: 0 18px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

.wc-seo-serm-topbar__form .wc-seo-btn--primary,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-btn--primary {
    background: linear-gradient(135deg, var(--seo-primary) 0%, color-mix(in srgb, var(--seo-primary), #fff 28%) 100%) !important;
    border-color: var(--seo-primary) !important;
    color: #fff !important;
}

.wc-seo-serm-topbar__form .wc-seo-btn--primary:hover,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-btn--primary:hover {
    background: color-mix(in srgb, var(--seo-primary), #fff 12%) !important;
    border-color: color-mix(in srgb, var(--seo-primary), #fff 12%) !important;
    color: var(--seo-ink) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 10px 22px rgba(247, 169, 132, 0.24) !important;
}

.wc-seo-serm-topbar__form .wc-seo-share-btn,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-share-btn {
    background: var(--seo-surface) !important;
    border: 1px solid var(--seo-line) !important;
    color: var(--seo-ink) !important;
}

.wc-seo-serm-topbar__form .wc-seo-share-btn:hover,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-share-btn:hover {
    background: #fafafa !important;
    border-color: rgba(48, 55, 62, 0.22) !important;
    color: var(--seo-ink) !important;
    transform: translateY(-1px) !important;
}

.wc-seo-serm-topbar__form .wc-seo-serm-demo-btn,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-serm-demo-btn,
.wc-seo-plugin-scope .wc-seo-serm-demo-btn,
body .wc-seo-plugin-scope .wc-seo-serm-demo-btn,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-demo-btn {
    background: color-mix(in srgb, var(--seo-primary), #fff 82%) !important;
    border: 1px solid color-mix(in srgb, var(--seo-primary), #fff 34%) !important;
    color: var(--seo-ink) !important;
    border-radius: 8px !important;
}

.wc-seo-serm-topbar__form .wc-seo-serm-demo-btn:hover,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-serm-demo-btn:hover,
.wc-seo-plugin-scope .wc-seo-serm-demo-btn:hover,
body .wc-seo-plugin-scope .wc-seo-serm-demo-btn:hover,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-demo-btn:hover {
    background: color-mix(in srgb, var(--seo-primary), #fff 72%) !important;
    border-color: color-mix(in srgb, var(--seo-primary), #fff 22%) !important;
    color: var(--seo-ink) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 18px rgba(247, 169, 132, 0.16) !important;
}

.wc-seo-plugin-scope .wc-seo-demo-badge,
body .wc-seo-plugin-scope .wc-seo-demo-badge,
.woocommerce .wc-seo-plugin-scope .wc-seo-demo-badge {
    top: -2px !important;
    right: 0 !important;
    height: 30px !important;
    min-height: 0 !important;
    padding: 5px 10px !important;
    border: 1px solid color-mix(in srgb, var(--seo-primary), #fff 22%) !important;
    border-radius: 999px !important;
    background: var(--seo-primary) !important;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(247, 169, 132, 0.18) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
}

.wc-seo-order-switcher__btn.is-active,
.gridlist-toggle a.active {
    background: var(--seo-primary) !important;
    border-color: var(--seo-primary) !important;
    color: #fff !important;
}

.wc-seo-order-switcher__btn:hover,
.gridlist-toggle a:hover {
    color: var(--seo-ink) !important;
}

.gridlist-toggle.wc-seo-control-duplicate {
    display: none !important;
}

/* Absolute final palette guard: this must stay after legacy action overrides. */
.wc-seo-serm-topbar__form .wc-seo-btn--primary,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-btn--primary,
.wc-seo-serm-topbar__form .wc-seo-btn--primary:hover,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-btn--primary:hover,
.wc-seo-plugin-scope .wc-seo-demo-badge,
body .wc-seo-plugin-scope .wc-seo-demo-badge,
.woocommerce .wc-seo-plugin-scope .wc-seo-demo-badge,
.wc-seo-order-switcher__btn.is-active,
.gridlist-toggle a.active {
    color: #fff !important;
}

.wc-seo-serm-topbar__form .wc-seo-serm-demo-btn,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-serm-demo-btn,
.wc-seo-plugin-scope .wc-seo-serm-demo-btn,
body .wc-seo-plugin-scope .wc-seo-serm-demo-btn,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-demo-btn {
    color: #a95632 !important;
}

.wc-seo-serm-topbar__form .wc-seo-serm-demo-btn:hover,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-serm-demo-btn:hover,
.wc-seo-plugin-scope .wc-seo-serm-demo-btn:hover,
body .wc-seo-plugin-scope .wc-seo-serm-demo-btn:hover,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-demo-btn:hover {
    color: #8e4525 !important;
}

.wc-seo-serm-topbar__form .wc-seo-btn--primary[class*="pur-processed"] {
    background: linear-gradient(135deg, var(--seo-primary) 0%, color-mix(in srgb, var(--seo-primary), #fff 28%) 100%) !important;
    border-color: var(--seo-primary) !important;
    color: #fff !important;
}

/* Final archive action palette: primary color from the active theme, neutral ink for contrast. */
:root {
    --seo-primary: var(--e-global-color-primary, #f7a984);
    --seo-ink: var(--e-global-color-accent, #30373e);
    --seo-muted: #5b6470;
    --seo-line: rgba(48, 55, 62, 0.12);
    --seo-surface: #ffffff;
}

.wc-seo-serm-topbar__form .wc-seo-btn,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-btn {
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 8px !important;
    padding: 0 18px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

.wc-seo-serm-topbar__form .wc-seo-btn--primary,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-btn--primary {
    background: var(--seo-primary) !important;
    border-color: var(--seo-primary) !important;
    color: #fff !important;
}

.wc-seo-serm-topbar__form .wc-seo-btn--primary:hover,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-btn--primary:hover {
    background: color-mix(in srgb, var(--seo-primary), #fff 12%) !important;
    border-color: color-mix(in srgb, var(--seo-primary), #fff 12%) !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 10px 22px rgba(247, 169, 132, 0.24) !important;
}

.wc-seo-serm-topbar__form .wc-seo-share-btn,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-share-btn {
    background: var(--seo-surface) !important;
    border: 1px solid var(--seo-line) !important;
    color: var(--seo-ink) !important;
}

.wc-seo-serm-topbar__form .wc-seo-share-btn:hover,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-share-btn:hover {
    background: #fafafa !important;
    border-color: rgba(48, 55, 62, 0.22) !important;
    color: var(--seo-ink) !important;
    transform: translateY(-1px) !important;
}

.wc-seo-serm-topbar__form .wc-seo-serm-demo-btn,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-serm-demo-btn,
.wc-seo-plugin-scope .wc-seo-serm-demo-btn,
body .wc-seo-plugin-scope .wc-seo-serm-demo-btn,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-demo-btn {
    background: color-mix(in srgb, var(--seo-primary), #fff 82%) !important;
    border: 1px solid color-mix(in srgb, var(--seo-primary), #fff 34%) !important;
    color: #a95632 !important;
    border-radius: 8px !important;
}

.wc-seo-serm-topbar__form .wc-seo-serm-demo-btn:hover,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-serm-demo-btn:hover,
.wc-seo-plugin-scope .wc-seo-serm-demo-btn:hover,
body .wc-seo-plugin-scope .wc-seo-serm-demo-btn:hover,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-demo-btn:hover {
    background: color-mix(in srgb, var(--seo-primary), #fff 72%) !important;
    border-color: color-mix(in srgb, var(--seo-primary), #fff 22%) !important;
    color: #8e4525 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 18px rgba(247, 169, 132, 0.16) !important;
}

.wc-seo-plugin-scope .wc-seo-demo-badge,
body .wc-seo-plugin-scope .wc-seo-demo-badge,
.woocommerce .wc-seo-plugin-scope .wc-seo-demo-badge {
    top: -2px !important;
    right: 0 !important;
    height: 30px !important;
    min-height: 0 !important;
    padding: 5px 10px !important;
    border: 1px solid color-mix(in srgb, var(--seo-primary), #fff 22%) !important;
    border-radius: 999px !important;
    background: var(--seo-primary) !important;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(247, 169, 132, 0.18) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
}

.wc-seo-order-switcher__btn.is-active,
.gridlist-toggle a.active {
    background: var(--seo-primary) !important;
    border-color: var(--seo-primary) !important;
    color: #fff !important;
}

.wc-seo-order-switcher__btn:hover,
.gridlist-toggle a:hover {
    color: var(--seo-ink) !important;
}

.gridlist-toggle.wc-seo-control-duplicate {
    display: none !important;
}

/* Marketplace UI refinement: action buttons, demo state and catalog toggles. */
:root {
    --seo-action: var(--e-global-color-accent, #30373e);
    --seo-action-hover: color-mix(in srgb, var(--seo-action), #fff 10%);
    --seo-action-muted: color-mix(in srgb, var(--seo-action), #fff 86%);
    --seo-action-border: color-mix(in srgb, var(--seo-action), #fff 78%);
}

.wc-seo-plugin-scope .wc-seo-serm-form,
body .wc-seo-plugin-scope .wc-seo-serm-form {
    position: relative !important;
}

.wc-seo-plugin-scope .wc-seo-demo-badge,
body .wc-seo-plugin-scope .wc-seo-demo-badge,
.woocommerce .wc-seo-plugin-scope .wc-seo-demo-badge {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 3 !important;
    width: auto !important;
    min-width: 0 !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 11px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--seo-action) !important;
    color: #fff !important;
    border: 1px solid var(--seo-action) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 18px rgba(48, 55, 62, 0.14) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-transform: none !important;
}

.wc-seo-plugin-scope .wc-seo-demo-badge__text,
body .wc-seo-plugin-scope .wc-seo-demo-badge__text,
.woocommerce .wc-seo-plugin-scope .wc-seo-demo-badge__text {
    color: inherit !important;
    font: inherit !important;
}

.wc-seo-plugin-scope .wc-seo-serm-actions,
body .wc-seo-plugin-scope .wc-seo-serm-actions,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-actions {
    display: grid !important;
    grid-template-columns: minmax(152px, 1fr) minmax(118px, max-content) minmax(84px, max-content) !important;
    gap: 8px !important;
    align-items: stretch !important;
    width: 100% !important;
}

.wc-seo-plugin-scope .wc-seo-serm-actions .wc-seo-btn,
body .wc-seo-plugin-scope .wc-seo-serm-actions .wc-seo-btn,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-actions .wc-seo-btn {
    min-height: 44px !important;
    height: 44px !important;
    border-radius: 8px !important;
    padding: 0 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    transform: none !important;
}

.wc-seo-plugin-scope .wc-seo-serm-actions .wc-seo-btn--primary,
body .wc-seo-plugin-scope .wc-seo-serm-actions .wc-seo-btn--primary,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-actions .wc-seo-btn--primary {
    background: linear-gradient(135deg, var(--seo-primary) 0%, color-mix(in srgb, var(--seo-primary), #fff 28%) 100%) !important;
    border-color: var(--seo-primary) !important;
    color: #fff !important;
}

.wc-seo-plugin-scope .wc-seo-serm-actions .wc-seo-btn--primary:hover,
body .wc-seo-plugin-scope .wc-seo-serm-actions .wc-seo-btn--primary:hover,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-actions .wc-seo-btn--primary:hover {
    background: color-mix(in srgb, var(--seo-primary), #fff 12%) !important;
    border-color: color-mix(in srgb, var(--seo-primary), #fff 12%) !important;
}

.wc-seo-plugin-scope .wc-seo-serm-actions .wc-seo-btn--share,
body .wc-seo-plugin-scope .wc-seo-serm-actions .wc-seo-btn--share,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-actions .wc-seo-btn--share {
    background: #fff !important;
    border: 1px solid var(--seo-action-border) !important;
    color: var(--seo-action) !important;
}

.wc-seo-plugin-scope .wc-seo-serm-actions .wc-seo-btn--share:hover,
body .wc-seo-plugin-scope .wc-seo-serm-actions .wc-seo-btn--share:hover,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-actions .wc-seo-btn--share:hover {
    background: var(--seo-action-muted) !important;
    border-color: color-mix(in srgb, var(--seo-action), #fff 62%) !important;
}

.wc-seo-plugin-scope .wc-seo-serm-demo-btn,
body .wc-seo-plugin-scope .wc-seo-serm-demo-btn,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-demo-btn {
    background: color-mix(in srgb, var(--seo-primary), #fff 82%) !important;
    border: 1px solid color-mix(in srgb, var(--seo-primary), #fff 38%) !important;
    color: var(--seo-action) !important;
}

.wc-seo-plugin-scope .wc-seo-serm-demo-btn:hover,
body .wc-seo-plugin-scope .wc-seo-serm-demo-btn:hover,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-demo-btn:hover {
    background: color-mix(in srgb, var(--seo-primary), #fff 72%) !important;
    border-color: color-mix(in srgb, var(--seo-primary), #fff 24%) !important;
    color: var(--seo-action) !important;
    transform: none !important;
    box-shadow: none !important;
}

.wc-seo-plugin-scope .wc-seo-serm-demo-btn::before,
body .wc-seo-plugin-scope .wc-seo-serm-demo-btn::before,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-demo-btn::before {
    opacity: 0.78 !important;
}

.wc-seo-order-switcher {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 4px !important;
    background: #f4f6f8 !important;
    border: 1px solid #e2e6ea !important;
    border-radius: 10px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

.wc-seo-order-switcher__buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4px !important;
}

.wc-seo-order-switcher__btn {
    min-width: 136px !important;
    height: 40px !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #5b6470 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease !important;
}

.wc-seo-order-switcher__btn:hover {
    background: #fff !important;
    color: var(--seo-action) !important;
}

.wc-seo-order-switcher__btn.is-active {
    background: var(--seo-action) !important;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(48, 55, 62, 0.16) !important;
}

.wc-seo-shop-topbar .gridlist-toggle {
    display: inline-flex !important;
    gap: 4px !important;
    padding: 4px !important;
    background: #f4f6f8 !important;
    border: 1px solid #e2e6ea !important;
    border-radius: 10px !important;
}

.wc-seo-shop-topbar .gridlist-toggle.wc-seo-control-duplicate {
    display: none !important;
}

.wc-seo-shop-topbar .gridlist-toggle a {
    width: 38px !important;
    height: 38px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #5b6470 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
}

.wc-seo-shop-topbar .gridlist-toggle a:hover {
    background: #fff !important;
    color: var(--seo-action) !important;
}

.wc-seo-shop-topbar .gridlist-toggle a.active {
    background: var(--seo-action) !important;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(48, 55, 62, 0.16) !important;
}

@media (max-width: 767px) {
    .wc-seo-plugin-scope .wc-seo-serm-actions,
    body .wc-seo-plugin-scope .wc-seo-serm-actions,
    .woocommerce .wc-seo-plugin-scope .wc-seo-serm-actions {
        grid-template-columns: 1fr !important;
    }

    .wc-seo-order-switcher,
    .wc-seo-order-switcher__buttons {
        width: 100% !important;
    }

    .wc-seo-order-switcher__btn {
        min-width: 0 !important;
    }
}

/* Unscoped Woo archive controls rendered by the theme. */
.wc-seo-serm-topbar__form .wc-seo-serm-actions,
.wc-seo-serm-topbar__form .wc-seo-field__inline {
    display: grid !important;
    grid-template-columns: minmax(152px, 1fr) minmax(84px, max-content) !important;
    gap: 8px !important;
    align-items: stretch !important;
}

.wc-seo-serm-topbar__form .wc-seo-btn,
.wc-seo-serm-topbar__form .wc-seo-btn.pur-processed-wf3c1cgg,
.wc-seo-serm-topbar__form .wc-seo-btn[class*="pur-processed"] {
    min-height: 44px !important;
    height: 44px !important;
    border-radius: 8px !important;
    padding: 0 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    transform: none !important;
}

.wc-seo-serm-topbar__form .wc-seo-btn--primary,
.wc-seo-serm-topbar__form .wc-seo-btn--primary[class*="pur-processed"] {
    background: linear-gradient(135deg, var(--seo-primary) 0%, color-mix(in srgb, var(--seo-primary), #fff 28%) 100%) !important;
    border-color: var(--seo-primary) !important;
    color: #fff !important;
}

.wc-seo-serm-topbar__form .wc-seo-serm-demo-btn {
    background: color-mix(in srgb, var(--seo-primary), #fff 82%) !important;
    border: 1px solid color-mix(in srgb, var(--seo-primary), #fff 38%) !important;
    color: var(--seo-action) !important;
}

.gridlist-toggle.wc-seo-control-duplicate {
    display: none !important;
}

.wc-seo-plugin-scope .wc-seo-serm-actions,
body .wc-seo-plugin-scope .wc-seo-serm-actions,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-actions {
    align-items: center !important;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    .wc-seo-demo-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .wc-seo-demo-badge__hint {
        margin-left: 0;
    }
    
    .wc-seo-ml-confidence {
        padding: 12px;
    }
}

/* ===== Loading States ===== */
.wc-seo-ml-confidence.loading {
    opacity: 0.6;
    pointer-events: none;
}

.wc-seo-ml-confidence.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== Accessibility Improvements ===== */
.wc-seo-ml-badge:focus,
.wc-seo-demo-badge:focus {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .wc-seo-ml-badge,
    .wc-seo-demo-badge {
        border-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .wc-seo-demo-badge,
    .wc-seo-demo-badge__icon {
        animation: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .wc-seo-ml-confidence {
        background: #2d3748;
        border-left-color: #4a5568;
    }
    
    .wc-seo-ml-hint {
        color: #a0aec0;
    }
    
    .wc-seo-ml-badge--learning {
        background: #744210;
        color: #fef3c7;
    }
    
    .wc-seo-ml-badge--high {
        background: #065f46;
        color: #d1fae5;
    }
    
    .wc-seo-ml-badge--medium {
        background: #155e75;
        color: #cffafe;
    }
    
    .wc-seo-ml-badge--low {
        background: #7f1d1d;
        color: #fecaca;
    }
}

/* ===== Print Styles ===== */
@media print {
    .wc-seo-demo-badge {
        background: #fff;
        color: #000;
        border: 2px solid #000;
        box-shadow: none;
    }
    
    .wc-seo-demo-badge__icon {
        display: none;
    }
    
    .wc-seo-cancel-btn,
    .wc-seo-btn--share {
        display: none;
    }
}

/* Final demo UI overrides: keep these after legacy responsive blocks. */
.wc-seo-plugin-scope .wc-seo-demo-badge,
body .wc-seo-plugin-scope .wc-seo-demo-badge,
.woocommerce .wc-seo-plugin-scope .wc-seo-demo-badge {
    position: absolute !important;
    top: -2px !important;
    right: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 5px 10px !important;
    border: 1px solid rgba(247, 169, 132, 0.34) !important;
    border-radius: 999px !important;
    background: rgba(247, 169, 132, 0.12) !important;
    color: #a95632 !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.wc-seo-plugin-scope .wc-seo-demo-badge__text,
body .wc-seo-plugin-scope .wc-seo-demo-badge__text,
.woocommerce .wc-seo-plugin-scope .wc-seo-demo-badge__text {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: 1 !important;
}

.wc-seo-plugin-scope .wc-seo-serm-demo-btn,
body .wc-seo-plugin-scope .wc-seo-serm-demo-btn,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-demo-btn {
    min-width: 0 !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 14px !important;
    gap: 8px !important;
    border: 1px solid rgba(247, 169, 132, 0.35) !important;
    border-radius: 999px !important;
    background: rgba(247, 169, 132, 0.12) !important;
    color: #a95632 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

.wc-seo-plugin-scope .wc-seo-serm-demo-btn::before,
body .wc-seo-plugin-scope .wc-seo-serm-demo-btn::before,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-demo-btn::before {
    content: "" !important;
    display: block !important;
    width: 0 !important;
    height: 0 !important;
    border-top: 5px solid transparent !important;
    border-bottom: 5px solid transparent !important;
    border-left: 7px solid currentColor !important;
    border-radius: 0 !important;
    background: transparent !important;
    opacity: 0.78 !important;
    position: static !important;
    transform: none !important;
}

.wc-seo-plugin-scope .wc-seo-serm-demo-btn:hover,
body .wc-seo-plugin-scope .wc-seo-serm-demo-btn:hover,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-demo-btn:hover {
    background: rgba(247, 169, 132, 0.2) !important;
    border-color: rgba(247, 169, 132, 0.48) !important;
    color: #8e4525 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 18px rgba(247, 169, 132, 0.16) !important;
}
/* Final archive action palette: keep this at true EOF after every legacy demo override. */
:root {
    --seo-primary: var(--e-global-color-primary, #f7a984);
    --seo-ink: var(--e-global-color-accent, #30373e);
    --seo-muted: #5b6470;
    --seo-line: rgba(48, 55, 62, 0.12);
    --seo-surface: #ffffff;
}

.wc-seo-serm-topbar__form .wc-seo-btn,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-btn {
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 8px !important;
    padding: 0 18px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

.wc-seo-serm-topbar__form .wc-seo-btn--primary,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-btn--primary {
    background: var(--seo-primary) !important;
    border-color: var(--seo-primary) !important;
    color: var(--seo-ink) !important;
}

.wc-seo-serm-topbar__form .wc-seo-btn--primary:hover,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-btn--primary:hover {
    background: color-mix(in srgb, var(--seo-primary), #fff 12%) !important;
    border-color: color-mix(in srgb, var(--seo-primary), #fff 12%) !important;
    color: var(--seo-ink) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 10px 22px rgba(247, 169, 132, 0.24) !important;
}

.wc-seo-serm-topbar__form .wc-seo-share-btn,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-share-btn {
    background: var(--seo-surface) !important;
    border: 1px solid var(--seo-line) !important;
    color: var(--seo-ink) !important;
}

.wc-seo-serm-topbar__form .wc-seo-share-btn:hover,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-share-btn:hover {
    background: #fafafa !important;
    border-color: rgba(48, 55, 62, 0.22) !important;
    color: var(--seo-ink) !important;
    transform: translateY(-1px) !important;
}

.wc-seo-serm-topbar__form .wc-seo-serm-demo-btn,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-serm-demo-btn,
.wc-seo-plugin-scope .wc-seo-serm-demo-btn,
body .wc-seo-plugin-scope .wc-seo-serm-demo-btn,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-demo-btn {
    background: color-mix(in srgb, var(--seo-primary), #fff 82%) !important;
    border: 1px solid color-mix(in srgb, var(--seo-primary), #fff 34%) !important;
    color: var(--seo-ink) !important;
    border-radius: 8px !important;
}

.wc-seo-serm-topbar__form .wc-seo-serm-demo-btn:hover,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-serm-demo-btn:hover,
.wc-seo-plugin-scope .wc-seo-serm-demo-btn:hover,
body .wc-seo-plugin-scope .wc-seo-serm-demo-btn:hover,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-demo-btn:hover {
    background: color-mix(in srgb, var(--seo-primary), #fff 72%) !important;
    border-color: color-mix(in srgb, var(--seo-primary), #fff 22%) !important;
    color: var(--seo-ink) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 18px rgba(247, 169, 132, 0.16) !important;
}

.wc-seo-plugin-scope .wc-seo-demo-badge,
body .wc-seo-plugin-scope .wc-seo-demo-badge,
.woocommerce .wc-seo-plugin-scope .wc-seo-demo-badge {
    top: -2px !important;
    right: 0 !important;
    height: 30px !important;
    min-height: 0 !important;
    padding: 5px 10px !important;
    border: 1px solid color-mix(in srgb, var(--seo-primary), #fff 22%) !important;
    border-radius: 999px !important;
    background: var(--seo-primary) !important;
    color: var(--seo-ink) !important;
    box-shadow: 0 6px 14px rgba(247, 169, 132, 0.18) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
}

.wc-seo-order-switcher__btn.is-active,
.gridlist-toggle a.active {
    background: var(--seo-primary) !important;
    border-color: var(--seo-primary) !important;
    color: var(--seo-ink) !important;
}

.wc-seo-order-switcher__btn:hover,
.gridlist-toggle a:hover {
    color: var(--seo-ink) !important;
}

.gridlist-toggle.wc-seo-control-duplicate {
    display: none !important;
}

/* Absolute final palette guard: this must stay after legacy action overrides. */
.wc-seo-serm-topbar__form .wc-seo-btn--primary,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-btn--primary,
.wc-seo-serm-topbar__form .wc-seo-btn--primary:hover,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-btn--primary:hover,
.wc-seo-plugin-scope .wc-seo-demo-badge,
body .wc-seo-plugin-scope .wc-seo-demo-badge,
.woocommerce .wc-seo-plugin-scope .wc-seo-demo-badge,
.wc-seo-order-switcher__btn.is-active,
.gridlist-toggle a.active {
    color: #fff !important;
}

.wc-seo-serm-topbar__form .wc-seo-serm-demo-btn,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-serm-demo-btn,
.wc-seo-plugin-scope .wc-seo-serm-demo-btn,
body .wc-seo-plugin-scope .wc-seo-serm-demo-btn,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-demo-btn {
    color: #a95632 !important;
}

.wc-seo-serm-topbar__form .wc-seo-serm-demo-btn:hover,
.wc-seo-serm-form .wc-seo-serm-actions .wc-seo-serm-demo-btn:hover,
.wc-seo-plugin-scope .wc-seo-serm-demo-btn:hover,
body .wc-seo-plugin-scope .wc-seo-serm-demo-btn:hover,
.woocommerce .wc-seo-plugin-scope .wc-seo-serm-demo-btn:hover {
    color: #8e4525 !important;
}
