/* ==============================================================================
   DQRO Theme — Custom CSS & Zero-CLS Design Tokens
   QRO Dark Modern Aesthetic: Minimalist, Fast, Native First
   ============================================================================== */

/* 1. Global Reset & Layout Alignment */
body {
    margin: 0;
    padding: 0;
    background-color: var(--wp--preset--color--background, #131314);
    color: var(--wp--preset--color--on-background, #e5e2e3);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: transparent;
}

.wp-site-blocks > * + * {
    margin-block-start: 0 !important;
}

/* 2. Top Header & Sticky Navigation */
.dqro-header-container {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(19, 19, 20, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #27272A;
    width: 100%;
}

.dqro-header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 16px !important;
}

.dqro-logo-group {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
    text-decoration: none !important;
}

.dqro-logo {
    width: 48px !important;
    height: 48px !important;
    aspect-ratio: 1/1 !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

.dqro-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
}

.dqro-theme-toggle-btn,
#dqro-theme-toggle {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #F8FAFC !important;
    flex-shrink: 0 !important;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.dqro-theme-toggle-btn:hover,
#dqro-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: #25D366 !important;
    box-shadow: 0 0 12px rgba(37, 211, 102, 0.3) !important;
    transform: rotate(15deg) scale(1.05);
}

.dqro-auth-link {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 14px !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #E2E8F0 !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
}

.dqro-auth-link:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: #25D366 !important;
    color: #25D366 !important;
    transform: translateY(-1px);
}

.dqro-user-badge {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 12px !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    background: rgba(32, 31, 32, 0.9) !important;
    border: 1px solid #3F3F46 !important;
    color: #E2E8F0 !important;
    flex-shrink: 0 !important;
}

.dqro-user-badge a {
    color: #E2E8F0 !important;
    text-decoration: none !important;
}

.dqro-user-badge a:hover {
    color: #25D366 !important;
}

.dqro-cta-short {
    display: none;
}

.dqro-cta-full {
    display: inline;
}

#dqro-mobile-menu-toggle {
    display: none !important;
}

/* 3. Skeleton Loaders & Shimmer (Zero-CLS) */
.skeleton-pulse {
    animation: dqroPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes dqroPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.4; }
}

.shimmer {
    background: linear-gradient(90deg, rgba(22, 28, 34, 0) 0%, rgba(22, 28, 34, 0.5) 50%, rgba(22, 28, 34, 0) 100%);
    background-size: 200% 100%;
    animation: dqroShimmer 1.5s infinite;
}

@keyframes dqroShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.min-h-skeleton-h {
    min-height: 290px;
}

/* 4. Touch Targets & Utilities */
.h-touch-target {
    min-height: 48px;
    height: 48px;
}

.w-touch-target {
    min-width: 48px;
    width: 48px;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 5. WhatsApp & Primary Action Button */
.dqro-whatsapp-btn {
    background-color: var(--wp--preset--color--primary-container, #25d366);
    color: var(--wp--preset--color--on-primary, #003915);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 20px;
    border-radius: 9999px;
    text-decoration: none;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.dqro-whatsapp-btn:hover {
    background-color: var(--wp--preset--color--primary, #4ff07f);
}

.dqro-whatsapp-btn:active {
    transform: scale(0.96);
}

/* 6. Directory Card Tonal Layer */
.dqro-business-card {
    background-color: var(--wp--preset--color--surface, #131314);
    border: 1px solid var(--wp--preset--color--surface-variant, #353436);
    border-radius: var(--wp--custom--border-radius--xl, 0.5rem);
    min-height: 290px;
    transition: border-color 0.2s ease, transform 0.2s ease;
    overflow: hidden;
}

.dqro-business-card:hover {
    border-color: var(--wp--preset--color--outline, #869584);
}

/* 7. Bottom Navigation for Mobile */
.dqro-bottom-nav {
    background-color: var(--wp--preset--color--surface-container-lowest, #0e0e0f);
    border-top: 1px solid var(--wp--preset--color--outline-variant, #3c4a3d);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 56px;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (min-width: 768px) {
    .dqro-bottom-nav {
        display: none;
    }
}

/* 8. Scoped Header Navigation & CTA Button */
.dqro-header-container nav a {
    color: var(--wp--preset--color--on-surface, #e5e2e3);
    text-decoration: none;
    transition: color 0.2s ease;
}

.dqro-header-container nav a:hover {
    color: #ffffff !important;
}

.dqro-header-container a.dqro-header-cta,
.dqro-header-container .dqro-header-cta {
    background-color: var(--wp--preset--color--primary-container, #25d366) !important;
    color: var(--wp--preset--color--on-primary, #003915) !important;
    font-weight: 600 !important;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 0 1.25rem;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.dqro-header-container a.dqro-header-cta:hover,
.dqro-header-container .dqro-header-cta:hover {
    background-color: var(--wp--preset--color--primary, #4ff07f) !important;
    color: #003915 !important;
}

/* 9. Editorial Callout Box */
.dqro-callout {
    background: rgba(37, 211, 102, 0.06);
    border-left: 4px solid var(--wp--preset--color--primary-container, #25d366);
    border-radius: 0 8px 8px 0;
    padding: 1.25rem 1.5rem;
    margin: 1.75rem 0;
    color: #cbd5e1;
}

.dqro-callout h4 {
    color: #25d366;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
}

.dqro-callout p:last-child {
    margin-bottom: 0;
}

/* 10. Editorial Cards & Visual Metadata Tokens */
.dqro-editorial-card,
.dqro-article-card,
.dqro-archive-card,
.dqro-hero-card,
.dqro-news-hero-card,
.dqro-news-secondary-card {
    background-color: #201f20 !important;
    border: 1px solid #27272A !important;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.dqro-hero-card {
    border-radius: 16px !important;
}

.dqro-editorial-card:hover,
.dqro-article-card:hover,
.dqro-archive-card:hover,
.dqro-hero-card:hover,
.dqro-news-hero-card:hover,
.dqro-news-secondary-card:hover {
    border-color: #3f3f46 !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.4);
}

.dqro-editorial-card a,
.dqro-article-card a,
.dqro-archive-card a,
.dqro-hero-card a,
.dqro-news-hero-card a,
.dqro-news-secondary-card a {
    text-decoration: none;
    transition: color 0.15s ease;
}

.dqro-editorial-card .wp-block-post-title a,
.dqro-article-card .wp-block-post-title a,
.dqro-archive-card .wp-block-post-title a,
.dqro-hero-card .wp-block-post-title a,
.dqro-news-hero-card .wp-block-post-title a,
.dqro-news-secondary-card .wp-block-post-title a {
    color: #e5e2e3 !important;
}

.dqro-editorial-card:hover .wp-block-post-title a,
.dqro-article-card:hover .wp-block-post-title a,
.dqro-archive-card:hover .wp-block-post-title a,
.dqro-hero-card:hover .wp-block-post-title a,
.dqro-news-hero-card:hover .wp-block-post-title a,
.dqro-news-secondary-card:hover .wp-block-post-title a {
    color: #ffffff !important;
}

/* Category Pill Badge */
.dqro-cat-pill a,
.dqro-cat-badge a,
.wp-block-post-terms.dqro-cat-badge a,
.wp-block-post-terms.dqro-cat-pill a {
    display: inline-flex;
    align-items: center;
    background: rgba(37, 211, 102, 0.12) !important;
    color: #25D366 !important;
    border: 1px solid rgba(37, 211, 102, 0.3) !important;
    border-radius: 9999px !important;
    padding: 0.2rem 0.65rem !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease !important;
}

.dqro-cat-pill a:hover,
.dqro-cat-badge a:hover,
.wp-block-post-terms.dqro-cat-badge a:hover,
.wp-block-post-terms.dqro-cat-pill a:hover {
    background: rgba(37, 211, 102, 0.25) !important;
    border-color: #25D366 !important;
    transform: scale(1.02);
}

/* Author Byline & Metadata */
.dqro-card-byline {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #94a3b8;
    font-size: 0.75rem;
}

.dqro-card-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.72rem;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
}

/* ==============================================================================
   11. Theme Switcher Tokens & Accessibility Palette (QRO Light Mode)
   ============================================================================== */
:root, [data-theme="dark"], .dark {
    /* Semantic Base Color Tokens (WCAG 2.1 AA Compliant) */
    --dqro-bg-primary: #131314;
    --dqro-text-primary: #F1F5F9;
    --dqro-text-success: #22C55E;
    --dqro-border-primary: #27272A;

    /* Legacy & Layout Tokens */
    --dqro-theme-bg: #131314;
    --dqro-theme-surface: #201f20;
    --dqro-theme-surface-hover: #27272A;
    --dqro-theme-border: #27272A;
    --dqro-theme-border-hover: #3f3f46;
    --dqro-theme-text-primary: #F1F5F9;
    --dqro-theme-text-secondary: #94a3b8;
    --dqro-theme-text-muted: #94A3B8;
    --dqro-theme-header-bg: rgba(19, 19, 20, 0.85);
    --dqro-theme-header-border: #27272A;
    --dqro-theme-card-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
    --dqro-theme-input-bg: #131314;
    --dqro-theme-input-border: #3f3f46;
    --dqro-logo-color: #FFFFFF;
    --dqro-logo-accent: #25D366;
}

html[data-theme="light"], [data-theme="light"], .light {
    /* Semantic Base Color Tokens (WCAG 2.1 AA Compliant) */
    --dqro-bg-primary: #FFFFFF;
    --dqro-text-primary: #0F172A;
    --dqro-text-success: #15803D; /* Pass 5.02:1 ratio on #FFFFFF and #F8FAFC */
    --dqro-border-primary: #CBD5E1;

    /* Override Gutenberg Global Presets in Light Mode to eliminate washed-out neon greens and dark card bleed */
    --wp--preset--color--background: #FFFFFF !important;
    --wp--preset--color--primary: #15803D !important;
    --wp--preset--color--primary-container: #166534 !important;
    --wp--preset--color--on-primary: #FFFFFF !important;
    --wp--preset--color--on-surface: #0F172A !important;
    --wp--preset--color--on-surface-variant: #475569 !important;
    --wp--preset--color--on-background: #0F172A !important;
    --wp--preset--color--surface: #FFFFFF !important;
    --wp--preset--color--surface-container-lowest: #FFFFFF !important;
    --wp--preset--color--surface-container: #F8FAFC !important;
    --wp--preset--color--surface-container-high: #F1F5F9 !important;
    --wp--preset--color--outline: #CBD5E1 !important;
    --wp--preset--color--outline-variant: #E2E8F0 !important;

    /* Legacy & Layout Tokens */
    --dqro-theme-bg: #F8FAFC;
    --dqro-theme-surface: #FFFFFF;
    --dqro-theme-surface-hover: #F1F5F9;
    --dqro-theme-border: #CBD5E1;
    --dqro-theme-border-hover: #94A3B8;
    --dqro-theme-text-primary: #0F172A;
    --dqro-theme-text-secondary: #475569;
    --dqro-theme-text-muted: #64748B;
    --dqro-theme-header-bg: rgba(255, 255, 255, 0.95);
    --dqro-theme-header-border: #CBD5E1;
    --dqro-theme-card-shadow: 0 4px 12px -1px rgba(0, 0, 0, 0.05);
    --dqro-theme-input-bg: #FFFFFF;
    --dqro-theme-input-border: #CBD5E1;
    --dqro-logo-color: #0F172A;
    --dqro-logo-accent: #15803D;
}

/* Universal Semantic Utility Classes */
.dqro-bg-primary {
    background-color: var(--dqro-bg-primary) !important;
}

.dqro-text-primary {
    color: var(--dqro-text-primary) !important;
}

.dqro-border-primary {
    border-color: var(--dqro-border-primary) !important;
}

/* Adaptive Success Text Token Mapping */
.dqro-text-success,
.text-success,
.text-emerald-400,
.text-emerald-500,
.text-emerald-600,
.text-green-500,
.text-green-600,
.dqro-success-text {
    color: var(--dqro-text-success) !important;
}

/* Badges, Pills & Critical Elements */
.dqro-badge-success,
.dqro-compact-badge,
.dqro-status-active,
.dqro-tag-verified,
.dqro-badge-verified {
    color: var(--dqro-text-success) !important;
    background: rgba(34, 197, 94, 0.12) !important;
    border: 1px solid rgba(34, 197, 94, 0.25) !important;
}

html[data-theme="light"] .dqro-badge-success,
html[data-theme="light"] .dqro-compact-badge,
html[data-theme="light"] .dqro-status-active,
html[data-theme="light"] .dqro-tag-verified,
html[data-theme="light"] .dqro-badge-verified {
    color: #15803D !important;
    background: rgba(21, 128, 61, 0.08) !important;
    border: 1px solid rgba(21, 128, 61, 0.3) !important;
}

/* Municipal Pills in Light Mode (High Contrast Forest Green on White, WCAG AAA 7.1:1) */
html[data-theme="light"] .dqro-muni-pill,
html[data-theme="light"] a.dqro-muni-pill {
    background-color: #F0FDF4 !important;
    color: #166534 !important;
    border: 1px solid #BBF7D0 !important;
    box-shadow: 0 1px 3px rgba(22, 101, 52, 0.08) !important;
    font-weight: 700 !important;
}

html[data-theme="light"] .dqro-muni-pill:hover,
html[data-theme="light"] a.dqro-muni-pill:hover {
    background-color: #166534 !important;
    color: #FFFFFF !important;
    border-color: #166534 !important;
    box-shadow: 0 4px 14px rgba(22, 101, 52, 0.3) !important;
}

/* Breadcrumb Links in Light Mode (Deep Forest Green, 7.1:1 AAA) */
html[data-theme="light"] nav[aria-label] a,
html[data-theme="light"] nav[aria-label*="Navega"] a,
html[data-theme="light"] nav[aria-label*="breadcrumb"] a,
html[data-theme="light"] nav.flex a,
html[data-theme="light"] .breadcrumbs a,
html[data-theme="light"] .dqro-breadcrumb a {
    color: #166534 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

html[data-theme="light"] nav[aria-label] a:hover,
html[data-theme="light"] nav[aria-label*="Navega"] a:hover,
html[data-theme="light"] nav[aria-label*="breadcrumb"] a:hover,
html[data-theme="light"] nav.flex a:hover,
html[data-theme="light"] .breadcrumbs a:hover,
html[data-theme="light"] .dqro-breadcrumb a:hover {
    color: #14532D !important;
    text-decoration: underline !important;
}

/* High Contrast Green Accents in Light Mode */
html[data-theme="light"] .text-primary,
html[data-theme="light"] a.text-primary,
html[data-theme="light"] span.text-primary,
html[data-theme="light"] .dqro-logo-accent-text,
html[data-theme="light"] .text-\[\#25D366\],
html[data-theme="light"] .text-\[\#4ff07f\],
html[data-theme="light"] .hover\:text-primary:hover {
    color: #15803D !important;
}

/* Accessible Action Buttons in Dark & Light Mode (WCAG 2.1 AA Compliance) */
.bg-\[\#25D366\] {
    background-color: #25D366 !important;
    color: #003915 !important;
}

html[data-theme="light"] .bg-\[\#25D366\],
html[data-theme="light"] button.bg-\[\#25D366\],
html[data-theme="light"] a.bg-\[\#25D366\],
html[data-theme="light"] .dqro-btn-next,
html[data-theme="light"] #dqro-submit-btn,
html[data-theme="light"] #dqro-lead-submit,
html[data-theme="light"] #dqro-bk-submit-btn {
    background-color: #15803D !important;
    color: #FFFFFF !important;
}

html[data-theme="light"] .bg-\[\#25D366\] *,
html[data-theme="light"] button.bg-\[\#25D366\] * {
    color: #FFFFFF !important;
}

/* Form navigation buttons in Light Mode */
html[data-theme="light"] .dqro-btn-prev {
    color: #334155 !important;
    border-color: #CBD5E1 !important;
}

/* Dashboard tab navigation buttons in Light Mode (WCAG 2.1 AA) */
html[data-theme="light"] .dqro-tab-btn {
    color: #475569 !important;
}

html[data-theme="light"] .dqro-tab-btn:hover {
    color: #0F172A !important;
    background-color: #F1F5F9 !important;
}

html[data-theme="light"] .dqro-tab-btn.active,
html[data-theme="light"] .dqro-tab-btn[aria-selected="true"] {
    color: #15803D !important;
    background-color: #F0FDF4 !important;
}

/* Action Button Gradients (WCAG 2.1 AA Compliant) */
.bg-gradient-to-r.from-emerald-600.to-emerald-500 {
    background: linear-gradient(to right, #059669, #10B981) !important;
    color: #FFFFFF !important;
}

.bg-gradient-to-r.from-indigo-600.to-indigo-500 {
    background: linear-gradient(to right, #4F46E5, #6366F1) !important;
    color: #FFFFFF !important;
}

/* Prevent Invisible Elements in Light Mode */
html[data-theme="light"] .text-white:not(button):not(.dqro-btn-primary):not(.dqro-header-cta) {
    color: var(--dqro-text-primary) !important;
}

/* Dynamic Logo & Brand SVG Styling */
.dqro-brand-icon svg,
.dqro-logo-svg {
    color: var(--dqro-logo-color);
    transition: color 0.2s ease;
}

.dqro-logo svg path,
.dqro-brand-icon path,
.dqro-logo-svg path,
.dqro-logo svg circle,
.dqro-brand-icon circle,
.dqro-logo-svg circle {
    stroke: var(--dqro-logo-color) !important;
    transition: stroke 0.2s ease;
}

.dqro-logo svg path[fill]:not([fill="none"]),
.dqro-brand-icon path[fill]:not([fill="none"]),
.dqro-logo-svg path[fill]:not([fill="none"]) {
    fill: var(--dqro-logo-color) !important;
}

.dqro-logo .dqro-logo-accent-path,
.dqro-brand-icon .dqro-logo-accent-path,
.dqro-logo-svg .dqro-logo-accent-path {
    stroke: var(--dqro-logo-accent) !important;
    fill: var(--dqro-logo-accent) !important;
}

html[data-theme="light"] img.dqro-logo,
html[data-theme="light"] .dqro-footer-container img {
    filter: brightness(0) saturate(100%) invert(8%) sepia(21%) saturate(2200%) hue-rotate(185deg) brightness(95%) contrast(98%) !important;
}

.dqro-logo-text {
    color: var(--dqro-logo-color) !important;
    transition: color 0.2s ease;
}

.dqro-logo-accent-text {
    color: var(--dqro-logo-accent) !important;
    transition: color 0.2s ease;
}

.dqro-hero-subtitle {
    color: var(--dqro-theme-text-muted) !important;
    transition: color 0.2s ease;
}

/* Light Theme Overrides */
html[data-theme="light"] body,
html[data-theme="light"] main,
html[data-theme="light"] .dqro-main-content,
html[data-theme="light"] .dqro-blog-home,
html[data-theme="light"] .dqro-archive-blog,
html[data-theme="light"] .dqro-single-post,
html[data-theme="light"] .wp-site-blocks {
    background-color: var(--dqro-theme-bg, #F8FAFC) !important;
    color: var(--dqro-theme-text-primary, #0F172A) !important;
}

html[data-theme="light"] .dqro-header-container {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid #E2E8F0 !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

html[data-theme="light"] .dqro-logo-text {
    color: #0F172A !important;
}

html[data-theme="light"] .dqro-hero-subtitle {
    color: #475569 !important;
}

html[data-theme="light"] .dqro-header-container nav a,
html[data-theme="light"] .dqro-nav-link {
    color: #0F172A !important;
}

html[data-theme="light"] .dqro-header-container nav a:hover,
html[data-theme="light"] .dqro-nav-link:hover {
    color: #16A34A !important;
}

html[data-theme="light"] .dqro-theme-toggle-btn,
html[data-theme="light"] #dqro-theme-toggle {
    background-color: #F1F5F9 !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
}

html[data-theme="light"] .dqro-theme-toggle-btn:hover,
html[data-theme="light"] #dqro-theme-toggle:hover {
    background-color: #E2E8F0 !important;
    border-color: #16A34A !important;
    box-shadow: 0 0 12px rgba(22, 163, 74, 0.25) !important;
}

html[data-theme="light"] .dqro-auth-link {
    background-color: #F1F5F9 !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
}

html[data-theme="light"] .dqro-auth-link:hover {
    background-color: #E2E8F0 !important;
    border-color: #16A34A !important;
    color: #16A34A !important;
}

html[data-theme="light"] .dqro-user-badge {
    background-color: #F1F5F9 !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
}

html[data-theme="light"] .dqro-user-badge a {
    color: #0F172A !important;
}

html[data-theme="light"] .dqro-user-badge a:hover {
    color: #16A34A !important;
}

html[data-theme="light"] .dqro-header-cta,
html[data-theme="light"] .dqro-header-container a.dqro-header-cta,
html[data-theme="light"] .dqro-header-container .dqro-header-cta {
    background-color: #15803D !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(21, 128, 61, 0.25) !important;
}

html[data-theme="light"] .dqro-header-cta:hover,
html[data-theme="light"] .dqro-header-container a.dqro-header-cta:hover,
html[data-theme="light"] .dqro-header-container .dqro-header-cta:hover {
    background-color: #166534 !important;
    box-shadow: 0 4px 16px rgba(21, 128, 61, 0.35) !important;
    color: #FFFFFF !important;
}

html[data-theme="light"] #dqro-mobile-menu-toggle {
    background-color: #F1F5F9 !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
}

html[data-theme="light"] #dqro-mobile-drawer {
    background-color: rgba(255, 255, 255, 0.98) !important;
    border-top: 1px solid #E2E8F0 !important;
}

html[data-theme="light"] #dqro-mobile-drawer a {
    color: #0F172A !important;
}

html[data-theme="light"] #dqro-mobile-drawer a:hover {
    background-color: #F1F5F9 !important;
    color: #16A34A !important;
}

/* Universal Card Containers in Light Mode (Root Cause Fix for Dark Card Bleed) */
html[data-theme="light"] article,
html[data-theme="light"] .dqro-card,
html[data-theme="light"] .dqro-archive-card,
html[data-theme="light"] .dqro-editorial-card,
html[data-theme="light"] .dqro-news-hero-card,
html[data-theme="light"] .dqro-news-secondary-card,
html[data-theme="light"] .dqro-business-card,
html[data-theme="light"] .dqro-plan-card,
html[data-theme="light"] .wp-block-post,
html[data-theme="light"] .wp-block-post-template article,
html[data-theme="light"] .bg-slate-900:not(header):not(footer):not(.dqro-header-container):not(.dqro-footer-container),
html[data-theme="light"] [class*="bg-slate-900"]:not(header):not(footer):not(.dqro-header-container):not(.dqro-footer-container),
html[data-theme="light"] #dqro-submission-form {
    background-color: #FFFFFF !important;
    border-color: #E2E8F0 !important;
    box-shadow: 0 4px 12px -1px rgba(0, 0, 0, 0.05) !important;
    color: #0F172A !important;
}

html[data-theme="light"] .dqro-ad-slot,
html[data-theme="light"] .dqro-ad-slot-wrapper,
html[data-theme="light"] [class*="dqro-ad-"] {
    background-color: #F1F5F9 !important;
    border-color: #CBD5E1 !important;
    color: #64748B !important;
}

html[data-theme="light"] footer,
html[data-theme="light"] .dqro-footer-container {
    background-color: #FFFFFF !important;
    border-top: 1px solid #E2E8F0 !important;
    color: #0F172A !important;
}

html[data-theme="light"] footer .dqro-logo-text,
html[data-theme="light"] .dqro-footer-container .dqro-logo-text {
    color: #0F172A !important;
}

html[data-theme="light"] footer p,
html[data-theme="light"] footer a,
html[data-theme="light"] footer span:not(.dqro-logo-accent-text):not(.text-primary) {
    color: #64748B !important;
}

html[data-theme="light"] footer a:hover {
    color: #0F172A !important;
}

/* Headings & Post Titles in Light Mode (Crystal Clear & WCAG AAA Compliant) */
html[data-theme="light"] article h2,
html[data-theme="light"] article h3,
html[data-theme="light"] .dqro-card h2,
html[data-theme="light"] .dqro-card h3,
html[data-theme="light"] .dqro-archive-card h2,
html[data-theme="light"] .dqro-archive-card h3,
html[data-theme="light"] .dqro-editorial-card h2,
html[data-theme="light"] .dqro-editorial-card h3,
html[data-theme="light"] .wp-block-post-title,
html[data-theme="light"] .wp-block-post-title a,
html[data-theme="light"] .dqro-hero-title a,
html[data-theme="light"] .dqro-archive-title,
html[data-theme="light"] .wp-block-query-title,
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4 {
    color: #0F172A !important;
}

html[data-theme="light"] .wp-block-post-title a:hover,
html[data-theme="light"] article h2 a:hover,
html[data-theme="light"] article h3 a:hover,
html[data-theme="light"] .dqro-archive-card h2 a:hover {
    color: #15803D !important;
}

/* Excerpts & Descriptions in Light Mode */
html[data-theme="light"] article p,
html[data-theme="light"] .dqro-card p,
html[data-theme="light"] .dqro-archive-card p,
html[data-theme="light"] .wp-block-post-excerpt,
html[data-theme="light"] .wp-block-post-excerpt p,
html[data-theme="light"] .dqro-card-byline,
html[data-theme="light"] .dqro-hero-excerpt,
html[data-theme="light"] .dqro-archive-desc {
    color: #475569 !important;
}

/* Action Links & Read More (High Contrast Forest Green) */
html[data-theme="light"] .wp-block-post-excerpt__more-link,
html[data-theme="light"] .wp-block-post-excerpt a,
html[data-theme="light"] article a.text-primary,
html[data-theme="light"] .dqro-card-cta {
    color: #15803D !important;
    font-weight: 600 !important;
}

html[data-theme="light"] .wp-block-post-excerpt__more-link:hover,
html[data-theme="light"] .wp-block-post-excerpt a:hover,
html[data-theme="light"] article a.text-primary:hover {
    color: #166534 !important;
}

/* Dividers & Borders in Light Mode */
html[data-theme="light"] article .border-t,
html[data-theme="light"] article .border-slate-800,
html[data-theme="light"] .dqro-archive-card .border-t,
html[data-theme="light"] .dqro-archive-card .border-slate-800,
html[data-theme="light"] .border-slate-800,
html[data-theme="light"] .dqro-card-meta-row {
    border-color: #E2E8F0 !important;
}

/* Metadata & Taxonomy Terms in Light Mode */
html[data-theme="light"] .wp-block-post-terms,
html[data-theme="light"] .wp-block-post-terms a,
html[data-theme="light"] article .text-slate-500,
html[data-theme="light"] article .text-slate-400,
html[data-theme="light"] .text-slate-400,
html[data-theme="light"] .text-slate-500 {
    color: #64748B !important;
}

html[data-theme="light"] .wp-block-post-terms a:hover {
    color: #15803D !important;
}

/* Category & Badge Labels in Light Mode */
html[data-theme="light"] .text-indigo-400 {
    color: #4338CA !important;
}

html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea {
    background-color: var(--dqro-theme-input-bg) !important;
    border-color: var(--dqro-theme-input-border) !important;
    color: var(--dqro-theme-text-primary) !important;
}

html[data-theme="light"] input::placeholder,
html[data-theme="light"] select::placeholder,
html[data-theme="light"] textarea::placeholder,
html[data-theme="light"] #dqro-hero-search-input::placeholder,
html[data-theme="light"] #dqro-s::placeholder {
    color: var(--dqro-theme-text-muted, #475569) !important;
    opacity: 1 !important;
}

html[data-theme="light"] .dqro-card-meta-row {
    border-top-color: #E2E8F0 !important;
}

/* ==============================================================================
   12. Micro-Spacing & WCAG 2.1 Touch Target Harmonization (8px Grid)
   ============================================================================== */

/* Form Fields: 48px touch target with 8px rhythm */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
select,
textarea {
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

textarea {
    min-height: 96px;
}

/* Icon Spacing: 8px gap between inline icons and text */
.dqro-reading-time,
.dqro-card-byline,
.dqro-icon-label,
.dqro-step-title,
.dqro-metric-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dqro-card-byline span,
.dqro-reading-time span {
    margin-right: 2px;
}

.dqro-reading-time {
    color: #94A3B8 !important;
}

html[data-theme="light"] .dqro-reading-time {
    color: #475569 !important;
}

/* Mobile Hero Spacing: 24px margin-top on mobile beneath header */
@media (max-width: 768px) {
    .dqro-hero-section,
    .dqro-wizard-container,
    .dqro-main-content,
    main > .wp-block-group:first-child {
        margin-top: 24px !important;
    }
}

/* Aggregator Card Metrics: 8px margin-top on DENUE badge counts */
.dqro-denue-count,
.dqro-category-badge-count,
.dqro-municipality-card-count {
    margin-top: 8px;
    display: inline-block;
}

/* ==============================================================================
   13. Visual Alignment & Card Surface Harmonization
   ============================================================================== */
:root {
    --dqro-surface-card: #201f20;
    --dqro-border-color: #27272A;
}

html[data-theme="light"] {
    --dqro-surface-card: #ffffff;
    --dqro-border-color: #E2E8F0;
}

.dqro-card-box,
.dqro-booking-widget,
#reserva-lugar,
#dqro-reviews-section,
#reseñas-opiniones,
#contactar-ahora,
.dqro-sidebar-card,
.main-column-card {
    background-color: var(--dqro-surface-card) !important;
    border: 1px solid var(--dqro-border-color) !important;
    border-radius: 12px !important;
    padding: 24px !important;
    box-sizing: border-box;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

html[data-theme="light"] .dqro-card-box,
html[data-theme="light"] .dqro-booking-widget,
html[data-theme="light"] #reserva-lugar,
html[data-theme="light"] #dqro-reviews-section,
html[data-theme="light"] #reseñas-opiniones,
html[data-theme="light"] #contactar-ahora,
html[data-theme="light"] .dqro-sidebar-card,
html[data-theme="light"] .main-column-card {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.dqro-card-box h2,
.dqro-card-box h3,
.dqro-booking-widget h2,
.dqro-booking-widget h3,
#reserva-lugar h2,
#reserva-lugar h3,
#dqro-reviews-section h2,
#dqro-reviews-section h3,
#reseñas-opiniones h2,
#reseñas-opiniones h3,
#contactar-ahora h2,
#contactar-ahora h3,
.main-column-card h2,
.main-column-card h3 {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    font-size: 1.25rem !important;
    line-height: 1.5 !important;
}

.dqro-form-grid,
.dqro-form-container,
.dqro-booking-form,
.dqro-contact-form,
form.dqro-standard-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Strict Y-Axis Baseline Alignment & Grid System */
.dqro-listing-layout,
.dqro-business-layout {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: start !important; /* Critical: prevents staggered vertical stretched offsets */
}

.dqro-listing-layout > p,
.dqro-business-layout > p {
    display: none !important;
}

@media (min-width: 1024px) {
    .dqro-main-content-col {
        grid-column: span 8 / span 8 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }
    .dqro-sidebar {
        grid-column: span 4 / span 4 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }
}

@media (max-width: 1023px) {
    .dqro-main-content-col,
    .dqro-sidebar {
        grid-column: span 12 / span 12 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }
}

/* First-child margin reset & card containment */
.dqro-card-box > *:first-child,
.dqro-booking-widget > *:first-child,
.dqro-sidebar-card > *:first-child,
.main-column-card > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.dqro-card-box,
.dqro-booking-widget,
.dqro-sidebar-card,
.main-column-card,
.dqro-deal-container {
    box-sizing: border-box !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important; /* Gap is handled exclusively by the parent flex container */
}

/* ==============================================================================
   14. Sidebar Widgets & Compact Business Card Harmonization
   ============================================================================== */
aside .grid-cols-3,
aside .grid-cols-2,
.dqro-blog-sidebar .grid-cols-3,
.dqro-blog-sidebar .grid-cols-2,
.dqro-sidebar-widget .grid-cols-3,
.dqro-sidebar-widget .grid-cols-2 {
    grid-template-columns: 1fr !important;
}

.dqro-compact-business-card {
    background-color: var(--dqro-surface-card, #131314);
    border: 1px solid var(--dqro-border-color, #27272A);
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.dqro-compact-badge {
    display: inline-flex !important;
    align-items: center;
    padding: 2px 8px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    border-radius: 9999px !important;
    color: #25D366 !important;
    background: rgba(37, 211, 102, 0.1) !important;
    border: 1px solid rgba(37, 211, 102, 0.25) !important;
    max-width: fit-content;
    white-space: nowrap;
}

html[data-theme="light"] .dqro-compact-business-card {
    background-color: #ffffff !important;
    border-color: #E2E8F0 !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .dqro-compact-business-card h5 a {
    color: #0F172A !important;
}

html[data-theme="light"] .dqro-compact-business-card p {
    color: #64748B !important;
}

html[data-theme="light"] .dqro-sidebar-widget,
html[data-theme="light"] .dqro-related-businesses {
    background-color: #ffffff !important;
    border-color: #E2E8F0 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .dqro-sidebar-newsletter {
    background-color: #ffffff !important;
    border-color: #25D366 !important;
}

html[data-theme="light"] .dqro-sidebar-newsletter h4 {
    color: #0F172A !important;
}

html[data-theme="light"] .dqro-newsletter-form input {
    background-color: #F8FAFC !important;
    border-color: #CBD5E1 !important;
    color: #0F172A !important;
}

/* ==============================================================================
   15. OAuth 2.0 Social Login Buttons & High-Contrast Harmonization
   ============================================================================== */
.dqro-social-auth-group {
    display: block;
    width: 100%;
}

.dqro-social-btn {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
}

.dqro-social-auth-group p {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dqro-social-btn:hover {
    transform: translateY(-1px);
}

.dqro-social-btn:active {
    transform: translateY(0);
}

.dqro-social-btn:focus-visible {
    outline: 2px solid #25D366;
    outline-offset: 2px;
}

.dqro-social-auth-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    width: 100% !important;
}

.dqro-social-btn-google {
    background-color: #EA4335 !important;
    color: #FFFFFF !important;
    border: 1px solid #EA4335 !important;
    box-shadow: 0 1px 3px rgba(234, 67, 53, 0.2);
}

.dqro-social-btn-google:hover {
    background-color: #D33828 !important;
    border-color: #D33828 !important;
    box-shadow: 0 4px 12px rgba(234, 67, 53, 0.35);
}

.dqro-social-btn-google:focus-visible {
    outline: 2px solid #EA4335 !important;
    outline-offset: 2px !important;
}

.dqro-social-btn-linkedin {
    background-color: #0A66C2 !important;
    color: #FFFFFF !important;
    border: 1px solid #0A66C2 !important;
    box-shadow: 0 1px 3px rgba(10, 102, 194, 0.2);
}

.dqro-social-btn-linkedin:hover {
    background-color: #004182 !important;
    border-color: #004182 !important;
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.35);
}

.dqro-social-btn-facebook {
    background-color: #1877F2 !important;
    color: #FFFFFF !important;
    border: 1px solid #1877F2 !important;
    box-shadow: 0 1px 3px rgba(24, 119, 242, 0.2);
}

.dqro-social-btn-facebook:hover {
    background-color: #166FE5 !important;
    border-color: #166FE5 !important;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35);
}

.dqro-social-btn-facebook:focus-visible {
    outline: 2px solid #1877F2 !important;
    outline-offset: 2px !important;
}

#dqro-passkey-login-btn {
    min-height: 48px !important;
    height: 48px !important;
    box-sizing: border-box !important;
}

/* WebAuthn UX Remediation & Insecure Context Guard (Phase 148-AUTH) */
#dqro-passkey-login-btn.dqro-disabled,
.dqro-disabled {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
    filter: grayscale(40%) !important;
}

.dqro-auth-notifications-wrapper {
    min-height: 50px;
    width: 100%;
}

@keyframes dqro-shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.dqro-shake {
    animation: dqro-shake 0.4s ease-in-out !important;
    border-color: #EF4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.4) !important;
}

/* 47. Live Local Story Stream & Ephemeral Feed (Zero-CLS) */
.dqro-story-stream-wrapper,
.dqro-stories-carousel-container {
    min-height: 120px;
    contain-intrinsic-size: 120px;
    content-visibility: auto;
}

.dqro-stories-tray {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.dqro-story-item {
    scroll-snap-align: start;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dqro-story-item:hover {
    transform: translateY(-2px);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ==============================================================================
   48. Desktop Nav Active Indicator & Modern Micro-Interactions
   ============================================================================== */
.dqro-header-container nav a.active,
.dqro-header-container nav a[aria-current="page"] {
    color: #ffffff !important;
    position: relative;
}

.dqro-header-container nav a.active::after,
.dqro-header-container nav a[aria-current="page"]::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--wp--preset--color--primary, #4ff07f);
    border-radius: 2px;
}

html[data-theme="light"] .dqro-header-container nav a.active,
html[data-theme="light"] .dqro-header-container nav a[aria-current="page"] {
    color: #16A34A !important;
}

html[data-theme="light"] .dqro-header-container nav a.active::after,
html[data-theme="light"] .dqro-header-container nav a[aria-current="page"]::after {
    background: #16A34A;
}

/* ==============================================================================
   49. Mobile Carousel & Scroll Snapping with Edge Fade Masks & Desktop Arrows
   ============================================================================== */
.dqro-scroll-tray-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.dqro-scroll-tray-wrapper .dqro-scroll-fade-mask {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    position: relative;
}

.dqro-scroll-tray {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding: 6px 2px;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.dqro-scroll-tray::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.dqro-scroll-tray > * {
    scroll-snap-align: start;
    flex-shrink: 0;
}

.dqro-scroll-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    background: #201f20;
    border: 1px solid #3f3f46;
    color: #e4e4e7;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    .dqro-scroll-arrow {
        display: flex;
        opacity: 0;
        pointer-events: none;
    }
    .dqro-scroll-tray-wrapper:hover .dqro-scroll-arrow,
    .dqro-scroll-tray-wrapper:focus-within .dqro-scroll-arrow {
        opacity: 1;
        pointer-events: auto;
    }
}

.dqro-scroll-arrow:hover {
    background: #25D366;
    color: #003915;
    border-color: #25D366;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 16px rgba(37, 211, 102, 0.4);
}

.dqro-scroll-arrow-left {
    left: -14px;
}

.dqro-scroll-arrow-right {
    right: -14px;
}

html[data-theme="light"] .dqro-scroll-arrow {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .dqro-scroll-arrow:hover {
    background: #16A34A;
    color: #ffffff;
    border-color: #16A34A;
}

.dqro-scroll-fade-mask::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 44px;
    background: linear-gradient(90deg, rgba(19, 19, 20, 0) 0%, var(--dqro-theme-bg, #131314) 100%);
    pointer-events: none;
    z-index: 10;
}

html[data-theme="light"] .dqro-scroll-fade-mask::after {
    background: linear-gradient(90deg, rgba(248, 250, 252, 0) 0%, #F8FAFC 100%);
}

.dqro-muni-pill {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.dqro-muni-pill:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

/* ==============================================================================
   50. Mobile Sticky Quick Contact Action Bar for Business Listings
   ============================================================================== */
.dqro-mobile-action-bar {
    display: none;
}

@media (max-width: 767px) {
    .dqro-mobile-action-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 60;
        background: rgba(19, 19, 20, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid var(--dqro-theme-border, #27272A);
        padding: 10px 16px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        gap: 12px;
        align-items: center;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
    }

    html[data-theme="light"] .dqro-mobile-action-bar {
        background: rgba(255, 255, 255, 0.95);
        border-top-color: #E2E8F0;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    }

    .dqro-mobile-action-btn {
        flex: 1;
        height: 48px;
        min-height: 48px;
        border-radius: 9999px;
        font-weight: 700;
        font-size: 0.9rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
        transition: transform 0.15s ease, opacity 0.15s ease;
    }

    .dqro-mobile-action-btn:active {
        transform: scale(0.97);
    }

    .dqro-mobile-action-whatsapp {
        background-color: var(--wp--preset--color--primary-container, #25d366);
        color: #003915;
        flex: 1.5;
    }

    .dqro-mobile-action-call {
        background-color: var(--dqro-theme-surface-hover, #27272A);
        color: var(--dqro-theme-text-primary, #e5e2e3);
        border: 1px solid var(--dqro-theme-border, #3f3f46);
    }

    html[data-theme="light"] .dqro-mobile-action-call {
        background-color: #F1F5F9;
        color: #0F172A;
        border-color: #CBD5E1;
    }
}

/* ==============================================================================
   51. Enhanced Desktop Card Elevation & Emerald Ambient Glow
   ============================================================================== */
@media (min-width: 1024px) {
    .dqro-business-card:hover,
    .dqro-compact-business-card:hover,
    .dqro-editorial-card:hover {
        transform: translateY(-3px);
        border-color: rgba(37, 211, 102, 0.5) !important;
        box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.5), 0 0 16px -2px rgba(37, 211, 102, 0.15) !important;
    }

    html[data-theme="light"] .dqro-business-card:hover,
    html[data-theme="light"] .dqro-compact-business-card:hover,
    html[data-theme="light"] .dqro-editorial-card:hover {
        border-color: rgba(22, 163, 74, 0.4) !important;
        box-shadow: 0 12px 20px -4px rgba(0, 0, 0, 0.08), 0 0 12px -2px rgba(22, 163, 74, 0.12) !important;
    }
}

/* ==============================================================================
   52. Harmonized Scarcity Banner & Badging (Light & Dark)
   ============================================================================== */
.dqro-scarcity-banner {
    min-height: 48px;
    contain-intrinsic-size: 48px;
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

[data-theme="dark"] .dqro-scarcity-banner,
:root .dqro-scarcity-banner {
    background-color: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #FCA5A5;
}

html[data-theme="light"] .dqro-scarcity-banner {
    background-color: #FEF2F2;
    border: 1px solid #FCA5A5;
    color: #991B1B;
}

/* ==============================================================================
   53. Query Pagination Buttons (Zero-Jank & Polished)
   ============================================================================== */
.wp-block-query-pagination {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 3rem !important;
    margin-bottom: 2.5rem !important;
    flex-wrap: wrap !important;
}

.wp-block-query-pagination a,
.wp-block-query-pagination span,
.wp-block-query-pagination-numbers .page-numbers,
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 16px !important;
    border-radius: 9999px !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: 1px solid var(--dqro-theme-border, #27272A) !important;
    background-color: var(--dqro-theme-surface, #201f20) !important;
    color: var(--dqro-theme-text-primary, #e5e2e3) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.wp-block-query-pagination a:hover,
.wp-block-query-pagination-numbers a.page-numbers:hover {
    border-color: var(--wp--preset--color--primary, #25D366) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2) !important;
}

.wp-block-query-pagination .current,
.wp-block-query-pagination span[aria-current="page"],
.wp-block-query-pagination-numbers span.page-numbers.current {
    background-color: var(--wp--preset--color--primary, #25D366) !important;
    color: #003915 !important;
    border-color: var(--wp--preset--color--primary, #25D366) !important;
    font-weight: 800 !important;
}

html[data-theme="light"] .wp-block-query-pagination a,
html[data-theme="light"] .wp-block-query-pagination span,
html[data-theme="light"] .wp-block-query-pagination-numbers .page-numbers {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #0f172a !important;
}

html[data-theme="light"] .wp-block-query-pagination a:hover {
    border-color: #16a34a !important;
    color: #16a34a !important;
}

html[data-theme="light"] .wp-block-query-pagination .current,
html[data-theme="light"] .wp-block-query-pagination span[aria-current="page"],
html[data-theme="light"] .wp-block-query-pagination-numbers span.page-numbers.current {
    background-color: #16a34a !important;
    color: #ffffff !important;
    border-color: #16a34a !important;
}

/* ==============================================================================
   54. Blog Category Navigation Pills
   ============================================================================== */
.dqro-cat-pills ul,
ul.dqro-cat-pills {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.dqro-cat-pills li {
    margin: 0 !important;
    list-style-type: none !important;
}

.dqro-cat-pills li a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    border-radius: 9999px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    background-color: var(--dqro-theme-surface, #201f20) !important;
    border: 1px solid var(--dqro-theme-border, #27272A) !important;
    color: var(--dqro-theme-text-primary, #e5e2e3) !important;
    transition: all 0.15s ease !important;
}

.dqro-cat-pills li a:hover {
    background-color: var(--wp--preset--color--primary, #25D366) !important;
    color: #003915 !important;
    border-color: var(--wp--preset--color--primary, #25D366) !important;
    transform: translateY(-1px) !important;
}

html[data-theme="light"] .dqro-cat-pills li a {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #334155 !important;
}

html[data-theme="light"] .dqro-cat-pills li a:hover {
    background-color: #16a34a !important;
    color: #ffffff !important;
    border-color: #16a34a !important;
}

/* ==============================================================================
   55. AdSense Slots Harmonization for Light Mode
   ============================================================================== */
html[data-theme="light"] .dqro-ad-zone,
html[data-theme="light"] .dqro-ad-slot-preview {
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #64748b !important;
}

html[data-theme="light"] .dqro-ad-slot-preview .dqro-ad-label {
    color: #64748b !important;
}

/* ==============================================================================
   56. Unified High-Contrast Input Styling (Dark & Light)
   ============================================================================== */
.dqro-booking-widget input,
.dqro-booking-widget select,
.dqro-booking-card input,
.dqro-booking-card select,
.dqro-lead-box input,
.dqro-lead-box textarea,
.dqro-lead-box select,
#dqro-review-form input,
#dqro-review-form textarea,
#dqro-review-form select,
.dqro-search-wrapper input,
.dqro-search-wrapper select {
    background-color: #18181b !important;
    color: #f4f4f5 !important;
    border: 1px solid #3f3f46 !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
}

.dqro-booking-widget input:focus,
.dqro-booking-widget select:focus,
.dqro-booking-card input:focus,
.dqro-booking-card select:focus,
.dqro-lead-box input:focus,
.dqro-lead-box textarea:focus,
.dqro-lead-box select:focus,
#dqro-review-form input:focus,
#dqro-review-form textarea:focus,
#dqro-review-form select:focus,
.dqro-search-wrapper input:focus,
.dqro-search-wrapper select:focus {
    border-color: var(--wp--preset--color--primary, #25D366) !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.2) !important;
}

html[data-theme="light"] .dqro-booking-widget input,
html[data-theme="light"] .dqro-booking-widget select,
html[data-theme="light"] .dqro-booking-card input,
html[data-theme="light"] .dqro-booking-card select,
html[data-theme="light"] .dqro-lead-box input,
html[data-theme="light"] .dqro-lead-box textarea,
html[data-theme="light"] .dqro-lead-box select,
html[data-theme="light"] #dqro-review-form input,
html[data-theme="light"] #dqro-review-form textarea,
html[data-theme="light"] #dqro-review-form select,
html[data-theme="light"] .dqro-search-wrapper input,
html[data-theme="light"] .dqro-search-wrapper select {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
}

/* ==============================================================================
   57. Breadcrumb Spacing & Typography
   ============================================================================== */
.dqro-breadcrumbs {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 1.5rem !important;
}

.dqro-breadcrumbs a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

.dqro-breadcrumbs a:hover {
    color: var(--wp--preset--color--primary, #25D366) !important;
}

.dqro-breadcrumbs span[aria-hidden="true"] {
    margin: 0 4px !important;
    color: #475569 !important;
}

/* ==============================================================================
   58. Form Primary Submit Action Buttons (Neon Green Brand Accent)
   ============================================================================== */
.dqro-booking-widget button[type="submit"],
.dqro-booking-card button[type="submit"],
#dqro-bk-submit-btn,
#dqro-lead-submit,
#dqro-review-submit-btn,
.dqro-search-wrapper button[type="submit"] {
    background-color: var(--wp--preset--color--primary, #25D366) !important;
    color: #003915 !important;
    font-weight: 800 !important;
    border: none !important;
    border-radius: 12px !important;
    min-height: 48px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.dqro-booking-widget button[type="submit"]:hover,
.dqro-booking-card button[type="submit"]:hover,
#dqro-bk-submit-btn:hover,
#dqro-lead-submit:hover,
#dqro-review-submit-btn:hover,
.dqro-search-wrapper button[type="submit"]:hover {
    background-color: #4ff07f !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px -4px rgba(37, 211, 102, 0.35) !important;
}

/* ==============================================================================
   59. Voice Search Microphone Button (Docked inside Search Input)
   ============================================================================== */
.dqro-voice-search-btn {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    bottom: auto !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    background: #27272a !important;
    border: 1px solid #3f3f46 !important;
    color: #a1a1aa !important;
    cursor: pointer !important;
    z-index: 10 !important;
    transition: all 0.2s ease !important;
}

.dqro-voice-search-btn:hover {
    color: #25D366 !important;
    border-color: #25D366 !important;
    background: #18181b !important;
    transform: scale(1.05);
}

.dqro-voice-search-btn svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
}

/* ==============================================================================
   60. Responsive Blog & Homepage Grid Layout (Mobile-First 1-Col Stack)
   ============================================================================== */
@media (max-width: 900px) {
    .dqro-blog-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .dqro-blog-sidebar {
        position: static !important;
        width: 100% !important;
    }

    .dqro-hero-card {
        display: flex !important;
        flex-direction: column !important;
    }

    .dqro-articles-main .wp-block-post-template {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .dqro-article-card {
        width: 100% !important;
    }
}

/* ==============================================================================
   61. Modern Micro-Interactions & Hover Polish across Navigation, Cards & Actions
   ============================================================================== */

/* Navigation Links */
.dqro-nav-link {
    position: relative;
    transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s ease !important;
}

.dqro-nav-link:hover {
    color: #25D366 !important;
    transform: translateY(-1px);
}

.dqro-nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #25D366;
    border-radius: 2px;
    transition: width 0.25s ease, left 0.25s ease;
}

.dqro-nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* Buttons and Action CTAs */
.dqro-header-cta,
.dqro-whatsapp-btn,
#dqro-bk-submit-btn,
#dqro-lead-submit,
#dqro-review-submit-btn,
#dqro-claim-submit-btn,
#dqro-open-claim-btn {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background-color 0.2s ease !important;
}

.dqro-header-cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35) !important;
}

.dqro-header-cta:active,
.dqro-whatsapp-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Theme Switcher Toggle */
.dqro-theme-toggle-btn {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.dqro-theme-toggle-btn:hover {
    transform: rotate(25deg) scale(1.1);
    border-color: #25D366 !important;
    box-shadow: 0 0 14px rgba(37, 211, 102, 0.3) !important;
}

.dqro-theme-toggle-btn:active {
    transform: rotate(25deg) scale(0.95);
}

/* Editorial & Article Cards */
.dqro-editorial-card,
.dqro-article-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.dqro-editorial-card:hover,
.dqro-article-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 211, 102, 0.4) !important;
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(37, 211, 102, 0.25) !important;
}

.dqro-editorial-card img,
.dqro-article-card img {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.dqro-editorial-card:hover img,
.dqro-article-card:hover img {
    transform: scale(1.03);
}

/* Social Sharing Buttons */
.dqro-share-btn {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease !important;
}

.dqro-share-btn:hover {
    transform: translateY(-2px) scale(1.04);
}

.dqro-share-whatsapp:hover {
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.dqro-share-facebook:hover {
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.4);
}

.dqro-share-x:hover {
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.3);
}

.dqro-share-linkedin:hover {
    box-shadow: 0 4px 14px rgba(10, 102, 194, 0.4);
}

/* User Badge and Auth link */
.dqro-user-badge,
.dqro-auth-link {
    transition: all 0.2s ease !important;
}

.dqro-user-badge:hover {
    border-color: #25D366 !important;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.2);
}

.dqro-auth-link:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-1px);
}

/* ==============================================================================
   61. Category Cards & Directory Taxonomy Grid (High Contrast & WCAG 2.1)
   ============================================================================== */
.dqro-category-card {
    background: rgba(30, 41, 59, 0.7) !important;
    border: 1px solid rgba(51, 65, 85, 0.8) !important;
    text-decoration: none !important;
    color: #FFFFFF !important;
}

.dqro-category-card:hover {
    background: rgba(30, 41, 59, 0.95) !important;
    border-color: #22C55E !important;
}

.dqro-category-icon-box {
    background: rgba(15, 23, 42, 0.9) !important;
    border: 1px solid rgba(51, 65, 85, 0.8) !important;
}

.dqro-category-title {
    color: #F8FAFC !important;
}

.dqro-category-card:hover .dqro-category-title {
    color: #4ADE80 !important;
}

.dqro-category-count {
    background: rgba(15, 23, 42, 0.8) !important;
    color: #94A3B8 !important;
    border: 1px solid rgba(51, 65, 85, 0.6) !important;
}

/* Light Theme Styling for Category Grid */
html[data-theme="light"] .dqro-category-card {
    background: #FFFFFF !important;
    border-color: #E2E8F0 !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05) !important;
    color: #0F172A !important;
}

html[data-theme="light"] .dqro-category-card:hover {
    background: #F8FAFC !important;
    border-color: #16A34A !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04) !important;
}

html[data-theme="light"] .dqro-category-icon-box {
    background: #F1F5F9 !important;
    border: 1px solid #E2E8F0 !important;
}

html[data-theme="light"] .dqro-category-title {
    color: #0F172A !important;
}

html[data-theme="light"] .dqro-category-card:hover .dqro-category-title {
    color: #15803D !important;
}

html[data-theme="light"] .dqro-category-count {
    background: #F1F5F9 !important;
    color: #475569 !important;
    border: 1px solid #CBD5E1 !important;
}

/* Ensure breadcrumbs and headings on giros page are high-contrast in light mode */
html[data-theme="light"] .dqro-main-content h1 {
    color: #0F172A !important;
}

html[data-theme="light"] .dqro-main-content p {
    color: #475569 !important;
}

/* ==============================================================================
   62. Mobile Header Responsive Polish & WCAG Accessibility
   ============================================================================== */
@media (max-width: 768px) {
    .dqro-header-container {
        height: 72px !important;
    }
    .dqro-header-inner {
        height: 72px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
        gap: 12px !important;
    }
    .dqro-logo-group {
        gap: 8px !important;
        margin-right: 4px !important;
    }
    .dqro-logo {
        width: 38px !important;
        height: 38px !important;
    }
    .dqro-logo-text {
        font-size: 1.2rem !important;
        line-height: 1 !important;
    }
    .dqro-hero-subtitle {
        display: none !important;
    }
    .dqro-header-actions {
        gap: 10px !important;
        margin-left: auto !important;
    }
    .dqro-theme-toggle-btn,
    #dqro-theme-toggle {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        margin: 0 !important;
    }
    .dqro-auth-link {
        height: 44px !important;
        min-height: 44px !important;
        padding: 0 10px !important;
        font-size: 0.75rem !important;
        margin: 0 !important;
    }
    .dqro-user-badge {
        height: 44px !important;
        min-height: 44px !important;
        padding: 0 8px !important;
        font-size: 0.72rem !important;
        margin: 0 !important;
    }
    .dqro-header-cta {
        height: 48px !important;
        min-height: 48px !important;
        padding: 0 14px !important;
        font-size: 0.72rem !important;
        letter-spacing: 0.02em !important;
        margin: 0 !important;
    }
    #dqro-mobile-menu-toggle {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    .dqro-header-inner {
        padding-left: 10px !important;
        padding-right: 10px !important;
        gap: 8px !important;
    }
    .dqro-logo {
        width: 34px !important;
        height: 34px !important;
    }
    .dqro-logo-text {
        font-size: 1.1rem !important;
    }
    .dqro-header-actions {
        gap: 8px !important;
    }
    .dqro-cta-full {
        display: none !important;
    }
    .dqro-cta-short {
        display: inline !important;
    }
    .dqro-header-cta {
        padding: 0 12px !important;
        font-size: 0.72rem !important;
    }
    .dqro-auth-text {
        display: none !important;
    }
    .dqro-auth-link {
        padding: 0 10px !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }
    #dqro-mobile-menu-toggle {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        padding: 8px !important;
    }
    #dqro-mobile-menu-toggle svg {
        width: 20px !important;
        height: 20px !important;
    }
}

/* ==============================================================================
   63. Global Accessibility, Focus Rings & Overflow Containment
   ============================================================================== */
:focus-visible {
    outline: 2px solid #25D366 !important;
    outline-offset: 2px !important;
}

html[data-theme="light"] :focus-visible {
    outline: 2px solid #16A34A !important;
    outline-offset: 2px !important;
}

html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* ==============================================================================
   64. Publish Listing Wizard UI/UX Refactor & Contrast Compliance (Phase 146-UI)
   ============================================================================== */
.dqro-wizard-container {
    max-width: 800px;
    margin: 2rem auto;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--dqro-text-primary, #F1F5F9);
    background: transparent !important;
}

html[data-theme="light"] .dqro-wizard-container {
    color: #0F172A !important;
    background: transparent !important;
}

/* 64.1 Dynamic Step Indicator */
.dqro-step-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background: #1A1A1C !important;
    border: 1px solid #27272A !important;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.dark .dqro-step-bar,
[data-theme="dark"] .dqro-step-bar {
    background: #1A1A1C !important;
    border: 1px solid #27272A !important;
}

html[data-theme="light"] .dqro-step-bar {
    background: #F1F5F9 !important;
    border: 1px solid #CBD5E1 !important;
}

.dqro-step-indicator {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.dqro-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.dqro-step-title {
    font-size: 0.75rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

/* Inactive Steps - Dark Mode */
.dqro-step-indicator:not(.active) .dqro-step-circle,
.dark .dqro-step-bar .dqro-step-indicator:not(.active) .dqro-step-circle,
[data-theme="dark"] .dqro-step-bar .dqro-step-indicator:not(.active) .dqro-step-circle {
    background: #27272A !important;
    color: #94A3B8 !important;
}

.dqro-step-indicator:not(.active) .dqro-step-title,
.dark .dqro-step-bar .dqro-step-indicator:not(.active) .dqro-step-title,
[data-theme="dark"] .dqro-step-bar .dqro-step-indicator:not(.active) .dqro-step-title {
    color: #94A3B8 !important;
}

/* Inactive Steps - Light Mode */
html[data-theme="light"] .dqro-step-bar .dqro-step-indicator:not(.active) .dqro-step-circle {
    background: #E2E8F0 !important;
    color: #64748B !important;
}

html[data-theme="light"] .dqro-step-bar .dqro-step-indicator:not(.active) .dqro-step-title {
    color: #64748B !important;
}

/* Active Step - Dark Mode */
.dqro-step-indicator.active .dqro-step-circle,
.dark .dqro-step-bar .dqro-step-indicator.active .dqro-step-circle,
[data-theme="dark"] .dqro-step-bar .dqro-step-indicator.active .dqro-step-circle {
    background: #25D366 !important;
    color: #003915 !important;
    box-shadow: 0 0 12px rgba(37, 211, 102, 0.4) !important;
}

.dqro-step-indicator.active .dqro-step-title,
.dark .dqro-step-bar .dqro-step-indicator.active .dqro-step-title,
[data-theme="dark"] .dqro-step-bar .dqro-step-indicator.active .dqro-step-title {
    color: #25D366 !important;
}

/* Active Step - Light Mode */
html[data-theme="light"] .dqro-step-bar .dqro-step-indicator.active .dqro-step-circle {
    background: #15803D !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 12px rgba(21, 128, 61, 0.3) !important;
}

html[data-theme="light"] .dqro-step-bar .dqro-step-indicator.active .dqro-step-title {
    color: #15803D !important;
}

/* 64.2 Form Card Container & Padding */
.dqro-wizard-card {
    background: #1A1A1C;
    border: 1px solid var(--dqro-border-primary, #27272A);
    border-radius: 16px;
    padding: 2rem 2rem 2.5rem 2rem !important; /* Strictly pb-10: 2.5rem (40px) Desktop */
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 768px) {
    .dqro-wizard-card {
        padding: 1.5rem 1rem 2rem 1rem !important; /* Strictly pb-8: 2rem (32px) Mobile */
    }
}

.dark .dqro-wizard-card,
[data-theme="dark"] .dqro-wizard-card {
    background: #1A1A1C !important;
    border-color: #27272A !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
}

html[data-theme="light"] .dqro-wizard-card {
    background: #FFFFFF !important;
    border-color: #CBD5E1 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
}

/* Form Card Headings, Descriptions and Labels */
.dqro-wizard-card h3 {
    color: #FFFFFF;
    font-size: 1.35rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.dqro-wizard-card p.dqro-step-desc {
    color: #94A3B8;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.dqro-wizard-card label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #CBD5E1;
    margin-bottom: 0.4rem;
}

html[data-theme="light"] .dqro-wizard-card h3 {
    color: #0F172A !important;
}

html[data-theme="light"] .dqro-wizard-card p.dqro-step-desc {
    color: #475569 !important;
}

html[data-theme="light"] .dqro-wizard-card label {
    color: #334155 !important;
}

/* 64.3 High-Contrast Dark Inputs & Form Controls */
.dqro-wizard-input,
.dqro-wizard-card input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]),
.dqro-wizard-card select,
.dqro-wizard-card textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #0F0F10 !important;
    border: 1px solid var(--dqro-border-primary, #27272A) !important;
    border-radius: 8px;
    color: #F8FAFC !important;
    font-size: 0.9rem;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.dqro-wizard-input:focus,
.dqro-wizard-input:focus-visible,
.dqro-wizard-card input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):focus,
.dqro-wizard-card input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):focus-visible,
.dqro-wizard-card select:focus,
.dqro-wizard-card select:focus-visible,
.dqro-wizard-card textarea:focus,
.dqro-wizard-card textarea:focus-visible {
    outline: none !important;
    border-color: #22C55E !important;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25) !important;
}

/* Light Mode Inputs */
html[data-theme="light"] .dqro-wizard-input,
html[data-theme="light"] .dqro-wizard-card input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]),
html[data-theme="light"] .dqro-wizard-card select,
html[data-theme="light"] .dqro-wizard-card textarea {
    background-color: #FFFFFF !important;
    border: 1px solid var(--dqro-border-primary, #CBD5E1) !important;
    color: #0F172A !important;
}

html[data-theme="light"] .dqro-wizard-input:focus,
html[data-theme="light"] .dqro-wizard-input:focus-visible,
html[data-theme="light"] .dqro-wizard-card input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):focus,
html[data-theme="light"] .dqro-wizard-card input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):focus-visible,
html[data-theme="light"] .dqro-wizard-card select:focus,
html[data-theme="light"] .dqro-wizard-card select:focus-visible,
html[data-theme="light"] .dqro-wizard-card textarea:focus,
html[data-theme="light"] .dqro-wizard-card textarea:focus-visible {
    outline: none !important;
    border-color: #15803D !important;
    box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.25) !important;
}

/* 64.4 Social Buttons Harmony */
.dqro-step-social-auth {
    margin-bottom: 24px !important;
}

.dqro-step-social-auth .dqro-social-auth-group {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.dqro-step-social-auth .dqro-social-auth-group > div.flex {
    gap: 12px !important; /* gap-3 = 12px */
}

.dqro-step-social-auth .dqro-social-btn,
.dqro-social-auth-group .dqro-social-btn {
    height: 48px !important;
    min-height: 48px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 64.5 Action Buttons & Padding Clearance */
.dqro-wizard-actions {
    margin-top: 2rem !important;
    margin-bottom: 0 !important;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.dqro-btn-next,
#dqro-submit-btn {
    background-color: #25D366 !important;
    color: #003915 !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    padding: 0.75rem 1.75rem !important;
    border: none !important;
    border-radius: 9999px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3) !important;
    transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

.dqro-btn-next:hover,
#dqro-submit-btn:hover {
    background-color: #22C55E !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45) !important;
}

html[data-theme="light"] .dqro-btn-next,
html[data-theme="light"] #dqro-submit-btn {
    background-color: #15803D !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(21, 128, 61, 0.25) !important;
}

html[data-theme="light"] .dqro-btn-next:hover,
html[data-theme="light"] #dqro-submit-btn:hover {
    background-color: #166534 !important;
    box-shadow: 0 6px 20px rgba(21, 128, 61, 0.35) !important;
}

.dqro-btn-prev {
    background: transparent !important;
    color: #94A3B8 !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    padding: 0.75rem 1.25rem !important;
    border: 1px solid #3F3F46 !important;
    border-radius: 9999px !important;
    cursor: pointer !important;
    transition: color 0.15s ease, border-color 0.15s ease !important;
}

.dqro-btn-prev:hover {
    color: #F8FAFC !important;
    border-color: #71717A !important;
}

html[data-theme="light"] .dqro-btn-prev {
    color: #475569 !important;
    border-color: #CBD5E1 !important;
}

html[data-theme="light"] .dqro-btn-prev:hover {
    color: #0F172A !important;
    border-color: #94A3B8 !important;
}

/* Plan Cards in Step 4 */
.dqro-plan-card {
    background: #0F0F10 !important;
    border: 2px solid #27272A !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    cursor: pointer;
    display: block;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dqro-plan-card.active,
.dqro-plan-card:hover {
    border-color: #25D366 !important;
    box-shadow: 0 0 16px rgba(37, 211, 102, 0.15) !important;
}

html[data-theme="light"] .dqro-plan-card {
    background: #F8FAFC !important;
    border-color: #CBD5E1 !important;
    color: #0F172A !important;
}

html[data-theme="light"] .dqro-plan-card.active,
html[data-theme="light"] .dqro-plan-card:hover {
    border-color: #15803D !important;
    box-shadow: 0 0 16px rgba(21, 128, 61, 0.15) !important;
}

html[data-theme="light"] .dqro-plan-card div,
html[data-theme="light"] .dqro-plan-card ul,
html[data-theme="light"] .dqro-plan-card li {
    color: #0F172A !important;
}

/* ==============================================================================
   65. Global Visual Gatekeeper & Accessibility Refit (Phase 147-UI)
   ============================================================================== */

/* 65.1 Grid Stabilization: Uniform min-height & Line-Clamp-2 */
.dqro-category-card,
.dqro-muni-card,
.dqro-municipality-card {
    min-height: 120px !important;
}

.dqro-category-title,
.dqro-muni-title,
.dqro-municipality-title,
.dqro-category-card span.dqro-category-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* 65.2 Border Visibility in Dark Mode */
.dark .dqro-card,
.dark .dqro-business-card,
.dark .dqro-category-card,
.dark .dqro-wizard-card,
.dark .dqro-plan-card,
.dark .dqro-lead-box,
.dark .dqro-ad-card,
.dark .dqro-article-card,
.dark .dqro-news-card,
.dark .dqro-stat-card,
.dark .dqro-muni-card,
.dark .dqro-municipality-card,
[data-theme="dark"] .dqro-card,
[data-theme="dark"] .dqro-business-card,
[data-theme="dark"] .dqro-category-card,
[data-theme="dark"] .dqro-wizard-card,
[data-theme="dark"] .dqro-plan-card,
[data-theme="dark"] .dqro-lead-box,
[data-theme="dark"] .dqro-ad-card,
[data-theme="dark"] .dqro-article-card,
[data-theme="dark"] .dqro-news-card,
[data-theme="dark"] .dqro-stat-card,
[data-theme="dark"] .dqro-muni-card,
[data-theme="dark"] .dqro-municipality-card,
.dqro-card,
.dqro-business-card,
.dqro-category-card,
.dqro-lead-box,
.dqro-article-card,
.dqro-news-card {
    border-color: var(--dqro-border-primary, #27272A) !important;
}

html[data-theme="light"] .dqro-card,
html[data-theme="light"] .dqro-business-card,
html[data-theme="light"] .dqro-category-card,
html[data-theme="light"] .dqro-lead-box,
html[data-theme="light"] .dqro-article-card,
html[data-theme="light"] .dqro-news-card {
    border-color: var(--dqro-border-primary, #CBD5E1) !important;
}

/* 65.3 Touch-Target Compliance (Strictly >= 48x48px with 8px physical gap) */
.dqro-whatsapp-btn,
.dqro-share-btn,
.dqro-location-btn,
#dqro-btn-near-me,
.dqro-mobile-action-whatsapp,
.dqro-mobile-action-location,
.dqro-mobile-action-share,
.dqro-action-cta-btn {
    min-height: 48px !important;
    min-width: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.dqro-share-group,
.dqro-action-buttons,
.dqro-card-actions,
.dqro-mobile-action-bar {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
}

/* 65.4 Accessible Badges: High-Saturation vs Pastel Contrast */
.dqro-badge-saturated,
.badge-saturated,
.bg-emerald-600,
.bg-green-600,
.bg-emerald-700,
.bg-blue-600 {
    color: #FFFFFF !important;
}

.dqro-badge-pastel,
.badge-pastel,
.bg-emerald-100,
.bg-green-100,
.bg-slate-100,
.bg-slate-200 {
    color: #0F172A !important;
}

.dqro-cat-pill a,
.dqro-cat-badge a,
.dqro-news-badge,
.wp-block-post-terms.dqro-cat-badge a,
.wp-block-post-terms.dqro-cat-pill a {
    color: #22C55E !important;
    background: rgba(34, 197, 94, 0.14) !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
}

html[data-theme="light"] .dqro-cat-pill a,
html[data-theme="light"] .dqro-cat-badge a,
html[data-theme="light"] .dqro-news-badge,
html[data-theme="light"] .wp-block-post-terms.dqro-cat-badge a,
html[data-theme="light"] .wp-block-post-terms.dqro-cat-pill a {
    color: #15803D !important;
    background: #F0FDF4 !important;
    border: 1px solid #BBF7D0 !important;
}

/* 65.5 Keyboard Focus Indicators (Global 2px solid #22C55E ring with 2px offset) */
:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
[role="tab"]:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid #22C55E !important;
    outline-offset: 2px !important;
}

html[data-theme="light"] :focus-visible,
html[data-theme="light"] button:focus-visible,
html[data-theme="light"] a:focus-visible,
html[data-theme="light"] input:focus-visible,
html[data-theme="light"] select:focus-visible,
html[data-theme="light"] textarea:focus-visible,
html[data-theme="light"] [role="button"]:focus-visible,
html[data-theme="light"] [role="tab"]:focus-visible,
html[data-theme="light"] [tabindex]:focus-visible {
    outline: 2px solid #16A34A !important;
    outline-offset: 2px !important;
}

/* ==========================================================================
   FASE 152-UI: CATEGORY CARDS SPLIT-LAYOUT & ZERO-CLS IMAGE FRAME
   ========================================================================== */

/* Card Wrapper (Split-Layout 2-Column Desktop Grid) */
.dqro-business-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
    align-items: center;
    background-color: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 1rem;
    padding: 1.25rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    width: 100%;
}

.dqro-business-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

/* Mobile Stack (< 768px) */
@media (max-width: 767px) {
    .dqro-business-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
}

/* Zero-CLS Image Frame */
.dqro-card-image-wrapper {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0.75rem;
    position: relative;
    width: 100%;
    background-color: #1e293b;
}

.dqro-card-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.dqro-card-image-wrapper img,
.dqro-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 16 / 9;
    transition: transform 0.3s ease;
}

.dqro-business-card:hover .dqro-card-image-wrapper img,
.dqro-card-image-wrapper:focus-within img {
    transform: scale(1.05);
}

/* Badges Overlay on Image */
.dqro-card-badges-overlay {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    z-index: 2;
    pointer-events: none;
}

.dqro-card-cat-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dqro-card-prem-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: #fbbf24;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(251, 191, 36, 0.4);
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
}

/* Card Body & Content Hierarchy */
.dqro-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 180px;
}

.dqro-card-meta-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
}

.dqro-card-muni-pill {
    font-size: 0.75rem;
    font-weight: 600;
    color: #34d399;
}

.dqro-card-verified-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: #6ee7b7;
    background: rgba(6, 78, 59, 0.5);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.1rem 0.4rem;
    border-radius: 0.375rem;
}

.dqro-card-rating {
    font-size: 0.75rem;
    font-weight: 700;
    color: #fbbf24;
}

.dqro-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0.25rem 0 0.5rem 0;
}

.dqro-card-title a {
    color: #f8fafc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dqro-card-title a:hover {
    color: #60a5fa;
}

/* Typography & Description Clamp-2 */
.dqro-card-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #94a3b8;
    margin: 0.25rem 0 1rem 0;
}

/* Card Footer & Interactive CTAs (Strict 48px Touch Targets, WCAG 2.1 AA) */
.dqro-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #1e293b;
}

.dqro-btn-view-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    min-height: 48px;
    padding: 0 1.25rem;
    background-color: #1e293b;
    color: #f8fafc;
    border: 1px solid #334155;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dqro-btn-view-profile:hover {
    background-color: #334155;
    color: #ffffff;
    border-color: #475569;
}

.dqro-card-action-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dqro-card-btn {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0.75rem !important;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
}

.dqro-card-btn:hover {
    transform: translateY(-2px);
}

/* WhatsApp Button (Strict 48px, WCAG contrast >= 4.5:1) */
.dqro-btn-whatsapp {
    background-color: #25D366 !important;
    color: #003915 !important;
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3) !important;
}

.dqro-btn-whatsapp:hover {
    background-color: #1eb857 !important;
    color: #00220c !important;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4) !important;
}

/* Location Button (Strict 48px, WCAG contrast >= 4.5:1) */
.dqro-btn-location {
    background-color: #4338ca !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(67, 56, 202, 0.3) !important;
}

.dqro-btn-location:hover {
    background-color: #3730a3 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(67, 56, 202, 0.4) !important;
}

/* LIGHT MODE OVERRIDES */
html[data-theme="light"] .dqro-business-card {
    background-color: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .dqro-business-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .dqro-card-image-wrapper {
    background-color: #f1f5f9;
}

html[data-theme="light"] .dqro-card-cat-badge {
    color: #0284c7;
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(2, 132, 199, 0.3);
}

html[data-theme="light"] .dqro-card-prem-badge {
    color: #b45309;
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(180, 83, 9, 0.3);
}

html[data-theme="light"] .dqro-card-muni-pill {
    color: #059669;
}

html[data-theme="light"] .dqro-card-verified-badge {
    color: #047857;
    background: #ecfdf5;
    border-color: #a7f3d0;
}

html[data-theme="light"] .dqro-card-rating {
    color: #d97706;
}

html[data-theme="light"] .dqro-card-title a {
    color: #0f172a;
}

html[data-theme="light"] .dqro-card-title a:hover {
    color: #2563eb;
}

html[data-theme="light"] .dqro-card-description {
    color: #475569;
}

html[data-theme="light"] .dqro-card-footer {
    border-top-color: #f1f5f9;
}

html[data-theme="light"] .dqro-btn-view-profile {
    background-color: #f8fafc;
    color: #0f172a;
    border-color: #cbd5e1;
}

html[data-theme="light"] .dqro-btn-view-profile:hover {
    background-color: #f1f5f9;
    border-color: #94a3b8;
}

html[data-theme="light"] .dqro-btn-whatsapp {
    background-color: #16A34A !important;
    color: #FFFFFF !important;
}

html[data-theme="light"] .dqro-btn-whatsapp:hover {
    background-color: #15803D !important;
}

html[data-theme="light"] .dqro-btn-location {
    background-color: #4F46E5 !important;
    color: #FFFFFF !important;
}

html[data-theme="light"] .dqro-btn-location:hover {
    background-color: #4338CA !important;
}

/* ==========================================================================
   Phase 155-SOS: Real-Time Geolocation & Emergency Assistant
   ========================================================================== */
#dqro-emergency-assistant,
.dqro-emergency-widget {
    contain: layout style;
    box-sizing: border-box;
}

.dqro-emergency-skeleton-wrapper {
    min-height: 310px;
    contain: layout;
}

.dqro-sos-btn,
.dqro-service-tab,
.dqro-sos-btn-call,
.dqro-sos-btn-whatsapp,
.dqro-sos-geolocate {
    min-height: 48px !important;
    height: 48px !important;
    touch-action: manipulation;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Phase 155-UX: Hero Search, SOS Quick Widget & Proximity Pills
   ========================================================================== */
.has-text-align-center {
    text-align: center !important;
}

.dqro-sos-buttons-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
}

@media (min-width: 640px) {
    .dqro-sos-buttons-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}

.dqro-sos-quick-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border: none !important;
    transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease !important;
}

.dqro-sos-quick-btn:hover {
    transform: translateY(-1px) !important;
}

.dqro-sos-quick-btn:active {
    transform: translateY(0) !important;
}

.dqro-sos-quick-btn svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    contain: size layout paint !important;
}

/* ==========================================================================
   Phase 157-ICONS: Universal Icon Governance & High-Contrast Standards (WCAG 2.1 AA)
   ========================================================================== */

/* 1. Universal SVG icon containment (applies to existing & all future icons) */
svg:not(.dqro-unconstrained-svg):not(.dqro-logo-svg):not(.dqro-chart-svg) {
    max-width: 100%;
    max-height: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
}

/* 2. Semantic Icon Token Classes */
.dqro-icon,
[class*="dqro-icon-"] {
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.dqro-icon-xs, svg.w-3\.5, svg.h-3\.5 { width: 14px !important; height: 14px !important; min-width: 14px !important; min-height: 14px !important; max-width: 14px !important; max-height: 14px !important; }
.dqro-icon-sm, svg.w-4, svg.h-4 { width: 16px !important; height: 16px !important; min-width: 16px !important; min-height: 16px !important; max-width: 16px !important; max-height: 16px !important; }
.dqro-icon-md, svg.w-5, svg.h-5 { width: 20px !important; height: 20px !important; min-width: 20px !important; min-height: 20px !important; max-width: 20px !important; max-height: 20px !important; }
.dqro-icon-lg, svg.w-6, svg.h-6 { width: 24px !important; height: 24px !important; min-width: 24px !important; min-height: 24px !important; max-width: 24px !important; max-height: 24px !important; }
.dqro-icon-xl, svg.w-7, svg.h-7 { width: 28px !important; height: 28px !important; min-width: 28px !important; min-height: 28px !important; max-width: 28px !important; max-height: 28px !important; }
.dqro-icon-2xl, svg.w-8, svg.h-8 { width: 32px !important; height: 32px !important; min-width: 32px !important; min-height: 32px !important; max-width: 32px !important; max-height: 32px !important; }
.dqro-icon-3xl, svg.w-10, svg.h-10 { width: 40px !important; height: 40px !important; min-width: 40px !important; min-height: 40px !important; max-width: 40px !important; max-height: 40px !important; }
.dqro-icon-4xl, svg.w-12, svg.h-12 { width: 48px !important; height: 48px !important; min-width: 48px !important; min-height: 48px !important; max-width: 48px !important; max-height: 48px !important; }

/* Tailwind Dimension Utility Fallbacks for Containers and Buttons */
.w-3\.5 { width: 14px !important; }
.h-3\.5 { height: 14px !important; }
.w-4 { width: 16px !important; }
.h-4 { height: 16px !important; }
.w-5 { width: 20px !important; }
.h-5 { height: 20px !important; }
.w-6 { width: 24px !important; }
.h-6 { height: 24px !important; }
.w-7 { width: 28px !important; }
.h-7 { height: 28px !important; }
.w-8 { width: 32px !important; }
.h-8 { height: 32px !important; }
.w-10 { width: 40px !important; }
.h-10 { height: 40px !important; }
.w-12 { width: 48px !important; }
.h-12 { height: 48px !important; }
.w-14 { width: 56px !important; }
.h-14 { height: 56px !important; }

/* 3. Strict Responsive Visibility Fallbacks */
@media (min-width: 1024px) {
    .lg\:hidden,
    #dqro-wa-fab {
        display: none !important;
    }
}

/* 4. WhatsApp Floating Action Button (FAB) Mobile Constraints */
#dqro-wa-fab {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 9999px !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

#dqro-wa-fab svg {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    display: block !important;
    margin: auto !important;
    flex-shrink: 0 !important;
}

/* 5. WhatsApp Direct CTA Button (#dqro-whatsapp-cta) */
#dqro-whatsapp-cta,
.dqro-whatsapp-btn {
    min-height: 48px !important;
    gap: 8px !important;
    background-color: #166534 !important;
    color: #FFFFFF !important;
}

#dqro-whatsapp-cta:hover,
.dqro-whatsapp-btn:hover {
    background-color: #15803D !important;
    color: #FFFFFF !important;
}

#dqro-whatsapp-cta svg,
.dqro-whatsapp-btn svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}

html[data-theme="light"] #dqro-whatsapp-cta,
[data-theme="light"] #dqro-whatsapp-cta {
    background-color: #166534 !important;
    color: #FFFFFF !important;
}

html[data-theme="dark"] #dqro-whatsapp-cta,
:root:not([data-theme="light"]) #dqro-whatsapp-cta {
    background-color: #166534 !important;
    color: #FFFFFF !important;
}


/* 6. Social Share Buttons & SVGs (.dqro-share-btn) */
.dqro-share-btn svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

/* 7. Emoji Icon Uniformity & Alignment */
.dqro-emoji-icon,
.dqro-sidebar-card ul li > span[aria-hidden="true"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
    font-size: 1.15rem !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
}

/* 8. High-Contrast Standards for Sidebar Card (#contactar-ahora) */
/* Light Mode */
html[data-theme="light"] #contactar-ahora,
[data-theme="light"] #contactar-ahora,
.light #contactar-ahora {
    background-color: #FFFFFF !important;
    border-color: #CBD5E1 !important;
    color: #0F172A !important;
}

html[data-theme="light"] #contactar-ahora h2,
[data-theme="light"] #contactar-ahora h2,
.light #contactar-ahora h2 {
    color: #0F172A !important;
}

html[data-theme="light"] #contactar-ahora ul,
[data-theme="light"] #contactar-ahora ul,
.light #contactar-ahora ul {
    color: #1E293B !important;
}

html[data-theme="light"] #contactar-ahora ul li span,
[data-theme="light"] #contactar-ahora ul li span,
.light #contactar-ahora ul li span {
    color: #334155 !important;
}

html[data-theme="light"] #contactar-ahora ul li span.text-slate-400,
html[data-theme="light"] #contactar-ahora ul li span.text-slate-500,
[data-theme="light"] #contactar-ahora ul li span.text-slate-400,
[data-theme="light"] #contactar-ahora ul li span.text-slate-500 {
    color: #475569 !important; /* Passes 5.2:1 ratio on #FFFFFF */
}

/* Phone link accessible contrast in light mode (minimum 4.5:1, achieves 5.02:1) */
html[data-theme="light"] .dqro-phone-btn,
[data-theme="light"] .dqro-phone-btn,
.light .dqro-phone-btn {
    color: #15803D !important;
    font-weight: 700 !important;
}

html[data-theme="light"] .dqro-phone-btn:hover,
[data-theme="light"] .dqro-phone-btn:hover,
.light .dqro-phone-btn:hover {
    color: #166534 !important;
    text-decoration: underline !important;
}

/* Website and email links in light mode */
html[data-theme="light"] #contactar-ahora a.dqro-website-link,
html[data-theme="light"] #contactar-ahora a[href^="mailto:"],
[data-theme="light"] #contactar-ahora a.dqro-website-link,
[data-theme="light"] #contactar-ahora a[href^="mailto:"] {
    color: #1D4ED8 !important; /* Passes 6.5:1 on #FFFFFF */
}

/* DENUE ID text contrast */
html[data-theme="light"] #contactar-ahora li.text-slate-500,
[data-theme="light"] #contactar-ahora li.text-slate-500 {
    color: #475569 !important;
}

/* Social share section contrast */
html[data-theme="light"] .dqro-social-share-widget p,
[data-theme="light"] .dqro-social-share-widget p {
    color: #334155 !important;
}

html[data-theme="light"] .dqro-share-btn,
[data-theme="light"] .dqro-share-btn {
    background-color: #F1F5F9 !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
}

html[data-theme="light"] .dqro-share-btn svg,
[data-theme="light"] .dqro-share-btn svg {
    fill: currentColor !important;
}

html[data-theme="light"] .dqro-share-whatsapp:hover,
[data-theme="light"] .dqro-share-whatsapp:hover {
    background-color: #15803D !important;
    border-color: #15803D !important;
    color: #FFFFFF !important;
}

html[data-theme="light"] .dqro-share-facebook:hover,
[data-theme="light"] .dqro-share-facebook:hover {
    background-color: #1877F2 !important;
    border-color: #1877F2 !important;
    color: #FFFFFF !important;
}

html[data-theme="light"] .dqro-share-x:hover,
[data-theme="light"] .dqro-share-x:hover {
    background-color: #0F172A !important;
    border-color: #0F172A !important;
    color: #FFFFFF !important;
}

html[data-theme="light"] .dqro-share-linkedin:hover,
[data-theme="light"] .dqro-share-linkedin:hover {
    background-color: #0A66C2 !important;
    border-color: #0A66C2 !important;
    color: #FFFFFF !important;
}

html[data-theme="light"] .dqro-share-copy:hover,
[data-theme="light"] .dqro-share-copy:hover {
    background-color: #E2E8F0 !important;
    border-color: #15803D !important;
    color: #15803D !important;
}

/* Claim Banner Contrast */
html[data-theme="light"] .dqro-claim-banner,
[data-theme="light"] .dqro-claim-banner {
    background-color: #FFFBEB !important;
    border-color: #FCD34D !important;
}

html[data-theme="light"] .dqro-claim-banner h4,
[data-theme="light"] .dqro-claim-banner h4 {
    color: #92400E !important;
}

html[data-theme="light"] .dqro-claim-banner p,
[data-theme="light"] .dqro-claim-banner p {
    color: #78350F !important;
}

html[data-theme="light"] #dqro-open-claim-btn,
[data-theme="light"] #dqro-open-claim-btn {
    background: linear-gradient(to right, #D97706, #B45309) !important;
    color: #FFFFFF !important;
}

/* Lead Form in light mode */
html[data-theme="light"] .dqro-lead-form-wrapper h3,
[data-theme="light"] .dqro-lead-form-wrapper h3 {
    color: #0F172A !important;
}

/* Dark Mode Social Share Buttons fallback */
html[data-theme="dark"] .dqro-share-btn,
:root:not([data-theme="light"]) .dqro-share-btn {
    background-color: #27272A !important;
    border-color: #3F3F46 !important;
    color: #F1F5F9 !important;
}

/* WCAG 2.1 AA / 2.5.5 Touch Target Ergonomics */
.dqro-star-btn {
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

[data-dqro-report-trigger] {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 10px 14px !important;
}

#dqro-report-close-btn {
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ==========================================================================
   Phase 160-TASTE-SHAPE: Anti-Slop Frontend Refactor & Visual Polish
   ========================================================================== */

/* 1. Proximity Pills Horizontal Dynamic Capsules (Taste Skill Layout Scaling) */
.dqro-section-sub-title {
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 0.5rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.375rem !important;
    color: #A1A1AA !important;
}

html[data-theme="light"] .dqro-section-sub-title,
[data-theme="light"] .dqro-section-sub-title {
    color: #52525B !important;
}

.dqro-section-sub-title.text-red-500,
.dqro-home-sos-widget .dqro-section-sub-title {
    color: #EF4444 !important;
}

html[data-theme="light"] .dqro-section-sub-title.text-red-500,
html[data-theme="light"] .dqro-home-sos-widget .dqro-section-sub-title {
    color: #DC2626 !important;
}

.dqro-proximity-scroll-container {
    display: flex !important;
    overflow-x: auto !important;
    gap: 0.5rem !important;
    padding: 0.25rem 0 !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
}

.dqro-proximity-scroll-container::-webkit-scrollbar {
    display: none !important;
}

.dqro-proximity-pill {
    min-height: 40px !important;
    height: 40px !important;
    max-height: 40px !important;
    padding: 0 0.875rem !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.375rem !important;
    white-space: nowrap !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    scroll-snap-align: start !important;
    border: 1px solid #27272A !important;
    background-color: #18181B !important;
    color: #F4F4F5 !important;
    transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease !important;
    text-overflow: clip !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

.dqro-proximity-pill:hover {
    background-color: #27272A !important;
    border-color: #3F3F46 !important;
    color: #FFFFFF !important;
    transform: translateY(-1px) !important;
}

.dqro-proximity-pill:active {
    transform: translateY(0) !important;
}

html[data-theme="light"] .dqro-proximity-pill,
[data-theme="light"] .dqro-proximity-pill {
    background-color: #F4F4F5 !important;
    color: #18181B !important;
    border: 1px solid #E4E4E7 !important;
}

html[data-theme="light"] .dqro-proximity-pill:hover,
[data-theme="light"] .dqro-proximity-pill:hover {
    background-color: #E4E4E7 !important;
    border-color: #D4D4D8 !important;
    color: #09090B !important;
}

.dqro-proximity-pill .dqro-pill-icon {
    font-size: 1rem !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.dqro-proximity-pill .dqro-pill-text {
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    display: inline-block !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
}

/* 2. Standardized Empty State Card (Zero-CLS & High Contrast WCAG 2.1 AA) */
#dqro-empty-state-wrapper,
.dqro-empty-state-card {
    min-height: 250px !important;
    height: 250px !important;
    max-height: 250px !important;
    contain: layout size !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 1.5rem !important;
    border-radius: 1rem !important;
    box-sizing: border-box !important;
    background-color: #18181B !important;
    border: 1px solid #27272A !important;
    color: #E4E4E7 !important;
    width: 100% !important;
    margin: 1.5rem 0 !important;
}

html[data-theme="light"] #dqro-empty-state-wrapper,
html[data-theme="light"] .dqro-empty-state-card,
[data-theme="light"] #dqro-empty-state-wrapper,
[data-theme="light"] .dqro-empty-state-card {
    background-color: #F4F4F5 !important;
    border: 1px solid #E4E4E7 !important;
    color: #18181B !important;
}

#dqro-empty-state-wrapper .dqro-empty-state-icon,
.dqro-empty-state-card .dqro-empty-state-icon {
    font-size: 2rem !important;
    line-height: 1 !important;
    margin-bottom: 0.75rem !important;
    display: block !important;
}

#dqro-empty-state-wrapper .dqro-empty-state-title,
.dqro-empty-state-card .dqro-empty-state-title {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    margin: 0 0 0.5rem 0 !important;
    color: #FFFFFF !important;
}

html[data-theme="light"] #dqro-empty-state-wrapper .dqro-empty-state-title,
html[data-theme="light"] .dqro-empty-state-card .dqro-empty-state-title,
[data-theme="light"] #dqro-empty-state-wrapper .dqro-empty-state-title,
[data-theme="light"] .dqro-empty-state-card .dqro-empty-state-title {
    color: #09090B !important;
}

#dqro-empty-state-wrapper .dqro-empty-state-message,
.dqro-empty-state-card .dqro-empty-state-message {
    font-size: 0.875rem !important;
    color: #A1A1AA !important;
    max-width: 28rem !important;
    margin: 0 0 1rem 0 !important;
    line-height: 1.4 !important;
}

html[data-theme="light"] #dqro-empty-state-wrapper .dqro-empty-state-message,
html[data-theme="light"] .dqro-empty-state-card .dqro-empty-state-message,
[data-theme="light"] #dqro-empty-state-wrapper .dqro-empty-state-message,
[data-theme="light"] .dqro-empty-state-card .dqro-empty-state-message {
    color: #52525B !important;
}

#dqro-empty-state-wrapper .dqro-empty-state-cta,
.dqro-empty-state-card .dqro-empty-state-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    height: 48px !important;
    max-height: 48px !important;
    padding: 0 1.5rem !important;
    border-radius: 0.75rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    background-color: #15803D !important;
    color: #FFFFFF !important;
    transition: background-color 0.2s ease, transform 0.15s ease !important;
    cursor: pointer !important;
    border: none !important;
    box-sizing: border-box !important;
}

#dqro-empty-state-wrapper .dqro-empty-state-cta:hover,
.dqro-empty-state-card .dqro-empty-state-cta:hover {
    background-color: #16A34A !important;
    color: #FFFFFF !important;
    transform: translateY(-1px) !important;
}

#dqro-empty-state-wrapper .dqro-empty-state-cta:active,
.dqro-empty-state-card .dqro-empty-state-cta:active {
    transform: translateY(0) !important;
}

/* 3. Impeccable /typeset Scaling & Distinct Weight Boundaries */
.dqro-hero-heading,
h1.has-display-lg-font-size {
    font-size: clamp(2.25rem, 5vw, 3.5rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.04em !important;
    line-height: 1.1 !important;
}

.dqro-hero-subheading,
p.has-body-lg-font-size {
    font-size: clamp(1rem, 2vw, 1.125rem) !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    color: #A1A1AA !important;
}

html[data-theme="light"] .dqro-hero-subheading,
html[data-theme="light"] p.has-body-lg-font-size {
    color: #52525B !important;
}

.dqro-utility-filter {
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
}

.dqro-card-metadata-text {
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: #A1A1AA !important;
}

html[data-theme="light"] .dqro-card-metadata-text {
    color: #71717A !important;
}

/* 4. Dual-Theme Contrast & Parity (Taste Skill §8 >= 4.5:1) */
.dqro-card-verified-badge,
.dqro-badge-verified {
    color: #6EE7B7 !important;
    background-color: rgba(6, 78, 59, 0.6) !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
}

html[data-theme="light"] .dqro-card-verified-badge,
html[data-theme="light"] .dqro-badge-verified {
    color: #047857 !important;
    background-color: #ECFDF5 !important;
    border: 1px solid #A7F3D0 !important;
}

.dqro-card-prem-badge {
    color: #FBBF24 !important;
    background-color: rgba(15, 23, 42, 0.9) !important;
}

html[data-theme="light"] .dqro-card-prem-badge {
    color: #B45309 !important;
    background-color: #FEF3C7 !important;
    border: 1px solid rgba(180, 83, 9, 0.3) !important;
}

.dqro-card-cat-badge {
    color: #38BDF8 !important;
    background-color: rgba(15, 23, 42, 0.9) !important;
}

html[data-theme="light"] .dqro-card-cat-badge {
    color: #0284C7 !important;
    background-color: #F0F9FF !important;
    border: 1px solid rgba(2, 132, 199, 0.3) !important;
}

/* 5. Button Surface Themed Focus Outlines */
button:focus,
a:focus,
.dqro-sos-quick-btn:focus,
.dqro-proximity-pill:focus,
.dqro-empty-state-cta:focus {
    outline: none !important;
}

button:focus-visible,
a.wp-element-button:focus-visible,
.dqro-sos-quick-btn:focus-visible,
.dqro-proximity-pill:focus-visible,
.dqro-empty-state-cta:focus-visible {
    outline: 2px solid #22C55E !important;
    outline-offset: 2px !important;
}

html[data-theme="light"] button:focus-visible,
html[data-theme="light"] a.wp-element-button:focus-visible,
html[data-theme="light"] .dqro-sos-quick-btn:focus-visible,
html[data-theme="light"] .dqro-proximity-pill:focus-visible,
html[data-theme="light"] .dqro-empty-state-cta:focus-visible {
    outline: 2px solid #16A34A !important;
    outline-offset: 2px !important;
}


