/* Responsive */
@media (max-width: 1025px) {
	#hamburger {
		display: block;
	}
	.menu-head {
		display: none;
	}
	/* (Dòng này từng lỗi cú pháp: "}art-head {" — làm hỏng phần còn lại của khối @media) */
	.cart-head {
		padding: 5px;
		font-size: 12px;
	}
	.header {
		padding: 10px 0px;
	}
	.flex-product-main {
		display: block;
	}
	.flex-product-main .left-product {
		position: fixed;
		z-index: 999;
		top: 0px;
		left: 0px;
		width: 280px;
		transform: translateX(-280px);
		bottom: 0px;
		overflow-y: auto;
		overflow-x: hidden;
		background: #fff;
		box-shadow: 0px 0px 15px rgba(0,0,0,.25);
		transition: all 0.4s ease;
		border-radius: 0;
	}
	.flex-product-main .left-product.show {
		transform: translateX(0px);
	}

	.flex-product-main .right-product {
		width: 100%;
	}

	.grid-product {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}
	.filter{display: flex;}
	.menu-mobile-btn {
		display: flex;
		width: 35px;
		height: 35px;
		position: relative;
		flex-wrap: wrap;
		cursor: pointer;
		left: 0px;
	}
	.menu-mobile-btn span {
		display: inline-block;
		width: 100%;
		height: 3px;
		background: #000;
		margin: 4px 0px;
		left: 0;
	}
	.wrap-menu{width: calc(100% - 60px);}
	.menu ul {
		display: none !important;
	}
}
@media (max-width: 850px) {
	.news-left{width: 100%;}
	.news-right{width: 100%;margin-top: 30px;padding: 10px;}
}
@media (max-width: 769px) {
	.gutter-x-20{--bs-gutter-x: 10px;}
	.flex-about {
		flex-wrap: wrap;
	}
	.content-about {
		width: 100%;
	}

	.photo-about {
		margin-top: 20px;
		width: 100%;
		text-align: center;
	}
	.flex-video{
		flex-wrap: wrap;
	}
	.wr-video{width: 100%;}
	.wr-form{width: 100%;margin-top: 20px;}
	.item-news{padding: 5px;}
	.ds-news h3{font-size: 14px;}
	.text-cart{display: none;}
	.grid-pro-detail {
		display: block;
	}
	.grid-pro-detail .left-pro-detail {
		width: 100%;
		padding: 0px;
		border-right: none;
		/* Bỏ dính (sticky) ở responsive — layout đã chuyển sang xếp chồng (display:block),
		   sticky chỉ hợp lý với layout 2 cột trên desktop, trên mobile gây dính màn hình
		   một đoạn rồi mới thả ra, gây khó chịu khi cuộn. */
		position: static;
		top: auto;
	}
	.slick_photo1 {
		text-align: center;
	}
	.grid-pro-detail .right-pro-detail {
		width: 100%;
	}
	.grid-product, .grid-news {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.info-footer .flex-footer{
		display: block;
	}
	.box-footer{width: 100% !important;margin-top: 20px;}
}
@media (max-width: 440px) {

}
@media (max-width: 369px) {

}
/* ========================================================================
   ĐIỆN NƯỚC HOÀNG HÙNG — GIAO DIỆN ĐIỆN THOẠI / MÁY TÍNH BẢNG
   Sửa trực tiếp file responsive gốc; desktop >=1025px không bị tác động.
   ======================================================================== */
@media (max-width: 1024px) {
    /* Header gọn, logo luôn nằm giữa cả khi đang sticky / trang không có banner. */
    .hh-nav .hh-nav-bar { height: 72px; justify-content:space-between; }
    .hh-nav .hh-nav-burger { width:44px; height:44px; padding:11px 9px; margin:0; display:flex!important; justify-content:center; border-radius:10px; background:#F2F6FF; }
    .hh-nav .hh-nav-burger span { width:24px; height:2px; background:#0B4DBB; }
    .hh-nav .hh-nav-logo,
    .hh-nav.hh-nav--compact .hh-nav-logo,
    .hh-nav.is-scrolled .hh-nav-logo { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); display:flex; justify-content:center; align-items:center; align-self:center; width:96px; min-width:96px; height:70px; padding:4px 10px; border-radius:0 0 14px 14px; background:#F4B000; }
    .hh-nav .hh-nav-logo-img,
    .hh-nav.hh-nav--compact .hh-nav-logo-img,
    .hh-nav.is-scrolled .hh-nav-logo-img { width:65px; height:62px; object-fit:contain; }
    .hh-nav .hh-nav-tools { margin:0; position:static; transform:none; gap:2px; }
    .hh-nav .nav-search { display:flex; }
    .hh-nav .nav-search-toggle { margin:0; padding:10px; }
    .hh-nav .nav-lang { margin:0; }
    .hh-nav .nav-lang-btn { padding:7px; min-width:40px; min-height:40px; border-radius:8px; }
    .hh-nav .nav-lang-label { display:none; }
    .hh-nav .nav-lang-caret { display:none; }
    .hh-nav .nav-search--icon-mode .nav-search-box { right:-46px; }
    body.nav-pinned, body.nav-menu-fixed { padding-top:72px; }

    /* Menu trượt bên trái: nền sáng, phân cấp rõ và vùng bấm thoải mái. */
    .mmenu-offcanvas { width:min(340px,88vw); max-width:88vw; background:#FFFFFF; }
    .mmenu-offcanvas .menu-mobile { min-height:100%; background:#FFFFFF; animation:none; }
    .mmenu-offcanvas .mmenu-head { padding:12px 18px; min-height:82px; border-bottom:1px solid #E1EAFA; background:#F5F8FF; }
    .mmenu-offcanvas .mmenu-logo-img { max-height:56px; }
    .mmenu-offcanvas .btn-close-menu { width:38px; height:38px; color:#0B4DBB; border:1px solid #DCE7F8; border-radius:10px; background:#FFFFFF; }
    .mmenu-offcanvas .mmenu-ul { padding:8px 10px; flex:1 0 auto; }
    .mmenu-offcanvas .mmenu-ul > li > a { min-height:48px; padding:12px 46px 12px 12px; border-bottom:1px solid #ECF1F8; border-radius:6px; color:#173057; font-size:15px; line-height:22px; }
    .mmenu-offcanvas .mmenu-ul > li > a.active,
    .mmenu-offcanvas .mmenu-ul > li > a:hover { color:#0B4DBB; background:#EAF2FF; }
    .mmenu-offcanvas .mmenu-toggle { top:8px; right:8px; width:36px; height:36px; border-radius:8px; color:#0B4DBB; background:#EEF4FF; }
    .mmenu-offcanvas .mmenu-sub { margin:4px 0 8px; padding:5px 0; background:#F6F9FF; border-radius:8px; }
    .mmenu-offcanvas .mmenu-sub a { min-height:40px; padding:10px 12px 10px 24px!important; color:#2B4261; font-size:14px!important; line-height:20px; border-bottom:1px solid #E7EFFB; }
    .mmenu-offcanvas .mmenu-sub2 { margin:0 0 4px 10px; padding-left:8px; background:transparent; }
    .mmenu-offcanvas .mmenu-sub2 a { padding-left:20px!important; font-size:13px!important; color:#53657E; }
    .mmenu-offcanvas .mmenu-company { margin-top:0; padding:16px 20px 24px; border-top:1px solid #E1EAFA; background:#F5F8FF; }
    .mmenu-offcanvas .mmenu-company p,
    .mmenu-offcanvas .mmenu-company a { color:#354D72; font-size:13px; line-height:20px; overflow-wrap:anywhere; }
    .mmenu-offcanvas .mmenu-company p svg { color:#0B4DBB; }

    .hh-why .hh-heading { margin-bottom:32px; }
    .hh-why-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
    .hh-why-box--left { grid-column:1; }
    .hh-why-box--right { grid-column:2; }
    .hh-why-grid::before { width:100%; height:100%; top:0; }
    .hh-quote-box { gap:24px; padding:28px; }
    .hh-quote-brand { margin:0; gap:6px; }
    .hh-quote-form { margin:0; max-width:640px; height:auto; padding:26px; }
    .hh-quote-form .hh-field label { color:#344054; }
    .hh-quote-logo { max-width:140px; }
    .hh-faq { height:auto; max-height:none; align-items:stretch; padding:36px 0; }
    .hh-faq-grid { display:block; width:calc(100% - 32px); max-width:760px; height:auto; margin:0 auto; padding:24px; }
    .hh-faq-list { overflow:visible; max-height:none; padding:0; gap:12px; }
    .hh-faq-blob { display:none; }
    .hh-footer-map, .hh-footer-fanpage { width:100%; max-width:100%; }
    .hh-footer-map iframe { width:100%; }
}

@media (max-width: 767px) {
    /* Nhịp khoảng cách và typography nhất quán. */
    .wrap-content, .max-width { width:calc(100% - 32px); }
    .hh-page { padding:26px 0 42px; }
    .hh-page-head { margin-bottom:20px; }
    .hh-about, .hh-services, .hh-why, .hh-album, .hh-videos, .hh-quote, .hh-news { padding:24px 0; }
    /* Mobile: bỏ khoảng đệm chồng giữa Giới thiệu -> Dịch vụ -> Vì sao lựa chọn. */
    .hh-about { padding-bottom:12px; }
    .hh-services { padding-top:18px; padding-bottom:12px; }
    .hh-why { padding-top:16px; padding-bottom:24px; }
    .hh-heading, .hh-faq-heading { font-size:clamp(22px,5.8vw,27px); line-height:1.35; margin-bottom:14px; }
    .hh-why .hh-heading { margin-bottom:16px; }
    .hh-heading--center { max-width:94%; margin-left:auto; margin-right:auto; }
    .hh-btn-yellow, .hh-btn-outline { min-height:44px; padding:11px 17px; font-size:14px; line-height:21px; border-radius:8px; }
    .hh-btn-yellow:hover { transform:none; }

    /* Header/hero. Chiều cao banner vừa đủ mà không đổi ảnh do Dashboard quản lý. */
    .hh-nav .hh-nav-bar { height:64px; }
    .hh-nav .hh-nav-logo,
    .hh-nav.hh-nav--compact .hh-nav-logo,
    .hh-nav.is-scrolled .hh-nav-logo { width:84px; min-width:84px; height:64px; padding:4px 8px; }
    .hh-nav .hh-nav-logo-img,
    .hh-nav.hh-nav--compact .hh-nav-logo-img,
    .hh-nav.is-scrolled .hh-nav-logo-img { width:56px; height:55px; }
    body.nav-pinned, body.nav-menu-fixed { padding-top:64px; }
    .hh-hero .hh-hero-img { width:100%; height:clamp(190px,53vw,320px); object-fit:cover; object-position:center; }
    .hh-hero .swiper-button-prev, .hh-hero .swiper-button-next { width:28px; height:28px; margin-top:-14px; border-radius:50%; background:rgba(255,255,255,.85); color:#0B4DBB; }
    .hh-hero .swiper-button-prev::after, .hh-hero .swiper-button-next::after { font-size:12px; font-weight:700; }

    /* 4 số liệu: giữ thành 2x2, bỏ các khối cắt chéo desktop. */
    .hh-stats { padding:14px 0 0; background:#FFFFFF; }
    .hh-stats-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:0 16px; }
    .hh-stats-row .hh-stat, .hh-stats-row .hh-stat--wide, .hh-stats-row .hh-stat--narrow { min-height:112px; width:100%; margin:0; padding:12px; aspect-ratio:auto; flex:none; border-radius:12px; clip-path:none; }
    .hh-stats-row .hh-stat-body { padding:0 4px; }
    .hh-stat-number { font-size:clamp(23px,6vw,30px); line-height:1.3; white-space:normal; overflow:visible; }
    .hh-stat-label { font-size:12px; line-height:1.45; white-space:normal; overflow:visible; text-overflow:clip; }

    /* Giới thiệu: ảnh lớn trước, chữ dễ đọc sau. */
    .hh-about { overflow:hidden; }
    .hh-about::before { width:100%; height:100%; }
    .hh-about-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:18px; }
    .hh-about-media { max-width:500px; margin:auto; width:100%; }
    .hh-about-img { display:block; max-height:430px; object-fit:cover; }
    .hh-about-accent { transform:scale(.72); }
    .hh-about-accent--tl { transform-origin:top left; }
    .hh-about-accent--br { transform-origin:bottom right; }
    .hh-about-phone { width:185px; height:54px; padding-left:9px; }
    .hh-about-content { gap:16px; }
    .hh-about-head { gap:10px; }
    .hh-about-title { font-size:clamp(23px,6.2vw,29px); line-height:1.35; }
    .hh-about-desc { font-size:15px; line-height:1.7; overflow-wrap:anywhere; }

    /* Dịch vụ: card cao tự nhiên, không bóp chữ thành 9–11px. */
    /* Tab dịch vụ mobile: một hàng pill nhỏ gọn, vuốt ngang để xem thêm. */
    .hh-services .hh-service-tabs {
        display:flex;
        flex-wrap:nowrap;
        justify-content:flex-start;
        align-items:center;
        width:100%;
        max-width:100%;
        box-sizing:border-box;
        gap:8px;
        margin:0 0 16px;
        padding:3px 2px 8px;
        background:transparent;
        border:0;
        border-radius:0;
        overflow-x:auto;
        overflow-y:hidden;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
        scroll-snap-type:x proximity;
        scroll-padding-left:2px;
        overscroll-behavior-inline:contain;
    }
    .hh-services .hh-service-tabs::-webkit-scrollbar { display:none; }
    .hh-services .hh-service-tab {
        display:inline-flex;
        flex:0 0 auto;
        justify-content:center;
        align-items:center;
        box-sizing:border-box;
        min-width:0;
        width:auto;
        height:39px;
        min-height:39px;
        margin:0;
        padding:0 15px;
        border:1px solid #D6E3F7;
        border-radius:999px;
        background:#F1F6FF;
        color:#174C9B;
        font-size:13px;
        font-weight:500;
        line-height:1.35;
        text-align:center;
        white-space:nowrap;
        overflow-wrap:normal;
        box-shadow:none;
        scroll-snap-align:start;
        transition:background .2s ease, color .2s ease, border-color .2s ease;
    }
    .hh-services .hh-service-tab.is-active,
    .hh-services .hh-service-tab.is-active:hover {
        border-color:#0B4DBB;
        background:#0B4DBB;
        color:#FFFFFF;
        font-weight:600;
        box-shadow:0 2px 6px rgba(11,77,187,.14);
    }
    .hh-services .hh-service-tab:not(.is-active):hover { background:#E3EEFF; }
    .hh-services .hh-service-tab:focus-visible { outline:2px solid #F4B000; outline-offset:2px; }
    .hh-service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
    .hh-service-card { aspect-ratio:auto; min-width:0; overflow:hidden; background:#FFFFFF; border-radius:12px; box-shadow:0 5px 18px rgba(11,77,187,.08); }
    .hh-service-thumb { flex:none; width:100%; aspect-ratio:4/3; border-radius:12px 12px 0 0; }
    .hh-service-img { display:block; width:100%; height:100%; object-fit:cover; }
    .hh-service-body { flex:1; gap:9px; padding:12px; min-height:0; filter:none; transform:none; }
    .hh-service-body::before { display:none; }
    .hh-service-card:hover .hh-service-body { transform:none; filter:none; }
    .hh-service-name { display:block; font-size:14px; line-height:1.4; min-height:0; overflow:visible; }
    .hh-service-name a { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
    .hh-service-desc { font-size:12px; line-height:1.5; min-height:0; -webkit-line-clamp:2; }
    .hh-service-body .hh-btn-yellow--sm { align-self:stretch; min-height:37px; margin-top:auto; padding:8px 6px; font-size:11px; line-height:17px; white-space:normal; text-align:center; }
    .hh-service-more, .hh-news-more, .hh-album-more { margin-top:14px; }
    .hh-service-more .hh-btn-outline,
    .hh-news-more .hh-btn-outline,
    .hh-album-more .hh-btn-outline {
        background:#F4B000;
        border-color:#F4B000;
        color:#0B4DBB;
        font-weight:700;
        box-shadow:0 8px 18px rgba(244,176,0,.28);
    }
    .hh-service-more .hh-btn-outline:hover,
    .hh-news-more .hh-btn-outline:hover,
    .hh-album-more .hh-btn-outline:hover {
        background:#E0A300;
        border-color:#E0A300;
        color:#0B4DBB;
    }

    /* Vì sao chọn: 1 cột, không vuông và không cắt câu trả lời. */
    .hh-why-heading-brand { font-size:1.14em; }
    .hh-why-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
    .hh-why-box--left, .hh-why-box--right { grid-column:1; }
    .hh-why-box { display:grid; grid-template-columns:46px minmax(0,1fr); align-items:center; justify-content:stretch; gap:4px 13px; aspect-ratio:auto; min-height:0; padding:16px; text-align:left; border-radius:12px; overflow:visible; }
    .hh-why-ico { width:46px; height:46px; grid-column:1; grid-row:1 / span 2; padding:8px; }
    .hh-why-ico-img { width:100%; height:100%; object-fit:contain; }
    .hh-why-name { grid-column:2; display:block; font-size:16px; line-height:1.4; overflow:visible; }
    .hh-why-desc { grid-column:2; display:block; font-size:13px; line-height:1.55; overflow:visible; }
    .hh-why-box:hover { transform:none; }

    /* Album mobile: 2 cot masonry, anh giu dung ty le goc, khong bi cat va khong chiem ca man hinh. */
    .hh-album { padding:25px 0 30px; border-radius:20px 20px 0 0; }
    .hh-album .hh-heading { font-size:clamp(18px,4.8vw,23px); line-height:1.4; margin-bottom:17px; }
    .hh-album .hh-page-head,
    .hh-videos .hh-page-head,
    .hh-news .hh-page-head,
    .hh-why .hh-page-head,
    .hh-services .hh-page-head { margin-bottom:16px; }
    .hh-album .hh-album-grid { display:block; column-count:2; column-gap:10px; }
    .hh-album .hh-album-item {
        display:block; width:100%; height:auto; aspect-ratio:auto;
        break-inside:avoid; -webkit-column-break-inside:avoid;
        margin:0 0 10px; border-radius:10px;
        overflow:hidden; background:#123D7A;
        box-shadow:0 4px 12px rgba(2,25,75,.17);
    }
    .hh-album .hh-album-img {
        display:block; width:100%; height:auto; max-height:none;
        aspect-ratio:auto; object-fit:contain;
        transform:none;
    }
    .hh-album .hh-album-item:hover .hh-album-img { transform:none; }
    /* Tren dien thoai, nhan chu de tren anh qua nho va lam anh bi roi. Van giu title/alt va Fancybox. */
    .hh-album .hh-album-caption { display:none; }
    .hh-album .hh-album-more { margin-top:14px; }

    /* 1 video hoặc 1 tin tức/khung ở điện thoại; vẫn 2 mục ở tablet. */
    .hh-video-wrap { width:calc(100% - 32px); }
    .hh-video-stage-mobile { margin:0; padding-bottom:42px; }
    .hh-video-stage-mobile .hh-video-card { width:100%; aspect-ratio:4/3; border-radius:12px; }
    .hh-video-stage-mobile .hh-video-img { height:100%; object-fit:cover; }
    .hh-video-stage-mobile .hh-video-caption { padding:34px 16px 15px; }
    .hh-video-stage-mobile .hh-video-name { font-size:16px; line-height:1.35; -webkit-line-clamp:2; }
    .hh-video-stage-mobile .hh-video-prev-m,
    .hh-video-stage-mobile .hh-video-next-m { top:auto; bottom:0; width:36px; height:36px; transform:none; }
    .hh-video-stage-mobile .hh-video-prev-m { left:calc(50% - 44px); }
    .hh-video-stage-mobile .hh-video-next-m { right:calc(50% - 44px); }
    .hh-news-swiper { padding-bottom:24px; }
    .hh-news-swiper .hh-news-card { aspect-ratio:4/3; border-radius:12px; }
    .hh-news-swiper .hh-news-body { left:10px; right:10px; bottom:10px; padding:11px 12px; gap:5px; background:rgba(255,255,255,.92); }
    .hh-news-swiper .hh-news-name { font-size:14px; line-height:1.35; -webkit-line-clamp:2; }
    .hh-news-swiper .hh-news-meta { font-size:11px; line-height:17px; }
    .hh-news-swiper .swiper-button-prev, .hh-news-swiper .swiper-button-next { width:28px; height:28px; background:rgba(255,255,255,.9); border-radius:50%; }
    .hh-news-swiper .swiper-button-prev::after, .hh-news-swiper .swiper-button-next::after { font-size:13px; }

    /* FAQ được phép cao theo nội dung, không cần cuộn trong khung. */
    .hh-faq { padding:30px 0; max-height:none; }
    .hh-faq-grid { padding:22px 16px; width:calc(100% - 32px); border-radius:14px; }
    .hh-faq-heading { text-align:center; margin-bottom:18px; }
    .hh-faq-list { max-height:none; overflow:visible; padding:0; gap:10px; }
    .hh-faq-q { padding:15px 13px; gap:10px; }
    .hh-faq-q-text, .hh-faq-item.is-open .hh-faq-q-text { font-size:14px; line-height:1.5; }
    .hh-faq-sign { width:22px; height:22px; }
    .hh-faq-a-inner { padding:0 13px 14px; }
    .hh-faq-a p { font-size:13px; line-height:1.7; }

    /* Biểu mẫu báo giá: không tràn chiều ngang; nhãn luôn nhìn thấy. */
    .hh-quote-box { padding:20px 14px; gap:18px; border-radius:14px; }
    .hh-quote-brand { gap:4px; }
    .hh-quote-logo { max-width:108px; }
    .hh-quote-brand-name { font-size:22px; line-height:1.35; overflow-wrap:anywhere; }
    .hh-quote-brand-sub { font-size:14px; line-height:1.5; }
    .hh-quote-form { width:100%; max-width:100%; margin:0; padding:20px 16px; gap:13px; border-radius:12px; }
    .hh-quote-title { font-size:23px; line-height:1.4; margin:0 0 4px; }
    .hh-field-row { gap:13px; }
    .hh-field { width:100%; }
    .hh-field label { font-size:13px; line-height:1.5; }
    .hh-field input, .hh-field textarea { padding:12px 13px; font-size:14px; line-height:21px; min-height:45px; }
    .hh-field textarea { min-height:108px; }

    /* Trang con: khoảng cách, ảnh, sản phẩm, danh sách. */
    .hh-breadcrumbs { min-height:0; padding:12px 0; }
    .hh-breadcrumbs ol, .hh-breadcrumbs ul { font-size:12px; line-height:1.5; gap:5px; }
    .hh-breadcrumbs ol li, .hh-breadcrumbs ul li { gap:5px; overflow-wrap:anywhere; }
    .hh-newscard-grid, .hh-project-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
    .hh-newscard { border-radius:10px; }
    .hh-newscard-img { height:auto; aspect-ratio:4/3; object-fit:cover; }
    .hh-newscard-body { gap:7px; padding:12px; }
    .hh-newscard-title { font-size:14px; line-height:1.4; }
    .hh-newscard-desc { font-size:12px; line-height:1.5; -webkit-line-clamp:2; }
    .hh-newscard-more { font-size:12px; }
    .hh-project-item { aspect-ratio:4/5; border-radius:10px; }
    .hh-project-caption { padding:28px 11px 12px; }
    .hh-project-name { font-size:14px; line-height:1.4; }
    .hh-project-place { font-size:11px; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
    .hh-prod-toolbar { padding:12px; margin-bottom:16px; }
    .hh-prod-layout.has-filter { grid-template-columns:minmax(0,1fr); gap:16px; }
    .hh-prod-filter { padding:14px; }
    .hh-prod-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
    .hh-prod { border-radius:10px; }
    .hh-prod-img { height:auto; aspect-ratio:1; object-fit:cover; }
    .hh-prod-body { padding:12px; gap:7px; }
    .hh-prod-name { font-size:13px; line-height:1.45; }
    .hh-prod-price { flex-wrap:wrap; gap:4px 8px; }
    .hh-prod-price-new { font-size:15px; line-height:1.4; }
    .hh-detail-grid, .hh-contact-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; }
    .hh-detail-main, .hh-contact-info, .hh-contact-form-wrap { min-width:0; padding:18px 16px; border-radius:12px; }
    .hh-detail-title { font-size:23px; line-height:1.35; }
    .hh-detail-subtitle { font-size:19px; line-height:1.4; }
    .hh-detail-desc, .hh-detail-content, .hh-static-content { font-size:15px; line-height:1.75; overflow-wrap:anywhere; }
    .hh-detail-content img, .hh-static-content img, .hh-contact-rich img { max-width:100%; height:auto; }
    .hh-detail-content iframe, .hh-static-content iframe, .hh-contact-rich iframe { max-width:100%; }
    .hh-detail-gallery, .hh-static-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
    .hh-detail-cta { gap:10px; }
    .hh-pagination { margin-top:26px; }
    .hh-pagination .pagination { flex-wrap:wrap; justify-content:center; }
    .hh-pagination .page-item .page-link, .hh-pagination .pagination li a, .hh-pagination .pagination li span { min-width:36px; height:36px; padding:0 10px; }
    .hh-contact-map { margin-top:22px; border-radius:12px; }
    .hh-contact-map iframe { height:260px; }

    /* Mobile: nut Thong tin lien he - tach khoi nhom nut noi, mau vang/xanh de nhan biet. */
    .hh-mtopbar { z-index:1001; }
    .hh-mtopbar-circle { width:42px; height:42px; }
    .hh-mtopbar-circle .kenit-alo-circle,
    .hh-mtopbar-circle .kenit-alo-circle-fill { display:none; }
    .hh-mtopbar-btn {
        width:42px;
        height:42px;
        padding:0;
        background:#F4B000;
        color:#0B4DBB;
        border:2px solid #FFFFFF;
        box-shadow:0 4px 12px rgba(11,77,187,.2);
        transition:background .2s ease,transform .2s ease;
    }
    .hh-mtopbar-btn svg { width:20px; height:20px; }
    .hh-mtopbar.is-open .hh-mtopbar-btn { background:#FFFFFF; border-color:#F4B000; }
    .hh-mtopbar-panel {
        bottom:calc(100% + 12px);
        width:260px;
        max-width:calc(100vw - 32px);
        max-height:min(52vh,300px);
        overflow-y:auto;
        border:1px solid #E2EAF7;
        box-shadow:0 12px 28px rgba(12,43,95,.18);
    }

    /* V9: Hotline ben TRAI, mang xa hoi ben PHAI, Thong tin rieng ben trai.
       Moi icon MXH hien truc tiep, khong gom vao nut mo rong / khong co dau X. */
    #social.hh-device-mobile.hh-social-anim {
        position:fixed;
        display:flex!important;
        flex-direction:column;
        align-items:center;
        left:auto!important;
        right:14px!important;
        bottom:calc(86px + env(safe-area-inset-bottom, 0px))!important;
        width:42px;
        z-index:1002;
        transition:opacity .25s ease,visibility .25s ease,transform .25s ease;
    }
    #social.hh-device-mobile .hh-social-links,
    #social.hh-device-mobile.is-expanded .hh-social-links {
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:12px;
        width:42px;
        max-height:none;
        margin:0;
        padding:9px 0 3px;
        opacity:1;
        overflow:visible;
        visibility:visible;
        pointer-events:auto;
        transform:none;
        transition:none;
    }
    #social.hh-device-mobile .hh-social-toggle { display:none!important; }
    #social.hh-device-mobile .hh-social-links .btn-frame {
        position:relative;
        inset:auto;
        display:flex;
        align-items:center;
        justify-content:center;
        flex:0 0 40px;
        width:40px;
        height:40px;
        margin:0;
        padding:0;
        background:var(--background,#0B4DBB);
        border:2px solid #FFFFFF;
        border-radius:50%;
        box-sizing:border-box;
        box-shadow:0 4px 12px rgba(4,35,83,.2);
        text-decoration:none;
        isolation:isolate;
        overflow:visible;
        -webkit-tap-highlight-color:transparent;
    }
    #social.hh-device-mobile .hh-social-links .btn-frame i {
        position:relative;
        z-index:2;
        display:flex;
        justify-content:center;
        align-items:center;
        width:36px;
        height:36px;
        border-radius:50%;
        background:var(--background,#0B4DBB);
    }
    #social.hh-device-mobile .hh-social-links .btn-frame img {
        display:block;
        width:25px;
        height:25px;
        object-fit:contain;
        border-radius:50%;
    }
    /* Tat vong pulse cu ky thuat cua template, thay bang song nhe duoi day. */
    #social.hh-device-mobile .hh-social-links .kenit-alo-circle,
    #social.hh-device-mobile .hh-social-links .kenit-alo-circle-fill,
    #hotline .kenit-alo-circle,
    #hotline .kenit-alo-circle-fill,
    .hh-mtopbar-circle .kenit-alo-circle,
    .hh-mtopbar-circle .kenit-alo-circle-fill { display:none!important; animation:none!important; }

    /* Hotline (trai duoi) va Thong tin (trai tren) khong chen vao cot MXH. */
    #hotline.btn-frame {
        position:fixed;
        left:14px!important;
        right:auto!important;
        bottom:calc(86px + env(safe-area-inset-bottom, 0px))!important;
        width:44px;
        height:44px;
        z-index:1003;
        border-radius:50%;
        transition:opacity .25s ease,visibility .25s ease,transform .25s ease;
    }
    #hotline.btn-frame i {
        display:flex;
        justify-content:center;
        align-items:center;
        width:44px;
        height:44px;
        border:2px solid #FFFFFF;
        border-radius:50%;
        font-size:18px;
        box-shadow:0 4px 14px rgba(4,35,83,.22);
        box-sizing:border-box;
    }
    #hotline.btn-phone span { display:none; }
    .hh-mtopbar {
        position:fixed;
        left:14px!important;
        right:auto!important;
        bottom:calc(149px + env(safe-area-inset-bottom, 0px))!important;
        z-index:1003;
        transition:opacity .25s ease,visibility .25s ease,transform .25s ease;
    }
    .hh-mtopbar-panel {
        left:0;
        right:auto;
        bottom:calc(100% + 12px);
        max-width:calc(100vw - 30px);
    }
    .hh-mtopbar-btn:focus-visible,
    #social.hh-device-mobile .hh-social-links a:focus-visible,
    #hotline.btn-frame:focus-visible { outline:3px solid #F4B000;outline-offset:3px; }

    /* Song lan toa 2 nhip, mau theo cai dat Dashboard, animation lech nhip.
       Khong phong to nut / khong rung icon. */
    .hh-mtopbar-btn,
    #hotline.btn-frame,
    #social.hh-device-mobile .hh-social-links .btn-frame {
        overflow:visible;
        -webkit-tap-highlight-color:transparent;
    }
    .hh-mtopbar-btn::before,
    .hh-mtopbar-btn::after,
    #hotline.btn-frame::before,
    #hotline.btn-frame::after,
    #social.hh-device-mobile .hh-social-links .btn-frame::before,
    #social.hh-device-mobile .hh-social-links .btn-frame::after {
        content:"";
        position:absolute;
        inset:-2px;
        z-index:0;
        border:2px solid var(--background,#0B4DBB);
        border-radius:50%;
        box-sizing:border-box;
        opacity:0;
        transform:scale(.95);
        pointer-events:none;
        animation:hhMobileRipple 5.8s ease-out infinite;
    }
    .hh-mtopbar-btn::before,
    .hh-mtopbar-btn::after { border-color:#F4B000;animation-delay:1.9s; }
    .hh-mtopbar-btn::after { animation-delay:2.35s; }
    #hotline.btn-frame::before,
    #hotline.btn-frame::after { border-color:var(--background,#E3444E);animation-delay:2.9s; }
    #hotline.btn-frame::after { animation-delay:3.35s; }
    #social.hh-device-mobile .hh-social-links .btn-frame::before,
    #social.hh-device-mobile .hh-social-links .btn-frame::after {
        border-color:var(--background,#0B4DBB);
        animation-delay:0s;
    }
    #social.hh-device-mobile .hh-social-links .btn-frame::after { animation-delay:.45s; }
    #social.hh-device-mobile .hh-social-links .btn-frame:nth-child(2)::before { animation-delay:1s; }
    #social.hh-device-mobile .hh-social-links .btn-frame:nth-child(2)::after { animation-delay:1.45s; }
    #social.hh-device-mobile .hh-social-links .btn-frame:nth-child(3)::before { animation-delay:2s; }
    #social.hh-device-mobile .hh-social-links .btn-frame:nth-child(3)::after { animation-delay:2.45s; }
    #social.hh-device-mobile .hh-social-links .btn-frame:nth-child(4)::before { animation-delay:3s; }
    #social.hh-device-mobile .hh-social-links .btn-frame:nth-child(4)::after { animation-delay:3.45s; }
    #social.hh-device-mobile .hh-social-links .btn-frame:nth-child(n+5)::before { animation-delay:3.8s; }
    #social.hh-device-mobile .hh-social-links .btn-frame:nth-child(n+5)::after { animation-delay:4.25s; }
    @keyframes hhMobileRipple {
        0%,6% { opacity:0;transform:scale(.96); }
        11% { opacity:.42;transform:scale(1.05); }
        32%,100% { opacity:0;transform:scale(1.52); }
    }
    .hh-mtopbar.is-open .hh-mtopbar-btn::before,
    .hh-mtopbar.is-open .hh-mtopbar-btn::after { animation-play-state:paused;opacity:0; }
    .hh-mtopbar-btn,
    #social.hh-device-mobile .hh-social-links a,
    #hotline.btn-frame { transition:box-shadow .2s ease,opacity .25s ease,transform .2s ease; }
    .hh-mtopbar-btn:active,
    #social.hh-device-mobile .hh-social-links a:active,
    #hotline.btn-frame:active { transform:scale(.96); }

    /* Footer da co hotline + lien he: an icon noi, khong che chu va ban do. */
    body.hh-footer-in-view #social.hh-device-mobile.hh-social-anim,
    body.hh-footer-in-view .hh-mtopbar,
    body.hh-footer-in-view #hotline.btn-frame {
        opacity:0!important;
        visibility:hidden!important;
        pointer-events:none!important;
        transform:translateY(10px);
    }

    /* Giu anh sang luot nhe tren CTA va hieu ung khi chon tab dich vu (V8). */
    .hh-about-content > .hh-btn-yellow,
    .hh-services .hh-service-more > .hh-btn-outline { position:relative;overflow:hidden; }
    .hh-about-content > .hh-btn-yellow::after,
    .hh-services .hh-service-more > .hh-btn-outline::after {
        content:"";position:absolute;top:-20%;left:-65%;width:38%;height:140%;
        background:linear-gradient(100deg,transparent,rgba(255,255,255,.36),transparent);
        transform:skewX(-22deg) translateX(-150%);
        pointer-events:none;animation:hhMobileShine 7s ease-in-out infinite;
    }
    .hh-services .hh-service-more > .hh-btn-outline::after { animation-delay:3.2s; }
    @keyframes hhMobileShine {
        0%,15% { transform:skewX(-22deg) translateX(-150%); }
        29%,100% { transform:skewX(-22deg) translateX(750%); }
    }
    .hh-services .hh-service-tab.is-active { animation:hhMobileTabFocus .45s ease-out both; }
    @keyframes hhMobileTabFocus {
        0% { box-shadow:0 0 0 0 rgba(11,77,187,.23); }
        65% { box-shadow:0 0 0 5px rgba(11,77,187,.10); }
        100% { box-shadow:0 2px 6px rgba(11,77,187,.14); }
    }
    .hh-service-body .hh-btn-yellow--sm { transition:background-color .2s ease,transform .18s ease; }
    .hh-service-body .hh-btn-yellow--sm:active { transform:scale(.97); }

    @media (prefers-reduced-motion:reduce) {
        .hh-mtopbar-btn::before,.hh-mtopbar-btn::after,
        #hotline.btn-frame::before,#hotline.btn-frame::after,
        #social.hh-device-mobile .hh-social-links .btn-frame::before,
        #social.hh-device-mobile .hh-social-links .btn-frame::after,
        .hh-about-content > .hh-btn-yellow::after,
        .hh-services .hh-service-more > .hh-btn-outline::after,
        .hh-services .hh-service-tab.is-active { animation:none!important; }
        #social.hh-device-mobile.hh-social-anim,
        .hh-mtopbar,#hotline.btn-frame { transition:none; }
    }

    /* Footer: logo, liên kết, thông tin và bản đồ chia nhịp thoáng. */
    .hh-footer { padding:0 0 22px; }
    .hh-footer-logo { width:120px; height:90px; border-radius:0 0 14px 14px; }
    .hh-footer-logo-img { width:78px; height:76px; }
    .hh-footer-card { gap:26px; padding:112px 18px 20px; border-radius:0 0 16px 16px; }
    .hh-footer-grid { grid-template-columns:minmax(0,1fr); gap:25px; }
    .hh-footer-col { min-width:0; gap:12px; }
    .hh-footer-title { font-size:18px; line-height:1.5; white-space:normal; }
    .hh-footer-list, .hh-footer-contact { gap:9px; }
    .hh-footer-list a, .hh-footer-contact, .hh-footer-rich { line-height:1.65; overflow-wrap:anywhere; }
    .hh-footer-social { margin-top:6px; }
    .hh-footer-map { height:155px; }
    .hh-footer-map iframe { height:155px; }
    .hh-footer-fanpage { max-width:100%; overflow:hidden; }
    .hh-footer-copyright { font-size:12px; line-height:1.6; }
}

@media (max-width: 430px) {
    .hh-nav .hh-nav-burger { width:39px; }
    .hh-nav .nav-search-toggle { padding:8px; }
    .hh-nav .hh-nav-tools { gap:0; }
    .hh-service-grid { gap:10px; }
    .hh-service-body { padding:10px; }
    .hh-service-name { font-size:13px; }
    .hh-service-desc { font-size:11.5px; }
    .hh-why-box { padding:13px; }
}
@media (max-width: 359px) {
    .hh-service-grid, .hh-newscard-grid, .hh-project-grid { grid-template-columns:1fr; }
    .hh-service-thumb { aspect-ratio:16/10; }
    .hh-prod-grid { gap:8px; }
}
