/* CRITICAL FALLBACK STYLES */
.hero-cards { width: 350px !important; max-width: 90vw !important; aspect-ratio: 2.5/4.1 !important; position: relative !important; margin: 0 auto; }
.custom-hero-card { width: 100% !important; height: 100% !important; position: relative !important; z-index: 100 !important; }
.hero-right-col { display: flex !important; justify-content: center !important; min-width: 320px !important; }
#hero-flip-container img { width: 100% !important; height: 100% !important; object-fit: cover !important; position: absolute !important; }
.btn-cyber { padding: 8px 18px !important; font-size: 11px !important; }
body { background-color: #09090b !important; color: #fff !important; }

/* Search Dropdown Styles */
.search-container { position: relative; }
.cm-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(13, 13, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--neon-cyan);
    border-top: none;
    z-index: 2000;
    display: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8), 0 0 20px rgba(6, 182, 212, 0.2);
    transform-origin: top;
    margin-top: 5px;
    max-height: 450px;
    overflow-y: auto;
}

.search-status { padding: 15px; text-align: center; font-size: 11px; color: var(--neon-cyan); letter-spacing: 2px; font-family: 'JetBrains Mono'; }
.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: 0.2s;
    text-decoration: none !important;
}
.search-result-item:hover { background: rgba(255,255,255,0.05); }
.result-img { width: 45px; height: 60px; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.1); }
.result-img img { width: 100%; height: 100%; object-fit: cover; }
.result-info { display: flex; flex-direction: column; gap: 2px; }
.result-title { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; }
.result-price { font-size: 12px; color: var(--neon-cyan); font-family: 'JetBrains Mono'; font-weight: 700; }
.search-view-all {
    display: block;
    text-align: center;
    padding: 12px;
    font-size: 11px;
    font-weight: 900;
    color: var(--neon-violet);
    letter-spacing: 2px;
    background: rgba(139, 92, 246, 0.1);
    text-decoration: none;
}
.search-view-all:hover { background: var(--neon-violet); color: #fff; }
.no-results-box { padding: 25px 20px; text-align: center; }
.no-results-msg { font-size: 13px; color: #aaa; margin-bottom: 15px; font-weight: 400; line-height: 1.4; }
.btn-small { padding: 8px 15px !important; font-size: 10px !important; }

/* From single-cm_exchange_post.php */
@media (max-width: 600px) {
    .cm-trade-details-grid { grid-template-columns: 1fr !important; gap: 15px !important; }
    .cm-trade-article { padding: 20px !important; }
    h1.neon-glow-cyan { font-size: 24px !important; }
    .cm-comments-wrapper { padding: 20px !important; }
    .cm-security-notice { padding: 15px !important; }
}

#comments { color: #fff; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list .comment {
    background: linear-gradient(145deg, rgba(20, 20, 25, 0.9) 0%, rgba(15, 15, 20, 0.9) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-left: 3px solid var(--neon-violet);
    padding: 25px;
    border-radius: 0 12px 12px 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}
.comment-list .comment:hover { box-shadow: 0 6px 20px rgba(139, 92, 246, 0.15); border-color: rgba(139, 92, 246, 0.6); }
.comment-list .children { list-style: none; padding-left: 30px; margin-top: 25px; border-left: 2px dashed rgba(6, 182, 212, 0.4); margin-bottom: 0; }
.comment-list .children .comment { border-left: 3px solid var(--neon-cyan); border-color: rgba(6, 182, 212, 0.3); }
.comment-author vcard { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.comment-author img { border-radius: 50%; border: 2px solid #333; }
.comment-list .children .comment-author img { border-color: rgba(6, 182, 212, 0.5); }
.comment-list>.comment>.comment-body>.comment-meta .comment-author img { border-color: rgba(139, 92, 246, 0.5); }
.comment-meta { font-size: 12px; color: #888; margin-bottom: 15px; font-family: 'JetBrains Mono', monospace; }
.comment-content { font-size: 15px; color: #eee; line-height: 1.6; background: rgba(0, 0, 0, 0.2); padding: 15px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.05); }
.comment-reply-link { display: inline-flex; align-items: center; margin-top: 15px; padding: 6px 15px; background: transparent; color: var(--neon-cyan); text-decoration: none; border-radius: 4px; font-size: 12px; font-weight: bold; border: 1px solid var(--neon-cyan); transition: all 0.3s; text-transform: uppercase; }
.comment-reply-link:hover { background: rgba(6, 182, 212, 0.1); box-shadow: 0 0 10px rgba(6, 182, 212, 0.3); }
#respond { background: rgba(15, 15, 20, 0.8); border: 1px solid #222; padding: 25px; border-radius: 8px; margin-top: 40px; }
#respond h3 { color: var(--neon-violet); margin-top: 0; display: flex; justify-content: space-between; align-items: center; font-size: 20px; }
#cancel-comment-reply-link { font-size: 12px; color: #ff3366; border: 1px solid #ff3366; padding: 4px 10px; border-radius: 4px; transition: all 0.3s; }
#cancel-comment-reply-link:hover { background: rgba(255, 51, 102, 0.1); box-shadow: 0 0 10px rgba(255, 51, 102, 0.3); }
.comment-form label { display: block; margin-bottom: 8px; color: #aaa; font-size: 14px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form textarea { width: 100%; padding: 12px; background: #0a0a0c; border: 1px solid #333; color: #fff; border-radius: 4px; margin-bottom: 20px; transition: border-color 0.3s; }
.comment-form input[type="text"]:focus, .comment-form input[type="email"]:focus, .comment-form textarea:focus { outline: none; border-color: var(--neon-violet); }
.comment-form input[type="submit"] { background: transparent; border: 1px solid var(--neon-violet); color: var(--neon-violet); padding: 12px 25px; cursor: pointer; text-transform: uppercase; font-weight: 700; transition: all 0.3s; letter-spacing: 1px; border-radius: 4px; }
.comment-form input[type="submit"]:hover { background: rgba(139, 92, 246, 0.1); box-shadow: 0 0 15px rgba(139, 92, 246, 0.4); text-shadow: 0 0 5px var(--neon-violet); }

/* From template-login.php */
.login-container a:hover { color: #fff !important; text-shadow: 0 0 5px var(--neon-violet); }
@media (max-width: 480px) {
    .login-container { padding: 25px !important; }
    .cm-login-page { padding: 20px 15px !important; }
    .login-container h1 { font-size: 20px !important; }
}
