/* Keep photography and sign-up cards aligned with the original dark theme. */
.editorial-photo{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px;margin-bottom:12px}
#projects-section .project-caption{justify-content:space-between}
#projects-section .project-caption span:first-child{flex:1 1 11rem}
#consultation-section{align-self:start}
#newsCardsGrid article{height:100%}
#home #heroMainVisual{border-radius:16px}
#home .hero-image-shade{opacity:.16}
:focus-visible{outline:2px solid #96eaff;outline-offset:3px}
.hero-gallery{position:relative;width:100%;max-width:540px;aspect-ratio:1;overflow:hidden;border-radius:16px;border:1px solid #7893a749;background:#101722}
#home .hero-gallery #heroMainVisual,.hero-gallery .hero-outgoing{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0;transition:none}
.hero-outgoing{pointer-events:none;opacity:0}
.hero-outgoing.is-leaving{animation:hero-dissolve .5s ease-out both}
@keyframes hero-dissolve{from{opacity:1}to{opacity:0}}
.hero-tab{color:#dce8f5;background:#142135;border:1px solid #354863;border-radius:8px;padding:8px 11px;font-size:13px;font-weight:650;min-height:38px}
.hero-tab[aria-current=true]{background:#b91632;border-color:#ed4860;color:#fff}
.hero-tab:hover{border-color:#86c6e5}
#heroDotsContainer{flex-wrap:wrap}
#heroSlideSubtitle{min-height:3lh}
#productsShowcaseGrid .catalog-card{min-width:0;height:100%}
#productsShowcaseGrid .catalog-card .product-stage{aspect-ratio:1}
#productsShowcaseGrid .catalog-card .product-render-img{width:100%;height:100%;object-fit:cover}
.catalog-meta h3{min-height:2lh;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.catalog-meta p{min-height:2lh}
.catalog-dock{min-height:64px;margin-top:auto}
.catalog-dock button{white-space:nowrap}
@media(min-width:640px){#productsShowcaseGrid{grid-auto-rows:1fr}}
@media(max-width:639px){#heroSlideSubtitle{min-height:0}.catalog-meta h3,.catalog-meta p{min-height:0}}
@media(prefers-reduced-motion:reduce){.hero-outgoing.is-leaving{animation:none}}

#productsShowcaseGrid{--catalog-gap:clamp(12px,1.5vw,22px);gap:var(--catalog-gap);align-items:stretch}
#productsShowcaseGrid .catalog-card:hover{transform:none}
#productsShowcaseGrid .catalog-card:hover .product-render-img{transform:none;filter:none}
#productsShowcaseGrid .catalog-card .product-stage{border-color:#748aa133;background:#181a1c}
#productsShowcaseGrid .catalog-card .product-render-img{display:block;aspect-ratio:1;object-fit:contain;box-shadow:none}
.catalog-meta{display:grid;gap:8px;padding:12px 16px 14px;min-width:0}
.catalog-labels{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:34px}
.catalog-category{min-height:2.5em}
.catalog-meta h3,.catalog-meta p{margin:0}
.catalog-meta h3{line-height:1.35;min-height:2.7em}
.catalog-meta p{line-height:1.5;min-height:3em}
.catalog-caption{min-width:0}
.catalog-dock{display:grid;grid-template-columns:minmax(0,1fr) auto;min-height:70px}
.catalog-dock button{min-height:36px}
.vnp-solutions-grid .spotlight-card:hover{transform:none}
#productQuickBody .product-stage img,img.catalog-thumb{object-fit:contain;background:#181a1c}
@media(min-width:1024px){
 #productsShowcaseGrid{grid-template-columns:repeat(6,minmax(0,1fr))}
 #productsShowcaseGrid>.catalog-card{grid-column:span 2}
 #productsShowcaseGrid>.catalog-card:nth-child(3n+1):last-child{grid-column:3 / span 2}
 #productsShowcaseGrid:has(>.catalog-card:nth-child(3n+2):last-child)>.catalog-card:nth-last-child(2){grid-column:2 / span 2}
}

/* Square, uncropped framing for the same product images across surfaces. */
#productQuickBody .product-stage{aspect-ratio:1;min-width:0}
#productQuickBody .product-stage img{display:block;width:100%;height:100%;aspect-ratio:1;object-position:center}
img.catalog-thumb{display:block;width:80px;height:80px;object-position:center}
.vnp-solution-image img,.vnp-space-image img{object-fit:contain;object-position:center}
#productsShowcaseGrid .catalog-card .product-render-img{object-position:center}
@media(min-width:1024px){
 #productsShowcaseGrid>.catalog-card:nth-child(3n+2):last-child{grid-column:4 / span 2}
}

/* Banner controls stay in their own row, outside the image and decorative layers. */
.vnp-hero-shell{isolation:isolate}
.vnp-hero-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(20px,4vw,60px);padding:clamp(22px,3.4vw,48px)}
.vnp-hero-copy{min-width:0}
.vnp-hero-copy h1{font-size:clamp(28px,3.5vw,48px);overflow-wrap:break-word}
.vnp-hero-media{display:grid;justify-items:center}
.vnp-hero-media .hero-gallery{width:min(100%,480px,58vh);border-radius:18px}
#home .hero-gallery #heroMainVisual,#home .hero-gallery .hero-outgoing{object-fit:contain}
.vnp-hero-controls{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px clamp(16px,3vw,42px);border-top:1px solid #667d983e;background:#090f1e}
.vnp-hero-arrows{flex-shrink:0}
.vnp-hero-arrows button{width:40px;height:40px;flex-shrink:0}
#heroSlideIndexLabel{min-width:4ch;text-align:center}
#projects-section .editorial-photo,#newsCardsGrid .editorial-photo{aspect-ratio:16/9;object-fit:contain;background:#151c26;object-position:center}
#newsCardsGrid article:hover{transform:none}
#newsCardsGrid article>.editorial-photo{flex-shrink:0}
#newsCardsGrid article>div:first-of-type{flex:1}
@media(max-width:900px){
 .vnp-hero-layout{grid-template-columns:minmax(0,1fr);gap:20px}
 .vnp-hero-media .hero-gallery{width:min(100%,430px)}
}
@media(max-width:480px){
 .vnp-hero-controls{display:grid;grid-template-columns:minmax(0,1fr);justify-items:start}
 .vnp-hero-arrows{justify-self:end}
}

/* Keep wash and highlight effects off the actual photographs. */
#newsCardsGrid .spotlight-card::before{z-index:0}
#newsCardsGrid .editorial-photo{position:relative;z-index:1}
#newsCardsGrid article:hover h3{color:#f3f7fb}
.vnp-hero-shell :focus-visible{outline-offset:2px}
@media(prefers-reduced-motion:reduce){

 .spotlight-card,.spotlight-card::before{transition:none}
 .spotlight-card:hover{transform:none}
}

.chair-config{display:grid;gap:12px;padding-top:4px}
.chair-option-group{min-width:0;margin:0;padding:0;border:0}
.chair-option-group legend{color:#b9d0e3;font-size:13px;font-weight:700;margin-bottom:6px}
.chair-options{display:flex;flex-wrap:wrap;gap:6px}
.chair-options button{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:6px 9px;border:1px solid #475c73;border-radius:8px;background:#152237;color:#e8f0fa;font-size:12px;cursor:pointer}
.chair-options button[hidden]{display:none}
.chair-options button:hover{border-color:#85c4e2}
.chair-options button[aria-pressed=true]{border-color:#83d9f2;background:#23445c;color:#fff}
.chair-swatch{display:inline-block;width:15px;height:15px;border:1px solid #a4b3c1;border-radius:50%;flex-shrink:0}
.chair-gallery{margin-top:10px}
.chair-caption,.chair-choice-summary p{font-size:12px;line-height:1.5;margin-top:5px;color:#bacada}
.chair-choice-summary{padding:9px 11px;border-radius:8px;background:#102133;border:1px solid #3a5871;font-size:13px}
#productQuickBody .product-stage img.chair-reference{background:#f8f8f8;padding:5%}

#productQuickBody [data-chair-image][hidden],.chair-color-sample[hidden]{display:none}
.chair-color-sample{width:100%;height:100%;background:var(--sample-color);display:grid;place-items:center}
.chair-color-sample{color:#fff;text-shadow:0 1px 5px #000,0 1px 10px #000;font-weight:750;font-size:clamp(16px,3vw,26px)}
.chair-color-sample{width:auto;height:auto;display:inline-flex;gap:8px;align-items:center;margin-top:8px;padding:5px 8px;border:1px solid #475c73;border-radius:8px;background:#152237;text-shadow:none;font-size:12px}
.chair-color-sample::before{content:"";width:16px;height:16px;border:1px solid #a4b3c1;border-radius:50%;background:var(--sample-color)}
.catalog-swatches{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:2px}
.catalog-swatches button{display:grid;place-items:center;width:26px;height:28px;border-radius:6px;cursor:pointer}
.catalog-swatches button span{width:14px;height:14px;border-radius:50%;border:1px solid #9aaabd}
.catalog-swatches button:hover{background:#314960}
.chair-options button{min-height:44px}
#productQuickModal [aria-label="Đóng chi tiết sản phẩm"]{z-index:2}

/* Match the showroom photography to the banner without overlaying the products. */
#home .vnp-hero-shell{
 background:radial-gradient(ellipse at 78% 25%,#26323b 0,transparent 60%),linear-gradient(120deg,#090f1a,#141d26);
 border-color:#52616e70;
}
#home .vnp-hero-shell>div:first-child{opacity:.22}
#home .vnp-hero-media .hero-gallery{
 border-color:#71839555;
 box-shadow:0 16px 44px #0006;
 background:#171b20;
}
#home .vnp-hero-controls{background:#0b121e}
#home .hero-tab{background:transparent;border-color:#415364}
#home .hero-tab[aria-current=true]{background:#192c3d;border-color:#87bccf;color:#eefaff}
#home .hero-tab:hover{border-color:#9cddf1}
#home .hero-tab:active{background:#243d50}

.robot-sector{max-width:1460px;margin:auto;padding:clamp(18px,4vw,44px) clamp(16px,3vw,32px)}
.robot-intro,.robot-support{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.robot-intro h2{font-size:clamp(30px,4vw,48px);font-weight:800;letter-spacing:-.035em}
.robot-sector p{color:#c2cedc;line-height:1.55}
.robot-intro p,.robot-support p{max-width:720px;margin-top:6px}
.robot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}
.robot-card,.robot-support{background:#121b2a;border:1px solid #354559;border-radius:16px;overflow:hidden}
.robot-card{display:flex;flex-direction:column}
.robot-card img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#171c23}
.robot-card>div{display:flex;flex:1;flex-direction:column;gap:8px;padding:15px}
.robot-card h3,.robot-support h3{font-size:19px;font-weight:750}
.robot-sector .robot-category{color:#8bd7ed;font-size:13px;font-weight:750}
.robot-sector button{min-height:42px;border:1px solid #456277;border-radius:9px;padding:7px 13px;color:white;font-weight:700}
.robot-sector button:hover{border-color:#8bd7ed}
.robot-card button{align-self:start;margin-top:auto}
.robot-support{padding:15px}
.robot-note{font-size:13px;margin-top:10px}
@media(max-width:720px){.robot-grid{grid-template-columns:1fr}}

.advisor{display:block;padding:clamp(16px,3vw,30px)}
.advisor h2{font-size:clamp(23px,3.2vw,35px);font-weight:800}
#advisor-form{display:grid;grid-template-columns:1.2fr .55fr 1fr 1fr auto;gap:12px;align-items:end;margin-top:18px}
#advisor-form label{display:grid;gap:5px;font-size:13px;color:#d5e3ef}
#advisor-form :is(select,input){min-width:0;width:100%;height:42px;border:1px solid #456277;border-radius:8px;background:#0b1524;color:#fff;padding:7px 9px}
#advisor-result:not(:empty){margin-top:20px;border-top:1px solid #354559;padding-top:15px}
#advisor-result ul{display:grid;gap:8px;margin:10px 0}
#advisor-result li{display:flex;gap:10px;align-items:center;padding:8px;border:1px solid #354559;border-radius:8px}
#advisor-result li img{flex:none;object-fit:contain;aspect-ratio:1;border-radius:6px}
#advisor-result li button{margin-left:auto;flex:none}
#advisor-result [data-advisor-quote]{margin-top:10px}
@media(max-width:900px){#advisor-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){#advisor-form{grid-template-columns:1fr}#advisor-result li{flex-wrap:wrap}}

.support-chat{display:block;padding:clamp(16px,3vw,30px)}
.support-chat h2{font-size:clamp(24px,3.5vw,38px);font-weight:800}
.support-link,.support-prompts a{display:inline-block;color:#90def2;text-decoration:underline;padding:6px 0}
.support-prompts,#support-form{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}
#support-thread{display:grid;gap:8px;max-height:425px;overflow:auto;margin-top:12px}
.support-turn{padding:10px 12px;border-radius:9px;background:#0d1726;border:1px solid #354559;overflow-wrap:anywhere}
.support-turn p{white-space:pre-line}
.support-turn button{margin-top:8px}
#support-question{min-width:0;flex:1 1 210px;background:#0b1524;border:1px solid #456277;border-radius:8px;color:white;padding:10px}

.ai-intro{padding:clamp(18px,4vw,40px);border:1px solid #435c71;border-radius:18px;background:radial-gradient(ellipse at 85% 10%,#264157,transparent 60%),#101a29}
.ai-intro h2{color:#f4f8fd}
.ai-intro-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.ai-intro-actions a{color:#a4def0;text-decoration:underline}
#ai-robot .robot-card{box-shadow:0 10px 28px #0003;transition:border-color .25s,box-shadow .25s}
#ai-robot .robot-card:focus-within,#ai-robot .robot-card:hover{border-color:#78bed4;box-shadow:0 12px 30px #061c2a}
#ai-robot .robot-card button{background:#20364b}
.ai-assistance{max-width:1460px;margin:auto;padding:0 clamp(16px,3vw,32px);display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px}
.ai-assistance>.robot-sector{min-width:0;width:100%;margin:0;padding:0}
.ai-assistance .robot-support{height:100%;background:linear-gradient(150deg,#17283d,#111a29 66%)}
.ai-assistance #advisor-form{grid-template-columns:repeat(2,minmax(0,1fr))}
.ai-assistance #advisor-form button{justify-self:start}
.support-turn{animation:support-appear .22s ease-out;background:#142337}
.support-turn-customer{margin-left:clamp(10px,4vw,44px);background:#20394c;border-color:#3e6177}
@keyframes support-appear{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:880px){.ai-assistance{grid-template-columns:1fr}}
@media(max-width:520px){.ai-assistance #advisor-form{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#ai-robot .robot-card{transition:none}.support-turn{animation:none}}

/* Shared finishing across the storefront. */
body{color:#edf2f7}
#productsShowcaseGrid .catalog-card,#newsCardsGrid article{border-color:#42526880;background:linear-gradient(155deg,#142235,#0e1624 75%)}
#productsShowcaseGrid .catalog-card:hover,#newsCardsGrid article:hover{border-color:#78a6bd}
.catalog-meta p,#newsCardsGrid article p{color:#bdc9d8}
.catalog-dock{padding-inline:clamp(10px,1.25vw,17px)}
.catalog-dock button{white-space:normal;text-align:center}
.product-stage img,.editorial-photo,.hero-gallery img{image-rendering:auto}
.vnp-solution-image,.vnp-space-image{background:#151d29}
#projects-section .project-caption span:last-child{max-width:100%}
#projects-section .editorial-photo,#newsCardsGrid .editorial-photo{border:1px solid #768da42e}

@media(max-width:420px){
 .catalog-dock{min-height:60px}
 .catalog-meta{padding-inline:12px}
 .vnp-hero-controls{padding-inline:12px}
 .ai-intro-actions{gap:8px}
}
@media(prefers-reduced-motion:reduce){

 .vnp-header-emblem *,.vnp-wordmark,.animate-pulse,.animate-ping{animation:none!important}
}
