/* ==========================================================================
   HÒA PHÁT (maymocxaydung.vn) — PRODUCT 5-TAB STICKY HUB v3.0 (CHUẨN LẠC HỒNG)
   5 mục đồng nhất: ▶ Video | ✎ Mô tả | 🔍 Thông số | ≡ Catalog | ✔ HDSD
   Tương thích 100% Sapo EGA Techstore (Bootstrap 4.3) — Zero LCP Block, Zero CLS
   ========================================================================== */

:root {
  --hp-mh-accent: #dc0000;
  --hp-mh-accent-dark: #b40010;
  --hp-mh-navy: #174374;
  --hp-mh-zalo: #0068ff;
  --hp-mh-text: #1f2937;
  --hp-mh-muted: #64748b;
  --hp-mh-border: #e5e7eb;
  --hp-mh-bg: #ffffff;
  --hp-mh-surface: #f8fafc;
}

@supports (overflow-x: clip) {
  html.hp-lc-active,
  html.hp-lc-active body {
    overflow-x: clip !important;
  }
}

/* ---------- 1. FULL-WIDTH STICKY 5-TAB BAR (CHUẨN LẠC HỒNG SHOP) ---------- */
.hp-mh-nav-section {
  position: sticky;
  top: 62px;
  top: var(--hp-mh-header-offset, 62px);
  z-index: 980;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #eeeeee;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  margin-top: 0;
  margin-bottom: 16px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.hp-mh-nav-section.is-stuck {
  border-top-color: transparent;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.09);
}

.hp-mh-nav-inner {
  width: 100%;
}

.hp-mh-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hp-mh-nav-list::-webkit-scrollbar {
  display: none;
}

.hp-mh-nav-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 14px 12px;
  border-radius: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: #1f2937 !important;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.22s ease;
}

.hp-mh-nav-btn svg,
.hp-mh-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: currentColor;
  transition: color 0.22s ease, transform 0.2s ease;
}

/* Gạch chân đặc trưng Lạc Hồng dưới từng mục */
.hp-mh-nav-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 18%;
  width: 64%;
  height: 2px;
  background: #1f2937;
  opacity: 0.26;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.hp-mh-nav-btn:hover,
.hp-mh-nav-btn:focus-visible,
.hp-mh-nav-btn.is-active {
  color: var(--hp-mh-accent, #dc0000) !important;
  background: transparent !important;
  outline: none;
}

.hp-mh-nav-btn:hover svg,
.hp-mh-nav-btn.is-active svg {
  color: var(--hp-mh-accent, #dc0000);
}

.hp-mh-nav-btn:hover::after,
.hp-mh-nav-btn:focus-visible::after,
.hp-mh-nav-btn.is-active::after {
  left: 0;
  width: 100%;
  opacity: 1;
  background: var(--hp-mh-accent, #dc0000);
}

/* ---------- 2. SMOOTH SCROLL TARGETS & HIGHLIGHT PULSE ---------- */
#hp-video-section,
.sec_tab .product-content,
#ega-uti-editable-content,
.product-specifications,
#content table,
.hp-mh-spec-target {
  scroll-margin-top: 126px;
}

@keyframes hp-mh-flash-border {
  0% { box-shadow: 0 0 0 0 rgba(220, 0, 0, 0.35); }
  50% { box-shadow: 0 0 0 4px rgba(220, 0, 0, 0.22); }
  100% { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); }
}

.hp-mh-target-flash {
  animation: hp-mh-flash-border 1.1s ease-out;
}

/* ---------- 3. VIDEO SECTION CARD & 0-BYTE FACADE ---------- */
.hp-mh-video-section {
  margin-bottom: 16px;
}

.hp-mh-video-section.is-hidden {
  display: none !important;
}

.hp-mh-video-card {
  background: var(--hp-mh-bg);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 18px 20px 20px;
}

.hp-mh-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1.5px solid #f1f5f9;
}

.hp-mh-card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--hp-mh-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hp-mh-card-title svg {
  width: 22px;
  height: 22px;
  color: var(--hp-mh-accent);
  flex-shrink: 0;
}

.hp-mh-card-sub {
  font-size: 13px;
  color: var(--hp-mh-muted);
  font-weight: 500;
}

.hp-mh-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.hp-mh-video-grid.has-playlist {
  grid-template-columns: minmax(0, 1fr) 310px;
}

.hp-mh-player-stage {
  position: relative;
  width: 100%;
  background: #0f172a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
}

.hp-mh-player-ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}

.hp-mh-player-stage.is-shorts {
  max-width: 360px;
  margin: 0 auto;
}

.hp-mh-player-stage.is-shorts .hp-mh-player-ratio {
  padding-top: 177.78%; /* 9:16 */
}

.hp-mh-shorts-single-wrap {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.hp-mh-shorts-aside {
  background: var(--hp-mh-surface);
  border: 1px solid var(--hp-mh-border);
  border-radius: 10px;
  padding: 18px;
}

.hp-mh-shorts-aside h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--hp-mh-navy);
  margin: 10px 0 8px;
}

.hp-mh-shorts-aside p {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 12px;
}

.hp-mh-player-ratio iframe,
.hp-mh-player-ratio video,
.hp-mh-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
}

/* Click-to-Play Facade: 0 byte YouTube iframe cho tới khi người dùng bấm Play */
.hp-mh-facade {
  cursor: pointer;
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: left;
}

.hp-mh-facade::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0.62) 100%);
  z-index: 1;
  pointer-events: none;
}

.hp-mh-facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.hp-mh-facade:hover img {
  transform: scale(1.03);
  opacity: 1;
}

.hp-mh-play-btn {
  position: relative;
  z-index: 2;
  width: 68px;
  height: 48px;
  border-radius: 12px;
  background: rgba(220, 0, 0, 0.94);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.hp-mh-facade:hover .hp-mh-play-btn,
.hp-mh-showroom-preview:hover .hp-mh-play-btn {
  transform: scale(1.08);
  background: #ff0000;
}

.hp-mh-play-btn::after {
  content: "";
  display: block;
  margin-left: 4px;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #ffffff;
}

.hp-mh-facade-label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  background: rgba(15, 23, 42, 0.82);
  color: #ffffff;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

/* Showroom & Kênh YouTube Thực Tế Card (khi SKU chưa gắn video riêng) */
.hp-mh-showroom-card {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, #f8fafc 0%, #fff5f5 100%);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
}

.hp-mh-showroom-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 185px;
  background: #0f172a;
  border-radius: 9px;
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
}

.hp-mh-showroom-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.72) 100%);
  z-index: 1;
}

.hp-mh-showroom-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  opacity: 0.88;
  transition: transform 0.3s ease;
}

.hp-mh-showroom-preview:hover img {
  transform: scale(1.04);
}

.hp-mh-showroom-info h4 {
  margin: 8px 0 6px;
  font-size: 16.5px;
  font-weight: 800;
  color: #111827;
}

.hp-mh-showroom-info p {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #475569;
}

/* Playlist sidebar */
.hp-mh-playlist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 460px;
  overflow-y: auto;
  padding-right: 4px;
}

.hp-mh-pl-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  border: 1.5px solid var(--hp-mh-border);
  background: #ffffff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.hp-mh-pl-item:hover {
  border-color: #fca5a5;
  background: #fef2f2;
}

.hp-mh-pl-item.is-active {
  border-color: var(--hp-mh-accent);
  background: #fff5f5;
}

.hp-mh-pl-thumb {
  flex: 0 0 96px;
  height: 58px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: #111827;
}

.hp-mh-pl-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hp-mh-pl-thumb .hp-mh-pl-badge {
  position: absolute;
  bottom: 3px;
  right: 3px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
}

.hp-mh-pl-info {
  min-width: 0;
  flex: 1;
}

.hp-mh-pl-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--hp-mh-text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hp-mh-pl-meta {
  font-size: 11.5px;
  color: var(--hp-mh-muted);
  margin-top: 3px;
}

/* ---------- 4. MODALS: CATALOG PREVIEW POPUP & HDSD ---------- */
.hp-mh-modal {
  z-index: 2147482500 !important;
}

body.hp-mh-modal-active .modal-backdrop,
#hp-mh-backdrop {
  z-index: 2147482400 !important;
}

.hp-mh-modal .modal-dialog {
  max-width: 840px;
}

.hp-mh-modal .modal-content {
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.32);
}

.hp-mh-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px 14px;
  border-bottom: 1px solid var(--hp-mh-border);
  background: #ffffff;
}

.hp-mh-pill-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
}

.hp-mh-pill-badge--red {
  color: var(--hp-mh-accent);
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.hp-mh-pill-badge--blue {
  color: var(--hp-mh-navy);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.hp-mh-modal-title {
  margin: 6px 0 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--hp-mh-text);
  line-height: 1.35;
}

.hp-mh-page-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #b91c1c;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  margin-top: 2px;
}

.hp-mh-close-btn {
  border: 0;
  background: #f1f5f9;
  color: #334155;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.hp-mh-close-btn:hover {
  background: #fee2e2;
  color: var(--hp-mh-accent);
}

.hp-mh-modal-body {
  padding: 18px 20px;
  max-height: 64vh;
  overflow-y: auto;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--hp-mh-text);
}

.hp-mh-modal .modal-footer.hp-mh-modal-footer,
.hp-mh-modal-footer {
  display: block;
  padding: 12px 20px 15px;
  border-top: 1px solid var(--hp-mh-border);
  background: #ffffff;
}

.hp-mh-modal-hotlines {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
  text-align: center;
  font-size: 12.5px;
  color: #475569;
}

.hp-mh-modal-hotlines a {
  color: var(--hp-mh-accent);
  font-weight: 800;
  text-decoration: none;
}

.hp-mh-modal-hotlines a:hover {
  text-decoration: underline;
}

/* Lạc Hồng-style Category Catalogue Spread Preview */
.hp-mh-cat-preview {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.hp-mh-cat-sheet {
  display: flex;
  flex-direction: column;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  text-decoration: none !important;
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.hp-mh-cat-sheet:hover {
  border-color: var(--hp-mh-accent);
  transform: translateY(-2px);
}

.hp-mh-cat-sheet__top {
  background: linear-gradient(135deg, #c11515 0%, #991b1b 100%);
  color: #ffffff;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: 0.03em;
}

.hp-mh-cat-sheet__img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #f8fafc;
  min-height: 200px;
}

.hp-mh-cat-sheet__img img {
  max-width: 100%;
  max-height: 210px;
  object-fit: contain;
  border-radius: 6px;
}

.hp-mh-cat-sheet__cap {
  padding: 7px 10px;
  background: #fff5f5;
  color: #b91c1c;
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  border-top: 1px solid #fecaca;
}

.hp-mh-cat-info {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hp-mh-cat-info__group {
  display: inline-block;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 800;
  color: #0f766e;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.hp-mh-cat-info h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
}

.hp-mh-cat-info__sub {
  margin: 0 0 10px;
  font-size: 13px;
  color: #475569;
  font-weight: 600;
}

.hp-mh-cat-info ul {
  margin: 0 0 12px;
  padding-left: 18px;
  font-size: 13px;
  color: #334155;
  line-height: 1.55;
}

.hp-mh-cat-info ul li {
  margin-bottom: 4px;
}

.hp-mh-cat-sku-box {
  margin-top: auto;
  padding: 8px 11px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  font-size: 12.5px;
  color: #1e293b;
}

/* Khung ảnh Catalogue / Infographic HDSD riêng của SKU */
.hp-mh-doc-frame {
  display: block;
  border: 1px solid var(--hp-mh-border);
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  margin-bottom: 14px;
  text-decoration: none !important;
}

.hp-mh-doc-frame img {
  display: block;
  max-width: 100% !important;
  max-height: 500px;
  width: auto !important;
  height: auto !important;
  margin: 0 auto !important;
  object-fit: contain;
}

.hp-mh-doc-caption {
  padding: 8px 12px;
  font-size: 12.5px;
  color: var(--hp-mh-muted);
  text-align: center;
  background: #f8fafc;
  border-top: 1px solid var(--hp-mh-border);
}

/* Rich HTML từ Sapo Pages hoặc Metafield */
.hp-mh-rich-content {
  font-size: 14.5px;
  line-height: 1.65;
  color: #1f2937;
}

.hp-mh-rich-content h2,
.hp-mh-rich-content h3,
.hp-mh-rich-content h4 {
  color: var(--hp-mh-navy);
  font-weight: 700;
  margin-top: 14px;
  margin-bottom: 8px;
}

.hp-mh-rich-content img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px;
  margin: 10px auto;
  display: block;
}

.hp-mh-rich-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 13.5px;
}

.hp-mh-rich-content table th,
.hp-mh-rich-content table td {
  border: 1px solid #cbd5e1;
  padding: 7px 10px;
}

/* HDSD Safe Operation Checklist */
.hp-mh-hdsd-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hp-mh-hdsd-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 9px 14px;
  border-radius: 9px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #14532d;
  font-size: 13px;
}

.hp-mh-step-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.hp-mh-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--hp-mh-navy);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.hp-mh-step-card h4 {
  margin: 0 0 4px;
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
}

.hp-mh-step-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #475569;
}

/* Khối khuyến cáo an toàn kỹ thuật Hòa Phát (P0 Rule 3) */
.hp-mh-safety-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 9px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #d97706;
  font-size: 13px;
  color: #78350f;
  line-height: 1.55;
}

.hp-mh-safety-note a {
  color: #b91c1c;
  text-decoration: none;
}

.hp-mh-safety-note a:hover {
  text-decoration: underline;
}

/* Hàng nút CTA */
.hp-mh-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hp-mh-btn {
  flex: 1 1 190px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.12s ease;
}

.hp-mh-btn:hover {
  transform: translateY(-1px);
}

.hp-mh-btn--primary {
  background: var(--hp-mh-accent);
  color: #ffffff !important;
}

.hp-mh-btn--primary:hover {
  background: var(--hp-mh-accent-dark);
  color: #ffffff !important;
}

.hp-mh-btn--outline {
  background: #ffffff;
  border-color: #cbd5e1;
  color: var(--hp-mh-text) !important;
}

.hp-mh-btn--outline:hover {
  border-color: var(--hp-mh-accent);
  color: var(--hp-mh-accent) !important;
}

.hp-mh-btn--zalo {
  background: var(--hp-mh-zalo);
  color: #ffffff !important;
}

.hp-mh-btn--zalo:hover {
  background: #0052cc;
  color: #ffffff !important;
}

/* Ẩn block nguồn dữ liệu inline trong Mô tả */
.hp-mh-inline-source-hidden {
  display: none !important;
}

/* ---------- 5. RESPONSIVE TABLET & MOBILE ---------- */
@media (max-width: 991px) {
  .hp-mh-nav-section {
    top: 54px;
    top: var(--hp-mh-header-offset, 54px);
    margin-bottom: 12px;
  }

  .hp-mh-nav-list {
    gap: 12px;
  }

  #hp-video-section,
  .sec_tab .product-content,
  #ega-uti-editable-content,
  .product-specifications,
  #content table,
  .hp-mh-spec-target {
    scroll-margin-top: 112px;
  }

  .hp-mh-video-grid.has-playlist,
  .hp-mh-shorts-single-wrap,
  .hp-mh-showroom-card,
  .hp-mh-cat-preview {
    grid-template-columns: minmax(0, 1fr);
  }

  .hp-mh-playlist {
    flex-direction: row;
    overflow-x: auto;
    max-height: none;
    padding-bottom: 6px;
  }

  .hp-mh-pl-item {
    flex: 0 0 230px;
  }
}

@media (max-width: 767px) {
  .hp-mh-nav-section .container {
    padding-left: 8px;
    padding-right: 8px;
  }

  .hp-mh-nav-list {
    justify-content: space-between;
    gap: 4px;
  }

  .hp-mh-nav-btn {
    padding: 11px 7px 10px;
    font-size: 13px;
    gap: 4px;
  }

  .hp-mh-nav-btn svg,
  .hp-mh-icon {
    width: 14px;
    height: 14px;
  }

  .hp-mh-video-card {
    padding: 14px 12px 16px;
  }

  .hp-mh-card-title {
    font-size: 15.5px;
  }

  .hp-mh-showroom-card {
    padding: 12px;
    gap: 14px;
  }

  .hp-mh-modal-header {
    padding: 13px 14px;
  }

  .hp-mh-modal-body {
    padding: 14px;
    max-height: 60vh;
  }

  .hp-mh-modal-footer {
    padding: 10px 14px 12px;
  }

  .hp-mh-btn {
    flex: 1 1 100%;
    padding: 10px 14px;
    font-size: 13.5px;
  }
}