/* Video Inquiry — 前端样式 v2.2（与 georgedeco.com 播放器一致） */

/* ═══════ 视频封面（点击触发 popup 播放） ═══════ */

.vi-cover {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 6 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #1a1a2e !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 8px !important;
}

.vi-cover img, .vi-cover video {
    border-radius: 8px !important;
}

/* 裸 video 封面：用明确宽高，不依赖父容器 */
.vi-cover--native {
    width: 100% !important;
    height: 100% !important;
    border-radius: 8px !important;
}

/* 无 poster 时用渐变背景 */
.vi-cover.vi-cover-default {
    background-image: linear-gradient(135deg, #1a1a2e 0%, #232a3a 40%, #2d2d2d 100%) !important;
}

.vi-cover[style*="background-image"] {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.vi-cover-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 66px !important;
    height: 66px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
    transition: transform 0.25s ease, background 0.25s ease !important;
    cursor: pointer !important;
    border: none !important;
    backdrop-filter: blur(2px) !important;
}

.vi-cover-btn svg {
    width: 30px !important;
    height: 30px !important;
    display: block !important;
    margin-left: 4px !important;
    opacity: 0.95 !important;
}

.vi-cover:hover .vi-cover-btn {
    transform: scale(1.12) !important;
    background: rgba(0, 0, 0, 0.65) !important;
    box-shadow: 0 6px 26px rgba(0, 0, 0, 0.5) !important;
}

/* hover 预览：封面背景透明，露出下方播放的视频 */
.vi-cover.vi-cover-hover {
    background-color: transparent !important;
    background-image: none !important;
}

.vi-cover.vi-cover-hover.vi-cover-default {
    background-image: none !important;
}

.vi-cover-brand {
    position: absolute !important;
    right: 12px !important;
    bottom: 12px !important;
    display: none !important;
    align-items: center !important;
    padding: 4px 12px !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border-radius: 4px !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    font-family: inherit !important;
    transition: all 0.3s ease !important;
}

/* hover 时 logo 移到左上角，白底圆角，小尺寸 */
.vi-cover.vi-cover-hover .vi-cover-brand {
    display: flex !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    bottom: auto !important;
    padding: 4px 10px !important;
    background: #fff !important;
    color: #333 !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15) !important;
}

.vi-cover.vi-cover-hover .vi-cover-brand img {
    height: 18px !important;
    width: auto !important;
    max-width: none !important;
    display: block !important;
    border-radius: 0 !important;
    transition: height 0.2s ease !important;
}

/* 小视频容器：hover logo 等比缩小（弹窗播放器不受影响） */
.vi-cover[data-vi-logo-small="1"] .vi-cover-brand img {
    height: 12px !important;
}

.vi-cover[data-vi-logo-small="1"].vi-cover-hover .vi-cover-brand {
    padding: 3px 7px !important;
    top: 8px !important;
    left: 8px !important;
}

.vi-cover[data-vi-logo-small="1"].vi-cover-hover .vi-cover-brand img {
    height: 11px !important;
}

.vi-cover-brand img {
    height: 22px !important;
    width: auto !important;
    display: block !important;
}

/* 视频外层容器（桌面圆角，移动端无圆角） */
.vi-video-wrap {
    border-radius: 8px;
}

/* ═══════ popup 播放器 ═══════ */

.vi-player-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 99990 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0, 0, 0, 0.85) !important;
    padding: 24px !important;
    margin: 0 !important;
}

.vi-player-stage {
    position: relative !important;
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 !important;
    flex: 0 1 auto !important;
}

.vi-player {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    background: #000 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6) !important;
}

.vi-player-video {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: #000 !important;
    object-fit: contain !important;
    margin: 0 !important;
    border: none !important;
}

/* 顶部标题栏 */
.vi-player-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 5 !important;
    padding: 14px 56px 20px 16px !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
    line-height: 1.4 !important;
    font-family: inherit !important;
}

/* 右上角关闭按钮 */
.vi-player-close {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 8 !important;
    width: 34px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    padding: 0 !important;
}

.vi-player-close svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
}

.vi-player-close:hover {
    background: rgba(255, 255, 255, 0.25) !important;
}

/* 右上角 Inquire Now 按钮（金色，同 georgedeco） */
.vi-player-inquiry {
    position: absolute !important;
    top: 14px !important;
    right: 56px !important;
    z-index: 8 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 18px !important;
    height: 32px !important;
    background: var(--vi-accent, #B4976D) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 0.2px !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 16px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
    transition: opacity 0.2s, transform 0.2s !important;
    font-family: inherit !important;
    white-space: nowrap !important;
}

.vi-player-inquiry:hover {
    color: #fff !important;
    background: var(--vi-accent, #B4976D) !important;
    text-decoration: none !important;
}

/* ═══════ 控制条（同 georgedeco：78px 高，自动隐藏） ═══════ */

.vi-pctrl {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 7 !important;
    height: 78px !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4) 60%, transparent) !important;
    padding: 20px 0 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    transition: opacity 0.3s ease !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* 控制条：默认隐藏，hover 或弹窗激活时显示（与右侧按钮同频） */
.vi-player:hover .vi-pctrl,
.vi-player.vi-active .vi-pctrl {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* 进度条（10px slider，独立一行） */
.vi-pctrl-progress {
    position: relative !important;
    width: 100% !important;
    height: 10px !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}

.vi-pctrl-track {
    position: relative !important;
    width: 100% !important;
    height: 4px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 4px !important;
    top: 3px !important;
}

.vi-pctrl-bar {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    height: 100% !important;
    width: 0%;
    background: var(--vi-accent, #B4976D) !important;
    border-radius: 4px !important;
}

/* 进度条拖动圆点按钮 */
.vi-pctrl-thumb {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    background: var(--vi-accent, #B4976D) !important;
    border: 2px solid #fff !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important;
    transform: translate(-50%, -50%) !important;
    pointer-events: none !important;
    transition: background 0.2s, transform 0.2s !important;
}

.vi-pctrl-track:hover .vi-pctrl-thumb {
    transform: translate(-50%, -50%) scale(1.2) !important;
}

/* 底部按钮行（48px） */
.vi-pctrl-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 48px !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}

.vi-pctrl-left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    height: 100% !important;
}

.vi-pctrl-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 100% !important;
}

.vi-pctrl-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 100% !important;
    background: transparent !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
}

.vi-pctrl-btn svg {
    width: 24px !important;
    height: 24px !important;
    display: block !important;
}

.vi-pctrl-btn:hover {
    color: var(--vi-accent, #B4976D) !important;
    background: transparent !important;
}

.vi-pctrl-play {
    margin-left: -8px !important;
}

.vi-pctrl-time {
    color: #fff !important;
    font-size: 14px !important;
    font-family: inherit !important;
    white-space: nowrap !important;
    margin-left: 4px !important;
}

/* 品牌 logo（png，限制高度不限制宽度，放在音量左侧） */
.vi-pctrl-brand {
    display: flex !important;
    align-items: center !important;
    padding: 2px 6px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 4px !important;
    color: #333 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    font-family: inherit !important;
    white-space: nowrap !important;
    line-height: 1 !important;
}

.vi-pctrl-brand img {
    height: 20px !important;
    width: auto !important;
    max-width: none !important;
    display: block !important;
    border-radius: 2px !important;
    object-fit: contain !important;
}

.vi-cover-brand img {
    border-radius: 4px !important;
}

/* 封面右下角视频时长 */
.vi-cover-duration {
    position: absolute !important;
    right: 12px !important;
    bottom: 12px !important;
    z-index: 8 !important;
    padding: 2px 6px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    border-radius: 3px !important;
    font-family: inherit !important;
    letter-spacing: 0.2px !important;
    opacity: 0 !important;
    transition: opacity 0.6s ease !important;
}

/* 加载完成后淡入显示 */
.vi-cover-duration.vi-duration-visible {
    opacity: 1 !important;
}

/* hover 时隐藏右下角时长 */
.vi-cover.vi-cover-hover .vi-cover-duration {
    display: none !important;
}

/* hover 预览时间 */
.vi-cover-hover-time {
    display: none !important;
    position: absolute !important;
    left: 12px !important;
    bottom: 12px !important;
    z-index: 8 !important;
    padding: 2px 6px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    border-radius: 3px !important;
    font-family: inherit !important;
    letter-spacing: 0.2px !important;
}

.vi-cover-hover .vi-cover-hover-time {
    display: inline-block !important;
}

/* hover 缩放动画 */
.vi-cover .vi-cover-poster-layer {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: opacity 0.4s ease !important;
}

.vi-cover.vi-cover-hover .vi-cover-poster-layer {
    opacity: 0 !important;
}

/* 右侧竖排联系按钮（WhatsApp/邮箱/电话，40x40 圆） */
.vi-pctrl-contacts {
    position: absolute !important;
    right: 12px !important;
    bottom: 14px !important;
    z-index: 7 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: bottom 0.35s ease !important;
}

/* hover 时控制条出现，按钮上移到控制条上方 */
.vi-player:hover .vi-pctrl-contacts,
.vi-player.vi-active .vi-pctrl-contacts {
    bottom: 92px !important;
}

.vi-pctrl-contact {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: var(--vi-accent, #B4976D) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    opacity: 0.92 !important;
    transition: opacity 0.2s, transform 0.2s !important;
    text-decoration: none !important;
}

.vi-pctrl-contact.vi-c-wa {
    background: var(--vi-accent, #B4976D) !important;
}

.vi-pctrl-contact.vi-c-mail {
    background: var(--vi-accent, #B4976D) !important;
}

.vi-pctrl-contact svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
}

.vi-pctrl-contact:hover {
    opacity: 1 !important;
    color: #fff !important;
    transform: scale(1.08) !important;
    text-decoration: none !important;
}

/* ═══════ 原地模式 overlay（inline，保留） ═══════ */

.vi-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 5 !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    overflow: hidden !important;
}

.vi-overlay .vi-inquiry {
    pointer-events: auto !important;
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 6 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 14px !important;
    background: #B4976D !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
    font-family: inherit !important;
}

.vi-overlay .vi-inquiry:hover {
    color: #fff !important;
    background: #c4a67c !important;
    text-decoration: none !important;
}

.vi-overlay .vi-contacts {
    pointer-events: auto !important;
    position: absolute !important;
    right: 12px !important;
    bottom: 12px !important;
    z-index: 6 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.vi-overlay.vi-has-controls .vi-contacts {
    bottom: 48px !important;
}

.vi-overlay .vi-contact {
    pointer-events: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: var(--vi-accent, #B4976D) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    opacity: 0.92 !important;
    transition: opacity 0.2s, transform 0.2s !important;
    text-decoration: none !important;
}

.vi-overlay .vi-contact.vi-c-wa {
    background: var(--vi-accent, #B4976D) !important;
}

.vi-overlay .vi-contact.vi-c-mail {
    background: var(--vi-accent, #B4976D) !important;
}

.vi-overlay .vi-contact svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
}

.vi-overlay .vi-contact:hover {
    opacity: 1 !important;
    color: #fff !important;
    transform: scale(1.08) !important;
    text-decoration: none !important;
}

.vi-overlay .vi-brand {
    pointer-events: none !important;
    position: absolute !important;
    right: 12px !important;
    bottom: 12px !important;
    z-index: 6 !important;
    display: flex !important;
    align-items: center !important;
    padding: 4px 12px !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border-radius: 4px !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
}

.vi-overlay.vi-has-controls .vi-brand {
    bottom: 48px !important;
}

/* ═══════ 询盘表单（georgedeco 风格 layer） ═══════ */

.vi-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0, 0, 0, 0.6) !important;
    margin: 0 !important;
    padding: 20px !important;
}

.vi-modal-card {
    position: relative !important;
    width: 100% !important;
    max-width: 580px !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    background: #fff !important;
    border-radius: 10px !important;
    padding: 32px 28px 24px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35) !important;
    font-family: inherit !important;
}

.vi-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 14px !important;
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    color: #888 !important;
    font-size: 26px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    font-family: inherit !important;
}

.vi-modal-close:hover {
    color: #333 !important;
    background: transparent !important;
}

.vi-modal-title {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #100146 !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    font-family: inherit !important;
}

.vi-form {
    margin: 0 !important;
    padding: 0 !important;
}

.vi-field {
    margin-bottom: 12px !important;
    padding: 0 !important;
}

.vi-input {
    display: block !important;
    width: 100% !important;
    padding: 12px 14px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    background: #fafafa !important;
    color: #333 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    font-family: inherit !important;
}

.vi-input:focus {
    border-color: #B4976D !important;
    box-shadow: 0 0 0 1px #B4976D !important;
    background: #fff !important;
}

.vi-input::placeholder {
    color: #999 !important;
}

textarea.vi-input {
    resize: vertical !important;
    min-height: 70px !important;
}

.vi-modal-bottom {
    margin-top: 16px !important;
    padding: 0 !important;
}

.vi-modal-privacy {
    font-size: 12px !important;
    color: #100146 !important;
    margin-bottom: 8px !important;
    text-align: center !important;
    line-height: 1.4 !important;
    font-family: inherit !important;
}

.vi-form-submit {
    display: block !important;
    width: 100% !important;
    padding: 0 16px !important;
    height: 52px !important;
    line-height: 52px !important;
    background: #B4976D !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    border: none !important;
    border-radius: 26px !important;
    cursor: pointer !important;
    font-family: inherit !important;
    transition: opacity 0.2s !important;
}

.vi-form-submit:hover {
    opacity: 0.9 !important;
    color: #fff !important;
}

.vi-form-submit:disabled {
    opacity: 0.6 !important;
    cursor: default !important;
}

.vi-form-status {
    display: none !important;
    margin-top: 10px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    font-family: inherit !important;
}

body.vi-modal-open {
    overflow: hidden !important;
}

/* ═══════ 移动端响应式 ═══════ */

@media (max-width: 700px) {
    .vi-cover-btn {
        width: 52px !important;
        height: 52px !important;
    }
    .vi-cover-btn svg {
        width: 22px !important;
        height: 22px !important;
    }

    /* 弹窗播放器：全宽无内边距，纵向排列，无圆角 */
    .vi-player-modal {
        padding: 10px !important;
        flex-direction: column !important;
    }
    .vi-player,
    .vi-player-video {
        border-radius: 0 !important;
    }
    .vi-player-stage {
        max-width: 100% !important;
    }

    /* 弹窗内 Inquire Now 隐藏（移到下方按钮行） */
    .vi-player-inquiry {
        display: none !important;
    }

    .vi-pctrl {
        height: 60px !important;
    }
    .vi-pctrl-progress {
        padding: 0 14px !important;
    }
    .vi-pctrl-bottom {
        height: 40px !important;
        padding: 0 14px !important;
    }
    .vi-pctrl-vol {
        display: none !important;
    }
    .vi-pctrl-full {
        display: none !important;
    }
    .vi-pctrl-brand img {
        height: 18px !important;
    }

    /* 弹窗内联系按钮隐藏，改为下方横排 */
    .vi-pctrl-contacts {
        display: none !important;
    }

    /* 弹窗下方：Inquire Now + 三个联系按钮同行 */
    .vi-popup-mobile-contacts {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        padding: 12px 10px !important;
    }

    .vi-popup-mobile-inquiry {
        padding: 8px 16px !important;
        background: var(--vi-accent, #B4976D) !important;
        color: #fff !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        border-radius: 16px !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        letter-spacing: 0.2px !important;
        font-family: inherit !important;
        flex-shrink: 0 !important;
    }

    .vi-popup-mobile-icons {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        margin-left: auto !important;
    }

    .vi-popup-mobile-contact {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        height: 42px !important;
        border-radius: 50% !important;
        background: var(--vi-accent, #B4976D) !important;
        color: #fff !important;
        text-decoration: none !important;
    }

    .vi-popup-mobile-contact svg {
        width: 18px !important;
        height: 18px !important;
        display: block !important;
    }

    .vi-modal-card {
        padding: 26px 18px 20px !important;
        max-width: 94% !important;
    }
}

/* 桌面端隐藏弹窗移动端联系按钮 */
@media (min-width: 701px) {
    .vi-popup-mobile-contacts {
        display: none !important;
    }
}

/* ═══════ 视频卡片墙（仿 georgedeco.com/videos） ═══════ */

.vi-wall {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    font-family: inherit;
}

.vi-wall-page-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #100146;
    margin: 48px 20px 0;
    font-family: inherit;
}

.vi-wall-section {
    margin-bottom: 56px;
}

.vi-wall-head {
    max-width: 720px;
    margin: 0 auto 28px;
    text-align: center;
}

.vi-wall-title {
    font-size: 26px;
    font-weight: 700;
    color: #100146;
    margin: 0 0 8px;
    font-family: inherit;
}

.vi-wall-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
    font-family: inherit;
}

/* 横向滚动行 */
.vi-wall-row {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 -6px;
}

.vi-wall-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 6px 20px;
    flex: 1;
    min-width: 0;
}

.vi-wall-track::-webkit-scrollbar {
    display: none;
}

/* 左右箭头 */
.vi-wall-arrow {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 6px;
    border: none;
    border-radius: 50%;
    background: var(--vi-accent, #B4976D) !important;
    color: #fff !important;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s, background 0.2s;
    z-index: 3;
    opacity: 1 !important;
}

.vi-wall-arrow:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.25);
    background: #9a7d52 !important;
}

.vi-wall-arrow svg {
    width: 20px;
    height: 20px;
    display: block;
}

.vi-wall-arrow.is-disabled {
    opacity: 0.35 !important;
    pointer-events: none;
}

/* 卡片（对齐 georgedeco：白底圆角8px + 阴影 + hover 上浮） */
.vi-wall-card {
    flex: 0 0 auto;
    width: 300px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 9px 0 36px rgba(179, 177, 190, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* 大卡片分区：尺寸差异化，不都一个样 */
.vi-wall-section--large .vi-wall-card {
    width: 400px;
}

.vi-wall-section--large .vi-wall-card-title {
    font-size: 16px;
}

.vi-wall-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15), 0 8px 30px rgba(0, 0, 0, 0.15);
}

.vi-wall-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1a1a2e;
}

.vi-wall-card-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
    border: none;
}

/* 卡片内封面：对齐 georgedeco 卡片样式（右上角小播放键，右下角时长） */
.vi-wall-card .vi-cover {
    border-radius: 8px 8px 0 0 !important;
}

.vi-wall-card .vi-cover-btn {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    bottom: auto !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.45) !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.vi-wall-card .vi-cover-btn svg {
    width: 16px !important;
    height: 16px !important;
    margin-left: 2px !important;
}

.vi-wall-card .vi-cover:hover .vi-cover-btn {
    transform: scale(1.1) !important;
    background: rgba(0, 0, 0, 0.6) !important;
}

/* 卡片封面隐藏品牌水印（popup 播放器里仍显示） */
.vi-wall-card .vi-cover-brand {
    display: none !important;
}

/* 卡片封面时长：右下角，常显 */
.vi-wall-card .vi-cover-duration {
    right: 10px !important;
    bottom: 10px !important;
    padding: 2px 6px !important;
    font-size: 13px !important;
    background: rgba(0, 0, 0, 0.55) !important;
    opacity: 1 !important;
    border-radius: 3px !important;
    z-index: 8 !important;
}

/* 卡片主体 */
.vi-wall-card-body {
    padding: 12px 14px 14px;
    min-height: 40px;
}

.vi-wall-card-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    color: #333;
    font-family: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ═══════ 竖屏 9:16 卡片（对齐 georgedeco Contact 区） ═══════ */

.vi-wall-section--9-16 .vi-wall-card {
    width: 210px;
}

.vi-wall-section--9-16 .vi-wall-card-media {
    aspect-ratio: 9 / 16;
}

.vi-wall-section--9-16 .vi-wall-card .vi-cover-btn {
    top: 8px !important;
    right: 8px !important;
    width: 28px !important;
    height: 28px !important;
}

.vi-wall-section--9-16 .vi-wall-card .vi-cover-btn svg {
    width: 13px !important;
    height: 13px !important;
}

.vi-wall-section--9-16 .vi-wall-card .vi-cover-duration {
    right: 8px !important;
    bottom: 8px !important;
    font-size: 11px !important;
}

/* ═══════ 分栏布局（左文字 + 右卡片，对齐 georgedeco hero-box） ═══════ */

.vi-wall-section--split .vi-wall-split {
    display: flex;
    align-items: center;
    gap: 48px;
}

.vi-wall-section--split .vi-wall-split-text {
    flex: 0 0 380px;
    max-width: 380px;
}

.vi-wall-section--split .vi-wall-split-text .vi-wall-title {
    text-align: left;
    font-size: 28px;
    margin-bottom: 14px;
}

.vi-wall-section--split .vi-wall-split-text .vi-wall-desc {
    text-align: left;
    font-size: 16px;
    line-height: 1.7;
}

.vi-wall-section--split .vi-wall-split-media {
    flex: 1;
    min-width: 0;
}

/* ═══════ 滑动效果：一次显示一个视频（对齐 georgedeco hero-box） ═══════ */

/* 滑块容器：箭头半进半出悬浮在视频左右边缘，金色（同 Inquiry 按钮） */
.vi-wall-slider {
    position: relative;
    max-width: 100%;
}

.vi-wall-slider-track {
    display: flex;
    overflow: hidden;
    border-radius: 10px;
    scroll-behavior: smooth;
}

.vi-wall-slider .vi-wall-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 46px !important;
    height: 46px !important;
    margin: 0 !important;
    flex: 0 0 auto;
    background: var(--vi-accent, #B4976D) !important;
    color: #fff !important;
    opacity: 1 !important;
    z-index: 20 !important;
    border: 2px solid #fff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}

.vi-wall-slider .vi-wall-arrow:hover {
    background: #9a7d52 !important;
    transform: translateY(-50%) scale(1.08) !important;
}

/* 左箭头：一半在视频外，一半在视频内 */
.vi-wall-slider .vi-wall-arrow--prev {
    left: -23px !important;
}

/* 右箭头：一半在视频外，一半在视频内 */
.vi-wall-slider .vi-wall-arrow--next {
    right: -23px !important;
}

.vi-wall-slider-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

/* 滑动卡片占满 slide，大尺寸 */
.vi-wall-slider-slide .vi-wall-card {
    width: 100%;
    box-shadow: none;
}

.vi-wall-slider-slide .vi-wall-card-media {
    aspect-ratio: 16 / 9;
}

/* 竖屏滑动：卡片固定宽度，箭头绝对定位在视频左右边缘（半进半出） */
.vi-wall-section--9-16 .vi-wall-slider {
    position: relative;
    width: 400px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.vi-wall-section--9-16 .vi-wall-slider-track {
    display: flex;
    overflow: hidden;
    border-radius: 10px;
    scroll-behavior: smooth;
    width: 100%;
}

.vi-wall-section--9-16 .vi-wall-slider .vi-wall-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    flex: 0 0 auto;
    background: var(--vi-accent, #B4976D) !important;
    color: #fff !important;
    opacity: 1 !important;
    z-index: 6 !important;
    border: 2px solid #fff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}

.vi-wall-section--9-16 .vi-wall-slider .vi-wall-arrow--prev {
    left: 1px !important;
}

.vi-wall-section--9-16 .vi-wall-slider .vi-wall-arrow--next {
    right: 1px !important;
}

.vi-wall-section--9-16 .vi-wall-slider-slide .vi-wall-card {
    width: 100% !important;
}

.vi-wall-section--9-16 .vi-wall-slider-slide .vi-wall-card-media {
    aspect-ratio: 9 / 16;
}

/* 滑动效果大卡片：播放键更大、标题更大 */
.vi-wall-card--large .vi-cover-btn {
    top: 16px !important;
    right: 16px !important;
    width: 46px !important;
    height: 46px !important;
}

.vi-wall-card--large .vi-cover-btn svg {
    width: 20px !important;
    height: 20px !important;
}

.vi-wall-card--large .vi-wall-card-title {
    font-size: 17px;
}

/* 滑动圆点指示器（已禁用：导航用左右箭头即可） */
.vi-wall-slider-dots {
    display: none !important;
}

/* 分栏 + 竖屏：右侧卡片列更窄 */
.vi-wall-section--split.vi-wall-section--9-16 .vi-wall-split-media .vi-wall-card {
    width: 100%;
}

@media (max-width: 900px) {
    .vi-wall-section--split .vi-wall-split {
        flex-direction: column;
        gap: 24px;
    }
    .vi-wall-section--split .vi-wall-split-text {
        flex: 0 0 auto;
        max-width: 100%;
        text-align: center;
    }
    .vi-wall-section--split .vi-wall-split-text .vi-wall-title,
    .vi-wall-section--split .vi-wall-split-text .vi-wall-desc {
        text-align: center;
    }
    .vi-wall-section--split .vi-wall-split-media {
        width: 100%;
    }
}

/* 响应式 */
@media (max-width: 700px) {
    .vi-wall {
        padding: 24px 12px 40px;
    }
    .vi-wall-card {
        width: 240px;
    }
    .vi-wall-section--9-16 .vi-wall-card {
        width: 160px;
    }
    .vi-wall-track {
        gap: 12px;
    }
    .vi-wall-arrow {
        width: 34px;
        height: 34px;
    }
}

/* ───────────── 视频位置槽位 [vi_video slot="xxx"] ───────────── */

.vi-slot {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    line-height: 0;
}

.vi-slot video {
    width: 100%;
    height: auto;
    max-height: 720px;
    object-fit: contain;
    border-radius: 8px;
    background: #000;
}

.vi-slot .vi-slot-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 4px;
    line-height: 1.4;
}

/* ───────────── 视频位置排版 [vi_video slot] ───────────── */

.vi-slot {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.vi-slot-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.vi-slot-title {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

.vi-slot-link {
    font-size: 13px;
    color: #B4976D;
    text-decoration: none;
    word-break: break-all;
}

.vi-slot-link:hover {
    text-decoration: underline;
}

.vi-slot-grid {
    display: grid;
    gap: 16px;
}

.vi-slot--single .vi-slot-grid { grid-template-columns: 1fr; }
.vi-slot--two .vi-slot-grid { grid-template-columns: repeat(2, 1fr); }
.vi-slot--three .vi-slot-grid { grid-template-columns: repeat(3, 1fr); }
.vi-slot--five .vi-slot-grid { grid-template-columns: repeat(5, 1fr); }

.vi-slot--portrait .vi-slot-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.vi-slot-card {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.vi-slot-media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    border-radius: 10px;
}

.vi-slot--portrait .vi-slot-media {
    aspect-ratio: 9 / 16;
}

.vi-slot-media video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vi-slot-body {
    padding: 10px 12px 12px;
}

.vi-slot-card-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .vi-slot--two .vi-slot-grid,
    .vi-slot--three .vi-slot-grid { grid-template-columns: repeat(2, 1fr); }
    .vi-slot--five .vi-slot-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
    .vi-slot--two .vi-slot-grid,
    .vi-slot--three .vi-slot-grid,
    .vi-slot--five .vi-slot-grid { grid-template-columns: 1fr; }
}

/* ───────────── 位置排版：slider 滑动展示（一次一个大视频） ───────────── */

.vi-slot--slider .vi-slot-slider {
    position: relative;
    max-width: 100%;
}

.vi-slot-slider-track {
    display: flex;
    overflow: hidden;
    border-radius: 14px;
}

.vi-slot-slider-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.vi-slot-slider-card {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.vi-slot-slider-media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.vi-slot-slider-media video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vi-slot-slider-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
}

.vi-slot-slider-name {
    font-size: 15px;
    font-weight: 600;
    color: #1c1917;
}

.vi-slot-slider-duration {
    font-size: 13px;
    color: #78716c;
}

.vi-slot-slider .vi-slot-slider-arrow {
    position: absolute !important;
    top: 44% !important;
    transform: translateY(-50%) !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    border: 2px solid #fff !important;
    background: rgba(0, 0, 0, 0.55) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 20 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
    transition: opacity .2s, transform .2s;
}

.vi-slot-slider .vi-slot-slider-arrow:hover {
    background: rgba(0, 0, 0, 0.75) !important;
    transform: translateY(-50%) scale(1.06) !important;
}

.vi-slot-slider .vi-slot-slider-arrow svg {
    width: 22px !important;
    height: 22px !important;
}

.vi-slot-slider .vi-slot-slider-arrow.is-disabled {
    opacity: 0.3 !important;
    pointer-events: none !important;
}

.vi-slot-slider .vi-slot-slider-arrow--prev {
    left: 16px !important;
}

.vi-slot-slider .vi-slot-slider-arrow--next {
    right: 16px !important;
}

.vi-slot-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.vi-slot-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #d6d3d1;
    cursor: pointer;
    padding: 0;
    transition: background .2s, width .2s;
}

.vi-slot-slider-dot.is-active {
    background: #B4976D;
    width: 22px;
    border-radius: 999px;
}

/* ───────────── 位置排版：竖屏 ratio 覆盖 ───────────── */

.vi-slot--portrait .vi-slot-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.vi-slot-media--portrait {
    aspect-ratio: 9 / 16 !important;
}

.vi-slot-slider-media--portrait {
    aspect-ratio: 9 / 16 !important;
    max-height: 70vh;
    margin: 0 auto;
}
