/**
 * GOBIKE - VIDEO DETAIL PAGE STYLES
 * Giao diện trang chi tiết Video Review (chuẩn theo thiết kế 2 ảnh mẫu)
 * Chỉ dùng CSS hiệu ứng hover vào ảnh thì phóng to, không dùng sự kiện JS
 *
 * @package Flatsome-Child
 */

/* ==========================================================================
   BIẾN MÀU & CONTAINER
   ========================================================================== */


/* ==========================================================================
   HIỆU ỨNG HOVER PHÓNG TO ẢNH THUẦN CSS (ZOOM ON HOVER)
   "Chỉ có sự kiện hover vào ảnh thì phóng to lên thôi"
   ========================================================================== */
.gb-vd-zoom-wrap {
    overflow: hidden;
    position: relative;
    display: block;
}

.gb-vd-zoom-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.gb-vd-zoom-wrap:hover img,
a:hover .gb-vd-zoom-wrap img,
.gb-vd-upnext-item:hover .gb-vd-zoom-wrap img,
.gb-vd-rel-card:hover .gb-vd-zoom-wrap img,
.gb-vd-product-card:hover .gb-vd-zoom-wrap img {
    transform: scale(1.06);
}

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.gb-vd-breadcrumb {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.gb-vd-breadcrumb a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}

.gb-vd-breadcrumb a:hover {
    color: #044b25;
}

.gb-vd-breadcrumb .current {
    color: #044b25;
    font-weight: 600;
}

/* ==========================================================================
   BỐ CỤC 2 CỘT CHÍNH (TOP HERO: MAIN PLAYER + SIDEBAR)
   ========================================================================== */
.gb-vd-main-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid #e2e8f0;
}

/* --- CỘT TRÁI: VIDEO PLAYER & METADATA --- */
.gb-vd-player-box {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Tỉ lệ 16:9 */
    background: #000000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.gb-vd-player-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.gb-vd-player-cover .gb-vd-zoom-wrap {
    width: 100%;
    height: 100%;
}

/* Logo tròn GoBike góc phải trên */
.gb-vd-player-brand-logo {
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.gb-vd-player-brand-logo svg {
    color: #044b25;
    width: 20px;
    height: 20px;
}

.gb-vd-player-brand-logo span.brand-name {
    font-size: 14px;
    font-weight: 700;
    color: #044b25;
    line-height: 1;
}

.gb-vd-player-brand-logo span.brand-tag {
    font-size: 9px;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Nút Play to ở giữa */
.gb-vd-big-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: rgba(4, 75, 37, 0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, background 0.25s ease;
    z-index: 4;
}

.gb-vd-player-cover:hover .gb-vd-big-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: #044b25;
}

/* Thanh điều khiển video giả lập (Mock Control Bar ở đáy player) */
.gb-vd-player-controls-mock {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 18px 16px 10px 16px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.gb-vd-progress-bar-mock {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    position: relative;
}

.gb-vd-progress-fill-mock {
    width: 25%;
    height: 100%;
    background: #044b25;
    border-radius: 2px;
}

.gb-vd-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-size: 12px;
}

.gb-vd-ctrl-left,
.gb-vd-ctrl-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gb-vd-ctrl-left svg,
.gb-vd-ctrl-right svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* TIÊU ĐỀ VIDEO & METADATA */
.gb-vd-title-info {
    margin-top: 18px;
}

.gb-vd-main-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 10px 0;
}

.gb-vd-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
}

.gb-vd-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.gb-vd-meta-item svg {
    width: 14px;
    height: 14px;
}

.gb-vd-hashtags {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 6px;
}

.gb-vd-tag {
    color: #64748b;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 500;
}

.gb-vd-tag:hover {
    color: #044b25;
}

/* HÀNG NÚT TƯƠNG TÁC (ACTION BUTTONS) */
.gb-vd-action-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.gb-vd-btn-buy-now {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #044b25;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 6px rgba(4, 75, 37, 0.25);
}

.gb-vd-btn-buy-now:hover {
    background: #03381b;
    transform: translateY(-1px);
}

.gb-vd-btn-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    color: #334155 !important;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.gb-vd-btn-action:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a !important;
}

.gb-vd-btn-action svg {
    width: 15px;
    height: 15px;
    color: #475569;
}

/* HỘP THÔNG TIN KÊNH / TÁC GIẢ (CHANNEL BOX) */
.gb-vd-channel-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 22px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.gb-vd-channel-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gb-vd-channel-avatar {
    width: 52px;
    height: 52px;
    background: #044b25;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.gb-vd-channel-avatar svg {
    width: 28px;
    height: 28px;
}

.gb-vd-channel-name {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 3px 0;
    line-height: 1.25;
}

.gb-vd-channel-sub {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.35;
}

.gb-vd-channel-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.gb-vd-channel-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin: 0;
    line-height: 1.2;
}

.gb-vd-channel-btns {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gb-vd-btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #044b25;
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
    box-shadow: 0 1px 3px rgba(4, 75, 37, 0.2);
}

.gb-vd-btn-phone:hover {
    background: #03381b;
    transform: translateY(-1px);
}

.gb-vd-btn-zalo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #0284c7 !important;
    border: 1px solid #bae6fd;
    font-size: 14.5px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease, transform 0.15s ease;
    box-shadow: 0 1px 3px rgba(2, 132, 199, 0.1);
}

.gb-vd-btn-zalo:hover {
    background: #f0f9ff;
    border-color: #0284c7;
    transform: translateY(-1px);
}

/* ==========================================================================
   KHỐI "SẢN PHẨM TRONG VIDEO"
   ========================================================================== */
.gb-vd-product-section {
    margin-top: 10px;
}

.gb-vd-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 14px 0;
}

.gb-vd-product-card {
    display: grid;
    grid-template-columns: 210px 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 24px;
    row-gap: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    align-items: center;
}

.gb-vd-product-thumb {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 100%;
    height: 100%;
    min-height: 160px;
    background: #f8fafc;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.gb-vd-product-thumb .gb-vd-zoom-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gb-vd-product-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gb-vd-prod-info {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gb-vd-prod-name {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.gb-vd-prod-desc {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 4px 0;
    line-height: 1.45;
}

.gb-vd-prod-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gb-vd-price-current {
    font-size: 18px;
    font-weight: 700;
    color: #dc2626;
}

.gb-vd-price-old {
    font-size: 13.5px;
    color: #94a3b8;
    text-decoration: line-through;
}

.gb-vd-price-disc {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    background: #ef4444;
    padding: 2px 7px;
    border-radius: 5px;
}

/* 4 Thông số kỹ thuật của sản phẩm - Nằm dưới giá & nút (bên phải ảnh) */
.gb-vd-prod-specs-grid {
    grid-column: 2 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding-top: 4px;
    border-top: none;
}

.gb-vd-prod-spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gb-vd-spec-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #044b25;
}

.gb-vd-spec-icon svg {
    width: 26px;
    height: 26px;
    stroke: #044b25;
    flex-shrink: 0;
}

.gb-vd-spec-content {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.gb-vd-spec-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}

.gb-vd-spec-val {
    font-size: 12.5px;
    color: #0f172a;
    line-height: 1.25;
    white-space: nowrap;
}

.gb-vd-spec-val strong {
    font-weight: 700;
    color: #0f172a;
}

/* Cột nút xem & đặt lái thử */
.gb-vd-prod-actions {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-self: center;
}

.gb-vd-btn-prod-detail {
    background: #044b25;
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.gb-vd-btn-prod-detail:hover {
    background: #03381b;
    transform: translateY(-1px);
}

.gb-vd-btn-prod-testdrive {
    background: #ffffff;
    color: #0f172a !important;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gb-vd-btn-prod-testdrive:hover {
    background: #f8fafc;
    border-color: #044b25;
    color: #044b25 !important;
}

.gb-vd-btn-prod-cart {
    display: none;
}

/* ==========================================================================
   CỘT PHẢI (SIDEBAR: VIDEO TIẾP THEO + BANNER ĐẶT LỊCH)
   ========================================================================== */
.gb-vd-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Khối Video tiếp theo */
.gb-vd-upnext-box {
    background: transparent;
}

.gb-vd-upnext-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding: 0 6px 6px 6px;
    width: 100%;
    box-sizing: border-box;
    gap: 12px;
}

.gb-vd-upnext-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    white-space: nowrap;
    /* flex-shrink: 0; */
}

.gb-vd-autoplay-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 12.5px !important;
    color: #64748b !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    user-select: none !important;
    margin: 0 !important;
}

.gb-vd-autoplay-toggle span {
    white-space: nowrap !important;
    display: inline-block !important;
    font-size: 12.5px !important;
    color: #475569 !important;
    line-height: 1 !important;
}

.gb-vd-switch {
    position: relative !important;
    display: inline-block !important;
    width: 36px !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
    cursor: pointer !important;
}

.gb-vd-switch input {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
    clip: rect(0, 0, 0, 0) !important;
}

.gb-vd-slider {
    position: absolute !important;
    cursor: pointer !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-color: #cbd5e1 !important;
    transition: background-color 0.25s ease !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
}

.gb-vd-slider::before {
    position: absolute !important;
    content: "" !important;
    height: 14px !important;
    width: 14px !important;
    left: 3px !important;
    top: 3px !important;
    background-color: #ffffff !important;
    transition: transform 0.25s ease !important;
    border-radius: 50% !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) !important;
    box-sizing: border-box !important;
    display: block !important;
}

.gb-vd-switch input:checked + .gb-vd-slider {
    background-color: #044b25 !important;
}

.gb-vd-switch input:checked + .gb-vd-slider::before {
    transform: translateX(16px) !important;
}

/* Danh sách 5 video tiếp theo */
.gb-vd-upnext-list {
    display: flex;
    flex-direction: column;
    align-items: stretch !important;
    width: 100% !important;
    gap: 12px;
    box-sizing: border-box;
}

.gb-vd-upnext-item {
    display: flex !important;
    width: 100% !important;
    box-sizing: border-box !important;
    align-self: stretch !important;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.gb-vd-upnext-item:hover {
    background: #f8fafc;
}

/* Khối ảnh bài viết xử lý width 40% và padding-bottom 56.25% (16:9) */
.gb-vd-upnext-thumb {
    position: relative;
    width: 40% !important;
    flex: 0 0 40% !important;
    max-width: 40% !important;
    min-width: 0 !important;
    border-radius: 6px;
    overflow: hidden;
    background: #0f172a;
    flex-shrink: 0;
}

.gb-vd-upnext-thumb .gb-vd-zoom-wrap {
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 56.25% !important; /* Xử lý tỉ lệ 16:9 bằng padding-bottom */
    position: relative;
    overflow: hidden;
    display: block;
}

.gb-vd-upnext-thumb .gb-vd-zoom-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gb-vd-duration-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    line-height: 1.2;
    z-index: 2;
}

.gb-vd-upnext-info {
    width: 60%;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gb-vd-upnext-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gb-vd-upnext-channel {
    font-size: 11px;
    color: #64748b;
    margin: 0 0 2px 0;
}

.gb-vd-upnext-meta {
    font-size: 11px;
    color: #94a3b8;
    margin: 0;
}

/* Banner Đặt Lịch Lái Thử Tại Showroom GoBike */
.gb-vd-booking-card {
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    border-radius: 12px;
    padding: 18px;
    position: relative;
    overflow: hidden;
}

.gb-vd-booking-title {
    font-size: 16.5px;
    font-weight: 700;
    color: #0f172a !important;
    line-height: 1.35;
    margin: 0 0 12px 0;
}

.gb-vd-booking-title span.highlight {
    background: transparent !important;
    color: #0f172a !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.gb-vd-booking-img-wrap {
    width: 100%;
    height: 155px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 14px;
    background: #ffffff;
}

.gb-vd-booking-img-wrap .gb-vd-zoom-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gb-vd-booking-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gb-vd-booking-checklist {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.gb-vd-booking-check-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #334155;
    font-weight: 500;
}

.gb-vd-booking-check-item svg {
    width: 15px;
    height: 15px;
    color: #044b25;
    flex-shrink: 0;
}

.gb-vd-btn-booking-cta {
    display: block;
    width: 100%;
    background: #044b25;
    color: #ffffff !important;
    text-align: center;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.gb-vd-btn-booking-cta:hover {
    background: #03381b;
}

/* ==========================================================================
   SECTION "VIDEO LIÊN QUAN" (4 CỘT)
   ========================================================================== */
.gb-vd-related-section {
    margin-bottom: 40px;
}

.gb-vd-sec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.gb-vd-sec-header h2,
.gb-vd-sec-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.gb-vd-link-all {
    font-size: 13px;
    font-weight: 700;
    color: #044b25;
    text-decoration: none;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    transition: color 0.2s ease, transform 0.2s ease;
}

.gb-vd-link-all:hover {
    color: #03381b;
    transform: translateX(3px);
}

.gb-vd-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.gb-vd-rel-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.gb-vd-rel-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 10px;
    overflow: hidden;
    background: #0f172a;
    margin-bottom: 10px;
}

.gb-vd-rel-thumb .gb-vd-zoom-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gb-vd-rel-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.38;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.gb-vd-rel-card:hover .gb-vd-rel-title {
    color: #044b25;
}

.gb-vd-rel-meta {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

/* ==========================================================================
   KHU VỰC 2 CỘT PHÍA DƯỚI: BÌNH LUẬN & CÂU HỎI THƯỜNG GẶP (FAQ)
   ========================================================================== */
.gb-vd-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 36px;
    align-items: start;
}

/* --- CỘT TRÁI: BÌNH LUẬN (24) --- */
.gb-vd-comments-box {
    background: transparent;
}

.gb-vd-comments-header {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px 0;
}

/* Khung nhập bình luận */
.gb-vd-comment-form-mock {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.gb-vd-user-avatar-mock {
    width: 38px;
    height: 38px;
    background: #0284c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.gb-vd-comment-input-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.gb-vd-comment-input {
    width: 100%;
    height: 42px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 0 46px 0 16px;
    font-size: 13.5px;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
}

.gb-vd-comment-input:focus {
    background: #ffffff;
    border-color: #044b25;
    box-shadow: 0 0 0 3px rgba(4, 75, 37, 0.1);
}

.gb-vd-btn-send-comment {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.gb-vd-btn-send-comment:hover {
    color: #044b25;
}

/* Danh sách các bình luận mẫu */
.gb-vd-comments-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.gb-vd-comment-item {
    display: flex;
    gap: 12px;
}

.gb-vd-cmt-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #e2e8f0;
}

.gb-vd-cmt-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gb-vd-cmt-content {
    flex: 1;
}

.gb-vd-cmt-top {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.gb-vd-cmt-author {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
}

.gb-vd-cmt-time {
    font-size: 11.5px;
    color: #94a3b8;
}

.gb-vd-cmt-text {
    font-size: 13px;
    color: #334155;
    line-height: 1.45;
    margin: 0 0 6px 0;
}

.gb-vd-cmt-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: #64748b;
}

.gb-vd-cmt-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #64748b;
    text-decoration: none;
    cursor: pointer;
}

.gb-vd-cmt-action-btn:hover {
    color: #044b25;
}

.gb-vd-cmt-action-btn svg {
    width: 13px;
    height: 13px;
}

.gb-vd-more-comments-btn {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 13.5px;
    font-weight: 700;
    color: #044b25;
    text-decoration: none;
    cursor: pointer;
}

.gb-vd-more-comments-btn:hover {
    color: #03381b;
}

/* --- CỘT PHẢI: CÂU HỎI THƯỜNG GẶP (FAQ ACCORDION HOẠT ĐỘNG THẬT) --- */
.gb-vd-faq-box {
    background: transparent;
}

.gb-vd-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.gb-vd-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.gb-vd-faq-item[open] {
    border-color: #044b25;
    box-shadow: 0 2px 8px rgba(4, 75, 37, 0.08);
}

.gb-vd-faq-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: color 0.2s ease;
}

.gb-vd-faq-summary::-webkit-details-marker {
    display: none;
}

.gb-vd-faq-summary:hover {
    color: #044b25;
}

.gb-vd-faq-question-text {
    flex: 1;
}

.gb-vd-faq-plus {
    font-size: 16px;
    font-weight: 700;
    color: #64748b;
    flex-shrink: 0;
    margin-left: 8px;
    transition: transform 0.25s ease, color 0.25s ease;
    line-height: 1;
}

.gb-vd-faq-item[open] .gb-vd-faq-plus {
    transform: rotate(45deg);
    color: #044b25;
}

.gb-vd-faq-answer {
    padding: 0 14px 14px 14px;
    font-size: 12.5px;
    color: #475569;
    line-height: 1.55;
    border-top: 1px dashed #f1f5f9;
    margin-top: 2px;
    padding-top: 10px;
}

.gb-vd-faq-answer p {
    margin: 0;
}

/* Box "Vẫn còn thắc mắc?" */
.gb-vd-faq-contact-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 18px;
}

.gb-vd-faq-contact-left {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.gb-vd-faq-icon-headphone {
    width: 44px;
    height: 44px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gb-vd-faq-icon-headphone svg {
    width: 40px;
    height: 40px;
    display: block;
}

.gb-vd-faq-contact-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
    line-height: 1.25;
}

.gb-vd-faq-contact-sub {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.35;
}

.gb-vd-faq-contact-right {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.gb-vd-faq-contact-right .gb-vd-faq-btn {
    flex: 1;
    justify-content: center;
    padding: 11px 18px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    text-align: center;
    white-space: nowrap;
}

/* ==========================================================================
   RESPONSIVE CHO TABLET & MOBILE
   ========================================================================== */
@media screen and (max-width: 991px) {
    .gb-vd-main-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Khối Sản phẩm trong video: chuẩn giao diện Mobile (Ảnh 2) */
    .gb-vd-product-card {
        display: grid !important;
        grid-template-columns: 120px 1fr !important;
        grid-template-rows: auto auto !important;
        column-gap: 14px !important;
        row-gap: 12px !important;
        padding: 14px !important;
        border-radius: 14px !important;
        align-items: center !important;
    }
    .gb-vd-product-thumb {
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;
        width: 120px !important;
        height: 100% !important;
        min-height: 110px !important;
        background: #f8fafc !important;
        border-radius: 10px !important;
        padding: 6px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .gb-vd-product-thumb .gb-vd-zoom-wrap {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .gb-vd-prod-info {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 3px !important;
    }
    .gb-vd-prod-name {
        font-size: 16px !important;
        font-weight: 700 !important;
        margin: 0 !important;
        line-height: 1.3 !important;
    }
    .gb-vd-prod-desc {
        display: none !important;
    }
    .gb-vd-prod-pricing {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 3px 8px !important;
        margin-top: 2px !important;
    }
    .gb-vd-price-current {
        font-size: 16.5px !important;
        font-weight: 700 !important;
        color: #dc2626 !important;
        order: 1 !important;
    }
    .gb-vd-price-disc {
        font-size: 11px !important;
        font-weight: 700 !important;
        background: #ef4444 !important;
        color: #ffffff !important;
        padding: 2px 6px !important;
        border-radius: 4px !important;
        order: 2 !important;
    }
    .gb-vd-price-old {
        font-size: 12.5px !important;
        color: #94a3b8 !important;
        text-decoration: line-through !important;
        order: 3 !important;
        width: 100% !important;
        margin-top: -1px !important;
    }
    .gb-vd-prod-actions {
        grid-column: 2 !important;
        grid-row: 2 !important;
        width: 100% !important;
        display: block !important;
        margin: 0 !important;
    }
    .gb-vd-btn-prod-detail,
    .gb-vd-btn-prod-testdrive {
        display: none !important;
    }
    .gb-vd-btn-prod-cart {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        background: #03381b !important;
        color: #ffffff !important;
        font-size: 13.5px !important;
        font-weight: 700 !important;
        padding: 10px 14px !important;
        border-radius: 8px !important;
        text-align: center !important;
        text-decoration: none !important;
        white-space: nowrap !important;
    }
    .gb-vd-btn-prod-cart svg {
        width: 18px !important;
        height: 18px !important;
        stroke: currentColor !important;
        flex-shrink: 0 !important;
    }
    .gb-vd-prod-specs-grid {
        display: none !important;
    }

    /* Khối Video liên quan trên Mobile/Tablet: dạng slide 1.5 */
    .gb-vd-related-section {
        overflow: hidden !important;
    }
    .gb-vd-related-grid,
    .gb-vd-related-section .gb-vd-related-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 12px !important;
        padding-bottom: 14px !important;
        margin-right: -15px !important;
        padding-right: 15px !important;
        scrollbar-width: none !important;
    }
    .gb-vd-related-grid::-webkit-scrollbar,
    .gb-vd-related-section .gb-vd-related-grid::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
    .gb-vd-related-grid > .gb-vd-rel-card,
    .gb-vd-related-section .gb-vd-rel-card {
        flex: 0 0 68% !important;
        min-width: 68% !important;
        max-width: 68% !important;
        width: 68% !important;
        scroll-snap-align: start !important;
        box-sizing: border-box !important;
    }
    .gb-vd-rel-title {
        font-size: 13.5px !important;
        line-height: 1.4 !important;
    }

    .gb-vd-bottom-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media screen and (max-width: 600px) {
    .gb-vd-main-title {
        font-size: 18px;
    }
    .gb-vd-action-buttons {
        gap: 8px;
    }
    .gb-vd-btn-buy-now,
    .gb-vd-btn-action {
        flex: 1;
        justify-content: center;
        padding: 8px 10px;
        font-size: 12.5px;
    }
    .gb-vd-channel-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .gb-vd-channel-right {
        width: 100%;
        align-items: flex-start;
        gap: 6px;
    }
    .gb-vd-channel-btns {
        width: 100%;
        display: flex;
        gap: 8px;
    }
    .gb-vd-btn-phone,
    .gb-vd-btn-zalo {
        flex: 1;
        justify-content: center;
        padding: 9px 10px;
        font-size: 13.5px;
    }
    .gb-vd-faq-contact-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 16px;
    }
    .gb-vd-faq-contact-right {
        width: 100%;
        display: flex;
        gap: 10px;
    }
    .gb-vd-faq-contact-right .gb-vd-faq-btn {
        flex: 1;
        justify-content: center;
        padding: 10px 14px !important;
        font-size: 14px !important;
    }
}
