/*
Theme Name: Halong Wave
Text Domain: halongwave-theme
Version: 4.0.0
Requires at least: 6.8
Requires PHP: 8.3
Description: UI Gemini tích hợp CMS WordPress native.
*/
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:200 800;font-display:swap;src:url("assets/fonts/plus-jakarta-sans-variable.ttf") format("truetype")}
main{flex:1;min-width:0}
.hw-brand-text{font-weight:800;font-size:clamp(1rem,2vw,1.65rem);letter-spacing:-.04em;color:var(--hl-primary)}
.hl-footer .hw-brand-text{color:var(--hl-white)}
.hl-header__inner,.hl-header__nav,.hl-header__actions,.hl-nav-list{min-width:0}
.hl-header__inner{gap:1rem}
.hl-nav-list{gap:clamp(.65rem,1.3vw,1.5rem)}
.hl-nav-link{font-size:.9rem;white-space:nowrap}
.hl-header__logo{max-width:230px}
.hl-header__logo .custom-logo-link{display:block}
.hl-nav-list li{position:relative}
.hl-nav-list .sub-menu{display:none;position:absolute;left:0;top:100%;padding:1rem;background:white;box-shadow:var(--hl-shadow-md);min-width:200px}
.hl-nav-list li:hover>.sub-menu,.hl-nav-list li:focus-within>.sub-menu{display:block}
.hl-nav-list .sub-menu a{display:block;white-space:normal}
.hl-mobile-drawer .sub-menu{padding-left:1rem}
.hl-mobile-drawer__links a{display:block}
.hl-mobile-drawer{height:100dvh}
.hw-drawer-close{align-self:flex-end}
.hl-hero__inner,.hl-dual-grid,.hl-quote-box,.hl-product-grid,.hl-news-grid,.hl-footer__top{min-width:0}
.hl-hero__inner>*,.hl-dual-grid>*,.hl-quote-box>*,.hl-product-grid>*,.hl-news-grid>*,.hl-footer__top>*{min-width:0}
.hl-hero__inner.hw-text-only:not(:has(.hl-hero__visual)),.hl-dual-grid.hw-text-only:not(:has(.hl-intro-pillars)),.hl-quote-box.hw-text-only{grid-template-columns:minmax(0,1fr)}
.hw-page-heading{padding-top:var(--hl-space-16)}
.hw-section-content{align-self:center}
.hw-section-image{display:block;max-height:560px;width:auto;margin:0 auto 2rem;object-fit:contain;border-radius:var(--hl-radius-xl)}
.hw-plain-text{white-space:pre-line;overflow-wrap:anywhere}
.hw-section-cta{display:flex;justify-content:center;margin-top:2rem}
.hw-empty-state{padding:2rem;border:1px solid var(--hl-border-subtle);border-radius:var(--hl-radius-lg);background:var(--hl-white);color:var(--hl-dark)}
.hw-entry-content{font-size:1.05rem;line-height:1.8;overflow-wrap:anywhere}
.hw-entry-content>*+*{margin-top:1.25rem}
.hw-entry-content ul,.hw-entry-content ol{padding-left:1.5rem;list-style:revert}
.hw-entry-content a,.hw-quality-claim a,.hw-contact-details a{color:var(--hl-primary);text-decoration:underline}
.hw-entry-content table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}
.hw-entry-content td,.hw-entry-content th{border:1px solid var(--hl-border-subtle);padding:.75rem}
.hw-entry-image{max-height:600px;width:auto;margin:0 auto 2rem;border-radius:var(--hl-radius-xl)}
.hw-entry-figure{margin:0 auto 2rem;text-align:center}
.hw-entry-figure .hw-entry-image{margin-bottom:.5rem}
.hw-entry-image-caption,.hl-news-card__image-note{font-size:.75rem;line-height:1.5;color:#475569}
.hl-news-card__image-note{padding:0 1.5rem;margin:-.25rem 0 1rem}
.hw-article{max-width:920px}
.hw-product-description{margin:3rem 0}
.hw-product-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:2rem 0}
.hw-product-specs>div{padding-bottom:.75rem;border-bottom:1px solid var(--hl-border-subtle)}
.hw-product-specs dt{font-size:.85rem;color:#475569}
.hw-product-specs dd{font-weight:700}
.hw-product-categories{margin:1.5rem 0}
.hw-product-categories a{color:var(--hl-primary);text-decoration:underline}
.hw-product-main-image{max-height:480px;width:auto;margin:auto;object-fit:contain}
.hw-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-top:1rem}
.hw-gallery-grid img{width:100%;height:120px;object-fit:contain;background:var(--hl-light);border-radius:var(--hl-radius-md)}
.hw-price-panel{padding:1.5rem;background:var(--hl-light);border-left:4px solid var(--hl-secondary);border-radius:var(--hl-radius-lg);margin-top:1.5rem}
.hw-category-filter{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:2rem}
.hw-no-image{font-size:.85rem;color:#475569}
.hw-quality-claim{padding:1.5rem;border:1px solid var(--hl-border-subtle);border-radius:var(--hl-radius-lg);margin:1rem 0}
.hw-quality-claim p+p{margin-top:.75rem}
.hw-contact-details{overflow-wrap:anywhere}
.hw-contact-details dt{font-size:.8rem;font-weight:700;margin-top:.75rem}
.hw-contact-details dd{margin-top:.25rem}.hl-footer__brand-contacts{display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:.5rem;row-gap:.35rem;margin:0 0 var(--hl-space-4);max-width:340px;font-size:var(--hl-text-sm)}.hl-footer__brand-contacts dt{color:#CBD5E1;font-weight:600}.hl-footer__brand-contacts dd{min-width:0;margin:0;overflow-wrap:anywhere}.hl-footer__brand-contacts a{overflow-wrap:anywhere}
.hw-contact-layout{align-items:start}
.hw-form-panel{padding:2rem;background:var(--hl-light);border-radius:var(--hl-radius-xl);margin-top:2rem}
.hw-product-detail .hw-form-panel{max-width:850px;margin:3rem auto 0}
.hw-breadcrumb{padding-top:1.25rem;font-size:.85rem;color:#475569}
.hw-breadcrumb ol{display:flex;flex-wrap:wrap;gap:.5rem}
.hw-breadcrumb li+li::before{content:"/";margin-right:.5rem;color:#64748b}
.hw-breadcrumb a{text-decoration:underline}
.navigation.pagination,.post-navigation{margin:2rem 0}
.page-numbers{display:inline-block;padding:.5rem .8rem;margin:.2rem;border:1px solid var(--hl-border-subtle);border-radius:var(--hl-radius-sm)}
.page-numbers.current{background:var(--hl-primary);color:white}
.hl-footer__top{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr) minmax(0,.8fr) minmax(0,1.4fr)}
.hl-footer .hw-contact-details dt{color:#CBD5E1}
.hl-footer .hw-contact-details a{color:var(--hl-secondary)}
.hl-footer .hw-contact-details__legal-name{margin:0 0 .75rem;color:#fff;font-weight:700;overflow-wrap:anywhere}
.hl-footer__brand-desc{overflow-wrap:anywhere}
.hl-footer__logo{display:inline-flex;align-items:center;gap:.75rem}
.hl-footer__logo .custom-logo{width:64px;height:64px;object-fit:contain;padding:3px;background:#fff;border-radius:50%;box-shadow:0 4px 12px rgba(0,0,0,.15)}
.hl-footer .hl-brand-lockup__name{margin:0}
.hl-footer__bottom-links{display:flex;flex-wrap:wrap;gap:var(--hl-space-4)}
.hl-footer__credit{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;padding:16px 0;color:#cbd5e1;font-size:12.5px;line-height:1.35;font-style:italic;text-align:center}
.hl-footer__credit-icon{display:block;flex:0 0 auto;width:21px;height:21px;object-fit:contain}
.hl-footer__credit-link{color:inherit;font-weight:600;font-style:inherit;text-decoration:none;transition:color .16s ease,opacity .16s ease}
.hl-footer__credit-link:hover{color:#fff;opacity:.9}
.hl-footer__credit-link:focus-visible{outline:2px solid #fff;outline-offset:3px;border-radius:2px}
.hl-footer__group{min-width:0}
.hl-floating-contact--left{right:auto;left:clamp(16px,2.5vw,28px);align-items:flex-start}
.hw-floating-contact--no-desktop{display:none!important}
.admin-bar .hl-header{top:32px}
.screen-reader-text{border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}
.hl-form [hidden],.hw-inquiry-form [hidden]{display:none!important}
@media(max-width:1100px){.hl-header__hotline{display:none}.hl-nav-list{gap:.75rem}.hw-header-cta{display:none}}
@media(max-width:1024px){.hl-hero__inner,.hl-dual-grid,.hl-quote-box{grid-template-columns:minmax(0,1fr)}.hl-footer__top{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.hl-product-grid,.hl-news-grid,.hl-footer__top{grid-template-columns:minmax(0,1fr)}.hl-quote-box,.hw-form-panel{padding:1.5rem}.hw-product-specs{grid-template-columns:minmax(0,1fr)}.hw-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hl-hero__title{overflow-wrap:anywhere;font-size:clamp(2rem,9vw,3rem)}.hl-header__logo{max-width:200px}.hl-header__logo img{max-width:180px;object-fit:contain}}
@media(max-width:782px){.admin-bar .hl-header{top:46px}}
@media(max-width:767px){.hl-footer__top{grid-template-columns:minmax(0,1fr)}.hl-footer__bottom{align-items:flex-start;flex-direction:column}.hl-footer__bottom-links{justify-content:flex-start}}
@media(max-width:767px){.hl-footer__credit{gap:6px;padding:14px 0;font-size:12px}.hl-footer__credit-icon{width:19px;height:19px}}
@media(max-width:767px){.hw-floating-contact--no-desktop{display:flex!important}.hw-floating-contact--no-mobile{display:none!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hl-mobile-drawer{transition:none;will-change:auto}}

/* V2.2 footer contact rows align their labels and values on a shared grid. */
.hl-footer__brand-contacts{display:grid;grid-template-columns:5.5rem minmax(0,1fr);column-gap:.75rem;row-gap:.4rem;margin:.75rem 0 0;align-items:baseline}
.hl-footer__brand-contacts dt,.hl-footer__brand-contacts dd{margin:0;min-width:0}
.hl-footer__brand-contacts dd{overflow-wrap:anywhere}
@media(max-width:767px){.hl-footer__brand-contacts{grid-template-columns:5.25rem minmax(0,1fr);column-gap:.5rem}}

/* Footer V2 company name: one CMS-bound line on desktop/tablet; wrap only on narrow screens. */
.hl-footer__company-lockup{font-size:.875rem;letter-spacing:0;white-space:nowrap}
@media(max-width:767px){.hl-footer__company-lockup{white-space:normal;overflow-wrap:anywhere}}
