/* ── VIDEO HUB MODERN ZAHTHEME STYLES ─────────────────────────────────────── */
.video-hub-wrap {
    padding-top: 24px;
    padding-bottom: 72px;
}

/* Page Header */
.video-hub-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 32px;
}
.video-hub-head-info {
    max-width: 680px;
}
.video-hub-head-info .kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.video-hub-head-info .kicker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    display: inline-block;
}
.video-hub-head-info .display {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin: 0 0 10px;
}
.video-hub-head-info .lede {
    font-size: 0.95rem;
    color: var(--ink-2);
    line-height: 1.55;
    margin: 0;
}

/* Search Box */
.video-hub-search-form {
    display: flex;
    align-items: center;
    position: relative;
    min-width: 290px;
    width: 100%;
    max-width: 360px;
}
.video-hub-search-input {
    width: 100%;
    height: 44px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--ink);
    padding: 0 46px 0 42px;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.video-hub-search-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px color-mix(in oklch, var(--brand) 18%, transparent);
}
.video-hub-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-3);
    pointer-events: none;
}
.video-hub-search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    transition: background-color 0.16s ease;
}
.video-hub-search-btn:hover {
    background: var(--brand-strong);
}

/* Filter Chips */
.video-hub-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.video-hub-chip-count {
    font-variant-numeric: tabular-nums;
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0.75;
    margin-left: 2px;
}

/* Video Grid - Mobile Vertical 9:16 Layout */
.video-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
@media (max-width: 640px) {
    .video-hub-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Video Hub Card */
.video-card-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-1);
    transition: transform 0.22s var(--ease-out), box-shadow 0.22s ease, border-color 0.22s ease;
}
.video-card-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2);
    border-color: var(--line-strong);
}

/* Video Facade (Vertical Mobile 9:16 Stage) */
.video-card-stage {
    position: relative;
    aspect-ratio: 9 / 16;
    background: #060b11;
    overflow: hidden;
    cursor: pointer;
}
.video-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}
.video-card-item:hover .video-card-thumb {
    transform: scale(1.045);
}

/* Play Overlay & Button */
.video-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}
.video-card-item:hover .video-card-overlay {
    background: rgba(0, 0, 0, 0.42);
}

.video-play-button {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #e02424;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
    transition: transform 0.22s var(--ease-out), background-color 0.2s ease;
}
.video-play-button svg {
    margin-left: 3px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}
.video-card-item:hover .video-play-button {
    transform: scale(1.1);
    background: #f02828;
}

/* Floating Badges */
.video-badge-plat {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: var(--r-pill);
    font-size: 0.72rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    background: rgba(10, 16, 23, 0.82);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    pointer-events: none;
}
.video-badge-plat.youtube {
    color: #ff4444;
}
.video-badge-plat.youtube span {
    color: #ffffff;
}
.video-badge-plat.demo {
    color: #38bdf8;
}
.video-badge-plat.demo span {
    color: #ffffff;
}

.video-badge-aspect {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    border-radius: var(--r-pill);
    font-size: 0.68rem;
    font-weight: 650;
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.65);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

/* Product Drawer Bar (Bottom) */
.video-product-bar {
    padding: 10px 12px;
    background: var(--surface-2);
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.video-product-lead {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.video-product-thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--line);
    object-fit: contain;
    background: #ffffff;
    flex-shrink: 0;
    padding: 2px;
}
.video-product-meta {
    min-width: 0;
    flex: 1;
}
.video-product-title {
    font-size: 0.8125rem;
    font-weight: 650;
    color: var(--ink);
    text-decoration: none;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.16s ease;
}
.video-product-title:hover {
    color: var(--brand);
}
.video-product-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.video-product-price {
    font-size: 0.8125rem;
    font-weight: 750;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.video-product-stock-tag {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--ok);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.video-product-stock-tag::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ok);
    display: inline-block;
}
.video-product-btn {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0 10px;
    height: 30px;
    border-radius: var(--r-pill);
    gap: 3px;
    white-space: nowrap;
}

/* Cinema Video Modal */
.video-cinema-dialog {
    border: 0;
    padding: 0;
    border-radius: var(--r-card);
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-pop);
    width: 90vw;
    max-width: 480px;
    overflow: hidden;
    outline: none;
}
.video-cinema-dialog::backdrop {
    background: rgba(4, 8, 14, 0.78);
    backdrop-filter: blur(8px);
}
.video-cinema-inner {
    display: flex;
    flex-direction: column;
}
.video-cinema-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}
.video-cinema-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 12px;
}
.video-cinema-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--ink-2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.16s ease, color 0.16s ease;
    flex-shrink: 0;
}
.video-cinema-close:hover {
    background: var(--line);
    color: var(--ink);
}
.video-cinema-player {
    position: relative;
    aspect-ratio: 9 / 16;
    max-height: 72vh;
    background: #000000;
    width: 100%;
}
.video-cinema-player iframe,
.video-cinema-player video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.video-cinema-foot {
    padding: 12px 16px;
    background: var(--surface-2);
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
