/*
 * Visual Search — hero animations, upload form, results layout
 *
 * Cookie-driven modes:
 *   body[data-hero-mode="cinematic"]  → ~2.8s first-visit sequence
 *   body[data-hero-mode="short"]      → ~0.8s repeat-visit sequence
 *   @media (prefers-reduced-motion)    → everything shows instantly
 */

/* ────────────────────────────────────────────────────────────────────── */
/*  Hero section base                                                     */
/* ────────────────────────────────────────────────────────────────────── */

.aor-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
    min-height: 560px;
    background: radial-gradient(ellipse at center, #1a2240 0%, #0a0e20 100%);
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.aor-hero-compact {
    padding: 24px 20px;
    min-height: auto;
    gap: 16px;
}

.aor-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(100,150,255,0.12) 0, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(200,120,180,0.10) 0, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.aor-hero-illustration {
    position: relative;
    width: 280px;
    height: 380px;
    z-index: 1;
}
.aor-hero-compact .aor-hero-illustration {
    width: 140px;
    height: 180px;
}

.aor-hero-phone {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

.aor-hero-rim {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: auto;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.6));
    will-change: transform, opacity;
}

.aor-hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.aor-hero-particle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffd56a 0%, transparent 70%);
    opacity: 0;
    will-change: transform, opacity;
}

.aor-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.aor-hero-headline {
    font-size: clamp(28px, 6vw, 52px);
    margin: 0 0 16px 0;
    line-height: 1.1;
    font-weight: 800;
    background: linear-gradient(180deg, #ffffff 0%, #b8d0ff 100%);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    will-change: transform, opacity;
}
.aor-hero-compact .aor-hero-headline {
    font-size: clamp(20px, 3vw, 28px);
    margin-bottom: 8px;
}

.aor-hero-subhead {
    font-size: clamp(16px, 2.2vw, 20px);
    margin: 0 0 32px 0;
    opacity: 0.88;
    will-change: transform, opacity;
}
.aor-hero-compact .aor-hero-subhead {
    margin-bottom: 12px;
    font-size: 14px;
}

.aor-hero-phone,
.aor-hero-copy .aor-hero-headline,
.aor-hero-copy .aor-hero-subhead,
.aor-hero-copy .aor-vs-form {
    opacity: 0;
}

/* ────────────────────────────────────────────────────────────────────── */
/*  Upload form                                                           */
/* ────────────────────────────────────────────────────────────────────── */

.aor-vs-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    will-change: transform, opacity;
}
.aor-vs-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
/* Hero buttons — scaled-up twins of the .aor-nav-cta header pill */
.aor-vs-btn {
    appearance: none;
    display: inline-block;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 18px 36px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    cursor: pointer;
    text-decoration: none;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    transition: all 0.25s;
}

/* Red (camera) — same gradient + shadow stack as .aor-nav-cta */
.aor-vs-camera {
    background: linear-gradient(180deg, #ff2222 0%, #e81010 30%, #b80000 70%, #8a0000 100%);
    box-shadow:
        0 2px 8px rgba(219, 0, 0, 0.4),
        0 6px 20px rgba(219, 0, 0, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.35),
        inset 0 2px 1px rgba(255,255,255,0.1),
        inset 0 -1px 0 rgba(0,0,0,0.5),
        inset 0 -2px 1px rgba(0,0,0,0.2);
}
.aor-vs-camera:hover {
    background: linear-gradient(180deg, #ff4040 0%, #ff1a1a 30%, #d00000 70%, #a00000 100%);
    box-shadow:
        0 4px 16px rgba(219, 0, 0, 0.45),
        0 8px 30px rgba(219, 0, 0, 0.25),
        inset 0 1px 0 rgba(255,255,255,0.4),
        inset 0 -1px 0 rgba(0,0,0,0.4);
    transform: translateY(-2px);
}
.aor-vs-camera:active {
    transform: translateY(1px);
    background: linear-gradient(180deg, #8a0000 0%, #b80000 50%, #a00000 100%);
    box-shadow:
        0 1px 3px rgba(219, 0, 0, 0.4),
        inset 0 3px 6px rgba(0,0,0,0.5),
        inset 0 1px 1px rgba(0,0,0,0.3);
}

/* Blue (upload) — same lightness curve, hue-shifted */
.aor-vs-upload {
    background: linear-gradient(180deg, #3aa0ff 0%, #1a7fdd 30%, #0057b8 70%, #003a80 100%);
    box-shadow:
        0 2px 8px rgba(0, 112, 219, 0.4),
        0 6px 20px rgba(0, 112, 219, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.35),
        inset 0 2px 1px rgba(255,255,255,0.1),
        inset 0 -1px 0 rgba(0,0,0,0.5),
        inset 0 -2px 1px rgba(0,0,0,0.2);
}
.aor-vs-upload:hover {
    background: linear-gradient(180deg, #5cb0ff 0%, #2a8fee 30%, #0062cc 70%, #004a90 100%);
    box-shadow:
        0 4px 16px rgba(0, 112, 219, 0.45),
        0 8px 30px rgba(0, 112, 219, 0.25),
        inset 0 1px 0 rgba(255,255,255,0.4),
        inset 0 -1px 0 rgba(0,0,0,0.4);
    transform: translateY(-2px);
}
.aor-vs-upload:active {
    transform: translateY(1px);
    background: linear-gradient(180deg, #003a80 0%, #0057b8 50%, #004a90 100%);
    box-shadow:
        0 1px 3px rgba(0, 112, 219, 0.4),
        inset 0 3px 6px rgba(0,0,0,0.5),
        inset 0 1px 1px rgba(0,0,0,0.3);
}

.aor-turnstile {
    margin-bottom: 4px;
}

.aor-vs-error {
    color: #ff8080;
    font-weight: 600;
    margin: 0;
    font-size: 14px;
}

.aor-vs-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,14,32,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    color: #fff;
}
/* CRITICAL: the [hidden] HTML attribute would normally force display:none,
   but the .aor-vs-overlay class above sets display:flex which has higher
   specificity than the user-agent [hidden] rule. This explicit override
   restores the hidden behavior so JS can actually toggle visibility. */
.aor-vs-overlay[hidden] {
    display: none !important;
}
.aor-vs-overlay-inner {
    text-align: center;
    max-width: 420px;
    padding: 0 24px;
}

/* v1.28.2 — Material-symbol icon inside a spinning red→blue conic-gradient
   ring. Icon morphs per progressSteps stage (cloud_upload → image →
   auto_awesome → search → task_alt). */
.aor-vs-overlay-iconring {
    position: relative;
    width: 132px;
    height: 132px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.aor-vs-overlay-iconring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
        transparent 0deg,
        rgba(34, 102, 204, 0) 90deg,
        rgba(34, 102, 204, 0.85) 240deg,
        rgba(219, 0, 0, 1) 320deg,
        rgba(219, 0, 0, 0.9) 358deg,
        transparent 360deg);
    animation: aor-vs-spin 1.6s linear infinite;
    will-change: transform;
}
/* Inner mask so only the ring (not the whole filled disc) shows */
.aor-vs-overlay-iconring::after {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: rgba(10, 14, 32, 0.97);
    box-shadow:
        inset 0 0 28px rgba(34, 102, 204, 0.18),
        0 0 24px rgba(219, 0, 0, 0.12);
}
.aor-vs-overlay-icon {
    position: relative;
    z-index: 3;
    font-size: 64px;
    color: #fff;
    font-variation-settings: 'FILL' 0, 'wght' 350, 'GRAD' 0, 'opsz' 48;
    line-height: 1;
    animation: aor-vs-icon-pulse 1.6s ease-in-out infinite;
    transition: opacity 0.2s ease, transform 0.2s ease;
    will-change: opacity, transform;
    /* Drop shadow keeps the icon legible against the rim spokes behind it */
    text-shadow: 0 2px 6px rgba(0,0,0,0.85), 0 0 14px rgba(0,0,0,0.6);
}
/* Cross-fade applied by JS during icon swap */
.aor-vs-overlay-icon.is-changing {
    opacity: 0;
    transform: scale(0.85);
}

/* v1.28.5 — Hero rim image as a slowly-spinning backdrop inside the iconring.
   Sits between the dark inner mask (::after, no z-index) and the Material icon
   (z-index 3). Counter-rotates against the outer ring's clockwise spin so the
   composition reads as two layers of motion, not one big spin. Low opacity +
   slight grayscale + radial-gradient mask keeps the icon legible at the center
   without obscuring the spokes around the edges. */
.aor-vs-overlay-rim {
    position: absolute;
    inset: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
    opacity: 0.45;
    filter: grayscale(0.35) contrast(1.05) brightness(0.92);
    animation: aor-vs-rim-counter-spin 9s linear infinite;
    will-change: transform;
    /* Fade the center so the Material icon has a clear hub area to read against */
    -webkit-mask-image: radial-gradient(circle at center, transparent 0, transparent 22%, #000 48%, #000 100%);
            mask-image: radial-gradient(circle at center, transparent 0, transparent 22%, #000 48%, #000 100%);
}
@keyframes aor-vs-rim-counter-spin {
    to { transform: rotate(-360deg); }
}

.aor-vs-overlay-text {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 18px;
    letter-spacing: 0.3px;
    color: #fff;
}

/* Progress bar (was claimed in v1.15.16 changelog but never had matching CSS).
   Red→blue gradient + white shimmer sweep mirrors the site's color palette. */
.aor-vs-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin: 0 auto 12px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}
.aor-vs-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #db0000, #2266cc);
    border-radius: 999px;
    transition: width 0.6s cubic-bezier(0.45, 0.05, 0.55, 0.95);
    position: relative;
    overflow: hidden;
}
.aor-vs-progress-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.55),
        transparent);
    animation: aor-vs-shimmer 1.2s ease-in-out infinite;
}

/* Status subtext — log/console feel (mono font, dim color) so it reads as
   diagnostic info rather than competing with the main "Analyzing your photo"
   headline above. */
.aor-vs-progress-status {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.68);
    font-family: ui-monospace, "SF Mono", Menlo, Monaco, "Courier New", monospace;
    letter-spacing: 0.2px;
    margin: 0;
    min-height: 18px;
    transition: opacity 0.2s ease;
}

@keyframes aor-vs-spin {
    to { transform: rotate(360deg); }
}
@keyframes aor-vs-icon-pulse {
    0%, 100% { transform: scale(1);    opacity: 0.95; }
    50%      { transform: scale(1.08); opacity: 1;    }
}
@keyframes aor-vs-shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ────────────────────────────────────────────────────────────────────── */
/*  Cinematic animation (first visit)                                     */
/* ────────────────────────────────────────────────────────────────────── */

body[data-hero-mode="cinematic"] .aor-hero-phone {
    animation: aor-hero-phone-in 0.8s ease-out 0.3s forwards;
}
body[data-hero-mode="cinematic"] .aor-hero-flash {
    animation: aor-hero-flash 0.3s ease-out 0.8s forwards;
}
body[data-hero-mode="cinematic"] .aor-hero-rim {
    animation: aor-hero-rim-explode 1.0s cubic-bezier(0.2, 1.4, 0.4, 1) 1.0s forwards;
}
body[data-hero-mode="cinematic"] .aor-hero-particle {
    animation: aor-hero-particle-burst 0.9s ease-out 1.1s forwards;
}
body[data-hero-mode="cinematic"] .aor-hero-headline {
    animation: aor-hero-fade-up 0.7s ease-out 1.8s forwards;
}
body[data-hero-mode="cinematic"] .aor-hero-subhead {
    animation: aor-hero-fade-up 0.7s ease-out 2.0s forwards;
}
body[data-hero-mode="cinematic"] .aor-vs-form {
    animation: aor-hero-fade-up 0.7s ease-out 2.2s forwards;
}

/* ────────────────────────────────────────────────────────────────────── */
/*  Short animation (repeat visit)                                        */
/* ────────────────────────────────────────────────────────────────────── */

body[data-hero-mode="short"] .aor-hero-phone,
body[data-hero-mode="short"] .aor-hero-headline,
body[data-hero-mode="short"] .aor-hero-subhead,
body[data-hero-mode="short"] .aor-vs-form {
    opacity: 1;
    animation: none;
}
body[data-hero-mode="short"] .aor-hero-flash {
    animation: aor-hero-flash 0.2s ease-out 0.1s forwards;
}
body[data-hero-mode="short"] .aor-hero-rim {
    animation: aor-hero-rim-pop 0.5s ease-out 0.3s forwards;
}

/* ────────────────────────────────────────────────────────────────────── */
/*  Keyframes                                                              */
/* ────────────────────────────────────────────────────────────────────── */

@keyframes aor-hero-phone-in {
    from { opacity: 0; transform: translate(40px, 40px) rotate(12deg); }
    to   { opacity: 1; transform: translate(0,   0)    rotate(0deg);  }
}

@keyframes aor-hero-flash {
    0%   { r: 0;   opacity: 0;    }
    30%  { r: 80;  opacity: 0.95; }
    100% { r: 120; opacity: 0;    }
}

@keyframes aor-hero-rim-explode {
    0% {
        transform: translate(-50%, -50%) scale(0.2) rotate(-20deg);
        opacity: 0;
    }
    40% {
        transform: translate(-50%, -50%) scale(1.4) rotate(10deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.0) rotate(0deg);
        opacity: 1;
    }
}

@keyframes aor-hero-rim-pop {
    from { transform: translate(-50%, -50%) scale(0.6); opacity: 0; }
    to   { transform: translate(-50%, -50%) scale(1.0); opacity: 1; }
}

@keyframes aor-hero-particle-burst {
    0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translate(var(--px, 0), var(--py, 0)) scale(1.2); }
}

@keyframes aor-hero-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0);    }
}

/* Unique particle directions (12 spokes radiating outward) */
.aor-hero-particle-0  { --px:  80px; --py: -80px; }
.aor-hero-particle-1  { --px: 100px; --py:   0px; }
.aor-hero-particle-2  { --px:  80px; --py:  80px; }
.aor-hero-particle-3  { --px:   0px; --py: 100px; }
.aor-hero-particle-4  { --px: -80px; --py:  80px; }
.aor-hero-particle-5  { --px:-100px; --py:   0px; }
.aor-hero-particle-6  { --px: -80px; --py: -80px; }
.aor-hero-particle-7  { --px:   0px; --py:-100px; }
.aor-hero-particle-8  { --px:  60px; --py: -50px; }
.aor-hero-particle-9  { --px:  50px; --py:  60px; }
.aor-hero-particle-10 { --px: -60px; --py:  50px; }
.aor-hero-particle-11 { --px: -50px; --py: -60px; }
.aor-hero-particle-12 { --px:  30px; --py: -30px; }
.aor-hero-particle-13 { --px: -30px; --py:  30px; }

/* ────────────────────────────────────────────────────────────────────── */
/*  Accessibility — reduced motion                                        */
/* ────────────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    body[data-hero-mode] .aor-hero-phone,
    body[data-hero-mode] .aor-hero-rim,
    body[data-hero-mode] .aor-hero-headline,
    body[data-hero-mode] .aor-hero-subhead,
    body[data-hero-mode] .aor-vs-form,
    body[data-hero-mode] .aor-hero-particle,
    body[data-hero-mode] .aor-hero-flash {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .aor-vs-overlay-icon { animation: none !important; }
    .aor-vs-overlay-iconring::before { animation: none !important; }
    .aor-vs-progress-bar::after { animation: none !important; }
    .aor-vs-progress-bar { transition: none !important; }
}

/* ────────────────────────────────────────────────────────────────────── */
/*  STATIC MODE — animation hidden per user request 2026-04-07            */
/*                                                                        */
/*  The animated phone+rim hero is disabled until we replace it with the  */
/*  pre-rendered Blender video loop. The headline, subhead, and upload    */
/*  form are shown immediately with no fade-in. The SVG illustration is   */
/*  hidden entirely to keep the layout clean.                             */
/* ────────────────────────────────────────────────────────────────────── */

.aor-hero-illustration {
    display: none !important;
}

body[data-hero-mode] .aor-hero-phone,
body[data-hero-mode] .aor-hero-rim,
body[data-hero-mode] .aor-hero-headline,
body[data-hero-mode] .aor-hero-subhead,
body[data-hero-mode] .aor-vs-form,
body[data-hero-mode] .aor-hero-particle,
body[data-hero-mode] .aor-hero-flash {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

.aor-hero-headline,
.aor-hero-subhead,
.aor-vs-form {
    opacity: 1 !important;
}

/* Slightly tighten the hero now that the illustration column is gone */
.aor-hero-full {
    min-height: 460px;
    padding: 64px 20px;
}

/* ────────────────────────────────────────────────────────────────────── */
/*  Visual-search results page layout                                     */
/* ────────────────────────────────────────────────────────────────────── */

.aor-vs-results {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    padding: 32px 20px;
    max-width: 1280px;
    margin: 0 auto;
}
@media (max-width: 860px) {
    .aor-vs-results { grid-template-columns: 1fr; }
}

/* ── Sidebar — dark inset frame matching site style ──────────────────────── */
.aor-vs-sidebar {
    background:
        var(--aor-brushed, none),
        var(--aor-noise, none),
        linear-gradient(180deg, #16161e 0%, #111118 50%, #0d0d14 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 20px;
    box-shadow:
        0 4px 20px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.06),
        inset 0 -1px 0 rgba(0,0,0,0.3);
    align-self: start;
    position: sticky;
    top: 20px;
    color: var(--aor-text, #dcdce5);
}

.aor-vs-sidebar-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--aor-text-dim, #8888a0);
    margin: 0 0 12px 0;
}

.aor-vs-thumb {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin-bottom: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}

/* ── Specs table (product-page style inside sidebar) ─────────────────────── */
.aor-vs-specs-table {
    margin-top: 12px;
}
.aor-vs-specs-heading {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--aor-white, #f0f0f5);
    margin: 0 0 8px 0;
    padding-bottom: 6px;
    border-bottom: 2px solid rgba(255,255,255,0.08);
}
.aor-vs-specs-table table {
    width: 100%;
    border-collapse: collapse;
}
.aor-vs-specs-table tr {
    border-bottom: 1px solid rgba(255,255,255,0.04);
    background: linear-gradient(90deg, rgba(255,255,255,0.02) 0%, transparent 100%);
}
.aor-vs-specs-table tr:nth-child(even) {
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
}
.aor-vs-specs-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--aor-cyan-dim, #0aadcc);
    padding: 8px 8px 8px 10px;
    width: 45%;
    vertical-align: middle;
}
.aor-vs-specs-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--aor-white, #f0f0f5);
    padding: 8px 10px 8px 8px;
    vertical-align: middle;
}
.aor-vs-specs-header-row td {
    color: var(--aor-text-dim, #8888a0) !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.aor-vs-no-data {
    font-size: 13px;
    color: var(--aor-text-muted, #555568);
    margin: 16px 0;
}

.aor-vs-spec-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    font-size: 14px;
}
.aor-vs-spec-list li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #e4e6ea;
}
.aor-vs-spec-list li:last-child { border-bottom: 0; }
.aor-vs-spec-label { color: var(--aor-text-dim, #8888a0); }
.aor-vs-spec-value { color: var(--aor-white, #f0f0f5); font-weight: 600; }

.aor-vs-retry-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    border-radius: 999px;
    background: linear-gradient(180deg, #3aa0ff 0%, #1a7fdd 30%, #0057b8 70%, #003a80 100%);
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.12);
    margin-top: 16px;
    transition: all 0.25s;
    box-shadow:
        0 2px 8px rgba(0, 112, 219, 0.4),
        0 6px 20px rgba(0, 112, 219, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.35),
        inset 0 -1px 0 rgba(0,0,0,0.5);
}
.aor-vs-retry-btn:hover {
    background: linear-gradient(180deg, #5cb0ff 0%, #2a8fee 30%, #0062cc 70%, #004a90 100%);
    transform: translateY(-2px);
    box-shadow:
        0 4px 16px rgba(0, 112, 219, 0.45),
        0 8px 30px rgba(0, 112, 219, 0.25),
        inset 0 1px 0 rgba(255,255,255,0.4),
        inset 0 -1px 0 rgba(0,0,0,0.4);
}

/* Hero-style title for results/empty/not-stocked headings */
.aor-vs-hero-title {
    font-size: clamp(22px, 4vw, 36px);
    font-weight: 800;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--aor-white, #f0f0f5);
    margin: 0 0 12px 0;
}

.aor-vs-results-main h2 {
    margin: 0 0 16px 0;
    font-size: 22px;
}

.aor-vs-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--aor-text-dim, #8888a0);
}
.aor-vs-empty-emoji {
    font-size: 64px;
    margin-bottom: 16px;
    color: var(--aor-text-muted, #555568);
}
.aor-vs-empty p {
    font-size: 16px;
    color: var(--aor-text-dim, #8888a0);
    margin: 0 0 24px 0;
}
.aor-vs-not-stocked {
    padding: 60px 20px;
    text-align: center;
}
.aor-vs-not-stocked-icon {
    margin-bottom: 16px;
    color: var(--aor-text-dim, #8888a0);
}
.aor-vs-not-stocked-lead {
    font-size: 16px;
    color: #e2e8f0;
    line-height: 1.6;
    max-width: 540px;
    margin: 0 auto 12px;
}
.aor-vs-not-stocked-detail {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.55;
    max-width: 540px;
    margin: 0 auto 24px;
}
.aor-vs-empty-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.aor-vs-empty-actions a {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.12);
    transition: all 0.25s;
}
.aor-vs-empty-primary {
    background: linear-gradient(180deg, #ff2222 0%, #e81010 30%, #b80000 70%, #8a0000 100%);
    box-shadow:
        0 2px 8px rgba(219, 0, 0, 0.4),
        0 6px 20px rgba(219, 0, 0, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.35),
        inset 0 -1px 0 rgba(0,0,0,0.5);
}
.aor-vs-empty-primary:hover {
    background: linear-gradient(180deg, #ff4040 0%, #ff1a1a 30%, #d00000 70%, #a00000 100%);
    transform: translateY(-2px);
    box-shadow:
        0 4px 16px rgba(219, 0, 0, 0.45),
        0 8px 30px rgba(219, 0, 0, 0.25),
        inset 0 1px 0 rgba(255,255,255,0.4),
        inset 0 -1px 0 rgba(0,0,0,0.4);
}
.aor-vs-empty-secondary {
    background: linear-gradient(180deg, #3aa0ff 0%, #1a7fdd 30%, #0057b8 70%, #003a80 100%);
    box-shadow:
        0 2px 8px rgba(0, 112, 219, 0.4),
        0 6px 20px rgba(0, 112, 219, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.35),
        inset 0 -1px 0 rgba(0,0,0,0.5);
}
.aor-vs-empty-secondary:hover {
    background: linear-gradient(180deg, #5cb0ff 0%, #2a8fee 30%, #0062cc 70%, #004a90 100%);
    transform: translateY(-2px);
}

/* ────────────────────────────────────────────────────────────────────── */
/*  Identified-but-not-stocked state                                      */
/*                                                                        */
/*  Distinct from the .aor-vs-empty empty state — this is for searches   */
/*  where we successfully identified the rim but don't have it in stock.  */
/*  The sidebar shows the full specs; this fills the main area with a    */
/*  friendlier "we know what this is" message.                            */
/* ────────────────────────────────────────────────────────────────────── */
/*  Side-by-side photo comparison                                         */
/*                                                                        */
/*  Shown in the sidebar when we have a matching product. The user's     */
/*  uploaded photo on the left, our product photo on the right, with     */
/*  labels underneath ("You sent" / "We have"). Reinforces the visual   */
/*  match and gives the user immediate confidence we got the right rim.  */
/* ────────────────────────────────────────────────────────────────────── */

.aor-vs-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.aor-vs-compare-cell {
    margin: 0;
    text-align: center;
    background: #ffffff;
    border-radius: 10px;
    padding: 6px 6px 8px 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.aor-vs-compare-cell figcaption {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
    margin-top: 6px;
}

.aor-vs-thumb-compare {
    width: 100%;
    height: 100px;
    object-fit: contain;
    background: #f4f5f9;
    border-radius: 6px;
    margin: 0;
    display: block;
}
