.vpd-page{
    --vpd-primary:#07852b;
    --vpd-primary-dark:#056a23;
    --vpd-danger:#dc1820;
    --vpd-text:#111827;
    --vpd-muted:#64748b;
    --vpd-border:#e2e8f0;
    --vpd-soft:#f8fafc;
    background:#f3f5f7;
    color:var(--vpd-text);
    padding:18px 0 54px;
}
.vpd-container{width:min(1280px,calc(100% - 48px));margin:0 auto;}
.vpd-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 16px;font-size:14px;color:var(--vpd-muted);}
.vpd-breadcrumb a{color:#334155;text-decoration:none;font-weight:700;}
.vpd-breadcrumb i{font-size:12px;color:#94a3b8;}
.vpd-card{background:#fff;border:1px solid var(--vpd-border);border-radius:18px;box-shadow:0 12px 34px rgba(15,23,42,.07);}
.vpd-hero{display:grid;grid-template-columns:minmax(0,820px) minmax(340px,1fr);gap:24px;align-items:start;}
.vpd-gallery-card{padding:16px;overflow:hidden;}
.vpd-gallery-main{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:16/10;background:#fff;border-radius:14px;overflow:hidden;border:1px solid #eef2f7;cursor:zoom-in;}
.vpd-gallery-main img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#fff;}
.vpd-gallery-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:42px;height:42px;border:1px solid rgba(15,23,42,.1);border-radius:50%;background:rgba(255,255,255,.92);color:#0f172a;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 8px 20px rgba(15,23,42,.12);}
.vpd-gallery-nav:hover{background:var(--vpd-primary);color:#fff;border-color:var(--vpd-primary);}
.vpd-gallery-prev{left:14px}.vpd-gallery-next{right:14px}
.vpd-gallery-tools{position:absolute;right:14px;bottom:14px;display:flex;align-items:center;gap:8px;z-index:4;}
.vpd-photo-counter,.vpd-share{min-height:36px;border:1px solid rgba(15,23,42,.12);border-radius:999px;background:rgba(255,255,255,.94);display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 12px;font-size:13px;font-weight:800;color:#334155;box-shadow:0 8px 20px rgba(15,23,42,.1);}
.vpd-share{width:36px;padding:0;cursor:pointer;}
.vpd-thumbs{display:flex;gap:10px;overflow-x:auto;padding:12px 0 2px;scrollbar-width:none;}
.vpd-thumbs::-webkit-scrollbar{display:none;}
.vpd-thumb{flex:0 0 112px;aspect-ratio:16/10;border:2px solid transparent;border-radius:10px;background:#fff;padding:0;overflow:hidden;cursor:pointer;}
.vpd-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.vpd-thumb.is-active{border-color:var(--vpd-primary);box-shadow:0 0 0 2px rgba(7,133,43,.12);}
.vpd-summary{position:sticky;top:18px;padding:24px;}
.vpd-kicker{display:inline-flex;align-items:center;gap:7px;border-radius:999px;background:#effaf2;color:var(--vpd-primary-dark);padding:7px 11px;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.02em;}
.vpd-summary h1{font-size:32px;line-height:1.2;margin:14px 0 8px;color:#0f172a;font-weight:900;}
.vpd-slogan{margin:0 0 18px;color:#64748b;font-size:17px;font-style:italic;font-weight:700;line-height:1.5;}
.vpd-price-label{font-size:14px;color:#475569;font-weight:700;margin-bottom:4px;}
.vpd-price{font-size:30px;line-height:1.15;color:var(--vpd-danger);font-weight:950;letter-spacing:-.02em;}
.vpd-offer{margin:10px 0 0;padding:11px 13px;border-radius:12px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-weight:800;line-height:1.5;}
.vpd-status-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0;padding:12px 0;border-top:1px solid var(--vpd-border);border-bottom:1px solid var(--vpd-border);}
.vpd-status{display:inline-flex;align-items:center;gap:7px;color:#15803d;font-size:14px;font-weight:900;}
.vpd-status::before{content:"";width:9px;height:9px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.13);}
.vpd-category{color:#64748b;font-size:13px;font-weight:800;text-align:right;}
.vpd-quick{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 18px;}
.vpd-quick-item{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--vpd-border);border-radius:13px;background:#fff;padding:11px 12px;min-width:0;}
.vpd-quick-item i{color:var(--vpd-primary);font-size:18px;margin-top:1px;}
.vpd-quick-item span{display:block;color:#94a3b8;font-size:11px;font-weight:800;text-transform:uppercase;margin-bottom:3px;}
.vpd-quick-item strong{display:block;color:#1e293b;font-size:13px;line-height:1.4;word-break:break-word;}
.vpd-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.vpd-btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:50px;border-radius:12px;text-decoration:none;font-size:14px;font-weight:900;border:1px solid var(--vpd-primary);transition:.2s ease;}
.vpd-btn-primary{background:var(--vpd-primary);color:#fff;box-shadow:0 10px 22px rgba(7,133,43,.18);}
.vpd-btn-primary:hover{background:var(--vpd-primary-dark);color:#fff;transform:translateY(-1px);}
.vpd-btn-outline{background:#fff;color:var(--vpd-primary);}
.vpd-btn-outline:hover{background:#effaf2;color:var(--vpd-primary-dark);transform:translateY(-1px);}
.vpd-quote-note{margin:12px 0 0;color:#64748b;font-size:12.5px;line-height:1.55;text-align:center;}
.vpd-anchor-wrap{position:sticky;top:0;z-index:30;margin:18px 0;background:#fff;border:1px solid var(--vpd-border);border-radius:15px;box-shadow:0 8px 24px rgba(15,23,42,.07);}
.vpd-anchor-nav{display:flex;align-items:center;overflow-x:auto;scrollbar-width:none;padding:0 10px;}
.vpd-anchor-nav::-webkit-scrollbar{display:none;}
.vpd-anchor-nav a{flex:0 0 auto;display:flex;align-items:center;justify-content:center;min-height:52px;padding:0 18px;color:#334155;text-decoration:none;font-size:14px;font-weight:900;border-bottom:3px solid transparent;}
.vpd-anchor-nav a:hover{color:var(--vpd-primary);border-bottom-color:var(--vpd-primary);}
.vpd-content-layout{display:grid;grid-template-columns:minmax(0,860px) minmax(320px,1fr);gap:24px;align-items:start;}
.vpd-section{padding:24px 26px;margin-bottom:18px;scroll-margin-top:74px;}
.vpd-section h2{font-size:24px;line-height:1.3;margin:0 0 16px;color:#0f172a;font-weight:900;}
.vpd-section-intro{color:#64748b;line-height:1.7;margin:-8px 0 18px;}
.vpd-copy{font-size:16px;line-height:1.85;color:#334155;}
.vpd-copy p{margin:0 0 15px;}
.vpd-copy p:last-child{margin-bottom:0;}
.vpd-version-list{display:grid;gap:12px;}
.vpd-version{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid var(--vpd-border);border-radius:14px;padding:15px 16px;background:#fff;}
.vpd-version h3{font-size:17px;margin:0 0 4px;color:#0f172a;font-weight:900;}
.vpd-version p{margin:0;color:#64748b;font-size:13px;line-height:1.5;}
.vpd-version-price{font-size:18px;color:var(--vpd-danger);font-weight:950;white-space:nowrap;text-align:right;}
.vpd-spec-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;}
.vpd-spec{display:grid;grid-template-columns:minmax(120px,44%) minmax(0,1fr);gap:12px;padding:13px 0;border-bottom:1px solid #eef2f7;}
.vpd-spec span{color:#64748b;line-height:1.5;}
.vpd-spec strong{color:#0f172a;line-height:1.5;text-align:right;}
.vpd-color-list{display:flex;flex-wrap:wrap;gap:12px;}
.vpd-color{display:flex;align-items:center;gap:9px;border:1px solid var(--vpd-border);border-radius:999px;background:#fff;padding:8px 12px;color:#334155;font-size:13px;font-weight:800;}
.vpd-color-swatch{width:23px;height:23px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #cbd5e1;flex:0 0 23px;}
.vpd-benefits{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px;}
.vpd-benefit{display:flex;gap:11px;align-items:flex-start;border:1px solid #dcfce7;background:#f7fff9;border-radius:14px;padding:14px;}
.vpd-benefit i{color:var(--vpd-primary);font-size:19px;margin-top:1px;}
.vpd-benefit span{color:#334155;line-height:1.55;font-weight:700;}
.vpd-faq-item{border-bottom:1px solid var(--vpd-border);}
.vpd-faq-item:last-child{border-bottom:0;}
.vpd-faq-item details{padding:2px 0;}
.vpd-faq-item summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;color:#0f172a;font-weight:900;line-height:1.45;}
.vpd-faq-item summary::-webkit-details-marker{display:none;}
.vpd-faq-item summary::after{content:"+";font-size:22px;color:var(--vpd-primary);font-weight:500;}
.vpd-faq-item details[open] summary::after{content:"−";}
.vpd-faq-answer{padding:0 0 16px;color:#475569;line-height:1.75;}
.vpd-sidebar{position:sticky;top:74px;}
.vpd-side-card{padding:20px;margin-bottom:18px;}
.vpd-side-title{font-size:18px;font-weight:900;margin:0 0 14px;color:#0f172a;}
.vpd-contact-list{display:grid;gap:10px;}
.vpd-contact-link{display:flex;align-items:center;gap:11px;border:1px solid var(--vpd-border);border-radius:13px;padding:12px 13px;text-decoration:none;color:#0f172a;font-weight:850;background:#fff;}
.vpd-contact-link i{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#effaf2;color:var(--vpd-primary);font-size:17px;}
.vpd-contact-link small{display:block;color:#64748b;font-weight:600;margin-top:2px;}
.vpd-contact-link:hover{border-color:var(--vpd-primary);color:var(--vpd-primary-dark);}
.vpd-related-mini{display:grid;gap:12px;}
.vpd-related-mini a{display:grid;grid-template-columns:86px minmax(0,1fr);gap:12px;align-items:center;text-decoration:none;border-bottom:1px solid #eef2f7;padding-bottom:12px;}
.vpd-related-mini a:last-child{border-bottom:0;padding-bottom:0;}
.vpd-related-mini img{width:86px;height:62px;object-fit:contain;background:#fff;border:1px solid #eef2f7;border-radius:9px;}
.vpd-related-mini strong{display:block;color:#0f172a;font-size:14px;line-height:1.35;margin-bottom:4px;}
.vpd-related-mini span{color:var(--vpd-danger);font-size:13px;font-weight:900;}
.vpd-related-section{margin-top:18px;padding:24px 26px;}
.vpd-related-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:17px;}
.vpd-related-head h2{margin:0;font-size:24px;font-weight:900;}
.vpd-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.vpd-related-card{display:block;text-decoration:none;border:1px solid var(--vpd-border);border-radius:15px;overflow:hidden;background:#fff;transition:.2s ease;}
.vpd-related-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(15,23,42,.1);border-color:var(--vpd-primary);}
.vpd-related-image{aspect-ratio:16/10;background:#fff;display:flex;align-items:center;justify-content:center;padding:8px;position:relative;overflow:hidden;isolation:isolate;}
.vpd-related-image img{width:100%;height:100%;object-fit:contain;position:relative;z-index:2;}
.vinfast-card-watermark{position:absolute;top:14px;left:12px;right:12px;z-index:1;display:block;text-align:center;font-size:clamp(24px,1.95vw,40px);line-height:.92;font-weight:400;font-style:italic;letter-spacing:0;text-transform:uppercase;color:rgba(15,23,42,.14);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;font-family:var(--font-family-bold,'Bebeboo-SemiBold','Bebeboo',sans-serif);}
.vpd-related-body{padding:14px 15px 16px;}
.vpd-related-body h3{margin:0 0 6px;color:var(--vpd-danger);font-size:18px;font-weight:950;}
.vpd-related-body p{margin:0 0 10px;color:#64748b;font-size:13px;line-height:1.45;min-height:38px;}
.vpd-related-body strong{color:var(--vpd-danger);font-size:15px;}
.vpd-modal{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:30px;background:rgba(2,6,23,.88);}
.vpd-modal.is-open{display:flex;}
.vpd-modal-image{display:block;max-width:min(1180px,92vw);max-height:86vh;object-fit:contain;background:#fff;border-radius:12px;}
.vpd-modal-close,.vpd-modal-prev,.vpd-modal-next{position:absolute;border:0;border-radius:50%;background:rgba(255,255,255,.95);color:#0f172a;display:flex;align-items:center;justify-content:center;cursor:pointer;}
.vpd-modal-close{right:22px;top:22px;width:44px;height:44px;font-size:23px;}
.vpd-modal-prev,.vpd-modal-next{top:50%;transform:translateY(-50%);width:48px;height:48px;font-size:22px;}
.vpd-modal-prev{left:22px}.vpd-modal-next{right:22px}
@media(max-width:1100px){
    .vpd-hero,.vpd-content-layout{grid-template-columns:1fr;}
    .vpd-summary,.vpd-sidebar{position:static;}
    .vpd-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
    .vpd-side-card{margin-bottom:0;}
}
@media(max-width:767px){
    .vpd-page{padding:10px 0 34px;}
    .vpd-container{width:calc(100% - 24px);}
    .vpd-hero{gap:12px;}
    .vpd-gallery-card{padding:8px;border-radius:14px;}
    .vpd-gallery-main{border-radius:10px;aspect-ratio:4/3;}
    .vpd-gallery-nav{width:36px;height:36px;}
    .vpd-gallery-prev{left:8px}.vpd-gallery-next{right:8px}
    .vpd-photo-counter{display:none;}
    .vpd-thumbs{gap:8px;padding-top:8px;}
    .vpd-thumb{flex-basis:82px;}
    .vpd-summary{padding:18px;border-radius:14px;}
    .vpd-summary h1{font-size:25px;}
    .vpd-slogan{font-size:15px;margin-bottom:14px;}
    .vpd-price{font-size:25px;}
    .vpd-quick{grid-template-columns:1fr 1fr;gap:8px;}
    .vpd-quick-item{padding:10px;}
    .vpd-actions{grid-template-columns:1fr 1fr;}
    .vpd-btn{min-height:46px;padding:0 8px;font-size:13px;}
    .vpd-anchor-wrap{position:static;margin:12px 0;}
    .vpd-anchor-nav a{min-height:46px;padding:0 14px;font-size:13px;}
    .vpd-section{padding:18px;margin-bottom:12px;border-radius:14px;}
    .vpd-section h2,.vpd-related-head h2{font-size:21px;}
    .vpd-version{grid-template-columns:1fr;}
    .vpd-version-price{text-align:left;}
    .vpd-spec-grid{grid-template-columns:1fr;}
    .vpd-benefits{grid-template-columns:1fr;}
    .vpd-sidebar{display:block;}
    .vpd-side-card{margin-bottom:12px;}
    .vpd-related-section{padding:18px;border-radius:14px;}
    .vpd-related-grid{grid-template-columns:1fr 1fr;gap:10px;}
    .vpd-related-body{padding:11px 12px 13px;}
    .vinfast-card-watermark{top:10px;left:8px;right:8px;font-size:clamp(16px,5vw,24px);}
    .vpd-related-body h3{font-size:16px;}
    .vpd-related-body p{display:none;}
    .vpd-modal{padding:12px;}
    .vpd-modal-prev{left:8px}.vpd-modal-next{right:8px}.vpd-modal-close{right:10px;top:10px;}
}
@media(max-width:420px){
    .vpd-quick{grid-template-columns:1fr;}
    .vpd-actions{grid-template-columns:1fr;}
    .vpd-related-grid{grid-template-columns:1fr;}
}

/* Product manager extended fields */
.vpd-product-meta{display:flex;flex-wrap:wrap;gap:8px 14px;margin:-2px 0 14px;color:#64748b;font-size:13px}.vpd-product-meta span{display:inline-flex;align-items:center;gap:5px}.vpd-tags{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 17px}.vpd-tags span{padding:6px 9px;border-radius:999px;background:color-mix(in srgb,var(--vpd-primary) 9%,#fff 91%);border:1px solid color-mix(in srgb,var(--vpd-primary) 24%,#e5e7eb 76%);color:var(--vpd-primary-dark);font-size:12px;font-weight:700}.vpd-section-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.vpd-section-title-row h2{margin-bottom:4px}.vpd-brochure-btn{white-space:nowrap;min-height:42px;padding:0 15px}.vpd-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.vpd-video-card{border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;background:#fff}.vpd-video-frame{aspect-ratio:16/9;background:#0f172a}.vpd-video-frame iframe{width:100%;height:100%;border:0;display:block}.vpd-video-link{aspect-ratio:16/9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:linear-gradient(135deg,#0f172a,#334155);color:#fff;text-decoration:none}.vpd-video-link i{font-size:48px}.vpd-video-link span{font-weight:800}.vpd-video-card h3{font-size:15px;margin:0;padding:13px 15px;color:#0f172a;font-weight:800}
@media(max-width:767px){.vpd-video-grid{grid-template-columns:1fr}.vpd-section-title-row{flex-direction:column}.vpd-brochure-btn{width:100%}.vpd-product-meta{font-size:12px}}

/* Product hero redistribution: gallery + product information on the left, lead form on the right */
.vpd-hero{
    grid-template-columns:minmax(0,820px) minmax(360px,1fr);
    gap:24px;
}
.vpd-hero-left{display:grid;gap:18px;min-width:0;}
.vpd-summary-below{position:static;top:auto;padding:24px 26px;}
.vpd-summary-top{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin-bottom:18px;}
.vpd-summary-top>div:first-child{min-width:0;}
.vpd-summary-below h1{margin:12px 0 6px;font-size:30px;}
.vpd-summary-below .vpd-slogan{margin-bottom:0;}
.vpd-product-meta--top{flex:0 0 auto;display:grid;justify-items:end;text-align:right;margin:3px 0 0;}
.vpd-summary-grid{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:22px;align-items:start;padding-top:18px;border-top:1px solid var(--vpd-border);}
.vpd-summary-commerce{min-width:0;}
.vpd-summary-below .vpd-status-row{margin:15px 0 12px;}
.vpd-summary-below .vpd-tags{margin-bottom:0;}
.vpd-summary-below .vpd-quick{margin:0;}
.vpd-summary-below .vpd-actions{max-width:620px;margin-top:20px;}
.vpd-summary-below .vpd-quote-note{margin-bottom:0;}

.vpd-lead-card{
    position:sticky;
    top:18px;
    overflow:hidden;
    border-color:color-mix(in srgb,var(--vpd-primary) 38%,var(--vpd-border) 62%);
    box-shadow:0 16px 40px rgba(15,23,42,.10);
}
.vpd-lead-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f1f5f9;border-bottom:1px solid var(--vpd-border);}
.vpd-lead-tab{min-height:58px;border:0;background:transparent;color:#475569;font-size:15px;font-weight:900;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:.2s ease;}
.vpd-lead-tab+ .vpd-lead-tab{border-left:1px solid var(--vpd-border);}
.vpd-lead-tab.is-active{background:var(--vpd-primary);color:#fff;}
.vpd-lead-tab:hover:not(.is-active){color:var(--vpd-primary-dark);background:color-mix(in srgb,var(--vpd-primary) 7%,#fff 93%);}
.vpd-lead-body{padding:22px;background:linear-gradient(145deg,color-mix(in srgb,var(--vpd-primary) 7%,#fff 93%),#fff 58%,color-mix(in srgb,var(--vpd-primary) 4%,#fff 96%));}
.vpd-lead-heading{margin-bottom:17px;}
.vpd-lead-kicker{display:inline-flex;color:var(--vpd-primary);font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.055em;margin-bottom:6px;}
.vpd-lead-heading h2{margin:0 0 6px;color:#0f172a;font-size:22px;line-height:1.25;font-weight:950;}
.vpd-lead-heading p{margin:0;color:#64748b;font-size:13px;line-height:1.55;}
.vpd-lead-fields{display:grid;gap:12px;}
.vpd-lead-panel{display:grid;gap:12px;}
.vpd-lead-panel[hidden]{display:none!important;}
.vpd-lead-field{min-width:0;}
.vpd-lead-field label{display:block;margin:0 0 5px;color:#1e293b;font-size:12px;font-weight:850;}
.vpd-lead-field label em{color:#dc1820;font-style:normal;}
.vpd-lead-field input,.vpd-lead-field select,.vpd-lead-field textarea{display:block;width:100%;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#111827;outline:0;font-family:inherit;font-size:13px;transition:border-color .2s ease,box-shadow .2s ease;}
.vpd-lead-field input,.vpd-lead-field select{height:44px;padding:0 12px;}
.vpd-lead-field textarea{min-height:78px;padding:11px 12px;resize:vertical;line-height:1.5;}
.vpd-lead-field input::placeholder,.vpd-lead-field textarea::placeholder{color:#a7b0bf;opacity:.84;}
.vpd-lead-field input:focus,.vpd-lead-field select:focus,.vpd-lead-field textarea:focus{border-color:var(--vpd-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--vpd-primary) 14%,transparent 86%);}
.vpd-lead-field.has-error input,.vpd-lead-field.has-error select,.vpd-lead-field.has-error textarea{border-color:#dc2626;box-shadow:0 0 0 3px rgba(220,38,38,.08);}
.vpd-lead-field small{display:none;margin-top:4px;color:#b42318;font-size:11px;line-height:1.35;}
.vpd-lead-field.has-error small{display:block;}
.vpd-lead-submit{width:100%;min-height:48px;margin-top:14px;border:0;border-radius:10px;background:var(--vpd-primary);color:#fff;display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:950;text-transform:uppercase;cursor:pointer;box-shadow:0 9px 20px color-mix(in srgb,var(--vpd-primary) 24%,transparent 76%);transition:.2s ease;}
.vpd-lead-submit:hover{background:var(--vpd-primary-dark);transform:translateY(-1px);}
.vpd-lead-submit:disabled{opacity:.68;cursor:not-allowed;transform:none;}
.vpd-lead-status{display:none;margin-top:11px;padding:10px 12px;border-radius:9px;font-size:12px;line-height:1.45;font-weight:700;}
.vpd-lead-status.is-success{display:block;background:#ecfdf3;border:1px solid #abefc6;color:#067647;}
.vpd-lead-status.is-error{display:block;background:#fff1f2;border:1px solid #fecdd3;color:#b4232e;}
.vpd-lead-trust{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:13px;padding-top:12px;border-top:1px solid var(--vpd-border);color:#64748b;font-size:11px;font-weight:750;}
.vpd-lead-trust span{display:flex;align-items:center;gap:5px;}
.vpd-lead-trust i{color:var(--vpd-primary);}

@media(max-width:1100px){
    .vpd-hero{grid-template-columns:1fr;}
    .vpd-lead-card{position:static;}
    .vpd-lead-fields{grid-template-columns:repeat(2,minmax(0,1fr));}
    .vpd-lead-panel{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));}
    .vpd-lead-field--full{grid-column:1/-1;}
}
@media(max-width:767px){
    .vpd-summary-top{display:block;}
    .vpd-product-meta--top{display:flex;justify-items:initial;text-align:left;margin-top:12px;}
    .vpd-summary-grid{grid-template-columns:1fr;gap:16px;}
    .vpd-summary-below{padding:18px;}
    .vpd-summary-below h1{font-size:24px;}
    .vpd-lead-tabs{min-height:48px;}
    .vpd-lead-tab{min-height:48px;font-size:13px;}
    .vpd-lead-body{padding:14px;}
    .vpd-lead-heading{margin-bottom:12px;}
    .vpd-lead-heading h2{font-size:18px;}
    .vpd-lead-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
    .vpd-lead-panel{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
    .vpd-lead-field label{font-size:11px;}
    .vpd-lead-field input,.vpd-lead-field select{height:40px;padding:0 9px;font-size:12px;}
    .vpd-lead-field textarea{min-height:62px;padding:9px;font-size:12px;}
    .vpd-lead-submit{min-height:43px;margin-top:10px;font-size:12px;}
    .vpd-lead-trust{margin-top:10px;padding-top:10px;}
}
@media(max-width:480px){
    .vpd-lead-fields,.vpd-lead-panel{grid-template-columns:1fr;}
    .vpd-lead-field--full{grid-column:auto;}
    .vpd-lead-trust{gap:9px;font-size:10px;}
}

/* =========================================================
   Product detail hero refinement — professional summary + compact lead form
   ========================================================= */
@media (min-width:1101px){
    .vpd-hero{
        grid-template-columns:minmax(0,820px) minmax(390px,1fr);
        gap:22px;
    }
}

/* Summary block below gallery */
.vpd-summary-below{
    overflow:hidden;
    padding:0;
    border-color:#dfe6ee;
    box-shadow:0 14px 38px rgba(15,23,42,.075);
    background:
        radial-gradient(circle at 100% 0,color-mix(in srgb,var(--vpd-primary) 8%,transparent 92%),transparent 34%),
        #fff;
}
.vpd-summary-below .vpd-summary-top{
    margin:0;
    padding:22px 24px 18px;
    border-bottom:1px solid #e8edf3;
}
.vpd-summary-below .vpd-kicker{
    padding:6px 10px;
    background:color-mix(in srgb,var(--vpd-primary) 8%,#fff 92%);
    border:1px solid color-mix(in srgb,var(--vpd-primary) 16%,#e6edf3 84%);
    font-size:11px;
}
.vpd-summary-below h1{
    max-width:620px;
    margin:11px 0 5px;
    font-size:29px;
    line-height:1.24;
    letter-spacing:-.025em;
}
.vpd-summary-below .vpd-slogan{
    font-size:15px;
    line-height:1.45;
    color:#64748b;
}
.vpd-product-meta--top{
    min-width:165px;
    gap:7px;
    padding-top:3px;
    font-size:12px;
}
.vpd-product-meta--top span{
    padding:5px 8px;
    border-radius:8px;
    background:#f8fafc;
    border:1px solid #edf1f5;
}
.vpd-summary-below .vpd-summary-grid{
    grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
    gap:16px;
    align-items:stretch;
    padding:18px 24px 0;
    border-top:0;
}
.vpd-summary-commerce{
    padding:16px 17px;
    border:1px solid #e6ebf1;
    border-radius:14px;
    background:linear-gradient(145deg,#fff 0%,#fbfcfe 100%);
}
.vpd-summary-below .vpd-price-label{
    margin-bottom:3px;
    color:#64748b;
    font-size:12px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.045em;
}
.vpd-summary-below .vpd-price{
    font-size:29px;
    letter-spacing:-.025em;
}
.vpd-summary-below .vpd-offer{
    margin-top:9px;
    padding:10px 12px;
    border-radius:10px;
    font-size:13px;
}
.vpd-summary-below .vpd-status-row{
    justify-content:flex-start;
    flex-wrap:wrap;
    gap:8px;
    margin:13px 0 10px;
    padding:0;
    border:0;
}
.vpd-summary-below .vpd-status,
.vpd-summary-below .vpd-category{
    width:auto;
    padding:6px 9px;
    border-radius:999px;
    background:#f8fafc;
    border:1px solid #e6ebf1;
    font-size:11px;
    line-height:1.2;
}
.vpd-summary-below .vpd-category{
    text-align:left;
    color:#475569;
}
.vpd-summary-below .vpd-tags{
    gap:6px;
}
.vpd-summary-below .vpd-tags span{
    padding:5px 8px;
    font-size:10.5px;
}
.vpd-summary-below .vpd-quick{
    grid-template-columns:1fr 1fr;
    gap:9px;
}
.vpd-summary-below .vpd-quick-item{
    min-height:80px;
    padding:12px;
    border-radius:13px;
    background:#fbfcfd;
    border-color:#e6ebf1;
    box-shadow:none;
}
.vpd-summary-below .vpd-quick-item i{
    display:flex;
    align-items:center;
    justify-content:center;
    width:31px;
    height:31px;
    flex:0 0 31px;
    border-radius:9px;
    background:color-mix(in srgb,var(--vpd-primary) 9%,#fff 91%);
    font-size:16px;
}
.vpd-summary-below .vpd-quick-item span{
    margin-bottom:2px;
    font-size:10px;
}
.vpd-summary-below .vpd-quick-item strong{
    font-size:12px;
    line-height:1.4;
}
.vpd-summary-below .vpd-actions{
    max-width:none;
    margin:18px 24px 0;
    gap:11px;
}
.vpd-summary-below .vpd-btn{
    min-height:48px;
    border-radius:11px;
    font-size:13px;
}
.vpd-summary-below .vpd-quote-note{
    margin:10px 24px 0;
    padding:0 0 18px;
    color:#7b8797;
    font-size:11.5px;
    line-height:1.5;
}

/* Compact, polished lead form in the right column */
.vpd-lead-card{
    border-radius:16px;
    box-shadow:0 16px 38px rgba(15,23,42,.09);
}
.vpd-lead-tabs{
    padding:6px;
    gap:6px;
    background:#f3f6f8;
    border-bottom:1px solid #e7ecf1;
}
.vpd-lead-tab,
.vpd-lead-tab + .vpd-lead-tab{
    min-height:45px;
    border:0;
    border-radius:10px;
    font-size:13px;
}
.vpd-lead-tab.is-active{
    box-shadow:0 7px 16px color-mix(in srgb,var(--vpd-primary) 20%,transparent 80%);
}
.vpd-lead-body{
    padding:15px 16px 14px;
    background:linear-gradient(155deg,color-mix(in srgb,var(--vpd-primary) 4%,#fff 96%),#fff 52%);
}
.vpd-lead-heading{
    margin-bottom:11px;
}
.vpd-lead-kicker{
    margin-bottom:3px;
    font-size:9.5px;
    letter-spacing:.07em;
}
.vpd-lead-heading h2{
    margin-bottom:3px;
    font-size:18px;
    line-height:1.25;
}
.vpd-lead-heading p{
    font-size:11.5px;
    line-height:1.4;
}
.vpd-lead-fields{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px 9px;
}
.vpd-lead-panel{
    grid-column:1/-1;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px 9px;
}
.vpd-lead-field--full{
    grid-column:1/-1;
}
.vpd-lead-field label{
    margin-bottom:4px;
    font-size:10.5px;
    line-height:1.25;
}
.vpd-lead-field input,
.vpd-lead-field select{
    height:39px;
    padding:0 10px;
    border-radius:9px;
    font-size:11.5px;
}
.vpd-lead-field textarea{
    min-height:54px;
    max-height:86px;
    padding:9px 10px;
    border-radius:9px;
    font-size:11.5px;
    line-height:1.4;
}
.vpd-lead-submit{
    min-height:43px;
    margin-top:10px;
    border-radius:9px;
    font-size:12px;
    box-shadow:0 8px 18px color-mix(in srgb,var(--vpd-primary) 18%,transparent 82%);
}
.vpd-lead-status{
    margin-top:8px;
    padding:8px 10px;
    font-size:11px;
}
.vpd-lead-trust{
    gap:12px;
    margin-top:9px;
    padding-top:9px;
    font-size:10px;
}

@media(max-width:1100px){
    .vpd-summary-below .vpd-summary-grid{
        grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
    }
}

@media(max-width:767px){
    .vpd-summary-below .vpd-summary-top{
        padding:17px 17px 14px;
    }
    .vpd-summary-below h1{
        font-size:23px;
    }
    .vpd-summary-below .vpd-summary-grid{
        grid-template-columns:1fr;
        padding:14px 17px 0;
    }
    .vpd-summary-commerce{
        padding:14px;
    }
    .vpd-summary-below .vpd-actions{
        margin:14px 17px 0;
    }
    .vpd-summary-below .vpd-quote-note{
        margin:9px 17px 0;
        padding-bottom:15px;
    }
    .vpd-product-meta--top{
        min-width:0;
    }
    .vpd-lead-body{
        padding:12px;
    }
    .vpd-lead-tabs{
        padding:5px;
    }
    .vpd-lead-tab{
        min-height:42px;
    }
    .vpd-lead-heading h2{
        font-size:17px;
    }
    .vpd-lead-heading p{
        font-size:11px;
    }
    .vpd-lead-fields,
    .vpd-lead-panel{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:7px;
    }
    .vpd-lead-field input,
    .vpd-lead-field select{
        height:38px;
    }
    .vpd-lead-field textarea{
        min-height:52px;
    }
}

@media(max-width:360px){
    .vpd-lead-fields,
    .vpd-lead-panel{
        grid-template-columns:1fr;
    }
    .vpd-lead-field--full{
        grid-column:auto;
    }
    .vpd-summary-below .vpd-quick{
        grid-template-columns:1fr;
    }
}

/* =========================================================
   Product hero equal-height + full-width pricing/on-road hub
   ========================================================= */
.vpd-hero{align-items:stretch;}
.vpd-hero-left{min-width:0;display:flex;}
.vpd-gallery-card{width:100%;height:100%;display:flex;flex-direction:column;}
.vpd-gallery-main{flex:1;min-height:0;}
.vpd-lead-card{height:100%;display:flex;flex-direction:column;overflow:hidden;}
.vpd-lead-body{flex:1;display:flex;flex-direction:column;}
.vpd-lead-fields{flex:0 0 auto;}
.vpd-lead-submit{margin-top:auto;}

.vpd-pricing-hub{margin-top:24px;overflow:hidden;scroll-margin-top:70px;border-color:#dce5ee;box-shadow:0 18px 48px rgba(15,23,42,.08);}
.vpd-pricing-head{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;padding:24px 26px 20px;border-bottom:1px solid #e7edf3;background:radial-gradient(circle at 100% 0,color-mix(in srgb,var(--vpd-primary) 9%,transparent 91%),transparent 34%),linear-gradient(135deg,#fff,#fbfdfc);}
.vpd-pricing-head h1{max-width:820px;margin:11px 0 5px;font-size:31px;line-height:1.22;letter-spacing:-.025em;color:#0f172a;font-weight:950;}
.vpd-pricing-head .vpd-slogan{margin:0;font-size:15px;}
.vpd-product-meta{display:flex;flex-direction:column;align-items:flex-end;gap:8px;}
.vpd-product-meta span{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #e5ebf1;border-radius:9px;background:rgba(255,255,255,.82);color:#64748b;font-size:12px;font-weight:750;white-space:nowrap;}
.vpd-pricing-grid{display:grid;grid-template-columns:minmax(300px,.78fr) minmax(0,1.72fr);gap:20px;padding:22px 24px 20px;background:#fff;}
.vpd-pricing-overview{display:flex;flex-direction:column;padding:20px;border:1px solid #e3e9ef;border-radius:16px;background:linear-gradient(145deg,#fff,#fbfcfe);min-width:0;}
.vpd-pricing-overview .vpd-price{font-size:32px;}
.vpd-pricing-overview .vpd-offer{font-size:13px;}
.vpd-pricing-overview .vpd-status-row{justify-content:flex-start;flex-wrap:wrap;gap:8px;margin:15px 0 12px;padding:0;border:0;}
.vpd-pricing-overview .vpd-status,.vpd-pricing-overview .vpd-category{width:auto;padding:6px 9px;border-radius:999px;border:1px solid #e2e8f0;background:#f8fafc;font-size:11px;line-height:1.2;}
.vpd-pricing-overview .vpd-category{text-align:left;}
.vpd-tags{display:flex;flex-wrap:wrap;gap:6px;}
.vpd-tags span{padding:5px 8px;border:1px solid color-mix(in srgb,var(--vpd-primary) 22%,#dbe5de 78%);border-radius:999px;background:color-mix(in srgb,var(--vpd-primary) 5%,#fff 95%);color:var(--vpd-primary-dark);font-size:10.5px;font-weight:800;}
.vpd-quick--pricing{margin:14px 0;grid-template-columns:1fr 1fr;gap:7px;}
.vpd-quick--pricing .vpd-quick-item{min-height:58px;padding:8px 10px;align-items:center;background:#fff;}
.vpd-quick--pricing .vpd-quick-item>div{min-width:0;align-self:center;}
.vpd-quick--pricing .vpd-quick-item i{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;margin-top:0;border-radius:8px;background:color-mix(in srgb,var(--vpd-primary) 9%,#fff 91%);font-size:14px;}
.vpd-quick--pricing .vpd-quick-item span{margin-bottom:1px;font-size:9px;line-height:1.15;}
.vpd-quick--pricing .vpd-quick-item strong{font-size:11.5px;line-height:1.25;}
.vpd-pricing-overview .vpd-actions{margin-top:auto;}
.vpd-pricing-overview .vpd-btn{min-height:46px;font-size:12.5px;border-radius:10px;}
.vpd-quote-note--pricing{margin:0;padding:0 24px 18px;text-align:left;color:#7b8797;font-size:11.5px;}

.vpd-onroad-calculator{min-width:0;border:1px solid color-mix(in srgb,var(--vpd-primary) 18%,#dce5e0 82%);border-radius:16px;background:linear-gradient(155deg,color-mix(in srgb,var(--vpd-primary) 4%,#fff 96%),#fff 48%);padding:19px 20px;box-shadow:inset 0 1px 0 rgba(255,255,255,.8);}
.vpd-onroad-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:15px;}
.vpd-onroad-eyebrow{display:block;margin-bottom:3px;color:var(--vpd-primary);font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.08em;}
.vpd-onroad-head h2{margin:0 0 4px;color:#0f172a;font-size:21px;line-height:1.28;font-weight:950;}
.vpd-onroad-head p{margin:0;color:#64748b;font-size:12px;line-height:1.5;}
.vpd-onroad-live{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;padding:7px 10px;border-radius:999px;background:color-mix(in srgb,var(--vpd-primary) 8%,#fff 92%);color:var(--vpd-primary-dark);font-size:10.5px;font-weight:900;white-space:nowrap;}
.vpd-onroad-controls{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:10px;margin-bottom:14px;}
.vpd-onroad-controls label{display:block;min-width:0;}
.vpd-onroad-controls label>span{display:block;margin-bottom:5px;color:#334155;font-size:10.5px;font-weight:850;}
.vpd-onroad-controls select{width:100%;height:42px;padding:0 34px 0 11px;border:1px solid #dbe3ea;border-radius:10px;background:#fff;color:#0f172a;font-size:12px;font-weight:750;outline:none;}
.vpd-onroad-controls select:focus{border-color:var(--vpd-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--vpd-primary) 12%,transparent 88%);}
.vpd-onroad-result{display:grid;grid-template-columns:minmax(210px,.76fr) minmax(0,1.24fr);gap:12px;align-items:stretch;}
.vpd-onroad-total-card{display:flex;flex-direction:column;padding:16px;border-radius:13px;background:linear-gradient(145deg,var(--vpd-primary),var(--vpd-primary-dark));color:#fff;box-shadow:0 12px 24px color-mix(in srgb,var(--vpd-primary) 22%,transparent 78%);}
.vpd-onroad-total-card>span{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.055em;opacity:.78;}
.vpd-onroad-total-card>strong{display:block;margin-top:3px;font-size:18px;line-height:1.25;font-weight:950;}
.vpd-onroad-total-card>strong.is-total{font-size:24px;letter-spacing:-.02em;}
.vpd-onroad-total-card>small{display:block;min-height:18px;margin-top:4px;font-size:10.5px;line-height:1.4;opacity:.85;}
.vpd-onroad-total-card>small.vpd-onroad-source{display:inline-flex;align-self:flex-start;min-height:0;margin-top:7px;padding:4px 7px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(255,255,255,.12);font-size:9.5px;font-weight:850;opacity:1;}
.vpd-onroad-total-divider{height:1px;margin:12px 0;background:rgba(255,255,255,.22);}
.vpd-onroad-total-card>a{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:auto;padding:9px;border-radius:9px;background:#fff;color:var(--vpd-primary-dark);text-decoration:none;font-size:11px;font-weight:900;}
.vpd-onroad-breakdown{padding:9px 14px;border:1px solid #e2e8f0;border-radius:13px;background:#fff;}
.vpd-onroad-breakdown>div:not(.vpd-onroad-region-note){display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:34px;border-bottom:1px dashed #e4e9ef;font-size:11.5px;}
.vpd-onroad-breakdown>div:nth-last-child(2){border-bottom:0;}
.vpd-onroad-breakdown span{color:#64748b;}
.vpd-onroad-breakdown strong{color:#0f172a;font-weight:900;text-align:right;white-space:nowrap;}
.vpd-onroad-breakdown .vpd-onroad-adjustment{color:#a35408;}.vpd-onroad-breakdown .vpd-onroad-adjustment span,.vpd-onroad-breakdown .vpd-onroad-adjustment strong{color:#a35408;}
.vpd-onroad-region-note{display:flex;align-items:flex-start;gap:7px;margin-top:8px;padding:8px 9px;border-radius:9px;background:#f8fafc;color:#64748b;font-size:10.5px;line-height:1.4;}
.vpd-onroad-region-note i{color:var(--vpd-primary);margin-top:1px;}
.vpd-onroad-note{margin:11px 0 0;color:#7b8797;font-size:10.5px;line-height:1.5;}
.vpd-onroad-product-link{display:inline-flex;align-items:center;gap:6px;margin-top:8px;color:var(--vpd-primary);font-size:11px;font-weight:850;text-decoration:none;}

@media(max-width:1100px){
    .vpd-hero{align-items:start;}
    .vpd-gallery-card,.vpd-lead-card{height:auto;}
    .vpd-pricing-grid{grid-template-columns:1fr;}
    .vpd-pricing-overview{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(0,1.25fr);gap:15px;}
    .vpd-pricing-overview .vpd-actions{grid-column:1/-1;}
    .vpd-quick--pricing{margin:0;}
}
@media(max-width:767px){
    .vpd-pricing-hub{margin-top:15px;border-radius:14px;}
    .vpd-pricing-head{display:block;padding:18px 17px 15px;}
    .vpd-pricing-head h1{font-size:23px;}
    .vpd-pricing-head .vpd-product-meta{align-items:flex-start;flex-direction:row;flex-wrap:wrap;margin-top:12px;}
    .vpd-pricing-grid{padding:14px;gap:13px;}
    .vpd-pricing-overview{display:block;padding:15px;}
    .vpd-quick--pricing{margin:14px 0;}
    .vpd-onroad-calculator{padding:15px 14px;}
    .vpd-onroad-head{display:block;}
    .vpd-onroad-live{margin-top:9px;}
    .vpd-onroad-controls{grid-template-columns:1fr;gap:8px;}
    .vpd-onroad-result{grid-template-columns:1fr;}
    .vpd-onroad-total-card{min-height:190px;}
    .vpd-quote-note--pricing{padding:0 15px 15px;}
}
@media(max-width:420px){
    .vpd-quick--pricing{grid-template-columns:1fr;}
    .vpd-pricing-overview .vpd-actions{grid-template-columns:1fr;}
}

/* =========================================================
   Product detail UX upgrade: fullscreen gallery, sticky tabs,
   active scroll state and interactive color configurator
   ========================================================= */
.vpd-anchor-wrap{
    position:sticky;
    top:0;
    z-index:120;
    transition:box-shadow .2s ease,border-color .2s ease,border-radius .2s ease;
}
.vpd-anchor-wrap.is-stuck{
    border-color:color-mix(in srgb,var(--vpd-primary) 32%,#dbe3eb 68%);
    border-radius:0 0 13px 13px;
    box-shadow:0 13px 30px rgba(15,23,42,.14);
}
.vpd-anchor-nav{scroll-behavior:smooth;overscroll-behavior-x:contain;}
.vpd-anchor-nav a{
    position:relative;
    border-bottom:3px solid transparent;
    transition:color .2s ease,background .2s ease,border-color .2s ease;
}
.vpd-anchor-nav a::after{
    content:"";
    position:absolute;
    left:18px;
    right:18px;
    bottom:0;
    height:3px;
    border-radius:3px 3px 0 0;
    background:var(--vpd-primary);
    transform:scaleX(0);
    transform-origin:center;
    transition:transform .2s ease;
}
.vpd-anchor-nav a:hover,
.vpd-anchor-nav a.is-active{
    color:var(--vpd-primary-dark);
    background:color-mix(in srgb,var(--vpd-primary) 6%,#fff 94%);
    border-bottom-color:transparent;
}
.vpd-anchor-nav a.is-active::after{transform:scaleX(1);}
.vpd-section,.vpd-pricing-hub{scroll-margin-top:76px;}

.vpd-modal{
    padding:28px 76px;
    background:rgba(2,6,23,.92);
    backdrop-filter:blur(5px);
}
.vpd-modal-content{
    width:min(1180px,calc(100vw - 152px));
    max-height:calc(100vh - 56px);
    display:grid;
    grid-template-rows:minmax(0,1fr) auto;
    gap:12px;
    position:relative;
    z-index:2;
}
.vpd-modal-stage{
    position:relative;
    min-height:0;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border-radius:16px;
    background:#fff;
    box-shadow:0 28px 70px rgba(0,0,0,.34);
}
.vpd-modal-image{
    display:block;
    width:100%;
    height:100%;
    max-width:none;
    max-height:calc(100vh - 178px);
    min-height:320px;
    object-fit:contain;
    background:#fff;
    border-radius:0;
}
.vpd-modal-counter,
.vpd-modal-autoplay{
    position:absolute;
    bottom:14px;
    display:inline-flex;
    align-items:center;
    gap:7px;
    min-height:34px;
    padding:0 11px;
    border:1px solid rgba(15,23,42,.12);
    border-radius:999px;
    background:rgba(255,255,255,.93);
    color:#334155;
    font-size:12px;
    font-weight:850;
    box-shadow:0 8px 20px rgba(15,23,42,.12);
}
.vpd-modal-counter{right:14px;}
.vpd-modal-autoplay{left:14px;color:var(--vpd-primary-dark);}
.vpd-modal-thumbs{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:10px;
    overflow-x:auto;
    padding:3px 2px 5px;
    scrollbar-width:thin;
    scrollbar-color:rgba(255,255,255,.45) transparent;
}
.vpd-modal-thumb{
    flex:0 0 108px;
    height:74px;
    padding:3px;
    border:2px solid transparent;
    border-radius:11px;
    background:rgba(255,255,255,.16);
    cursor:pointer;
    opacity:.72;
    transition:border-color .2s ease,opacity .2s ease,transform .2s ease,background .2s ease;
}
.vpd-modal-thumb img{display:block;width:100%;height:100%;object-fit:cover;border-radius:7px;background:#fff;}
.vpd-modal-thumb:hover{opacity:1;transform:translateY(-2px);}
.vpd-modal-thumb.is-active{
    opacity:1;
    border-color:#fff;
    background:var(--vpd-primary);
    box-shadow:0 0 0 2px color-mix(in srgb,var(--vpd-primary) 58%,transparent 42%);
}
.vpd-modal-close,.vpd-modal-prev,.vpd-modal-next{z-index:4;}

.vpd-color-configurator{
    display:grid;
    grid-template-columns:minmax(300px,.82fr) minmax(0,1.18fr);
    gap:26px;
    align-items:stretch;
    overflow:hidden;
    padding:0;
}
.vpd-color-copy{padding:27px 0 27px 28px;align-self:center;}
.vpd-section-eyebrow{
    display:inline-flex;
    align-items:center;
    margin-bottom:8px;
    color:var(--vpd-primary);
    font-size:11px;
    font-weight:900;
    letter-spacing:.09em;
    text-transform:uppercase;
}
.vpd-color-configurator h2{margin-bottom:12px;}
.vpd-color-configurator .vpd-section-intro{margin:0 0 16px;font-size:14px;line-height:1.65;}
.vpd-color-selected{
    margin:0 0 13px;
    color:#64748b;
    font-size:13px;
}
.vpd-color-selected strong{color:#0f172a;font-weight:900;}
.vpd-color-configurator .vpd-color-list{gap:9px;}
.vpd-color-configurator .vpd-color{
    appearance:none;
    cursor:pointer;
    min-height:43px;
    padding:7px 12px;
    border:1px solid #dce4ec;
    color:#334155;
    transition:border-color .2s ease,box-shadow .2s ease,background .2s ease,transform .2s ease;
}
.vpd-color-configurator .vpd-color:hover{border-color:var(--vpd-primary);transform:translateY(-1px);}
.vpd-color-configurator .vpd-color.is-active{
    border-color:var(--vpd-primary);
    background:color-mix(in srgb,var(--vpd-primary) 7%,#fff 93%);
    color:var(--vpd-primary-dark);
    box-shadow:0 0 0 3px color-mix(in srgb,var(--vpd-primary) 12%,transparent 88%);
}
.vpd-color-preview-wrap{
    position:relative;
    min-height:355px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    padding:30px;
    background:linear-gradient(145deg,#f8fafc,#fff);
    border-left:1px solid #edf1f5;
}
.vpd-color-watermark{
    position:absolute;
    inset:22px 18px auto;
    color:#e7ebef;
    font-family:var(--font-family-bold,'Bebeboo-SemiBold','Bebeboo',sans-serif);
    font-size:clamp(54px,7vw,105px);
    line-height:.9;
    font-weight:400;
    letter-spacing:-.015em;
    text-align:center;
    white-space:nowrap;
    pointer-events:none;
    user-select:none;
}
.vpd-color-preview-wrap img{
    position:relative;
    z-index:1;
    display:block;
    width:100%;
    max-width:560px;
    height:300px;
    object-fit:contain;
    transition:opacity .22s ease,transform .22s ease;
}
.vpd-color-preview-wrap img.is-loading{opacity:.25;transform:scale(.985);}
.vpd-color-preview-label{
    position:absolute;
    right:18px;
    bottom:16px;
    z-index:2;
    padding:7px 11px;
    border:1px solid #e1e7ee;
    border-radius:999px;
    background:rgba(255,255,255,.92);
    color:#334155;
    font-size:12px;
    font-weight:850;
    box-shadow:0 8px 22px rgba(15,23,42,.08);
}

@media(max-width:900px){
    .vpd-color-configurator{grid-template-columns:1fr;gap:0;}
    .vpd-color-copy{padding:22px 22px 14px;}
    .vpd-color-preview-wrap{min-height:290px;border-left:0;border-top:1px solid #edf1f5;padding:22px;}
    .vpd-color-preview-wrap img{height:250px;}
}
@media(max-width:767px){
    .vpd-anchor-wrap{position:sticky;top:0;margin:12px 0;z-index:120;border-radius:11px;}
    .vpd-anchor-wrap.is-stuck{border-radius:0 0 11px 11px;}
    .vpd-anchor-nav{padding:0 5px;}
    .vpd-anchor-nav a{min-height:45px;padding:0 13px;font-size:12.5px;}
    .vpd-anchor-nav a::after{left:13px;right:13px;}
    .vpd-section,.vpd-pricing-hub{scroll-margin-top:62px;}
    .vpd-modal{padding:58px 10px 10px;align-items:flex-start;}
    .vpd-modal-content{width:100%;max-height:calc(100vh - 68px);gap:8px;}
    .vpd-modal-stage{border-radius:12px;}
    .vpd-modal-image{max-height:calc(100vh - 152px);min-height:240px;}
    .vpd-modal-thumbs{gap:7px;padding-bottom:3px;}
    .vpd-modal-thumb{flex-basis:76px;height:54px;border-radius:8px;padding:2px;}
    .vpd-modal-thumb img{border-radius:5px;}
    .vpd-modal-prev,.vpd-modal-next{top:48%;width:40px;height:40px;}
    .vpd-modal-close{width:40px;height:40px;right:10px;top:10px;font-size:20px;}
    .vpd-modal-counter{right:8px;bottom:8px;min-height:30px;padding:0 9px;font-size:11px;}
    .vpd-modal-autoplay{left:8px;bottom:8px;min-height:30px;padding:0 9px;font-size:10.5px;}
    .vpd-color-copy{padding:18px 18px 12px;}
    .vpd-color-preview-wrap{min-height:245px;padding:16px;}
    .vpd-color-preview-wrap img{height:220px;}
    .vpd-color-watermark{font-size:52px;top:18px;}
    .vpd-color-configurator .vpd-color{min-height:40px;padding:6px 10px;font-size:12px;}
}


/* =========================================================
   Honda-style product section tabs + reliable fixed behavior
   ========================================================= */
.vpd-anchor-placeholder{
    display:block;
    width:100%;
    height:0;
}
.vpd-anchor-placeholder.is-active{display:block;}
.vpd-anchor-wrap{
    position:relative !important;
    top:auto !important;
    z-index:9000;
    margin:18px 0;
    border:0;
    border-top:1px solid #e5e7eb;
    border-bottom:1px solid #dfe3e8;
    border-radius:0;
    background:#fff;
    box-shadow:0 4px 14px rgba(15,23,42,.08);
    transition:box-shadow .2s ease;
}
.vpd-anchor-wrap.is-fixed{
    position:fixed !important;
    margin:0 !important;
    border-radius:0 !important;
    box-shadow:0 8px 22px rgba(15,23,42,.16);
}
.vpd-anchor-nav{
    display:flex;
    align-items:stretch;
    justify-content:center;
    gap:2px;
    min-height:60px;
    padding:0 14px;
    background:#fff;
    overflow-x:auto;
    scrollbar-width:none;
}
.vpd-anchor-nav::-webkit-scrollbar{display:none;}
.vpd-anchor-nav a{
    position:relative;
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:60px;
    padding:0 20px;
    border:0 !important;
    background:transparent !important;
    color:#20242a;
    font-size:15px;
    font-weight:750;
    white-space:nowrap;
    text-decoration:none;
    transition:color .18s ease;
}
.vpd-anchor-nav a::after{
    content:"";
    position:absolute;
    left:18px;
    right:18px;
    bottom:0;
    height:4px;
    border-radius:0;
    background:var(--vpd-danger);
    transform:scaleX(0);
    transform-origin:center;
    transition:transform .2s ease;
}
.vpd-anchor-nav a:hover{color:var(--vpd-danger);}
.vpd-anchor-nav a.is-active{
    color:var(--vpd-danger) !important;
    font-weight:900;
}
.vpd-anchor-nav a.is-active::after{transform:scaleX(1);}
.vpd-section,.vpd-pricing-hub{scroll-margin-top:150px;}

/* Color selector: prioritize the real vehicle image and clean controls. */
.vpd-color-configurator{
    overflow:hidden;
}
.vpd-color-configurator .vpd-color-list{
    gap:10px;
}
.vpd-color-configurator .vpd-color{
    cursor:pointer;
}
.vpd-color-preview-wrap{
    background:linear-gradient(180deg,#fafafa 0%,#f1f3f5 100%);
}
.vpd-color-preview-wrap img{
    filter:drop-shadow(0 20px 22px rgba(15,23,42,.16));
}

@media(max-width:991px){
    .vpd-anchor-nav{justify-content:flex-start;min-height:54px;padding:0 8px;}
    .vpd-anchor-nav a{min-height:54px;padding:0 16px;font-size:14px;}
    .vpd-anchor-nav a::after{left:14px;right:14px;}
    .vpd-section,.vpd-pricing-hub{scroll-margin-top:142px;}
}
@media(max-width:767px){
    .vpd-anchor-wrap{margin:12px 0;}
    .vpd-anchor-nav{min-height:50px;}
    .vpd-anchor-nav a{min-height:50px;padding:0 14px;font-size:13px;}
    .vpd-section,.vpd-pricing-hub{scroll-margin-top:136px;}
}

/* =========================================================
   8-tab Honda-style navigation + fixed scroll behavior
   ========================================================= */
.vpd-anchor-sentinel{display:block;width:100%;height:0;}
.vpd-anchor-wrap{
    position:relative !important;
    top:auto !important;
    z-index:10020;
    margin:16px 0 18px;
    border:0;
    border-top:1px solid #e5e7eb;
    border-bottom:1px solid #d9dee5;
    border-radius:0;
    background:#fff;
    box-shadow:0 4px 14px rgba(15,23,42,.08);
}
.vpd-anchor-wrap.is-fixed{
    position:fixed !important;
    margin:0 !important;
    border-radius:0 !important;
    box-shadow:0 9px 24px rgba(15,23,42,.17);
}
.vpd-anchor-nav{
    justify-content:flex-start !important;
    align-items:stretch;
    gap:0;
    min-height:58px;
    padding:0 14px;
    overflow-x:auto;
    scrollbar-width:none;
}
.vpd-anchor-nav a{
    position:relative;
    flex:0 0 auto;
    min-height:58px;
    padding:0 17px;
    border:0 !important;
    background:transparent !important;
    color:#20242a;
    font-size:14px;
    font-weight:750;
    white-space:nowrap;
}
.vpd-anchor-nav a::after{
    content:"";
    position:absolute;
    left:16px;
    right:16px;
    bottom:0;
    height:4px;
    background:var(--vpd-danger);
    transform:scaleX(0);
    transform-origin:left center;
    transition:transform .2s ease;
}
.vpd-anchor-nav a:hover,
.vpd-anchor-nav a.is-active{color:var(--vpd-danger) !important;}
.vpd-anchor-nav a.is-active{font-weight:900;}
.vpd-anchor-nav a.is-active::after{transform:scaleX(1);}
#gia-mau-sac,#tinh-nang-noi-bat,#thiet-ke,#van-hanh,#cong-nghe,#an-toan,#thong-so-ky-thuat,#thu-vien-anh{scroll-margin-top:86px;}

/* Full-width color configurator and zoom */
.vpd-color-configurator--full{margin:18px 0;}
.vpd-color-preview-wrap{
    border:0;
    width:100%;
    cursor:zoom-in;
    text-align:inherit;
    font:inherit;
}
.vpd-color-zoom-hint{
    position:absolute;
    right:16px;
    top:16px;
    z-index:4;
    display:inline-flex;
    align-items:center;
    gap:6px;
    min-height:34px;
    padding:0 11px;
    border-radius:999px;
    background:rgba(255,255,255,.94);
    color:#334155;
    box-shadow:0 8px 20px rgba(15,23,42,.12);
    font-size:12px;
    font-weight:850;
}
.vpd-color-modal{
    position:fixed;
    inset:0;
    z-index:1000000;
    display:none;
    align-items:center;
    justify-content:center;
    padding:28px;
    background:rgba(2,6,23,.9);
}
.vpd-color-modal.is-open{display:flex;}
.vpd-color-modal-stage{
    position:relative;
    width:min(1180px,92vw);
    max-height:90vh;
    padding:18px;
    border-radius:18px;
    background:#fff;
    box-shadow:0 28px 70px rgba(0,0,0,.35);
}
.vpd-color-modal-stage img{
    display:block;
    width:100%;
    max-height:78vh;
    object-fit:contain;
    border-radius:12px;
    background:#fff;
}
.vpd-color-modal-stage strong{
    display:block;
    padding:12px 4px 0;
    color:#0f172a;
    text-align:center;
    font-size:17px;
}
.vpd-color-modal-close{
    position:absolute;
    top:18px;
    right:18px;
    z-index:2;
    width:46px;
    height:46px;
    border:0;
    border-radius:50%;
    background:#fff;
    color:#0f172a;
    box-shadow:0 12px 28px rgba(0,0,0,.22);
    font-size:22px;
}

/* Content sections and image library */
.vpd-section-eyebrow{
    display:block;
    margin-bottom:7px;
    color:var(--vpd-primary);
    font-size:11px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.vpd-library-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
}
.vpd-library-item{
    position:relative;
    aspect-ratio:16/10;
    padding:0;
    border:1px solid #e2e8f0;
    border-radius:13px;
    overflow:hidden;
    background:#fff;
    cursor:zoom-in;
}
.vpd-library-item img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease;}
.vpd-library-item span{
    position:absolute;
    inset:auto 10px 10px auto;
    display:flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    border-radius:50%;
    background:rgba(255,255,255,.94);
    color:#0f172a;
    box-shadow:0 8px 18px rgba(15,23,42,.14);
}
.vpd-library-item:hover img{transform:scale(1.035);}
.vpd-video-grid--library{margin-top:18px;}

@media(max-width:991px){
    .vpd-anchor-nav{min-height:54px;padding:0 8px;}
    .vpd-anchor-nav a{min-height:54px;padding:0 14px;font-size:13px;}
    .vpd-anchor-nav a::after{left:13px;right:13px;}
    .vpd-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:767px){
    .vpd-anchor-wrap{position:relative !important;margin:10px 0 12px;}
    .vpd-anchor-wrap.is-fixed{position:fixed !important;}
    .vpd-anchor-nav{min-height:50px;}
    .vpd-anchor-nav a{min-height:50px;padding:0 12px;font-size:12.5px;}
    .vpd-library-grid{grid-template-columns:1fr 1fr;gap:8px;}
    .vpd-color-modal{padding:10px;}
    .vpd-color-modal-stage{padding:10px;border-radius:12px;}
    .vpd-color-modal-close{top:9px;right:9px;width:40px;height:40px;}
}

/* Final sticky-tab corrections: always left aligned, fixed below the global header. */
.vpd-anchor-wrap{z-index:9998 !important;}
.vpd-anchor-wrap.is-fixed{z-index:9998 !important;}
.vpd-anchor-nav{justify-content:flex-start !important;text-align:left !important;}
.vpd-anchor-nav a{justify-content:flex-start !important;text-align:left !important;}

/* =========================================================
   Product detail smart header: hide global navbar on scroll
   down after the product tabs become fixed; reveal on scroll up.
   ========================================================= */
@media (min-width: 992px){
    .gx-header.vpd-header-auto-hide{
        transition:transform .26s cubic-bezier(.22,.61,.36,1), box-shadow .2s ease !important;
        will-change:transform;
        backface-visibility:hidden;
    }
    .gx-header.vpd-header-auto-hide.vpd-header-hidden{
        transform:translate3d(0,-100%,0) !important;
        box-shadow:none !important;
        pointer-events:none;
    }
    .vpd-anchor-wrap.is-fixed{
        transition:top .26s cubic-bezier(.22,.61,.36,1), box-shadow .2s ease !important;
        will-change:top;
    }
}


/* =========================================================
   FINAL FIX: product tabs must stay visible while global header hides.
   The fixed bar is portaled directly under <body> by JavaScript.
   ========================================================= */
body > .vpd-anchor-wrap.is-fixed-portal{
    position:fixed !important;
    z-index:2147482000 !important;
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    margin:0 !important;
    border-radius:0 !important;
    background:#fff !important;
    box-shadow:0 9px 26px rgba(15,23,42,.2) !important;
    isolation:isolate;
}
body > .vpd-anchor-wrap.is-fixed-portal .vpd-anchor-nav{
    justify-content:flex-start !important;
    width:100%;
    max-width:none;
    background:#fff;
}
html.vpd-global-header-hidden body > .vpd-anchor-wrap.is-fixed-portal{
    top:0 !important;
}
html.vpd-product-tabs-fixed body > .vpd-anchor-wrap.is-fixed-portal{
    pointer-events:auto;
}
@media(max-width:991px){
    body > .vpd-anchor-wrap.is-fixed-portal{
        left:0 !important;
        width:100% !important;
        border-left:0 !important;
        border-right:0 !important;
    }
}


/* =========================================================
   Full-width product tab bar + model identity + persistent content mode
   ========================================================= */
.vpd-anchor-wrap{
    width:100vw !important;
    max-width:none !important;
    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;
    border-left:0 !important;
    border-right:0 !important;
}
.vpd-anchor-wrap.is-fixed,
body > .vpd-anchor-wrap.is-fixed-portal{
    left:0 !important;
    right:0 !important;
    width:100vw !important;
    max-width:none !important;
    margin:0 !important;
}
.vpd-anchor-nav{
    width:min(calc(100% - 48px),1280px) !important;
    max-width:1280px !important;
    min-height:64px !important;
    margin:0 auto !important;
    padding:0 !important;
    justify-content:flex-start !important;
}
.vpd-anchor-brand{
    position:sticky;
    left:0;
    z-index:4;
    flex:0 0 132px;
    width:132px;
    min-height:64px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    padding:0 18px 0 2px;
    margin-right:8px;
    background:#fff;
    border-right:1px solid #edf0f3;
    box-shadow:8px 0 12px -12px rgba(15,23,42,.45);
}
.vpd-anchor-brand img{
    display:block;
    max-width:108px;
    max-height:38px;
    width:auto;
    height:auto;
    object-fit:contain;
}
.vpd-anchor-brand span{
    display:block;
    color:#111827;
    font-size:24px;
    line-height:1;
    font-weight:950;
    letter-spacing:-.05em;
    white-space:nowrap;
}
.vpd-anchor-nav a{
    min-height:64px !important;
}
@media(min-width:992px){
    .gx-header.vpd-header-auto-hide{
        will-change:transform,opacity;
    }
    html:not(.vpd-global-header-hidden) .gx-header.vpd-header-auto-hide{
        transform:translateY(0) !important;
        opacity:1 !important;
        pointer-events:auto !important;
    }
    html.vpd-global-header-hidden .gx-header.vpd-header-auto-hide{
        transform:translateY(-110%) !important;
        opacity:0 !important;
        pointer-events:none !important;
    }
}
@media(max-width:991px){
    .vpd-anchor-nav{width:calc(100% - 24px) !important;min-height:54px !important;}
    .vpd-anchor-brand{flex-basis:96px;width:96px;min-height:54px;padding-right:12px;margin-right:4px;}
    .vpd-anchor-brand img{max-width:78px;max-height:30px;}
    .vpd-anchor-brand span{font-size:20px;}
    .vpd-anchor-nav a{min-height:54px !important;}
}
@media(max-width:575px){
    .vpd-anchor-nav{width:calc(100% - 16px) !important;}
    .vpd-anchor-brand{flex-basis:82px;width:82px;padding-right:9px;}
    .vpd-anchor-brand img{max-width:68px;max-height:27px;}
    .vpd-anchor-brand span{font-size:18px;}
}

/* =========================================================
   Split tab states:
   - In-page tab bar keeps the original compact container style.
   - Only the scrolled/fixed portal becomes full-screen and shows model logo.
   ========================================================= */
.vpd-anchor-wrap:not(.is-fixed):not(.is-fixed-portal){
    width:100% !important;
    max-width:100% !important;
    margin:16px 0 18px !important;
    margin-left:0 !important;
    margin-right:0 !important;
    border:1px solid var(--vpd-border) !important;
    border-radius:15px !important;
    overflow:hidden;
    background:#fff !important;
    box-shadow:0 8px 24px rgba(15,23,42,.07) !important;
}
.vpd-anchor-wrap:not(.is-fixed):not(.is-fixed-portal) .vpd-anchor-nav{
    width:100% !important;
    max-width:none !important;
    min-height:58px !important;
    margin:0 !important;
    padding:0 14px !important;
}
.vpd-anchor-wrap:not(.is-fixed):not(.is-fixed-portal) .vpd-anchor-nav a{
    min-height:58px !important;
}
.vpd-anchor-wrap:not(.is-fixed):not(.is-fixed-portal) .vpd-anchor-brand{
    display:none !important;
}

/* The floating bar remains the enhanced full-width version. */
body > .vpd-anchor-wrap.is-fixed-portal{
    width:100vw !important;
    max-width:none !important;
    margin:0 !important;
    border-left:0 !important;
    border-right:0 !important;
    border-radius:0 !important;
    overflow:visible;
}
body > .vpd-anchor-wrap.is-fixed-portal .vpd-anchor-nav{
    width:min(calc(100% - 48px),1280px) !important;
    max-width:1280px !important;
    min-height:64px !important;
    margin:0 auto !important;
    padding:0 !important;
}
body > .vpd-anchor-wrap.is-fixed-portal .vpd-anchor-brand{
    display:flex !important;
}
body > .vpd-anchor-wrap.is-fixed-portal .vpd-anchor-nav a{
    min-height:64px !important;
}

@media(max-width:991px){
    .vpd-anchor-wrap:not(.is-fixed):not(.is-fixed-portal){
        margin:12px 0 14px !important;
        border-radius:12px !important;
    }
    .vpd-anchor-wrap:not(.is-fixed):not(.is-fixed-portal) .vpd-anchor-nav{
        min-height:54px !important;
        padding:0 8px !important;
    }
    .vpd-anchor-wrap:not(.is-fixed):not(.is-fixed-portal) .vpd-anchor-nav a{
        min-height:54px !important;
    }
    body > .vpd-anchor-wrap.is-fixed-portal .vpd-anchor-nav{
        width:calc(100% - 24px) !important;
        min-height:54px !important;
    }
    body > .vpd-anchor-wrap.is-fixed-portal .vpd-anchor-nav a{
        min-height:54px !important;
    }
}
@media(max-width:575px){
    body > .vpd-anchor-wrap.is-fixed-portal .vpd-anchor-nav{
        width:calc(100% - 16px) !important;
    }
}


/* V11: tài liệu thông số kỹ thuật ảnh/PDF */
.vpd-tech-document{margin-top:24px;padding-top:22px;border-top:1px solid var(--vpd-border)}
.vpd-tech-document-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:14px}
.vpd-tech-document-head h3{margin:3px 0 5px;font-size:21px;font-weight:900;color:#0f172a}
.vpd-tech-document-head p{margin:0;color:#64748b;font-size:14px}
.vpd-tech-preview{position:relative;display:block;width:100%;height:360px;padding:0;overflow:hidden;border:1px solid #dbe3ec;border-radius:14px;background:#f8fafc;cursor:zoom-in;text-align:left}
.vpd-tech-preview img,.vpd-tech-preview iframe{display:block;width:100%;height:100%;border:0;background:#fff}
.vpd-tech-preview img{object-fit:contain;object-position:top center}
.vpd-tech-preview iframe{pointer-events:none}
.vpd-tech-preview:after{content:"";position:absolute;left:0;right:0;bottom:0;height:95px;background:linear-gradient(transparent,rgba(15,23,42,.48));pointer-events:none}
.vpd-tech-preview-badge{position:absolute;top:12px;left:12px;z-index:2;display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 4px 14px rgba(15,23,42,.14);font-size:12px;font-weight:900;color:#dc2626}
.vpd-tech-preview-overlay{position:absolute;right:14px;bottom:14px;z-index:2;display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border-radius:999px;background:#fff;color:#0f172a;font-size:13px;font-weight:900;box-shadow:0 5px 18px rgba(15,23,42,.2)}
.vpd-tech-modal{position:fixed;inset:0;z-index:1000000;display:none;align-items:center;justify-content:center;padding:22px;background:rgba(2,6,23,.94)}
.vpd-tech-modal.is-open{display:flex}
.vpd-tech-modal-content{width:min(1500px,96vw);height:min(92vh,1100px);display:flex;align-items:center;justify-content:center;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 30px 80px rgba(0,0,0,.45)}
.vpd-tech-modal-content iframe{width:100%;height:100%;border:0;background:#fff}
.vpd-tech-modal-content img{display:block;max-width:100%;max-height:100%;object-fit:contain;background:#fff}
.vpd-tech-modal-close{position:absolute;right:20px;top:18px;z-index:3;width:46px;height:46px;border:0;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;color:#0f172a;font-size:22px;cursor:pointer;box-shadow:0 7px 25px rgba(0,0,0,.3)}
@media(max-width:767px){.vpd-tech-document-head{align-items:flex-start;flex-direction:column}.vpd-tech-preview{height:260px}.vpd-tech-modal{padding:58px 8px 8px}.vpd-tech-modal-content{width:100%;height:calc(100vh - 66px);border-radius:10px}.vpd-tech-modal-close{right:9px;top:9px;width:40px;height:40px}}

/* V12: PDF hiển thị như ảnh, không dùng giao diện PDF mặc định của trình duyệt */
.vpd-tech-preview .vpd-tech-pdf-preview{display:flex;width:100%;height:100%;align-items:flex-start;justify-content:center;overflow:hidden;background:#fff}
.vpd-tech-pdf-preview canvas{display:block;width:100%;height:auto;background:#fff}
.vpd-tech-pdf-loading{display:flex;align-items:center;justify-content:center;gap:8px;color:#475569;font-size:14px;font-weight:800}
.vpd-tech-pdf-loading .bi{animation:vpdTechSpin 1s linear infinite}
@keyframes vpdTechSpin{to{transform:rotate(360deg)}}
.vpd-tech-pdf-preview .vpd-tech-pdf-loading{position:absolute;inset:0}
.vpd-tech-pdf-preview.is-ready .vpd-tech-pdf-loading{display:none}

.vpd-tech-modal{z-index:2147483000!important;padding:14px!important;background:rgba(2,6,23,.96)!important}
.vpd-tech-modal-content{position:relative;width:min(1600px,calc(100vw - 28px))!important;height:calc(100dvh - 28px)!important;max-height:none!important;border-radius:12px!important;background:transparent!important;overflow:hidden!important;box-shadow:none!important}
.vpd-tech-modal-content>img{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;border-radius:8px;background:#fff;box-shadow:0 20px 70px rgba(0,0,0,.45)}
.vpd-tech-modal-close{position:fixed!important;top:14px!important;right:18px!important;z-index:2147483646!important;width:48px!important;height:48px!important;background:#fff!important;color:#111827!important;border:2px solid rgba(15,23,42,.12)!important;font-size:25px!important}
.vpd-tech-modal-close:hover{transform:scale(1.05);background:#fee2e2!important;color:#dc2626!important}

.vpd-tech-pdf-viewer{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:58px 70px 62px}
.vpd-tech-pdf-stage{width:100%;height:100%;display:flex;align-items:flex-start;justify-content:center;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.vpd-tech-pdf-stage canvas{display:block;width:auto;height:auto;max-width:100%;background:#fff;border-radius:4px;box-shadow:0 16px 55px rgba(0,0,0,.42)}
.vpd-tech-pdf-stage .vpd-tech-pdf-loading{position:absolute;inset:0;color:#fff}
.vpd-tech-pdf-stage.is-ready .vpd-tech-pdf-loading{display:none}
.vpd-tech-pdf-controls{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);z-index:4;display:flex;align-items:center;gap:14px;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.96);box-shadow:0 8px 28px rgba(0,0,0,.35)}
.vpd-tech-pdf-controls button{width:38px;height:38px;border:0;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eaf2fb;color:#1d4f91;font-size:20px;cursor:pointer}
.vpd-tech-pdf-controls button:disabled{opacity:.35;cursor:not-allowed}
.vpd-tech-pdf-controls strong{min-width:70px;text-align:center;color:#0f172a;font-size:14px}

html.vpd-tech-modal-open,html.vpd-tech-modal-open body{overflow:hidden!important}
html.vpd-tech-modal-open .vpd-anchor-wrap,
html.vpd-tech-modal-open .gx-header,
html.vpd-tech-modal-open .gx-contact-fixed,
html.vpd-tech-modal-open [class*="contact-fixed"]{visibility:hidden!important}

@media(max-width:767px){
  .vpd-tech-modal{padding:6px!important}
  .vpd-tech-modal-content{width:calc(100vw - 12px)!important;height:calc(100dvh - 12px)!important;border-radius:8px!important}
  .vpd-tech-modal-close{top:8px!important;right:8px!important;width:44px!important;height:44px!important}
  .vpd-tech-pdf-viewer{padding:58px 8px 58px}
  .vpd-tech-pdf-controls{bottom:8px}
}


/* V13: modal ảnh/PDF luôn phủ toàn viewport, không bị thanh tab che */
.vpd-modal,
.vpd-tech-modal{
    position:fixed!important;
    inset:0!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:0!important;
    margin:0!important;
    transform:none!important;
    isolation:isolate;
}
.vpd-modal{z-index:2147483638!important;padding:14px 72px!important;align-items:center!important;justify-content:center!important;}
.vpd-modal.is-open{display:flex!important;}
.vpd-modal-content{z-index:2147483640!important;max-height:calc(100dvh - 28px)!important;}
.vpd-modal-close{position:fixed!important;top:14px!important;right:18px!important;z-index:2147483646!important;width:48px!important;height:48px!important;}
.vpd-modal-prev,.vpd-modal-next{position:fixed!important;z-index:2147483644!important;}
.vpd-tech-modal{z-index:2147483639!important;}
html.vpd-gallery-modal-open,
html.vpd-gallery-modal-open body,
html.vpd-tech-modal-open,
html.vpd-tech-modal-open body{overflow:hidden!important;}
html.vpd-gallery-modal-open .vpd-anchor-wrap,
html.vpd-gallery-modal-open body>.vpd-anchor-wrap,
html.vpd-gallery-modal-open .is-fixed-portal,
html.vpd-gallery-modal-open .gx-header,
html.vpd-gallery-modal-open .gx-contact-fixed,
html.vpd-gallery-modal-open [class*="contact-fixed"],
html.vpd-tech-modal-open .vpd-anchor-wrap,
html.vpd-tech-modal-open body>.vpd-anchor-wrap,
html.vpd-tech-modal-open .is-fixed-portal,
html.vpd-tech-modal-open .gx-header,
html.vpd-tech-modal-open .gx-contact-fixed,
html.vpd-tech-modal-open [class*="contact-fixed"]{
    visibility:hidden!important;
    pointer-events:none!important;
}
@media(max-width:767px){
    .vpd-modal{padding:8px!important;align-items:center!important;}
    .vpd-modal-content{width:100%!important;max-height:calc(100dvh - 16px)!important;}
    .vpd-modal-close{top:8px!important;right:8px!important;width:44px!important;height:44px!important;}
}

/* V14: gallery fullscreen lớn hơn, nút đóng ổn định, related 4 cột */
.vpd-tech-document-head--compact{
    display:block!important;
    margin-bottom:10px!important;
}
.vpd-tech-document-head--compact .vpd-section-eyebrow{margin:0!important;}

@media(min-width:1101px){
    .vpd-related-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;}
    .vpd-related-body h3{font-size:17px;}
}
@media(min-width:768px) and (max-width:1100px){
    .vpd-related-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}

.vpd-modal{
    padding:8px 54px!important;
}
.vpd-modal-content{
    width:calc(100vw - 108px)!important;
    max-width:none!important;
    height:calc(100dvh - 16px)!important;
    max-height:none!important;
    grid-template-rows:minmax(0,1fr) 76px!important;
    gap:8px!important;
}
.vpd-modal-stage{
    width:100%!important;
    height:100%!important;
    border-radius:10px!important;
}
.vpd-modal-image{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    min-height:0!important;
    object-fit:contain!important;
}
.vpd-modal-thumbs{
    min-height:76px!important;
    padding:1px 2px 2px!important;
    gap:8px!important;
}
.vpd-modal-thumb{
    flex-basis:98px!important;
    height:68px!important;
}
.vpd-modal-close,
.vpd-tech-modal-close{
    pointer-events:auto!important;
    touch-action:manipulation!important;
}
.vpd-modal-close{top:8px!important;right:8px!important;}
.vpd-modal-prev{left:8px!important;}
.vpd-modal-next{right:8px!important;}

@media(max-width:767px){
    .vpd-modal{padding:6px!important;}
    .vpd-modal-content{
        width:100%!important;
        height:calc(100dvh - 12px)!important;
        max-height:none!important;
        grid-template-rows:minmax(0,1fr) 60px!important;
        gap:6px!important;
    }
    .vpd-modal-thumb{flex-basis:76px!important;height:56px!important;}
    .vpd-modal-close{top:6px!important;right:6px!important;}
    .vpd-modal-prev{left:6px!important;}
    .vpd-modal-next{right:6px!important;}
}


/* V15: căn lại nút đóng modal và thêm lưới tin 7 bài dưới sản phẩm liên quan */
.vpd-modal-close{
    top:18px!important;
    right:68px!important;
    width:48px!important;
    height:48px!important;
    padding:0!important;
    border:1px solid rgba(15,23,42,.12)!important;
    box-shadow:0 10px 28px rgba(2,6,23,.28)!important;
    line-height:1!important;
}
.vpd-modal-close span,
.vpd-tech-modal-close span,
.vpd-color-modal-close span{
    display:flex;
    width:100%;
    height:100%;
    align-items:center;
    justify-content:center;
    padding:0 0 3px;
    font-family:Arial,Helvetica,sans-serif;
    font-size:38px;
    line-height:1;
    font-weight:300;
    pointer-events:none;
}
.vpd-tech-modal-close span,
.vpd-color-modal-close span{font-size:35px;}

.vpd-related-news.has-products{
    margin-top:30px;
    padding-top:26px;
    border-top:1px solid var(--vpd-border);
}
.vpd-related-news-head{margin-bottom:16px;}
.vpd-related-news-layout{display:grid;gap:14px;}
.vpd-news-feature-card,.vpd-news-small-card{display:block;color:inherit;text-decoration:none;background:#fff;border:1px solid #e2e8f0;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;}
.vpd-news-feature-card{overflow:hidden;border-radius:14px;}
.vpd-news-feature-card:hover,.vpd-news-small-card:hover{color:inherit;text-decoration:none;border-color:var(--vpd-primary);box-shadow:0 10px 24px rgba(15,23,42,.09);transform:translateY(-2px);}
.vpd-news-feature-media{display:block;width:100%;aspect-ratio:4/3;overflow:hidden;background:#eef2f7;}
.vpd-news-feature-media img,.vpd-news-small-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;}
.vpd-news-feature-body{display:block;padding:16px 18px 17px;}
.vpd-news-badge{display:inline-flex;align-items:center;min-height:28px;padding:0 11px;margin-bottom:9px;background:#ffd21f;color:#111827;font-size:11px;line-height:1;font-weight:850;text-transform:uppercase;}
.vpd-news-feature-body strong{display:block;color:#111827;font-size:clamp(21px,2vw,30px);line-height:1.32;font-weight:850;}
.vpd-news-feature-body small,.vpd-news-small-body small{display:block;margin-top:10px;color:#6b7280;font-size:13px;line-height:1.35;}
.vpd-news-small-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.vpd-news-small-card{min-width:0;overflow:hidden;border-radius:12px;}
.vpd-news-small-media{display:block;width:100%;aspect-ratio:4/3;overflow:hidden;background:#eef2f7;}
.vpd-news-small-body{display:block;padding:12px 13px 14px;}
.vpd-news-small-body .vpd-news-badge{min-height:24px;padding:0 9px;margin-bottom:7px;font-size:10px;}
.vpd-news-small-body strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;color:#111827;font-size:15px;line-height:1.45;font-weight:750;}

@media(max-width:767px){
    .vpd-modal-close{
        top:12px!important;
        right:12px!important;
        width:44px!important;
        height:44px!important;
    }
    .vpd-modal-close span{font-size:34px;}
    .vpd-related-news.has-products{margin-top:22px;padding-top:20px;}
    .vpd-related-news-head{align-items:flex-start;}
    .vpd-related-news-layout{gap:12px;}
    .vpd-news-feature-card{border-radius:12px;}
    .vpd-news-feature-body{padding:13px 14px 15px;}
    .vpd-news-feature-body strong{font-size:20px;line-height:1.38;}
    .vpd-news-small-grid{grid-template-columns:1fr;gap:0;}
    .vpd-news-small-card{display:grid;grid-template-columns:34% minmax(0,1fr);align-items:stretch;border-width:0 0 1px;border-radius:0;padding:10px 0;box-shadow:none!important;transform:none!important;}
    .vpd-news-small-card:first-child{padding-top:0;}
    .vpd-news-small-card:last-child{padding-bottom:0;border-bottom:0;}
    .vpd-news-small-media{aspect-ratio:4/3;border-radius:9px;overflow:hidden;}
    .vpd-news-small-body{padding:2px 0 2px 13px;}
    .vpd-news-small-body .vpd-news-badge{margin-bottom:6px;}
    .vpd-news-small-body strong{font-size:15px;line-height:1.42;-webkit-line-clamp:3;}
    .vpd-news-small-body small{margin-top:7px;font-size:12px;}
}

/* OTO_027: liên kết tới bảng giá trung tâm */
.vpd-price-master-link{display:inline-flex;align-items:center;gap:7px;margin-top:10px;color:#2563eb;font-size:13px;font-weight:800;text-decoration:none}.vpd-price-master-link:hover{text-decoration:underline}

/* V19.1: khoảng cách CTA lăn bánh + căn lại xe/chữ mờ/giá ở khối liên quan */
.vpd-onroad-total-card > a{
    margin-top:18px!important;
    flex-shrink:0;
}

.vpd-related-image img{
    transform:translateY(8px);
}

.vpd-related-image .vinfast-card-watermark{
    top:9px;
}

.vpd-related-body strong{
    display:block;
    white-space:nowrap;
    font-size:14px;
    line-height:1.25;
    letter-spacing:-.025em;
}

@media(max-width:767px){
    .vpd-onroad-total-card > a{
        margin-top:20px!important;
    }

    .vpd-related-image img{
        transform:translateY(7px);
    }

    .vpd-related-image .vinfast-card-watermark{
        top:4px;
    }

    .vpd-related-body strong{
        font-size:clamp(10.5px,2.75vw,12px);
        letter-spacing:-.04em;
    }
}

/* V19.3: gallery modal khung cố định, giữ vuốt/thumbnail/autoplay và giảm chiều cao vừa phải */
.vpd-modal{
    padding:7dvh 58px!important;
}
.vpd-modal-content{
    width:min(1320px,calc(100vw - 116px))!important;
    height:min(86dvh,900px)!important;
    min-height:0!important;
    max-height:min(86dvh,900px)!important;
    grid-template-rows:minmax(0,1fr) 70px!important;
    align-content:stretch!important;
    gap:8px!important;
}
.vpd-modal-stage{
    width:100%!important;
    height:100%!important;
    min-width:0!important;
    min-height:0!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    border-radius:10px!important;
    touch-action:pan-y!important;
    user-select:none!important;
    -webkit-user-select:none!important;
    overflow:hidden!important;
}
.vpd-modal-image{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-width:0!important;
    min-height:0!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:center!important;
    pointer-events:none!important;
    -webkit-user-drag:none!important;
}
.vpd-modal-thumbs{
    height:70px!important;
    min-height:70px!important;
    padding:1px 2px 2px!important;
    gap:8px!important;
    overscroll-behavior-x:contain!important;
    scroll-snap-type:x proximity!important;
}
.vpd-modal-thumb{
    flex:0 0 96px!important;
    height:66px!important;
    scroll-snap-align:center!important;
}
.vpd-modal-thumb.is-active{
    transform:translateY(-1px)!important;
}
.vpd-modal-autoplay{
    pointer-events:none!important;
}

@media(max-width:767px){
    .vpd-modal{
        padding:7dvh 10px!important;
    }
    .vpd-modal-content{
        width:calc(100vw - 20px)!important;
        height:86dvh!important;
        min-height:0!important;
        max-height:86dvh!important;
        grid-template-rows:minmax(0,1fr) 58px!important;
        gap:6px!important;
    }
    .vpd-modal-stage{
        width:100%!important;
        height:100%!important;
        border-radius:10px!important;
    }
    .vpd-modal-thumbs{
        height:58px!important;
        min-height:58px!important;
        gap:7px!important;
    }
    .vpd-modal-thumb{
        flex-basis:76px!important;
        height:54px!important;
    }
    .vpd-modal-prev,.vpd-modal-next{
        width:40px!important;
        height:40px!important;
    }
    .vpd-modal-counter,.vpd-modal-autoplay{
        bottom:8px!important;
    }
}

@media(max-height:680px){
    .vpd-modal{padding-top:5dvh!important;padding-bottom:5dvh!important;}
    .vpd-modal-content{height:90dvh!important;max-height:90dvh!important;}
}

/* V19.4: gallery màu đồng bộ gallery chính, nút đóng đúng góc và căn lại xe/chữ mờ */
.vpd-modal-content{
    position:relative!important;
}
.vpd-modal-close{
    position:absolute!important;
    top:10px!important;
    right:10px!important;
    left:auto!important;
    z-index:20!important;
    margin:0!important;
}

.vpd-color-preview-wrap img{
    transform:translateY(10px)!important;
}
.vpd-color-preview-wrap img.is-loading{
    transform:translateY(10px) scale(.985)!important;
}
.vpd-color-watermark{
    top:12px!important;
}

.vpd-color-modal{
    position:fixed!important;
    inset:0!important;
    z-index:2147483641!important;
    display:none!important;
    align-items:center!important;
    justify-content:center!important;
    padding:7dvh 58px!important;
    background:rgba(2,6,23,.92)!important;
    backdrop-filter:blur(5px);
    margin:0!important;
    transform:none!important;
}
.vpd-color-modal.is-open{display:flex!important;}
.vpd-color-modal-content{
    position:relative!important;
    z-index:2147483642!important;
    display:grid!important;
    grid-template-rows:minmax(0,1fr) 76px!important;
    gap:8px!important;
    width:min(1240px,calc(100vw - 116px))!important;
    height:min(86dvh,860px)!important;
    min-width:0!important;
    min-height:0!important;
    max-width:none!important;
    max-height:min(86dvh,860px)!important;
}
.vpd-color-modal-stage{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    height:100%!important;
    min-width:0!important;
    min-height:0!important;
    max-width:none!important;
    max-height:none!important;
    padding:0!important;
    overflow:hidden!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 28px 70px rgba(0,0,0,.35)!important;
    touch-action:pan-y!important;
    user-select:none!important;
    -webkit-user-select:none!important;
}
.vpd-color-modal-stage>img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-width:0!important;
    min-height:0!important;
    max-width:none!important;
    max-height:none!important;
    padding:0!important;
    object-fit:contain!important;
    object-position:center!important;
    border-radius:0!important;
    background:#fff!important;
    pointer-events:none!important;
    -webkit-user-drag:none!important;
}
.vpd-color-modal-stage>strong{
    position:absolute!important;
    left:50%!important;
    bottom:14px!important;
    z-index:5!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:36px!important;
    max-width:55%!important;
    margin:0!important;
    padding:0 14px!important;
    border:1px solid rgba(15,23,42,.12)!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.95)!important;
    color:#0f172a!important;
    box-shadow:0 8px 22px rgba(15,23,42,.14)!important;
    font-size:14px!important;
    line-height:1.2!important;
    font-weight:900!important;
    text-align:center!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    transform:translateX(-50%)!important;
}
.vpd-color-modal-close{
    position:absolute!important;
    top:10px!important;
    right:10px!important;
    left:auto!important;
    z-index:20!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:48px!important;
    height:48px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid rgba(15,23,42,.12)!important;
    border-radius:50%!important;
    background:#fff!important;
    color:#0f172a!important;
    box-shadow:0 10px 28px rgba(2,6,23,.28)!important;
    cursor:pointer!important;
    pointer-events:auto!important;
    touch-action:manipulation!important;
}
.vpd-color-modal-close span{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    height:100%!important;
    padding:0 0 3px!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:36px!important;
    line-height:1!important;
    font-weight:300!important;
    pointer-events:none!important;
}
.vpd-color-modal-prev,
.vpd-color-modal-next{
    position:absolute!important;
    top:50%!important;
    z-index:8!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:48px!important;
    height:48px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:50%!important;
    background:rgba(255,255,255,.96)!important;
    color:#0f172a!important;
    box-shadow:0 10px 25px rgba(15,23,42,.2)!important;
    font-size:22px!important;
    cursor:pointer!important;
    transform:translateY(-50%)!important;
}
.vpd-color-modal-prev{left:12px!important;}
.vpd-color-modal-next{right:12px!important;}
.vpd-color-modal-autoplay,
.vpd-color-modal-counter{
    position:absolute!important;
    bottom:14px!important;
    z-index:6!important;
    display:inline-flex!important;
    align-items:center!important;
    gap:7px!important;
    min-height:34px!important;
    padding:0 11px!important;
    border:1px solid rgba(15,23,42,.12)!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.94)!important;
    color:#334155!important;
    box-shadow:0 8px 20px rgba(15,23,42,.12)!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:850!important;
    pointer-events:none!important;
}
.vpd-color-modal-autoplay{left:14px!important;color:var(--vpd-primary-dark)!important;}
.vpd-color-modal-counter{right:14px!important;}
.vpd-color-modal-thumbs{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;
    width:100%!important;
    height:76px!important;
    min-height:76px!important;
    padding:1px 2px 2px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-x:contain!important;
    scroll-snap-type:x proximity!important;
    scrollbar-width:thin;
}
.vpd-color-modal-thumb{
    position:relative!important;
    flex:0 0 112px!important;
    height:72px!important;
    padding:3px!important;
    overflow:hidden!important;
    border:2px solid rgba(255,255,255,.14)!important;
    border-radius:11px!important;
    background:#233044!important;
    cursor:pointer!important;
    scroll-snap-align:center!important;
    transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
.vpd-color-modal-thumb img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    border-radius:7px!important;
    background:#fff!important;
}
.vpd-color-modal-thumb span{
    position:absolute!important;
    left:5px!important;
    right:5px!important;
    bottom:4px!important;
    z-index:2!important;
    display:block!important;
    padding:3px 5px!important;
    overflow:hidden!important;
    border-radius:5px!important;
    background:rgba(15,23,42,.72)!important;
    color:#fff!important;
    font-size:9px!important;
    line-height:1.1!important;
    font-weight:800!important;
    text-align:center!important;
    white-space:nowrap!important;
    text-overflow:ellipsis!important;
}
.vpd-color-modal-thumb.is-active{
    border-color:#fff!important;
    box-shadow:0 0 0 2px rgba(255,255,255,.9)!important;
    transform:translateY(-1px)!important;
}

@media(max-width:767px){
    .vpd-modal-close{
        top:8px!important;
        right:8px!important;
        width:44px!important;
        height:44px!important;
    }
    .vpd-color-preview-wrap img{
        transform:translateY(8px)!important;
    }
    .vpd-color-preview-wrap img.is-loading{
        transform:translateY(8px) scale(.985)!important;
    }
    .vpd-color-watermark{
        top:8px!important;
    }
    .vpd-color-modal{
        padding:7dvh 10px!important;
    }
    .vpd-color-modal-content{
        width:calc(100vw - 20px)!important;
        height:86dvh!important;
        max-height:86dvh!important;
        grid-template-rows:minmax(0,1fr) 62px!important;
        gap:6px!important;
    }
    .vpd-color-modal-stage{
        border-radius:11px!important;
    }
    .vpd-color-modal-close{
        top:8px!important;
        right:8px!important;
        width:44px!important;
        height:44px!important;
    }
    .vpd-color-modal-close span{font-size:34px!important;}
    .vpd-color-modal-prev,
    .vpd-color-modal-next{
        width:40px!important;
        height:40px!important;
        font-size:19px!important;
    }
    .vpd-color-modal-prev{left:6px!important;}
    .vpd-color-modal-next{right:6px!important;}
    .vpd-color-modal-stage>strong{
        bottom:8px!important;
        max-width:48%!important;
        min-height:32px!important;
        padding:0 10px!important;
        font-size:12px!important;
    }
    .vpd-color-modal-autoplay,
    .vpd-color-modal-counter{
        bottom:8px!important;
        min-height:30px!important;
        padding:0 8px!important;
        font-size:10px!important;
    }
    .vpd-color-modal-autoplay{left:8px!important;}
    .vpd-color-modal-counter{right:8px!important;}
    .vpd-color-modal-thumbs{
        height:62px!important;
        min-height:62px!important;
        gap:7px!important;
    }
    .vpd-color-modal-thumb{
        flex-basis:82px!important;
        height:58px!important;
        border-radius:9px!important;
    }
    .vpd-color-modal-thumb span{
        font-size:8px!important;
    }
}

@media(max-height:680px){
    .vpd-color-modal{padding-top:5dvh!important;padding-bottom:5dvh!important;}
    .vpd-color-modal-content{height:90dvh!important;max-height:90dvh!important;}
}

/* PATCH: đồng bộ tuyệt đối ảnh 3 tin nhỏ theo tỷ lệ 1200x900 (4:3). */
.vpd-news-small-media{
    position:relative!important;
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:4/3!important;
    align-self:start!important;
    overflow:hidden!important;
    background:#eef2f7!important;
}
.vpd-news-small-media img{
    position:absolute!important;
    inset:0!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    object-fit:cover!important;
    object-position:center!important;
}
@media(max-width:767px){
    .vpd-news-small-card{
        align-items:start!important;
    }
    .vpd-news-small-media{
        aspect-ratio:4/3!important;
        border-radius:9px!important;
    }
}


/* =========================================================
   MOBILE SMART HEADER + PRODUCT TABS
   Khi cuộn xuống: navbar/marquee ẩn, tab chiếm vị trí trên cùng.
   Khi cuộn lên: navbar/marquee hiện lại, tab lùi xuống bên dưới.
   ========================================================= */
@media (max-width: 991px){
    .gx-header.vpd-header-auto-hide{
        transition:transform .24s cubic-bezier(.22,.61,.36,1), opacity .2s ease, box-shadow .2s ease !important;
        will-change:transform,opacity;
        backface-visibility:hidden;
    }
    .gx-header.vpd-header-auto-hide.vpd-header-hidden{
        transform:translate3d(0,-105%,0) !important;
        opacity:0 !important;
        box-shadow:none !important;
        pointer-events:none !important;
    }
    body > .vpd-anchor-wrap.is-fixed-portal{
        transition:top .24s cubic-bezier(.22,.61,.36,1), box-shadow .2s ease !important;
        will-change:top;
    }
}

/* =========================================================
   PATCH 035 — Căn giữa tên/logo mẫu xe trong tab sticky mobile
   Chỉ áp dụng trên mobile, không thay đổi bố cục PC.
   ========================================================= */
@media (max-width: 767px) {
    .vpd-anchor-brand,
    body > .vpd-anchor-wrap.is-fixed-portal .vpd-anchor-brand {
        justify-content: center !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
        text-align: center !important;
    }

    .vpd-anchor-brand span,
    body > .vpd-anchor-wrap.is-fixed-portal .vpd-anchor-brand span {
        width: 100% !important;
        text-align: center !important;
    }
}
