/**
 * HotMe Video Theme - Main Stylesheet
 * Estilo Netflix/StreamVid con paleta rojo (#D73744) + negro (#0d0d0d)
 * 
 * @package HotMe
 * @version 1.0.0
 */

/* ════════════════════════════════════════════════
   RESET & VARIABLES
   ════════════════════════════════════════════════ */
:root {
    --hm-red: #D73744;
    --hm-red-hover: #c52f3a;
    --hm-red-glow: rgba(215, 55, 68, 0.4);
    --hm-bg: #0d0d0d;
    --hm-bg-light: #141414;
    --hm-bg-card: #181818;
    --hm-bg-elevated: #1f1f1f;
    --hm-text: #ffffff;
    --hm-text-80: rgba(255,255,255,0.8);
    --hm-text-60: rgba(255,255,255,0.6);
    --hm-text-40: rgba(255,255,255,0.4);
    --hm-text-20: rgba(255,255,255,0.2);
    --hm-border: rgba(255,255,255,0.08);
    --hm-glass: rgba(255,255,255,0.06);
    --hm-radius: 8px;
    --hm-radius-sm: 4px;
    --hm-radius-lg: 12px;
    --hm-transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --hm-header-height: 70px;
    --hm-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.hotme-body {
    margin: 0;
    padding: 0;
    background: var(--hm-bg);
    font-family: var(--hm-font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: var(--hm-text-80);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover { color: var(--hm-red); }

/* No sobreescribir links dentro del plugin */
.vme-sidebar a,
.vme-buyer-sidebar a,
.vme-dashboard-wrapper a,
.vme-buyer-dashboard-wrapper a {
    color: inherit;
    transition: none;
}
.vme-sidebar a:hover,
.vme-buyer-sidebar a:hover {
    color: inherit;
}

img { max-width: 100%; height: auto; }

.hotme-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

/* ════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════ */
.hotme-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--hm-header-height);
    transition: all 0.4s ease;
    background: transparent;
}

/* Scrolled state */
.hotme-header.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--hm-border);
}

.hotme-header-inner {
    max-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 40px;
    gap: 30px;
}

/* Logo */
.hotme-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.hotme-logo img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.hotme-logo-text {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1px;
}

.hotme-logo-hot {
    color: var(--hm-red);
}

.hotme-logo-me {
    color: var(--hm-text);
}

/* Navigation */
.hotme-nav {
    flex: 1;
    display: flex;
}

.hotme-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hotme-nav-item {
    position: relative;
}

.hotme-nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--hm-text-80);
    border-radius: 6px;
    transition: all 0.25s ease;
    white-space: nowrap;
    text-decoration: none;
}

.hotme-nav-link:hover,
.hotme-nav-link.active {
    color: var(--hm-text);
    background: var(--hm-glass);
}

.hotme-nav-link.active {
    color: var(--hm-red);
}

.hotme-nav-link i {
    font-size: 12px;
}

.hotme-arrow {
    font-size: 10px !important;
    margin-left: 2px;
    transition: transform 0.3s ease;
}

.hotme-has-mega:hover .hotme-arrow {
    transform: rotate(180deg);
}

/* ── MEGA MENU ── */
.hotme-mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 600px;
    background: var(--hm-bg-elevated);
    border: 1px solid var(--hm-border);
    border-radius: var(--hm-radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    padding: 0;
    overflow: hidden;
}

.hotme-has-mega:hover .hotme-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.hotme-mega-inner {
    display: flex;
    gap: 0;
}

.hotme-mega-section {
    padding: 24px;
    flex: 1;
}

.hotme-mega-section + .hotme-mega-section {
    border-left: 1px solid var(--hm-border);
}

.hotme-mega-heading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--hm-text-40);
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--hm-border);
}

.hotme-mega-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

.hotme-mega-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--hm-text-80);
    transition: all 0.2s ease;
    text-decoration: none;
}

.hotme-mega-item:hover {
    background: var(--hm-glass);
    color: var(--hm-text);
    transform: translateX(4px);
}

.hotme-mega-item i {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(215,55,68,0.15);
    color: var(--hm-red);
    font-size: 12px;
    flex-shrink: 0;
}

.hotme-mega-item span {
    font-size: 13px;
    font-weight: 500;
}

.hotme-mega-item small {
    font-size: 11px;
    color: var(--hm-text-40);
    margin-left: auto;
}

.hotme-mega-popular {
    min-width: 180px;
    flex: 0 0 auto;
}

.hotme-mega-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hotme-mega-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    color: var(--hm-text-60);
    font-size: 13px;
    transition: all 0.2s ease;
}

.hotme-mega-links li a:hover {
    background: var(--hm-glass);
    color: var(--hm-red);
}

.hotme-mega-links li a i {
    font-size: 12px;
    width: 16px;
    text-align: center;
    color: var(--hm-red);
}

/* ── HEADER RIGHT ── */
.hotme-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.hotme-search-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--hm-glass);
    color: var(--hm-text-80);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.hotme-search-toggle:hover {
    background: var(--hm-text-20);
    color: var(--hm-text);
}

.hotme-btn-account {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 6px;
    background: var(--hm-red);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.hotme-btn-account:hover {
    background: var(--hm-red-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--hm-red-glow);
}

.hotme-btn-account i {
    font-size: 14px;
}

/* ── SEARCH OVERLAY ── */
.hotme-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: rgba(13,13,13,0.97);
    backdrop-filter: blur(20px);
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 40px;
}

.hotme-search-overlay.active {
    transform: translateY(0);
}

.hotme-search-overlay-inner {
    max-width: 800px;
    margin: 0 auto;
    height: var(--hm-header-height);
    display: flex;
    align-items: center;
}

.hotme-search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.hotme-search-icon {
    color: var(--hm-red);
    font-size: 20px;
}

.hotme-search-field {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--hm-text);
    font-size: 20px;
    font-family: var(--hm-font);
    font-weight: 300;
}

.hotme-search-field::placeholder {
    color: var(--hm-text-40);
}

.hotme-search-close {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    color: var(--hm-text-60);
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s;
}

.hotme-search-close:hover {
    color: var(--hm-red);
}

/* ── MOBILE TOGGLE ── */
.hotme-mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 8px;
    align-items: center;
    justify-content: center;
}

.hotme-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 22px;
}

.hotme-burger span {
    display: block;
    height: 2px;
    background: var(--hm-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hotme-mobile-toggle.active .hotme-burger span:nth-child(1) {
    transform: rotate(45deg) translateY(5px);
}
.hotme-mobile-toggle.active .hotme-burger span:nth-child(2) {
    opacity: 0;
}
.hotme-mobile-toggle.active .hotme-burger span:nth-child(3) {
    transform: rotate(-45deg) translateY(-5px);
}

/* ════════════════════════════════════════════════
   MOBILE PANEL
   ════════════════════════════════════════════════ */
.hotme-mobile-panel {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--hm-bg-light);
    z-index: 1002;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    border-left: 1px solid var(--hm-border);
}

.hotme-mobile-panel.active {
    right: 0;
}

.hotme-mobile-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--hm-border);
}

.hotme-mobile-logo img { height: 28px; }
.hotme-mobile-logo .hotme-logo-text { font-size: 22px; }

.hotme-mobile-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--hm-glass);
    color: var(--hm-text-60);
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.hotme-mobile-close:hover {
    background: var(--hm-red);
    color: #fff;
}

.hotme-mobile-nav { padding: 10px 0; }

.hotme-mobile-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hotme-mobile-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--hm-text-80);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
}

.hotme-mobile-link:hover,
.hotme-mobile-link.active {
    background: var(--hm-glass);
    color: var(--hm-red);
}

.hotme-mobile-link i:first-child {
    width: 20px;
    text-align: center;
    font-size: 14px;
}

.hotme-mobile-arrow {
    margin-left: auto;
    font-size: 11px;
    transition: transform 0.3s;
}

.hotme-mobile-has-sub.open .hotme-mobile-arrow {
    transform: rotate(180deg);
}

.hotme-mobile-sub {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0,0,0,0.2);
}

.hotme-mobile-has-sub.open .hotme-mobile-sub {
    max-height: 500px;
}

.hotme-mobile-sub li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px 10px 44px;
    color: var(--hm-text-60);
    font-size: 13px;
    transition: all 0.2s;
    text-decoration: none;
}

.hotme-mobile-sub li a:hover {
    color: var(--hm-red);
    padding-left: 48px;
}

.hotme-mobile-sub li a i {
    width: 16px;
    text-align: center;
    font-size: 12px;
}

/* ── Mobile User Info ── */
.hotme-mobile-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--hm-border);
    background: rgba(215, 55, 68, 0.08);
}

.hotme-mobile-user-info > i {
    font-size: 28px;
    color: var(--hm-red);
    flex-shrink: 0;
}

.hotme-mobile-user-info > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hotme-mobile-user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--hm-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hotme-mobile-user-role {
    font-size: 11px;
    color: var(--hm-text-60);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Mobile Menu Separator ── */
.hotme-mobile-separator {
    height: 1px;
    background: var(--hm-border);
    margin: 8px 20px;
    list-style: none;
}

/* ── Mobile CTA (Ingresar) ── */
.hotme-mobile-link.hotme-mobile-cta {
    color: var(--hm-red);
    font-weight: 600;
}

/* ── Mobile Logout ── */
.hotme-mobile-link.hotme-mobile-logout {
    color: var(--hm-text-40);
}

.hotme-mobile-link.hotme-mobile-logout:hover {
    color: var(--hm-red);
    background: rgba(215, 55, 68, 0.1);
}

.hotme-mobile-search {
    padding: 16px 20px;
    border-top: 1px solid var(--hm-border);
}

.hotme-mobile-search form {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--hm-glass);
    border-radius: 8px;
    padding: 0 12px;
}

.hotme-mobile-search i {
    color: var(--hm-text-40);
    font-size: 14px;
}

.hotme-mobile-search input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--hm-text);
    font-size: 14px;
    padding: 12px 0;
    font-family: var(--hm-font);
}

.hotme-mobile-search input::placeholder {
    color: var(--hm-text-40);
}

/* Overlay behind mobile panel */
.hotme-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.hotme-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ════════════════════════════════════════════════
   MAIN CONTENT
   ════════════════════════════════════════════════ */
.hotme-main {
    min-height: calc(100vh - 200px);
}

/* Front page — no top padding (hero slider goes edge-to-edge) */
.hotme-front-page {
    padding-top: 0;
}

/* Regular pages — offset for fixed header */
.hotme-page,
.hotme-archive,
.hotme-single {
    padding-top: var(--hm-header-height);
}

/* ── Page content ── */
.hotme-page .hotme-container,
.hotme-single .hotme-container,
.hotme-archive .hotme-container {
    padding-top: 40px;
    padding-bottom: 60px;
}

.hotme-page-title,
.hotme-archive-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 30px;
    letter-spacing: -0.5px;
}

.hotme-entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--hm-text-80);
}

.hotme-entry-content h2, .hotme-entry-content h3, .hotme-entry-content h4 {
    color: var(--hm-text);
    margin-top: 2em;
    margin-bottom: 0.5em;
}

.hotme-entry-content p { margin-bottom: 1.2em; }

.hotme-entry-content a { color: var(--hm-red); }
.hotme-entry-content a:hover { text-decoration: underline; }

.hotme-entry-content img {
    border-radius: var(--hm-radius);
}

.hotme-entry-content blockquote {
    border-left: 3px solid var(--hm-red);
    padding: 12px 20px;
    margin: 1.5em 0;
    background: var(--hm-glass);
    border-radius: 0 var(--hm-radius) var(--hm-radius) 0;
    color: var(--hm-text-80);
    font-style: italic;
}

.hotme-entry-content code {
    background: var(--hm-bg-elevated);
    padding: 2px 8px;
    border-radius: var(--hm-radius-sm);
    font-size: 0.9em;
    color: var(--hm-red);
}

/* ── Posts Grid ── */
.hotme-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hotme-post-card {
    background: var(--hm-bg-card);
    border-radius: var(--hm-radius-lg);
    overflow: hidden;
    transition: all var(--hm-transition);
    border: 1px solid var(--hm-border);
}

.hotme-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    border-color: rgba(215,55,68,0.3);
}

.hotme-post-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.hotme-post-card-body {
    padding: 16px 20px 20px;
}

.hotme-post-card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
}

.hotme-post-card-title a {
    color: var(--hm-text);
}

.hotme-post-card-title a:hover { color: var(--hm-red); }

.hotme-post-card-meta {
    font-size: 12px;
    color: var(--hm-text-40);
    display: flex;
    gap: 12px;
}

.hotme-post-card-excerpt {
    font-size: 13px;
    color: var(--hm-text-60);
    margin-top: 8px;
    line-height: 1.5;
}

/* ── Article (single) ── */
.hotme-article-hero {
    border-radius: var(--hm-radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
}

.hotme-article-hero img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    display: block;
}

.hotme-article-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px;
}

.hotme-article-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--hm-text-40);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hm-border);
}

.hotme-article-meta i {
    color: var(--hm-red);
    margin-right: 4px;
}

/* ── Pagination ── */
.hotme-pagination {
    margin-top: 40px;
    text-align: center;
}

.hotme-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.hotme-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--hm-bg-card);
    color: var(--hm-text-60);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid var(--hm-border);
}

.hotme-pagination .page-numbers.current,
.hotme-pagination .page-numbers:hover {
    background: var(--hm-red);
    color: #fff;
    border-color: var(--hm-red);
}

/* ── 404 ── */
.hotme-404 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 40px;
}

.hotme-404-number {
    font-size: 120px;
    font-weight: 900;
    color: var(--hm-red);
    line-height: 1;
    margin-bottom: 16px;
    text-shadow: 0 0 60px var(--hm-red-glow);
}

.hotme-404 h1 {
    font-size: 28px;
    margin: 0 0 12px;
}

.hotme-404 p {
    color: var(--hm-text-60);
    margin-bottom: 24px;
}

/* ── No Content / No Results ── */
.hotme-no-content,
.hotme-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 60px 20px;
}

.hotme-no-content i,
.hotme-no-results i {
    font-size: 60px;
    color: var(--hm-text-20);
    margin-bottom: 20px;
}

.hotme-no-content h2,
.hotme-no-results h2 {
    font-size: 24px;
    margin: 0 0 10px;
}

.hotme-no-content p,
.hotme-no-results p {
    color: var(--hm-text-40);
}

/* ── Buttons ── */
.hotme-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--hm-radius);
    background: var(--hm-red);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.hotme-btn-primary:hover {
    background: var(--hm-red-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--hm-red-glow);
}

/* ════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════ */
.hotme-footer {
    background: var(--hm-bg-light);
    border-top: 1px solid var(--hm-border);
    margin-top: 0;
}

.hotme-footer-main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 50px 40px;
}

.hotme-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 40px;
}

/* Footer About */
.hotme-footer-about .hotme-logo {
    margin-bottom: 16px;
}

.hotme-footer-about .hotme-logo img {
    height: 32px;
}

.hotme-footer-about .hotme-logo-text {
    font-size: 24px;
}

.hotme-footer-desc {
    font-size: 13px;
    color: var(--hm-text-40);
    line-height: 1.7;
    margin: 0 0 20px;
}

/* Social Links */
.hotme-social-links {
    display: flex;
    gap: 8px;
}

.hotme-social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--hm-glass);
    color: var(--hm-text-60);
    font-size: 14px;
    transition: all 0.25s ease;
    text-decoration: none;
    border: 1px solid var(--hm-border);
}

.hotme-social-link:hover {
    background: var(--hm-red);
    color: #fff;
    border-color: var(--hm-red);
    transform: translateY(-2px);
}

/* Footer Widget Title */
.hotme-footer-widget-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--hm-text);
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--hm-red);
    display: inline-block;
}

/* Footer Links */
.hotme-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hotme-footer-links li {
    margin-bottom: 8px;
}

.hotme-footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--hm-text-60);
    font-size: 13px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.hotme-footer-links a:hover {
    color: var(--hm-red);
    transform: translateX(4px);
}

.hotme-footer-links a i {
    font-size: 9px;
    color: var(--hm-red);
    opacity: 0.5;
}

/* Footer Contact */
.hotme-footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hotme-footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--hm-text-60);
}

.hotme-footer-contact li i {
    width: 16px;
    text-align: center;
    color: var(--hm-red);
    font-size: 13px;
}

.hotme-footer-contact a {
    color: var(--hm-text-60);
}
.hotme-footer-contact a:hover { color: var(--hm-red); }

/* Footer Bottom */
.hotme-footer-bottom {
    border-top: 1px solid var(--hm-border);
    background: rgba(0,0,0,0.3);
}

.hotme-footer-bottom-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 16px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hotme-copyright {
    font-size: 12px;
    color: var(--hm-text-40);
    margin: 0;
}

.hotme-copyright strong {
    color: var(--hm-red);
}

.hotme-footer-payment {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--hm-text-40);
}

.hotme-footer-payment i {
    font-size: 20px;
    color: var(--hm-text-40);
}

/* ════════════════════════════════════════════════
   PLUGIN COMPATIBILITY
   ════════════════════════════════════════════════ */

/* Variable central: indica al plugin cuánto espacio ocupa el header del tema */
:root {
    --vme-top-offset: var(--hm-header-height) !important;
}

/* Catalog v2 */
.hotme-front-page .vme2-catalog-wrapper {
    margin-top: 0;
}

.hotme-front-page .vme2-hero {
    margin-top: calc(-1 * var(--hm-header-height));
    padding-top: 0;
}

/* Dashboard wrappers — espacio para header */
.vme-buyer-dashboard-wrapper,
.vme-dashboard-wrapper {
    padding-top: 0 !important;
}

/* Checkout & otras páginas del plugin */
.vme-checkout-wrapper,
.vme-my-videos-wrapper,
.vme-single-video-wrapper {
    padding-top: var(--hm-header-height) !important;
}

/* ════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════ */

/* ── Tablet (≤992px) ── */
@media (max-width: 992px) {
    :root {
        --hm-header-height: 60px;
    }
    
    .hotme-header-inner {
        padding: 0 20px;
    }
    
    /* Hide desktop nav, show mobile toggle */
    .hotme-nav {
        display: none;
    }
    
    .hotme-mobile-toggle {
        display: flex;
    }
    
    .hotme-btn-account span {
        display: none;
    }
    
    .hotme-btn-account {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }
    
    .hotme-container {
        padding: 0 24px;
    }
    
    /* Footer */
    .hotme-footer-main { padding: 40px 24px 30px; }
    
    .hotme-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .hotme-footer-bottom-inner {
        padding: 16px 24px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    /* Posts grid */
    .hotme-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .hotme-article-title { font-size: 28px; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
    .hotme-container { padding: 0 16px; }
    
    .hotme-header-inner { padding: 0 16px; }
    
    .hotme-logo img { height: 28px; }
    .hotme-logo-text { font-size: 22px; }
    
    .hotme-search-overlay { padding: 0 16px; }
    .hotme-search-field { font-size: 16px; }
    
    .hotme-page .hotme-container,
    .hotme-single .hotme-container,
    .hotme-archive .hotme-container {
        padding-top: 24px;
        padding-bottom: 40px;
    }
    
    .hotme-page-title,
    .hotme-archive-title {
        font-size: 24px;
    }
    
    .hotme-article-title { font-size: 22px; }
    
    .hotme-article-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    /* Footer */
    .hotme-footer-main { padding: 32px 16px 24px; }
    
    .hotme-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .hotme-footer-about {
        text-align: center;
    }
    
    .hotme-social-links { justify-content: center; }
    
    .hotme-footer-widget-title {
        display: block;
        text-align: left;
    }
    
    .hotme-footer-bottom-inner {
        padding: 12px 16px;
    }
    
    /* Posts grid */
    .hotme-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .hotme-post-card-image img { height: 200px; }
    
    /* 404 */
    .hotme-404-number { font-size: 80px; }
    .hotme-404 h1 { font-size: 22px; }
}

/* ── Small Mobile (≤480px) ── */
@media (max-width: 480px) {
    .hotme-front-page .vme2-hero { height: 500px; }
    
    .hotme-header-inner { gap: 10px; }
    
    .hotme-logo-text { font-size: 20px; }
    
    .hotme-btn-account {
        width: 36px;
        height: 36px;
        font-size: 12px;
        order: 3;
        display: none;
    }
    
    .hotme-search-toggle {
        width: 36px;
        height: 36px;
        font-size: 13px;
        order: 1;
    }
    
    .hotme-mobile-toggle {
        order: 2;
    }
    
    .hotme-mobile-panel {
        width: 85vw;
        right: -85vw;
    }
}

/* ════════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════════ */
@keyframes hotmeFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hotmePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ════════════════════════════════════════════════
   WORDPRESS OVERRIDES
   ════════════════════════════════════════════════ */

/* WP Forms - Solo contextos del tema (NO dentro del plugin) */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="number"],
textarea,
select {
    border-radius: var(--hm-radius);
    padding: 10px 14px;
    font-family: var(--hm-font);
    font-size: 14px;
    transition: border-color 0.2s;
    width: 100%;
}

/* Estilos dark SOLO para formularios del tema (fuera del plugin) */
.hotme-body > .hotme-main > .hotme-page > .hotme-container input[type="text"],
.hotme-body > .hotme-main > .hotme-page > .hotme-container input[type="email"],
.hotme-body > .hotme-main > .hotme-page > .hotme-container input[type="password"],
.hotme-body > .hotme-main > .hotme-page > .hotme-container input[type="search"],
.hotme-body > .hotme-main > .hotme-page > .hotme-container input[type="url"],
.hotme-body > .hotme-main > .hotme-page > .hotme-container input[type="number"],
.hotme-body > .hotme-main > .hotme-page > .hotme-container textarea,
.hotme-body > .hotme-main > .hotme-page > .hotme-container select,
.hotme-header input[type="search"],
.hotme-search-overlay input[type="search"],
.hotme-mobile-panel input[type="search"],
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
    background: var(--hm-glass);
    border: 1px solid var(--hm-border);
    color: var(--hm-text);
}

/* Inputs del plugin VME: forzar texto negro y fondo claro */
.vme-form-container input[type="text"],
.vme-form-container input[type="email"],
.vme-form-container input[type="password"],
.vme-form-container input[type="search"],
.vme-form-container input[type="url"],
.vme-form-container input[type="number"],
.vme-form-container textarea,
.vme-form-container select,
.vme-form-wrapper input[type="text"],
.vme-form-wrapper input[type="email"],
.vme-form-wrapper input[type="password"],
.vme-form-wrapper input[type="search"],
.vme-form-wrapper input[type="url"],
.vme-form-wrapper input[type="number"],
.vme-form-wrapper textarea,
.vme-form-wrapper select,
.vme-create-video-form input[type="text"],
.vme-create-video-form input[type="email"],
.vme-create-video-form input[type="number"],
.vme-create-video-form input[type="url"],
.vme-create-video-form textarea,
.vme-create-video-form select,
.vme-content-card input[type="text"],
.vme-content-card input[type="email"],
.vme-content-card input[type="number"],
.vme-content-card input[type="url"],
.vme-content-card textarea,
.vme-content-card select,
.vme-dashboard-wrapper input[type="text"],
.vme-dashboard-wrapper input[type="email"],
.vme-dashboard-wrapper input[type="password"],
.vme-dashboard-wrapper input[type="search"],
.vme-dashboard-wrapper input[type="url"],
.vme-dashboard-wrapper input[type="number"],
.vme-dashboard-wrapper textarea,
.vme-dashboard-wrapper select,
.vme-buyer-dashboard-wrapper input[type="text"],
.vme-buyer-dashboard-wrapper input[type="email"],
.vme-buyer-dashboard-wrapper input[type="password"],
.vme-buyer-dashboard-wrapper input[type="search"],
.vme-buyer-dashboard-wrapper input[type="url"],
.vme-buyer-dashboard-wrapper input[type="number"],
.vme-buyer-dashboard-wrapper textarea,
.vme-buyer-dashboard-wrapper select,
.vme-input,
.vme-form input[type="text"],
.vme-form input[type="email"],
.vme-form input[type="password"],
.vme-form input[type="search"],
.vme-form input[type="url"],
.vme-form input[type="number"],
.vme-form textarea,
.vme-form select {
    background: #ffffff !important;
    border: 1px solid #d0d0d0 !important;
    color: #1a1a1a !important;
}

/* Placeholders del plugin: gris visible */
.vme-form-container input::placeholder,
.vme-form-wrapper input::placeholder,
.vme-create-video-form input::placeholder,
.vme-create-video-form textarea::placeholder,
.vme-content-card input::placeholder,
.vme-content-card textarea::placeholder,
.vme-dashboard-wrapper input::placeholder,
.vme-dashboard-wrapper textarea::placeholder,
.vme-buyer-dashboard-wrapper input::placeholder,
.vme-buyer-dashboard-wrapper textarea::placeholder,
.vme-form input::placeholder,
.vme-form textarea::placeholder,
.vme-input::placeholder {
    color: #999999 !important;
}

/* Focus en inputs del plugin */
.vme-form-container input:focus,
.vme-form-wrapper input:focus,
.vme-create-video-form input:focus,
.vme-create-video-form textarea:focus,
.vme-content-card input:focus,
.vme-content-card textarea:focus,
.vme-dashboard-wrapper input:focus,
.vme-dashboard-wrapper textarea:focus,
.vme-buyer-dashboard-wrapper input:focus,
.vme-buyer-dashboard-wrapper textarea:focus,
.vme-form input:focus,
.vme-form textarea:focus,
.vme-form select:focus,
.vme-input:focus {
    outline: none;
    border-color: var(--hm-red) !important;
    box-shadow: 0 0 0 3px rgba(215, 55, 68, 0.15) !important;
}

/* Labels del plugin: asegurar texto oscuro legible */
.vme-form-container label,
.vme-form-wrapper label,
.vme-create-video-form label,
.vme-content-card label,
.vme-dashboard-wrapper .vme-content-card label,
.vme-form label {
    color: #333333 !important;
}

/* Textos descriptivos/hints del plugin */
.vme-form-container small,
.vme-form-wrapper small,
.vme-create-video-form small,
.vme-content-card small,
.vme-form small,
.vme-hint {
    color: #777777 !important;
}

/* Select options legibles */
.vme-form-container select option,
.vme-form-wrapper select option,
.vme-create-video-form select option,
.vme-content-card select option,
.vme-dashboard-wrapper select option,
.vme-buyer-dashboard-wrapper select option,
.vme-form select option {
    background: #ffffff;
    color: #1a1a1a;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--hm-red);
}

/* WP Comments */
.comment-respond {
    background: var(--hm-bg-card);
    border-radius: var(--hm-radius-lg);
    padding: 24px;
    border: 1px solid var(--hm-border);
}

.comment-reply-title {
    font-size: 18px;
    margin-bottom: 16px;
}

.comment-form label {
    color: var(--hm-text-60);
    font-size: 13px;
    display: block;
    margin-bottom: 4px;
}

.form-submit input[type="submit"] {
    background: var(--hm-red);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: var(--hm-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.form-submit input[type="submit"]:hover {
    background: var(--hm-red-hover);
}

/* Comment list */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    background: var(--hm-bg-card);
    padding: 16px;
    border-radius: var(--hm-radius);
    margin-bottom: 12px;
    border: 1px solid var(--hm-border);
}

.comment-author { font-weight: 600; }
.comment-meta { font-size: 12px; color: var(--hm-text-40); }

/* ════════════════════════════════════════════════
   SCROLLBAR CUSTOM
   ════════════════════════════════════════════════ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--hm-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--hm-text-20);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--hm-red);
}

/* ════════════════════════════════════════════════
   SELECTION
   ════════════════════════════════════════════════ */
::selection {
    background: var(--hm-red);
    color: #fff;
}
