﻿/* ==========================================================================
   LaptopThanhNga frontend stylesheet
   Organized by purpose: tokens, base, layout, components, responsive.
   ========================================================================== */

/* 1. Design tokens */
:root {
  --clr-primary: #1554c0;
  --clr-primary-dk: #0b368f;
  --clr-primary-soft: #edf4ff;
  --clr-success: #087f5b;
  --clr-info: #0a84ff;
  --clr-warning: #ffd400;
  --clr-dark: #111827;
  --clr-text: #1f2937;
  --clr-muted: #4b5563;
  --clr-subtle: #98a2b3;
  --clr-bg: #cfcfcf;
  --clr-surface: #ffffff;
  --clr-surface-soft: #f8fafc;
  --clr-border: #e6e8ec;
  --clr-border-strong: #d0d5dd;
  --clr-price: #e0001b;
  --clr-price-ori: #98a2b3;
  --shadow-sm: 0 1px 4px rgba(16, 24, 40, .06);
  --shadow-md: 0 8px 20px rgba(16, 24, 40, .12);
  --shadow-lg: 0 14px 34px rgba(16, 24, 40, .18);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --header-h: 56px;
  color-scheme: light;
}

/* 2. Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--clr-bg);
  color: var(--clr-dark);
  font-size: .93rem;
  text-rendering: auto;
  -webkit-font-smoothing: auto;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  transition: color .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

a:hover {
  color: var(--clr-primary);
}

.skip-to-content {
  position: absolute;
  top: -48px;
  left: 0;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--clr-primary);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 700;
  text-decoration: none;
}

.skip-to-content:focus {
  top: 0;
  outline: 3px solid var(--clr-warning);
}

/* 3. Page shell */
main {
  max-width: 1480px;
  margin: 0 auto;
  background: var(--clr-surface);
  box-shadow: 0 0 0 1px rgba(16, 24, 40, .06);
}

main > .container,
.breadcrumb-bar .container,
.hero-quick > .container,
.sec-services > .container,
.sec-products > .container,
.sec-news > .container {
  background: transparent;
}

.page-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1320px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1480px;
  }
}

/* 4. Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--clr-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .16);
}

.site-header .navbar {
  min-height: var(--header-h);
  padding: 8px 0;
  background: transparent;
}

.navbar-brand-logo {
  display: block;
  max-width: 160px;
  height: 36px;
  object-fit: contain;
}

.navbar-brand-text {
  color: #fff !important;
  font-size: 1.1rem;
  font-weight: 900;
}

.site-header .nav-link {
  color: #fff !important;
  font-weight: 700;
  white-space: nowrap;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible {
  color: var(--clr-warning) !important;
}

.site-header .btn-outline-light {
  border-color: rgba(255, 255, 255, .9) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, .08);
  font-size: .83rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-header .btn-outline-light:hover {
  background: #fff;
  color: var(--clr-primary) !important;
}

.site-header .navbar-toggler:focus {
  box-shadow: none;
}

.site-header .navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

/* 5. Search */
.search-wrap {
  position: relative;
  min-width: 0;
}

.search-form {
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}

.search-form:focus-within {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .24), inset 0 0 0 1px rgba(0, 0, 0, .08);
}

.search-input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 8px 14px;
  background: transparent;
  color: var(--clr-text);
  font-size: .88rem;
  font-weight: 500;
}

.search-input::placeholder {
  color: #a5aab3;
}

.search-btn {
  align-self: stretch;
  border: 0;
  border-left: 1px solid #eef0f3;
  padding: 0 14px;
  background: #fff;
  color: var(--clr-primary);
  cursor: pointer;
}

.search-btn:hover,
.search-btn:focus-visible {
  background: var(--clr-primary-soft);
  color: var(--clr-primary-dk);
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 1050;
  max-height: 440px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.search-dropdown .sug-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  color: var(--clr-dark);
  border-bottom: 1px solid #f2f4f7;
  font-size: .84rem;
  text-decoration: none;
}

.search-dropdown .sug-item:last-child {
  border-bottom: 0;
}

.search-dropdown .sug-item:hover,
.search-dropdown .sug-item.active {
  background: var(--clr-primary-soft);
}

.search-dropdown .sug-img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.search-dropdown .sug-name {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
  font-weight: 600;
}

.search-dropdown .sug-price {
  color: var(--clr-price);
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}

.search-dropdown .sug-price-ori {
  color: var(--clr-price-ori);
  font-size: .75rem;
  text-decoration: line-through;
  white-space: nowrap;
}

.search-dropdown .sug-label {
  color: var(--clr-muted);
  font-size: .74rem;
  font-weight: 600;
}

.search-dropdown .sug-viewall {
  display: block;
  padding: 10px;
  color: var(--clr-primary);
  background: #fbfcfd;
  border-top: 1px solid var(--clr-border);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  font-size: .8rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.search-dropdown .sug-viewall:hover,
.search-dropdown .sug-viewall.active {
  background: var(--clr-primary-soft);
}

.sug-mark {
  padding: 0 2px;
  color: var(--clr-primary-dk);
  background: #fff0b3;
  border-radius: 3px;
  font-weight: 800;
}

.search-dropdown .sug-item:hover .sug-mark,
.search-dropdown .sug-item.active .sug-mark {
  background: var(--clr-warning);
}

/* 6. Breadcrumb */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid #eef0f3;
  padding: 8px 0;
}

.breadcrumb-bar .breadcrumb {
  margin: 0;
  font-size: .8rem;
}

.breadcrumb-bar .breadcrumb-item a,
.breadcrumb a {
  color: var(--clr-muted);
  text-decoration: none;
}

.breadcrumb-bar .breadcrumb-item a:hover,
.breadcrumb a:hover {
  color: var(--clr-primary);
}

.breadcrumb-bar .breadcrumb-item.active,
.breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before {
  color: var(--clr-muted);
}

/* 7. Section layout and headings */
.hero-quick,
.sec-services,
.sec-products,
.sec-news {
  background: #fff;
}

.hero-quick > .container {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.sec-services > .container,
.sec-products > .container,
.sec-news > .container {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.sec-services + .sec-products,
.sec-products + .sec-products,
.sec-products + .sec-news {
  border-top: 1px solid #eef0f3;
}

.sec-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid #eceff3;
}

.sec-hd-title {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
  color: var(--clr-dark);
  font-size: .95rem;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.25;
  text-transform: uppercase;
}

.sec-hd-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 24px;
  flex: 0 0 4px;
  background: var(--clr-primary);
  border-radius: 999px;
}

.btn-viewall {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 28px;
  padding: 4px 14px;
  color: var(--clr-text);
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.btn-viewall:hover {
  color: #fff;
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}

/* 8. Hero quick cards */
.hero-card {
  display: flex;
  align-items: center;
  min-height: 88px;
  gap: 14px;
  padding: 18px 22px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
  height: 100%;
}

.hero-quick-row > [class*="col-"] { display: flex; }
.hero-quick-row .hero-card { width: 100%; }

.hero-card:hover {
  color: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.hero-card > i:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  background: rgba(255, 255, 255, .16);
  font-size: 2rem;
}

.hero-card > div {
  min-width: 0;
  flex: 1;
}

.hero-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.2;
}

.hero-card span {
  display: block;
  overflow: hidden;
  color: rgba(255, 255, 255, .92);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-card--repair {
  background: #1554c0;
}

.hero-card--used {
  background: linear-gradient(135deg, #0f9f5f, #18b875);
}

.hero-card--buyback { background: #0b3f91; }

.home-offer-section { background: #fff; border-top: 1px solid var(--clr-border); }
.repair-tree { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #cfdcf2; background: #fff; box-shadow: var(--shadow-sm); }
.repair-tree--four-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.repair-tree-column { min-width: 0; padding: 20px 22px; border-left: 1px solid #dbe5f5; }
.repair-tree-column:first-child { border-left: 0; }
.repair-tree-column h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid #1554c0; color: #0b368f; font-size: 15px; font-weight: 900; }
.repair-tree-column--brands { background: #edf4ff; }
.repair-tree-column--upgrade { background: #f0fdf7; }
.repair-tree-column--upgrade h3 { border-bottom-color: #087f5b; color: #086647; }
.repair-tree-column--support { background: #fff8ed; }
.repair-tree-column--support h3 { border-bottom-color: #d97706; color: #9a4d00; }
.repair-link-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.repair-link-list a { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 9px 4px; border-bottom: 1px solid rgba(148, 163, 184, .25); color: #263244; font-size: 15px; font-weight: 700; line-height: 1.4; text-decoration: none; }
.repair-link-list a:hover { color: var(--clr-primary); padding-left: 8px; }

/* Compact first-level brand navigation; hover the first row to reveal the CMS-style list. */
.repair-link-list--brands { position: relative; }
.repair-link-list--brands > a:nth-child(n+2) { display: none; }
.repair-link-list--brands:hover > a:nth-child(n+2) { display: flex; background: #fff; }
.repair-link-list--brands:hover { z-index: 5; box-shadow: 0 8px 20px rgba(15,23,42,.12); }
.repair-tree--cms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.repair-tree--cms > .home-service-media { grid-column: 2 / 4; grid-row: 1 / span 2; min-height: 360px; overflow: hidden; border-left: 1px solid #dbe5f5; }
.repair-tree--cms > .repair-tree-column { grid-row: 2; }
.repair-tree--cms > .repair-tree-column:nth-of-type(2) { grid-column: 1; grid-row: 1 / span 2; }
.home-service-media .dt99-banner-slot { height: 100%; min-height: 360px; margin: 0; }
.home-service-media .dt99-banner-frame, .home-service-media .dt99-banner-track, .home-service-media .dt99-banner-item, .home-service-media .dt99-banner-card { height: 100%; }
.home-service-media img { width: 100%; height: 100%; object-fit: cover; }
.home-service-media-empty { min-height: 180px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border: 2px dashed #9bb8e9; background: #f5f9ff; color: #5273a9; text-align: center; padding: 20px; }
.home-service-media-empty i { font-size: 2rem; color: var(--clr-primary); }
.home-service-media-empty strong { color: #0b368f; font-size: .95rem; }
.home-service-media-empty span { font-size: .76rem; }
.repair-tree--cms .repair-link-list { grid-template-columns: 1fr; }
.repair-tree--cms .repair-menu-item > a { width: 100%; }
.repair-tree--buyback { grid-template-columns: 1fr 2fr; }
.repair-tree--buyback > .home-service-media { grid-column: 2; grid-row: 1 / span 2; }
.repair-tree--buyback > .repair-tree-column { grid-column: 1; grid-row: 1 / span 2; }
.home-offer-section--buyback-tree + .home-offer-section--buyback { display: none; }
.brand-story { display: flex; flex-direction: column; gap: 18px; padding: 20px; border: 1px solid #dbe5f5; background: #f8fbff; }
.brand-story-copy { width: 100%; }
.brand-story-copy h3 { margin: 0 0 10px; color: #123f95; }
.brand-story-copy p { max-width: 980px; margin: 0 0 14px; line-height: 1.7; color: #4d6280; }
.brand-story-media { width: 100%; min-height: 320px; overflow: hidden; }
.brand-story-media .dt99-banner-slot--home_brand_media { width: 100%; margin: 0; }
.brand-story-media .dt99-banner-slot--home_brand_media .dt99-banner-frame { height: auto; }
.brand-story-media .dt99-banner-slot--home_brand_media .dt99-brand-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.brand-story-media .dt99-banner-slot--home_brand_media .dt99-brand-images { display: flex; gap: 14px; margin-top: 18px; padding: 4px 2px 10px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; }
.brand-story-media .dt99-banner-slot--home_brand_media .dt99-brand-images::-webkit-scrollbar { height: 8px; }
.brand-story-media .dt99-banner-slot--home_brand_media .dt99-brand-images::-webkit-scrollbar-track { background: #e9f0fb; border-radius: 99px; }
.brand-story-media .dt99-banner-slot--home_brand_media .dt99-brand-images::-webkit-scrollbar-thumb { background: #7ea7e8; border-radius: 99px; }
.brand-story-media .dt99-banner-slot--home_brand_media .dt99-brand-videos .dt99-banner-item { width: 100%; height: 100%; min-width: 0; }
.brand-story-media .dt99-banner-slot--home_brand_media .dt99-brand-images .dt99-banner-item { flex: 0 0 min(230px, 42vw); width: min(230px, 42vw); height: auto; scroll-snap-align: start; }
.brand-story-media .dt99-banner-slot--home_brand_media .dt99-banner-item:nth-child(n) { margin: 0; }
.brand-story-media .dt99-banner-slot--home_brand_media .dt99-banner-card { width: 100%; height: auto; background: #fff; box-shadow: none; border: 1px solid #dbe5f5; }
.brand-story-media .dt99-banner-slot--home_brand_media .dt99-brand-videos .dt99-banner-card { display: flex; flex-direction: column; height: 100%; }
.brand-story-media .dt99-banner-slot--home_brand_media picture,
.brand-story-media .dt99-banner-slot--home_brand_media img { width: 100%; height: auto; max-height: 680px; aspect-ratio: auto; object-fit: contain; background: #f4f7fb; }
.brand-story-media .dt99-banner-slot--home_brand_media .dt99-brand-videos .dt99-banner-video { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; overflow: hidden; flex: 0 0 auto; background: #050505; }
.brand-story-media .dt99-banner-slot--home_brand_media .dt99-brand-videos .dt99-banner-video-open { display: block; width: 100%; height: 100%; min-height: 0; aspect-ratio: 16 / 9; }
.brand-story-media .dt99-banner-slot--home_brand_media .dt99-brand-videos .dt99-banner-video-open img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center; }
.brand-story-media .dt99-banner-slot--home_brand_media .dt99-brand-videos .dt99-banner-video video { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.brand-story-media .dt99-banner-slot--home_brand_media .dt99-banner-copy { position: static; display: block; flex: 1 1 auto; min-height: 108px; padding: 18px 20px; color: #213653; background: #fff; border-top: 1px solid #dbe5f5; }
.brand-story-media .dt99-banner-slot--home_brand_media .dt99-banner-copy strong { display: block; font-size: 1.2rem; line-height: 1.4; margin-bottom: 7px; }
.brand-story-media .dt99-banner-slot--home_brand_media .dt99-banner-copy em { display: block; white-space: pre-line; font-style: normal; font-size: 1rem; line-height: 1.7; color: #526985; }
.brand-story-media .dt99-banner-slot--home_brand_media .dt99-banner-copy--empty { min-height: 92px; }
.brand-story-media .dt99-banner-slot--home_brand_media .dt99-banner-video-fallback { position: relative; aspect-ratio: 16 / 9; background: #f3f7fd; }
.brand-story-media .dt99-banner-slot--home_brand_media .dt99-banner-video-fallback img { width: 100%; height: 100%; object-fit: contain; }
.brand-story-media .dt99-banner-slot--home_brand_media .dt99-banner-video-fallback span { position: absolute; inset: auto 16px 16px; padding: 9px 12px; color: #fff; background: rgba(15, 55, 120, .9); text-align: center; }
#bannerSubtitle { display: none; }
.brand-story-media .dt99-banner-slot--home_brand_media .dt99-banner-arrow { display: none; }
@media (max-width: 768px) {
  .brand-story-media .dt99-banner-slot--home_brand_media .dt99-brand-videos { grid-template-columns: 1fr; gap: 16px; }
  .brand-story-media .dt99-banner-slot--home_brand_media .dt99-brand-images { gap: 10px; }
}
@media (max-width: 768px) { .brand-story { grid-template-columns: 1fr; } }
.home-offer-section:not(.home-offer-section--buyback-tree) .repair-tree--cms > .repair-tree-column h3 { font-size: 0; }
.home-offer-section:not(.home-offer-section--buyback-tree) .repair-tree--cms > .repair-tree-column h3 i { font-size: 1rem; }
.home-offer-section:not(.home-offer-section--buyback-tree) .repair-tree--cms > .repair-tree-column h3:after { content: 'Sua Laptop gia re'; font-size: .95rem; }
.home-offer-section .repair-tree--cms > .repair-tree-column > h3 { display: none; }
.home-offer-section .repair-tree--cms > .repair-tree-column .repair-link-list { padding-top: 8px; }
.repair-tree--cms .repair-menu-item:has(a[href="/gioi-thieu"]), .repair-tree--cms .repair-menu-item:has(a[href="/san-pham"]) { display: none; }
.brand-intro { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.8fr); gap: 24px; align-items: stretch; padding: 20px; border: 1px solid #dbe5f5; background: #f7faff; }
.brand-intro h2 { margin: 0 0 10px; color: #0b368f; font-size: 1.25rem; }
.brand-intro p { margin: 0; line-height: 1.8; color: #425979; }
.brand-media { min-height: 230px; overflow: hidden; }
.brand-media .dt99-banner-slot, .brand-media .dt99-banner-frame, .brand-media .dt99-banner-track, .brand-media .dt99-banner-item { height: 100%; }
.brand-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) { .brand-intro { grid-template-columns: 1fr; } }
.repair-tree--legacy-hidden { display: none; }
.repair-menu-item { position: relative; }
.repair-submenu { display: none; position: absolute; left: calc(100% - 1px); top: -1px; min-width: 250px; padding: 8px; background: #fff; border: 1px solid #dbe5f5; box-shadow: 0 10px 24px rgba(15,23,42,.16); z-index: 20; }
.repair-menu-item:hover > .repair-submenu { display: block; }
.repair-submenu a { display: flex; padding: 8px 10px; white-space: nowrap; }
.repair-link-list a i { flex: 0 0 auto; color: #7890b5; font-size: 11px; }
.repair-link-list--brands { grid-template-columns: 1fr; }
.home-offer-section--buyback { background: #f8fafc; }
.buyback-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; border-left: 5px solid #1554c0; background: #fff; box-shadow: 0 4px 16px rgba(17, 24, 39, .06); }
.buyback-copy strong, .buyback-copy span { display: block; }
.buyback-copy strong { font-size: 18px; margin-bottom: 6px; }
.buyback-copy span { color: var(--clr-muted); line-height: 1.5; }
.buyback-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.btn-buyback { padding: 10px 14px; background: var(--clr-primary); color: #fff; text-decoration: none; font-weight: 700; white-space: nowrap; }
.btn-buyback:hover { color: #fff; background: var(--clr-primary-dk); }
.btn-buyback--zalo { background: #087f5b; }

@media (max-width: 991.98px) {
  .repair-tree--cms > .home-service-media { grid-column: 1; grid-row: auto; min-height: 180px; }
  .repair-tree--cms > .repair-tree-column:nth-of-type(2) { grid-column: 1; grid-row: auto; }
  .repair-tree, .repair-tree--four-columns { grid-template-columns: 1fr; }
  .repair-tree-column { border-top: 1px solid #dbe5f5; border-left: 0; }
  .repair-tree-column:first-child { border-top: 0; }
  .buyback-band { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 575.98px) {
  .repair-link-list { grid-template-columns: 1fr; }
  .repair-tree-column { padding: 16px; }
  .buyback-actions { width: 100%; flex-direction: column; }
  .btn-buyback { text-align: center; }
}

/* 9. Filters and pills */
.subcat-pills,
.comp-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.subcat-pills {
  margin-left: auto;
  padding: 0 .5rem;
}

.subcat-pill,
.comp-pill,
.btn-outline-pill,
.content-collapse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 12px;
  color: var(--clr-text);
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.subcat-pill:hover,
.subcat-pill.active,
.comp-pill:hover,
.comp-pill.active,
.btn-outline-pill:hover,
.content-collapse-btn:hover {
  color: #fff;
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}

.comp-pill-label {
  color: var(--clr-muted) !important;
}

.type-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--clr-border);
}

.type-tab {
  margin-bottom: -2px;
  padding: 8px 18px;
  color: var(--clr-muted);
  border-bottom: 2px solid transparent;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}

.type-tab:hover {
  color: var(--clr-dark);
}

.type-tab.active {
  color: var(--clr-primary);
  border-bottom-color: var(--clr-primary);
}

.btn-primary,
.btn-danger,
.btn-primary-pill {
  color: #fff !important;
  background: var(--clr-primary) !important;
  border-color: var(--clr-primary) !important;
}

.btn-primary:hover,
.btn-danger:hover,
.btn-primary-pill:hover {
  color: #fff !important;
  background: var(--clr-primary-dk) !important;
  border-color: var(--clr-primary-dk) !important;
}

.btn-primary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 24px;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}

.btn-outline-primary {
  color: var(--clr-primary) !important;
  border-color: var(--clr-primary) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary.active {
  color: #fff !important;
  background: var(--clr-primary) !important;
}

/* 10. Product and service cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.product-grid--home {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.product-grid--listing,
.product-grid--related {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.item-card,
.service-card,
.card {
  border-color: #eceff3 !important;
  box-shadow: var(--shadow-sm);
}

.product-card,
.item-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  transition: box-shadow .18s ease, transform .18s ease;
}

.product-card-link {
  color: inherit;
}

.product-card:hover,
.item-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #fff;
}

.product-card-media picture,
.product-card-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card-img,
.item-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}

.product-card-body {
  padding: 8px;
}

.product-card-name,
.item-card-name,
.news-card-title,
.news-hcard-title {
  color: var(--clr-dark);
}

.product-card-name,
.item-card-name {
  margin: 0;
  min-height: 2.7em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.35;
}

a:hover .product-card-name,
.product-card:hover .product-card-name,
a:hover .item-card-name,
.item-card:hover .item-card-name,
.news-hcard:hover .news-hcard-title {
  color: var(--clr-primary);
}

.product-card-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 8px;
  margin-top: 6px;
  white-space: nowrap;
}

.item-card-summary {
  display: -webkit-box;
  overflow: hidden;
  margin: .2rem 0 0;
  color: var(--clr-muted);
  font-size: .78rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.item-card-date {
  margin-top: .25rem;
  color: var(--clr-muted);
  font-size: .75rem;
}

.product-card-price,
.gia-khuyen-mai,
.sug-price {
  color: var(--clr-price);
  font-size: .9rem;
  font-weight: 800;
}

.product-card-market,
.gia-goc {
  color: var(--clr-price-ori);
  font-size: .74rem;
  text-decoration: line-through;
}

.disc-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  padding: 2px 7px;
  color: #fff;
  background: #00b636;
  border-radius: 4px;
  font-size: .68rem;
  font-weight: 800;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
  gap: 14px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 186px;
  padding: 16px 8px 14px;
  color: var(--clr-dark);
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: var(--radius-md);
  text-align: center;
  text-decoration: none;
  transition: color .15s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.service-card:hover {
  color: var(--clr-primary);
  border-color: #ffd4da !important;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  flex: 0 0 110px;
  overflow: hidden;
  background: #fff;
  border: 3px solid #f0f2f5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  transition: border-color .2s ease, transform .2s ease;
}

.service-card:hover .service-card-img {
  border-color: #ffd4da;
  transform: scale(1.04);
}

.service-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

.service-card-img i {
  color: var(--clr-primary);
  font-size: 2rem;
}

.service-card-name {
  display: -webkit-box;
  overflow: hidden;
  color: inherit;
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* 11. Listing sidebar */
.listing-sidebar-col {
  align-self: flex-start;
  position: sticky;
  top: calc(var(--header-h) + 12px);
}

.listing-sidebar {
  display: block;
}

.sidebar-section {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
}

.sidebar-title {
  padding: .6rem .9rem;
  color: #fff;
  background: var(--clr-primary);
  border-bottom: 1px solid var(--clr-border);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sidebar-cat-list,
.sidebar-children,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-cat-list--all {
  border-bottom: 1px solid var(--clr-border);
}

.sidebar-cat-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--clr-border);
}

.sidebar-cat-list > li:last-child > .sidebar-cat-row,
.sidebar-children > li:last-child > .sidebar-cat-row {
  border-bottom: 0;
}

.sidebar-cat-item {
  display: block;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  padding: .45rem .9rem;
  color: var(--clr-dark);
  font-size: .84rem;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-cat-item:hover {
  color: var(--clr-primary);
  background: #fff5f6;
}

.sidebar-cat-item.active {
  color: var(--clr-primary);
  background: var(--clr-primary-soft);
  font-weight: 900;
}

.sidebar-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  color: var(--clr-muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: .72rem;
  transition: color .15s ease, transform .2s ease;
}

.sidebar-toggle:hover {
  color: var(--clr-primary);
}

.sidebar-parent.open > .sidebar-cat-row > .sidebar-toggle {
  transform: rotate(90deg);
}

.sidebar-children {
  display: none;
}

.sidebar-parent.open > .sidebar-children {
  display: block;
}

.sidebar-children .sidebar-cat-item {
  padding-left: 1.6rem;
  font-size: .82rem;
}

.sidebar-children .sidebar-children .sidebar-cat-item {
  padding-left: 2.4rem;
  font-size: .8rem;
}

.sidebar-banner {
  margin-top: .75rem;
}

.sidebar-banner img {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
}

.listing-page-title {
  margin-bottom: 1rem;
  color: var(--clr-dark);
  font-size: 1.2rem;
  font-weight: 800;
}

.listing-page-count {
  margin-left: .25rem;
  color: var(--clr-muted);
  font-size: .85rem;
  font-weight: 500;
}

/* 12. News */
.news-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 170px;
  background: #f2f4f7;
}

.news-placeholder-icon {
  font-size: 2rem;
}

.news-card-title {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-card-summary {
  display: -webkit-box;
  overflow: hidden;
  color: var(--clr-muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-card-date {
  color: var(--clr-muted);
}

.news-hcard {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  color: inherit;
  border-bottom: 1px solid var(--clr-border);
  text-decoration: none;
}

.news-hcard:last-child {
  border-bottom: 0;
}

.news-hcard-img {
  width: 240px;
  height: 160px;
  flex: 0 0 240px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.news-hcard-body {
  min-width: 0;
  flex: 1;
}

.news-hcard-title {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: .35rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-hcard-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.2rem;
  margin-bottom: .5rem;
  color: var(--clr-muted);
  font-size: .78rem;
}

.news-hcard-summary {
  display: -webkit-box;
  overflow: hidden;
  color: #555;
  font-size: .86rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.related-thumb {
  width: 72px;
  height: 54px;
  flex: 0 0 72px;
  object-fit: cover;
  border-radius: 4px;
}

.related-news-item {
  transition: background-color .15s ease, border-color .15s ease;
}

.related-news-item:hover {
  background: var(--clr-surface-soft) !important;
  border-color: var(--clr-border-strong) !important;
}

/* 13. Product detail and content */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
}

.stock-badge.green {
  color: #027a48;
  background: #ecfdf3;
}

.stock-badge.grey {
  color: #667085;
  background: #f2f4f7;
}

.product-gallery-main {
  position: relative;
  min-height: 200px;
}

.product-gallery-slide {
  display: none;
  text-align: center;
}

.product-gallery-slide.active {
  display: block;
}

.product-gallery-thumbs {
  margin-top: 4px;
}

.product-gallery-thumb {
  padding: 2px;
  background: #f8f9fa;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: border-color .2s ease;
}

.product-gallery-thumb:hover,
.product-gallery-thumb.active {
  border-color: var(--clr-primary);
}

.product-gallery-thumb img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
}

.product-gallery-thumb-label {
  display: block;
  max-width: 60px;
  overflow: hidden;
  margin-top: 2px;
  color: var(--clr-muted);
  font-size: .65rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.repair-benefits-box {
  margin-top: 14px;
  padding: 12px 14px;
  background: #f0f8ff;
  border: 1px solid #d0e8f7;
  border-radius: var(--radius-md);
}

.repair-benefits-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--clr-text);
  font-size: .86rem;
}

.repair-benefits-list span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.repair-benefits-list span + span {
  padding-left: 14px;
  border-left: 1px solid #b8d7ea;
}

@media (max-width: 575.98px) {
  .repair-benefits-list {
    align-items: flex-start;
    flex-direction: column;
  }

  .repair-benefits-list span + span {
    padding-left: 0;
    border-left: 0;
  }
}

.web-content {
  color: var(--clr-text);
}

.web-content img {
  display: block;
  height: auto;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.web-content .article-image,
.page-featured-image {
  margin: 1.25rem 0;
}

.web-content img,
.web-content .article-image img,
.page-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  background: #f8fafc;
  border-radius: 6px;
  aspect-ratio: 16 / 9;
}

.web-content .article-image figcaption,
.page-featured-image figcaption {
  margin-top: .4rem;
  color: #64748b;
  font-size: .78rem;
  line-height: 1.45;
  text-align: center;
}

.web-content .article-store-crowd {
  margin: 2rem 0;
}

.web-content .article-store-crowd img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  background: #f3f4f6;
}

.web-content .article-store-crowd figcaption {
  margin-top: .5rem;
  color: #64748b;
  font-size: .78rem;
  line-height: 1.45;
  text-align: center;
}

.store-location-section {
  margin-top: 2.25rem;
}

.store-front-figure {
  overflow: hidden;
  margin: 0 0 .8rem;
  border: 1px solid #dbe3ef;
  border-radius: 6px;
  background: #eef2f7;
}

.store-front-figure img,
.store-front-figure picture {
  display: block;
  width: 100%;
}

.store-front-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 42%;
}

.store-front-figure figcaption {
  padding: .55rem .85rem;
  color: #64748b;
  font-size: .78rem;
  line-height: 1.4;
  text-align: center;
}

.store-contact-widget {
  border: 1px solid #bfdbfe;
  border-left: 4px solid #0b5bc7;
  border-radius: 6px;
  background: #f8fbff;
}

.store-contact-body {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.35fr) auto;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1.2rem 1.35rem;
}

.store-contact-kicker {
  margin-bottom: .35rem;
  color: #0b5bc7;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.store-contact-body h2 {
  margin-bottom: .4rem;
  font-size: 1.25rem;
}

.store-contact-intro > p:not(.store-contact-kicker) {
  margin-bottom: 0;
  color: #536174;
}

.store-contact-body address {
  display: grid;
  gap: .55rem;
  margin: 0;
  font-style: normal;
}

.store-contact-body address span,
.store-contact-body address a {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  color: #263244;
  line-height: 1.5;
  text-decoration: none;
}

.store-contact-body address i {
  flex: 0 0 1rem;
  margin-top: .15rem;
  color: #0b5bc7;
}

.store-contact-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: .65rem;
}

@media (max-width: 767px) {
  .store-contact-body {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .store-front-figure img {
    aspect-ratio: 4 / 3;
  }

  .store-contact-actions {
    flex-wrap: wrap;
  }
}

.web-content h2 {
  margin-top: 1.5rem;
  color: var(--clr-dark);
  font-size: 1.4rem;
}

.web-content h3 {
  margin-top: 1.2rem;
  color: var(--clr-dark);
  font-size: 1.2rem;
}

.web-content p {
  margin-bottom: .8rem;
  line-height: 1.7;
}

.web-content ul,
.web-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5em;
}

.web-content a {
  color: var(--clr-primary);
}

.web-content a:hover {
  color: var(--clr-primary-dk);
}

.web-content table {
  width: 100%;
  margin: 1rem 0 1.5rem;
  border-collapse: collapse;
  font-size: .93rem;
}

.web-content table tr,
.web-content table th,
.web-content table td {
  height: auto !important;
}

.web-content table th,
.web-content table td {
  padding: .5rem .75rem;
  border: 1px solid var(--clr-border-strong);
  text-align: left;
  vertical-align: top;
}

.web-content table thead th {
  color: var(--clr-dark);
  background: #f2f4f7;
  font-weight: 800;
}

.web-content table tbody tr:nth-child(even) {
  background: #fbfcfd;
}

.web-content table tbody tr:hover {
  background: #fff5f6;
}

.content-collapse {
  position: relative;
}

.content-collapse-inner {
  overflow: hidden;
}

.content-collapse.is-collapsed .content-collapse-inner {
  max-height: var(--content-max-h, 520px);
}

.content-collapse-fade {
  display: none;
}

.content-collapse.is-collapsed .content-collapse-fade {
  position: absolute;
  right: 0;
  bottom: 42px;
  left: 0;
  z-index: 1;
  display: block;
  height: 92px;
  pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff 72%);
}

.content-collapse-btn {
  position: relative;
  z-index: 2;
  display: flex;
  width: fit-content;
  margin: .75rem auto 0;
}

.content-collapse-btn .cc-more,
.content-collapse-btn .cc-less {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.content-collapse-btn .bi {
  display: inline-block;
}

.content-collapse-btn .cc-arrow-down {
  animation: ccArrowDown 1.1s ease-in-out infinite;
}

@keyframes ccArrowDown {
  0%,
  100% {
    opacity: .72;
    transform: translateY(-1px);
  }

  50% {
    opacity: 1;
    transform: translateY(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .content-collapse-btn .cc-arrow-down {
    animation: none;
  }
}

/* 14. Table of contents */
.toc-sentinel {
  height: 1px;
  margin: 0;
  padding: 0;
}

.toc-box {
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: #fbfcfd;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
}

.toc-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  color: var(--clr-dark);
  background: transparent;
  border: 0;
  font-size: .92rem;
  font-weight: 800;
  text-align: left;
}

.toc-toggle:hover {
  background: #f4f6f8;
}

.toc-chevron {
  transition: transform .18s ease;
}

.toc-box.collapsed .toc-chevron {
  transform: rotate(180deg);
}

.toc-body {
  padding: 0 16px 12px;
}

.toc-box.collapsed .toc-body {
  display: none;
}

.toc-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.toc-item {
  margin: 4px 0;
  color: var(--clr-dark);
  line-height: 1.45;
}

.toc-item a {
  color: var(--clr-dark);
  text-decoration: none;
}

.toc-item a:hover {
  color: #111827;
  text-decoration: underline;
}

.toc-h2::before {
  content: "- ";
  color: var(--clr-muted);
}

.toc-h3 {
  padding-left: 1.75rem;
}

.toc-h3::before {
  content: "- ";
  color: var(--clr-subtle);
  font-weight: 700;
}

.toc-float-btn {
  position: fixed;
  top: 86px;
  right: 10px;
  z-index: 1040;
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 10px;
  color: var(--clr-dark) !important;
  background: #fff !important;
  border: 1px solid var(--clr-border) !important;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.toc-float-btn.is-visible {
  display: flex;
}

.toc-float-btn:hover {
  color: #111827 !important;
  background: #f8fafc !important;
}

.toc-float-btn i {
  font-size: 1rem;
}

/* 15. Quick contact and mobile nav */
.quick-contact-box {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 1040;
  display: flex;
  width: 76px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 6px;
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 28px rgba(16, 24, 40, .18);
  backdrop-filter: blur(4px);
}

.quick-contact-box a {
  display: flex;
  width: 58px;
  min-height: 58px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 5px 3px;
  color: var(--clr-text);
  background: transparent;
  border-radius: var(--radius-lg);
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  word-break: break-word;
}

.quick-contact-box a:hover {
  color: var(--clr-primary);
  background: #fff;
}

.quick-contact-box .qc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0 auto;
  color: #fff;
  background: var(--clr-primary);
  border-radius: 50%;
  font-size: 1.05rem;
}

.quick-contact-box a[href*="zalo"] .qc-icon,
.quick-contact-box a[target="_blank"] .qc-icon {
  background: var(--clr-info);
}

.quick-contact-box a[href^="mailto:"] .qc-icon {
  background: var(--clr-primary);
}

.btn-hotline {
  display: none !important;
}

.mobile-bottom-nav {
  display: none;
}

/* 16. Banner slots */
.dt99-banner-slot {
  position: relative;
  width: min(1480px, calc(100% - 24px));
  margin: 18px auto;
}

.dt99-banner-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.dt99-banner-slot--static .dt99-banner-track {
  grid-auto-flow: row;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  overflow: visible;
  scroll-snap-type: none;
}

.dt99-banner-track::-webkit-scrollbar {
  display: none;
}

.dt99-banner-frame {
  position: relative;
}

.dt99-banner-item {
  min-width: 0;
  scroll-snap-align: start;
}

.dt99-banner-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 94px;
  color: #fff;
  background: #101828;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 22px rgba(16, 24, 40, .14);
  text-decoration: none;
}

.dt99-banner-card:hover {
  color: #fff;
}

.dt99-banner-card img,
.dt99-banner-card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.dt99-banner-card img {
  aspect-ratio: 16 / 4.2;
  object-fit: cover;
}

.dt99-banner-video {
  aspect-ratio: 16 / 4.2;
  background: #050505;
}

.dt99-banner-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.dt99-banner-video-open { display: flex; position: relative; align-items: center; justify-content: center; min-height: 34px; overflow: hidden; background: #f1f5fb; color: #0645ad; text-decoration: none; font-size: .82rem; }
.dt99-banner-video-open img { display: none; }
.dt99-banner-video-open span { padding: 7px 12px; border-radius: 4px; background: rgba(0,0,0,.78); color: #fff; white-space: nowrap; font-size: .82rem; }
.dt99-banner-video-open--text { padding: 10px 14px; }
.dt99-banner-video--external { aspect-ratio: auto; background: #f1f5fb; }
.dt99-banner-video--external .dt99-banner-video-open { min-height: 0; }
.dt99-banner-video--external .dt99-banner-video-open img { display: block; width: 100%; max-height: 420px; object-fit: cover; }
.dt99-banner-video--external .dt99-banner-video-open span { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); }
.dt99-banner-video video { display: block; width: 100%; height: 100%; object-fit: cover; background: #050505; }
.dt99-banner-video-fallback { position: relative; width: 100%; background: #eef3f9; }
.dt99-banner-video-fallback img { display: block; width: 100%; height: auto; object-fit: contain; }
.dt99-banner-video-fallback span { position: absolute; left: 12px; bottom: 12px; padding: 7px 10px; background: rgba(0,0,0,.72); color: #fff; font-size: .8rem; border-radius: 4px; }

.dt99-banner-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 28px 18px 14px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .72));
  pointer-events: none;
}

.dt99-banner-copy strong {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}

.dt99-banner-copy em {
  max-width: 64ch;
  font-size: .82rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.35;
  opacity: .94;
}

.dt99-banner-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--clr-primary);
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(16, 24, 40, .16);
  transform: translateY(-50%);
}

.dt99-banner-arrow--prev {
  left: 8px;
}

.dt99-banner-arrow--next {
  right: 8px;
}

.dt99-banner-slot--home_top,
.dt99-banner-slot--home_middle,
.dt99-banner-slot--category_top,
.dt99-banner-slot--detail_after_content,
.dt99-banner-slot--news_after_content {
  margin-top: 14px;
  margin-bottom: 14px;
}

.dt99-banner-slot--category_between_grid {
  width: 100%;
  margin: 4px 0;
  grid-column: 1 / -1;
}

.dt99-banner-slot--footer_top_slider {
  width: 100%;
  margin-top: 24px;
  margin-bottom: 0;
  padding: 0 12px 34px;
  background: var(--clr-surface);
}

.dt99-banner-section-head {
  margin-bottom: 12px;
}

.dt99-banner-section-title {
  position: relative;
  margin: 0;
  padding-left: 14px;
  color: var(--clr-dark);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.3;
}

.dt99-banner-section-title::before {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 4px;
  content: "";
  background: var(--clr-primary);
  border-radius: 999px;
}

.dt99-banner-slot--footer_top_slider .dt99-banner-track {
  grid-auto-columns: calc((100% - 48px) / 5);
  width: 100%;
  margin: 0 auto;
}

.dt99-banner-slot--footer_top_slider.dt99-banner-slot--static .dt99-banner-track {
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  justify-content: center;
}

.dt99-banner-slot--footer_top_slider .dt99-banner-arrow--prev {
  left: 8px;
}

.dt99-banner-slot--footer_top_slider .dt99-banner-arrow--next {
  right: 8px;
}

.dt99-banner-slot--footer_top_slider .dt99-banner-card {
  min-height: 0;
}

.dt99-banner-slot--footer_top_slider .dt99-banner-card img {
  aspect-ratio: 1 / 1;
}

.dt99-banner-slot--footer_top_slider .dt99-banner-video {
  aspect-ratio: 1 / 1;
}

.dt99-banner-slot--footer_top_slider .dt99-banner-copy {
  padding: 34px 12px 10px;
}

.dt99-banner-slot--footer_top_slider .dt99-banner-copy strong {
  font-size: .82rem;
}

.dt99-banner-slot--footer_top_slider .dt99-banner-copy em {
  display: none;
}

.dt99-banner-slot--left_side_sticky,
.dt99-banner-slot--right_side_sticky {
  position: fixed;
  top: calc(var(--header-h) + 10px);
  z-index: 1010;
  width: 132px;
  margin: 0;
}

.dt99-banner-slot--left_side_sticky {
  left: max(12px, calc((100vw - 1480px) / 2 - 150px));
}

.dt99-banner-slot--right_side_sticky {
  right: max(12px, calc((100vw - 1480px) / 2 - 150px));
}

.dt99-banner-slot--left_side_sticky .dt99-banner-track,
.dt99-banner-slot--right_side_sticky .dt99-banner-track {
  display: block;
  overflow: visible;
}

.dt99-banner-slot--left_side_sticky .dt99-banner-card,
.dt99-banner-slot--right_side_sticky .dt99-banner-card {
  min-height: 0;
}

.dt99-banner-slot--left_side_sticky .dt99-banner-card img,
.dt99-banner-slot--right_side_sticky .dt99-banner-card img {
  aspect-ratio: 3 / 8;
}

.dt99-banner-slot--left_side_sticky .dt99-banner-video,
.dt99-banner-slot--right_side_sticky .dt99-banner-video {
  aspect-ratio: 3 / 8;
}

.dt99-banner-slot--left_side_sticky .dt99-banner-copy,
.dt99-banner-slot--right_side_sticky .dt99-banner-copy {
  padding: 32px 8px 10px;
}

.dt99-banner-slot--left_side_sticky .dt99-banner-copy strong,
.dt99-banner-slot--right_side_sticky .dt99-banner-copy strong {
  font-size: .74rem;
}

.dt99-banner-slot--left_side_sticky .dt99-banner-copy em,
.dt99-banner-slot--right_side_sticky .dt99-banner-copy em {
  display: none;
}

/* 17. Nav drawer */
.nav-drawer-section {
  padding: 8px 0 4px;
  border-bottom: 1px solid #f0f0f0;
}

.nav-drawer-section:last-child {
  border-bottom: 0;
}

.nav-drawer-title {
  padding: 4px 18px 6px;
  color: #999;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nav-drawer-link {
  display: flex;
  align-items: center;
  padding: 10px 18px;
  color: #222;
  border-left: 3px solid transparent;
  font-size: .9rem;
  text-decoration: none;
}

.nav-drawer-link:hover {
  color: var(--clr-primary);
  background: #f5f5f5;
  border-left-color: var(--clr-primary);
}

.nav-drawer-link--brand {
  padding-left: 28px;
  color: #555;
  font-size: .85rem;
}

.nav-drawer-link--brand::before {
  content: "-";
  margin-right: 8px;
  color: #ccc;
  font-size: .75rem;
}

/* 18. Footer */
footer {
  margin-top: 0;
}

.footer-main {
  background: #fff;
  border-top: 1px solid var(--clr-border);
}

.footer-bottom {
  background: #f4f4f4;
  border-top: 1px solid var(--clr-border);
}

.footer-col-title {
  margin-bottom: .9rem;
  padding-bottom: .75rem;
  color: #111827;
  border-bottom: 1px solid var(--clr-border);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-links li {
  margin-bottom: .38rem;
}

.footer-links a,
.footer-hotline-label,
.footer-email-link,
.footer-contact-meta,
.footer-copyright,
.footer-copyright-sub {
  color: var(--clr-text);
}

.footer-links a {
  font-size: .83rem;
  text-decoration: none;
}

.footer-links a:hover,
.footer-hotline a,
.footer-email-link:hover {
  color: var(--clr-primary);
}

.footer-hotline-label {
  margin-top: .5rem;
  margin-bottom: .1rem;
  font-size: .75rem;
}

.footer-hotline {
  margin: 0;
}

.footer-hotline a {
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-hours {
  margin-top: .25rem;
  color: var(--clr-muted);
}

.footer-email-link {
  text-decoration: none;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #fff;
  border-radius: 50%;
  font-size: .95rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-social:hover {
  color: #fff;
  opacity: .86;
}

.footer-social.fb {
  background: #1877f2;
}

.footer-social.yt {
  background: #f00;
}

.footer-social.zl {
  background: #0180c7;
}

.footer-social.ms {
  background: #0084ff;
}

/* 19. Responsive */
@media (max-width: 1549px) {
  .dt99-banner-slot--left_side_sticky,
  .dt99-banner-slot--right_side_sticky {
    display: none;
  }
}

@media (max-width: 1199px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-grid--home {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  body {
    padding-bottom: 64px;
  }

  .listing-sidebar-col {
    position: static;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-grid--home,
  .product-grid--listing,
  .product-grid--related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-contact-box {
    display: none !important;
  }

  .toc-float-btn {
    top: 76px;
    right: 10px;
  }

  .dt99-banner-slot {
    width: calc(100% - 24px);
  }

  .dt99-banner-track {
    grid-auto-columns: minmax(260px, 82%);
  }

  .dt99-banner-card img {
    aspect-ratio: 16 / 6;
  }

  .dt99-banner-video {
    aspect-ratio: 16 / 6;
  }

  .dt99-banner-slot--footer_top_slider .dt99-banner-track {
    grid-auto-columns: minmax(240px, 62%);
  }

  .dt99-banner-slot--footer_top_slider.dt99-banner-slot--static .dt99-banner-track {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .dt99-banner-slot--footer_top_slider .dt99-banner-card img {
    aspect-ratio: 1 / 1;
  }

  .dt99-banner-slot--footer_top_slider .dt99-banner-video {
    aspect-ratio: 1 / 1;
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1020;
    display: flex;
    height: 58px;
    background: #fff;
    border-top: 1px solid var(--clr-border);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .08);
  }

  .mobile-bottom-nav a {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    padding: 6px 4px;
    color: var(--clr-muted);
    border-radius: 0;
    font-size: .62rem;
    font-weight: 800;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-bottom-nav a i {
    font-size: 1.25rem;
    line-height: 1;
  }

  .mobile-bottom-nav a:hover,
  .mobile-bottom-nav a.active {
    color: var(--clr-primary);
    background: var(--clr-primary-soft);
  }

  .mobile-bottom-nav .mbn-call {
    color: #fff;
    background: var(--clr-primary);
  }

  .mobile-bottom-nav .mbn-call:hover {
    color: #fff;
    background: var(--clr-primary-dk);
  }
}

@media (max-width: 767px) {
  .service-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
  }

  .service-card-img {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
  }

  .product-gallery-thumbs {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .product-gallery-thumb img {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 575px) {
  body {
    background: #fff;
  }

  main {
    max-width: none;
    box-shadow: none;
  }

  .container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .py-4 {
    padding-top: .75rem !important;
    padding-bottom: .75rem !important;
  }

  .site-header .navbar {
    padding: 8px 0;
  }

  .navbar-brand {
    margin-right: 0;
  }

  .navbar-brand-logo {
    max-width: 120px;
    height: 28px;
  }

  .navbar-brand-text {
    font-size: .9rem;
  }

  .search-input {
    padding: 7px 8px;
    font-size: .82rem;
  }

  .search-btn {
    padding: 0 10px;
    font-size: .85rem;
  }

  .navbar-toggler {
    padding: 4px 6px;
    font-size: .85rem;
  }

  .navbar-toggler-icon {
    width: 1.1em;
    height: 1.1em;
  }

  .sec-hd {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .sec-hd-title {
    font-size: .85rem;
  }

  .subcat-pills {
    order: 3;
    width: 100%;
    margin-left: 0;
    padding: 0;
  }

  .hero-card {
    min-height: 78px;
    padding: 14px 16px;
  }

  .hero-card > i:first-child {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    font-size: 1.5rem;
  }

  .hero-card strong {
    font-size: .95rem;
  }

  .hero-card span {
    font-size: .76rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .product-grid--home,
  .product-grid--listing,
  .product-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card-body {
    padding: 6px;
  }

  .item-card .p-2 {
    padding: 6px !important;
  }

  .product-card-name,
  .item-card-name {
    font-size: .78rem;
  }

  .product-card-price {
    font-size: .82rem;
  }

  .product-card-market {
    font-size: .7rem;
  }

  .service-grid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
  }

  .service-card {
    min-height: 138px;
    gap: 7px;
    padding: 10px 6px;
  }

  .service-card-img {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
    border-width: 2px;
  }

  .type-tab {
    padding: 6px 12px;
    font-size: .82rem;
  }

  .comp-pill,
  .subcat-pill {
    padding: 4px 10px;
    font-size: .75rem;
  }

  .listing-page-title {
    margin-bottom: .6rem;
    font-size: 1rem;
  }

  .breadcrumb-bar .breadcrumb-item:not(:last-child):not(:first-child) {
    display: none;
  }

  .breadcrumb-bar .breadcrumb-item:nth-child(2)::after {
    content: "...";
    margin: 0 .3em;
  }

  .news-hcard {
    flex-direction: column;
  }

  .news-hcard-img {
    width: 100%;
    height: 180px;
    flex-basis: auto;
  }

  .news-hcard-title {
    font-size: .9rem;
  }

  .news-hcard-summary {
    display: none;
  }

  .dt99-banner-slot {
    margin-top: 12px;
    margin-bottom: 12px;
  }

  .dt99-banner-track {
    gap: 10px;
  }

  .dt99-banner-card {
    min-height: 86px;
    border-radius: var(--radius-md);
  }

  .dt99-banner-card img {
    aspect-ratio: 16 / 7;
  }

  .dt99-banner-video {
    aspect-ratio: 16 / 7;
  }

  .dt99-banner-slot--footer_top_slider .dt99-banner-card img {
    aspect-ratio: 1 / 1;
  }

  .dt99-banner-slot--footer_top_slider .dt99-banner-video {
    aspect-ratio: 1 / 1;
  }

  .dt99-banner-copy {
    padding: 24px 12px 10px;
  }

  .dt99-banner-copy strong {
    font-size: .84rem;
  }

  .dt99-banner-copy em {
    display: none;
  }

  .footer-main .col-md-3 {
    width: 50% !important;
    flex: 0 0 50%;
  }

  .footer-main .col-md-3:nth-child(3),
  .footer-main .col-md-3:nth-child(4) {
    display: none;
  }

  .footer-main .row {
    row-gap: 1.5rem !important;
  }

  .footer-main .py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
}

/* ========================================================================== 
   Commerce refresh - focused retail UX inspired by leading laptop stores.
   The visual system remains Thanh Nga's own: blue, white and warm accents.
   ========================================================================== */
:root {
  --clr-bg: #f2f4f7;
  --clr-accent: #f05a28;
  --clr-accent-soft: #fff2eb;
  --clr-green-soft: #eaf8f1;
  --header-h: 72px;
}

body {
  background: var(--clr-bg);
  color: #172033;
  letter-spacing: 0;
}

main {
  max-width: none;
  background: transparent;
  box-shadow: none;
}

@media (min-width: 1200px) {
  .container { max-width: 1320px; }
}

.commerce-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: #fff;
  box-shadow: 0 2px 12px rgba(16, 24, 40, .08);
}

.commerce-header-main {
  background: #fff;
}

.commerce-header-row {
  display: grid;
  grid-template-columns: 180px minmax(320px, 1fr) auto;
  gap: 22px;
  align-items: center;
  min-height: 72px;
}

.commerce-logo {
  display: flex;
  align-items: center;
  min-width: 0;
}

.commerce-logo .navbar-brand-logo {
  width: 160px;
  max-width: 100%;
  height: 44px;
  object-fit: contain;
}

.commerce-logo .navbar-brand-text {
  color: var(--clr-primary) !important;
}

.commerce-search .search-form {
  min-height: 44px;
  border: 1px solid #d7dce3;
  border-radius: 7px;
  box-shadow: none;
}

.commerce-search .search-form:focus-within {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(21, 84, 192, .12);
}

.commerce-search .search-input {
  padding: 11px 16px;
  font-size: .94rem;
}

.commerce-search .search-btn {
  align-self: stretch;
  width: 52px;
  border-left: 1px solid #e0e4ea;
  color: var(--clr-primary);
  font-size: 1.05rem;
}

.commerce-utility {
  display: flex;
  align-items: center;
  gap: 20px;
}

.commerce-utility-link {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #1f2937;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.commerce-utility-link > i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #dce2ea;
  border-radius: 50%;
  color: var(--clr-primary);
  font-size: 1rem;
}

.commerce-utility-link small {
  display: block;
  margin-bottom: 3px;
  color: #667085;
  font-size: .7rem;
  font-weight: 500;
}

.commerce-utility-phone { color: var(--clr-primary); }

.commerce-menu-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 6px;
  background: var(--clr-primary-soft);
  color: var(--clr-primary);
  font-size: 1.55rem;
}

.catalog-bar {
  min-height: 44px;
  background: var(--clr-primary);
  color: #fff;
}

.catalog-bar-row {
  display: flex;
  align-items: stretch;
  min-height: 44px;
}

.catalog-menu-wrap {
  position: relative;
  flex: 0 0 245px;
}

.catalog-menu-button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border: 0;
  background: #0d409d;
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-menu-wrap:hover .catalog-mega,
.catalog-menu-wrap:focus-within .catalog-mega {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.catalog-mega {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1100;
  display: grid;
  grid-template-columns: repeat(3, minmax(210px, 1fr));
  gap: 0;
  width: min(760px, 80vw);
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  background: #fff;
  border: 1px solid #e1e5eb;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 18px 35px rgba(16, 24, 40, .18);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.catalog-mega-group {
  min-height: 100%;
  padding: 9px 12px;
  border-right: 1px solid #eef0f3;
}

.catalog-mega-group:last-child { border-right: 0; }

.catalog-mega-parent {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #172033;
  font-weight: 800;
  text-decoration: none;
}

.catalog-mega-parent i { color: var(--clr-primary); }

.catalog-mega-children {
  display: grid;
  gap: 4px;
}

.catalog-mega-children a {
  padding: 4px 0 4px 25px;
  color: #596579;
  font-size: .8rem;
  text-decoration: none;
}

.catalog-nav {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}

.catalog-nav::-webkit-scrollbar { display: none; }

.catalog-nav a {
  display: flex;
  align-items: center;
  padding: 0 17px;
  color: #fff;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.catalog-nav a:hover,
.catalog-nav a:focus-visible {
  background: rgba(255, 255, 255, .13);
  color: #fff;
}

.catalog-promises {
  align-items: center;
  gap: 18px;
  margin-left: auto;
  font-size: .75rem;
  white-space: nowrap;
}

.catalog-promises span { display: flex; align-items: center; gap: 5px; }

.commerce-drawer-head {
  background: #fff;
  color: #172033;
  border-bottom: 1px solid #e5e7eb;
}

.commerce-mobile-search {
  position: relative;
  padding: 14px;
  background: #f7f8fa;
}

.commerce-mobile-search .search-form {
  border: 1px solid #d7dce3;
}

.quick-contact-box { display: none !important; }

.commerce-home { padding-bottom: 32px; }

.commerce-hero {
  padding: 18px 0 0;
}

.commerce-hero-grid {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr) 250px;
  gap: 14px;
  align-items: stretch;
}

.home-catalog-panel,
.home-help-panel,
.home-main-promo {
  min-width: 0;
  min-height: 380px;
  background: #fff;
  border: 1px solid #e1e5eb;
  border-radius: 7px;
}

.home-catalog-title,
.home-help-head {
  min-height: 48px;
  padding: 14px 16px;
  border-bottom: 1px solid #e7eaf0;
  color: #172033;
  font-size: .9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-catalog-title i { margin-right: 7px; color: var(--clr-primary); }

.home-catalog-list { padding: 7px 0; }

.home-catalog-item { position: relative; }

.home-catalog-item > a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 8px 15px;
  color: #2b3445;
  font-size: .84rem;
  font-weight: 650;
  text-decoration: none;
}

.home-catalog-item > a > i:first-child {
  width: 22px;
  color: var(--clr-primary);
  font-size: 1.05rem;
}

.home-catalog-item > a > i:last-child { color: #98a2b3; font-size: .7rem; }

.home-catalog-item:hover > a { background: var(--clr-primary-soft); color: var(--clr-primary); }

.home-catalog-submenu {
  position: absolute;
  top: -8px;
  left: 100%;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 5px 18px;
  width: 440px;
  padding: 18px;
  visibility: hidden;
  opacity: 0;
  background: #fff;
  border: 1px solid #e1e5eb;
  border-radius: 0 7px 7px 0;
  box-shadow: 12px 12px 28px rgba(16, 24, 40, .14);
}

.home-catalog-item:hover .home-catalog-submenu { visibility: visible; opacity: 1; }
.home-catalog-submenu strong { grid-column: 1 / -1; color: #172033; }
.home-catalog-submenu a { color: #596579; font-size: .82rem; text-decoration: none; }
.home-catalog-submenu a:hover { color: var(--clr-primary); }

.home-catalog-all {
  display: flex;
  justify-content: space-between;
  margin: 3px 14px 12px;
  padding: 10px 0 2px;
  border-top: 1px solid #edf0f3;
  color: var(--clr-primary);
  font-size: .82rem;
  font-weight: 750;
  text-decoration: none;
}

.home-main-promo {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
}

.home-main-promo > .dt99-banner-slot {
  min-height: 0;
  height: 100%;
  margin: 0 !important;
}

.home-main-promo .dt99-banner-frame,
.home-main-promo .dt99-banner-track,
.home-main-promo .dt99-banner-item,
.home-main-promo .dt99-banner-card,
.home-main-promo .dt99-banner-card picture {
  height: 100%;
  min-height: 0;
}

.home-main-promo .dt99-banner-card img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  aspect-ratio: auto;
  object-fit: cover;
}

.home-main-promo .dt99-banner-copy { display: none; }

.home-promo-fallback {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
  background: #eaf1ff;
  color: #172033;
  text-decoration: none;
}

.home-promo-fallback span { color: var(--clr-primary); font-weight: 800; text-transform: uppercase; }
.home-promo-fallback strong { max-width: 560px; margin: 8px 0; font-size: 2rem; line-height: 1.15; }
.home-promo-fallback small { color: #5c6678; }

.home-promo-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #e4e7ec;
}

.home-promo-links a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 74px;
  padding: 10px 13px;
  border-right: 1px solid #e4e7ec;
  color: #263043;
  text-decoration: none;
}

.home-promo-links a:last-child { border-right: 0; }
.home-promo-links i { color: var(--clr-primary); font-size: 1.25rem; }
.home-promo-links strong, .home-promo-links small { display: block; }
.home-promo-links strong { font-size: .8rem; }
.home-promo-links small { margin-top: 2px; color: #7b8493; font-size: .68rem; }

.home-help-panel { padding-bottom: 12px; }
.home-help-head { display: flex; align-items: center; justify-content: space-between; }
.home-help-head small { color: #7b8493; font-size: .65rem; font-weight: 600; text-transform: none; }

.home-help-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 10px 12px 0;
  padding: 13px 10px;
  border: 1px solid #e6e9ee;
  border-radius: 6px;
  color: #263043;
  text-decoration: none;
}

.home-help-card > i:first-child {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--clr-primary-soft);
  color: var(--clr-primary);
}

.home-help-card > i:last-child { color: #98a2b3; font-size: .7rem; }
.home-help-card strong, .home-help-card small { display: block; }
.home-help-card strong { font-size: .79rem; }
.home-help-card small { margin-top: 3px; color: #778193; font-size: .67rem; }
.home-help-card:hover { border-color: #9db9e8; color: var(--clr-primary); }

.home-help-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 12px 12px 0;
  min-height: 54px;
  border-radius: 6px;
  background: var(--clr-accent-soft);
  color: #d84315;
  font-weight: 800;
  text-decoration: none;
}

.home-help-phone small { display: block; color: #7a4a3a; font-size: .65rem; font-weight: 600; }

.home-trust { padding: 14px 0 0; }
.home-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  border: 1px solid #e1e5eb;
  border-radius: 7px;
}

.home-trust-grid > div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 20px;
  border-right: 1px solid #e7eaf0;
}

.home-trust-grid > div:last-child { border-right: 0; }
.home-trust-grid > div > i { color: var(--clr-accent); font-size: 1.4rem; }
.home-trust-grid strong, .home-trust-grid small { display: block; }
.home-trust-grid strong { color: #253047; font-size: .8rem; }
.home-trust-grid small { margin-top: 3px; color: #7b8493; font-size: .68rem; }

.commerce-product-section,
.home-service-section,
.home-budget-section,
.home-news-section,
.home-real-section {
  padding: 28px 0 0;
}

.commerce-product-section .container,
.home-service-section .container,
.home-budget-section .container,
.home-news-section .container,
.home-real-section .container {
  padding: 22px;
  background: #fff;
  border: 1px solid #e1e5eb;
  border-radius: 7px;
}

.commerce-product-section--featured .container { border-top: 3px solid var(--clr-accent); }
.commerce-product-section--soft .container { background: #fbfcfe; }

.commerce-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.commerce-section-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--clr-accent);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.commerce-section-head h1,
.commerce-section-head h2 {
  margin: 0;
  color: #172033;
  font-size: 1.32rem;
  font-weight: 850;
}

.commerce-section-head > a,
.commerce-view-all {
  color: var(--clr-primary);
  font-size: .8rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.commerce-category-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}

.commerce-category-links a {
  padding: 6px 10px;
  border: 1px solid #e0e4e9;
  border-radius: 5px;
  color: #536071;
  font-size: .72rem;
  text-decoration: none;
}

.commerce-category-links a:hover { border-color: var(--clr-primary); color: var(--clr-primary); }

/* Homepage repair and upgrade shortcuts */
.home-repair-services {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.home-repair-service {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 174px;
  padding: 16px 14px 13px;
  border: 1px solid #dfe4ea;
  border-radius: 6px;
  background: #fff;
  color: #172033;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.home-repair-service:hover {
  border-color: #8eb0e8;
  box-shadow: 0 5px 14px rgba(21, 84, 192, .12);
  color: #0b368f;
  transform: translateY(-2px);
}

.home-repair-service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 13px;
  border-radius: 6px;
  background: #edf4ff;
  color: var(--clr-primary);
  font-size: 1.2rem;
}

.home-repair-service-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.home-repair-service-copy strong {
  display: block;
  min-height: 2.7em;
  font-size: .86rem;
  line-height: 1.35;
}

.home-repair-service-copy small {
  display: block;
  margin-top: 7px;
  color: #667085;
  font-size: .7rem;
  line-height: 1.45;
}

.home-repair-service-arrow {
  align-self: flex-end;
  margin-top: 10px;
  color: #7890b5;
  font-size: .78rem;
}

.home-repair-service:hover .home-repair-service-arrow { color: var(--clr-primary); }

/* Repair landing content: anchors used by homepage shortcuts land on real,
   crawlable service descriptions instead of an empty product grid. */
.repair-service-hub {
  margin: 0 0 26px;
  padding: 20px;
  border: 1px solid #e1e6ed;
  border-radius: 6px;
  background: #f8fafc;
}

.repair-service-hub-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.repair-service-hub-head h2 {
  margin: 4px 0 6px;
  color: #172033;
  font-size: 1.25rem;
  line-height: 1.35;
}

.repair-service-hub-head p {
  max-width: 720px;
  margin: 0;
  color: #5d6878;
  font-size: .88rem;
  line-height: 1.6;
}

.repair-service-hub-call {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid #b7c9e8;
  border-radius: 5px;
  background: #fff;
  color: var(--clr-primary);
  font-size: .82rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.repair-service-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.repair-service-hub-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid #e1e6ed;
  border-radius: 5px;
  background: #fff;
  scroll-margin-top: 88px;
}

.repair-service-hub-card > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 9px;
  border-radius: 5px;
  background: #edf4ff;
  color: var(--clr-primary);
}

.repair-service-hub-card h3 {
  margin: 0 0 5px;
  color: #172033;
  font-size: .91rem;
  line-height: 1.35;
}

.repair-service-hub-card p {
  min-height: 3.1em;
  margin: 0 0 9px;
  color: #667085;
  font-size: .76rem;
  line-height: 1.5;
}

.repair-service-hub-card a {
  color: var(--clr-primary);
  font-size: .76rem;
  font-weight: 700;
  text-decoration: none;
}

.repair-service-hub-card a:hover { text-decoration: underline; }

.seo-pagination {
  display: flex;
  justify-content: center;
  margin: 18px 0 6px;
}

.seo-pagination ul {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-pagination a,
.seo-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  border: 1px solid #dfe4ea;
  border-radius: 4px;
  background: #fff;
  color: #536071;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}

.seo-pagination a:hover,
.seo-pagination span[aria-current="page"] {
  border-color: var(--clr-primary);
  background: var(--clr-primary);
  color: #fff;
}

.product-grid,
.product-grid--home,
.product-grid--listing,
.product-grid--related {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card,
.item-card {
  overflow: visible;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
}

.product-card-link {
  min-width: 0;
  padding: 0 0 12px;
  border-bottom: 1px solid #e5e8ed;
}

.product-card:hover,
.item-card:hover {
  box-shadow: none;
  transform: none;
}

.product-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  background: #f7f8fa;
}

.product-card-img,
.item-card img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  transition: transform .22s ease;
}

.product-card-link:hover .product-card-img { transform: scale(1.025); }

.disc-badge {
  top: 9px;
  right: 9px;
  z-index: 3;
  padding: 5px 8px;
  border-radius: 4px;
  background: var(--clr-accent);
  font-size: .7rem;
}

.product-card-body { padding: 11px 2px 0; }

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 24px;
  margin-bottom: 7px;
}

.product-card-category {
  overflow: hidden;
  color: #667085;
  font-size: .67rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-stock {
  padding: 4px 7px;
  border-radius: 4px;
  background: var(--clr-green-soft);
  color: #087f5b;
  font-size: .64rem;
  font-weight: 750;
  white-space: nowrap;
}

.product-card-name,
.item-card-name {
  min-height: 2.8em;
  font-size: .91rem;
  font-weight: 750;
  line-height: 1.4;
}

.product-card-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-height: 28px;
  margin-top: 9px;
}

.product-card-price { color: #d92d20; font-size: 1.04rem; font-weight: 850; }
.product-card-market { color: #98a2b3; font-size: .73rem; }

.product-card-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  color: var(--clr-primary);
  font-size: .71rem;
  font-weight: 700;
}

.home-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-service-feature {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(240px, 1.2fr);
  overflow: hidden;
  min-height: 260px;
  border: 1px solid #dfe4ea;
  border-radius: 7px;
  background: #f8faff;
}

.home-service-feature--buyback { background: #f6fbf8; }
.home-service-copy { padding: 26px; }
.home-service-copy > i { color: var(--clr-primary); font-size: 1.7rem; }
.home-service-feature--buyback .home-service-copy > i { color: #087f5b; }
.home-service-copy h3 { margin: 12px 0 9px; font-size: 1.12rem; line-height: 1.35; }
.home-service-copy p { margin: 0 0 16px; color: #667085; font-size: .8rem; line-height: 1.6; }
.home-service-copy a { color: var(--clr-primary); font-size: .78rem; font-weight: 750; text-decoration: none; }

.home-service-banner,
.home-service-banner > .dt99-banner-slot,
.home-service-banner .dt99-banner-frame,
.home-service-banner .dt99-banner-track,
.home-service-banner .dt99-banner-item,
.home-service-banner .dt99-banner-card,
.home-service-banner picture { height: 100%; min-height: 0; margin: 0 !important; }
.home-service-banner img { width: 100%; height: 100%; min-height: 260px; aspect-ratio: auto !important; object-fit: cover; }
.home-service-banner .dt99-banner-copy { display: none; }

.home-budget-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #e4e8ee;
  border-bottom: 1px solid #e4e8ee;
}

.home-budget-band {
  min-width: 0;
  padding: 18px;
  border-left: 1px solid #e4e8ee;
}

.home-budget-band:first-child { border-left: 0; }
.home-budget-band-head { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.home-budget-band-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 6px;
  background: #eef4ff;
  color: var(--clr-primary);
  font-size: 1.05rem;
}

.home-budget-band-head > div { min-width: 0; flex: 1; }
.home-budget-band-head small { display: block; color: #7b8493; font-size: .64rem; line-height: 1.2; }
.home-budget-band-head h3 { margin: 2px 0 0; color: #172033; font-size: 1rem; font-weight: 850; }
.home-budget-band-head > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: var(--clr-primary);
  border: 1px solid #dbe4f2;
  border-radius: 50%;
}

.home-budget-band-head > a:hover { color: #fff; background: var(--clr-primary); border-color: var(--clr-primary); }
.home-budget-products { display: grid; }
.home-budget-product {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 116px;
  padding: 12px 0;
  color: #172033;
  border-top: 1px solid #edf0f4;
  text-decoration: none;
}

.home-budget-product:first-child { border-top: 0; }
.home-budget-product-media { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #f5f7fa; }
.home-budget-product-media picture,
.home-budget-product-media img { display: block; width: 100%; height: 100%; }
.home-budget-product-media img { object-fit: contain; }
.home-budget-product-copy { display: block; min-width: 0; }
.home-budget-product-copy small { display: block; margin-bottom: 4px; color: #7b8493; font-size: .62rem; }
.home-budget-product-copy h4 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #263247;
  font-size: .79rem;
  font-weight: 750;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-budget-product-copy b { display: block; margin-top: 7px; color: #d92d20; font-size: .9rem; font-weight: 850; }
.home-budget-product:hover .home-budget-product-copy h4 { color: var(--clr-primary); }

.home-repair-help-section { padding: 28px 0 0; }
.home-repair-help-section > .container {
  padding: 0;
  border: 0;
  background: transparent;
}
.home-repair-help {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid #bfd4f4;
  border-left: 4px solid var(--clr-primary);
  border-radius: 7px;
  background: #f5f9ff;
}
.home-repair-help-main { min-width: 0; padding: 25px 28px; }
.home-repair-help-main h2 { margin: 4px 0 8px; color: #132f68; font-size: 1.35rem; line-height: 1.35; }
.home-repair-help-main p { max-width: 680px; margin: 0; color: #536174; font-size: .84rem; line-height: 1.6; }
.home-repair-help-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.home-repair-help-actions a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border-radius: 5px; font-size: .77rem; font-weight: 750; text-decoration: none; }
.home-repair-help-call { color: #fff; background: var(--clr-primary); }
.home-repair-help-call:hover { color: #fff; background: var(--clr-primary-dk); }
.home-repair-help-call > i { font-size: .95rem; }
.home-repair-help-call span { display: flex; flex-direction: column; line-height: 1.2; }
.home-repair-help-call small { font-size: .62rem; font-weight: 650; opacity: .86; }
.home-repair-help-call strong { margin-top: 2px; font-size: .82rem; }
.home-repair-help-zalo { color: #075985; border: 1px solid #a7d8f1; background: #eaf8ff; }
.home-repair-help-zalo:hover { color: #064e70; border-color: #62bce5; }
.home-repair-help-all { color: var(--clr-primary); border: 1px solid #bfd4f4; background: #fff; }
.home-repair-help-all:hover { color: var(--clr-primary-dk); border-color: #8eb0e8; }
.home-repair-help-links { min-width: 0; padding: 22px 24px; border-left: 1px solid #d4e1f4; background: #fff; }
.home-repair-help-links h3 { margin: 0 0 8px; color: #263247; font-size: .9rem; font-weight: 850; }
.home-repair-help-links ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin: 0; padding: 0; list-style: none; }
.home-repair-help-links li { min-width: 0; border-top: 1px solid #edf0f4; }
.home-repair-help-links li:nth-child(-n+2) { border-top: 0; }
.home-repair-help-links a { display: flex; align-items: center; gap: 7px; min-height: 38px; color: #3d4b61; font-size: .72rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
.home-repair-help-links a > span { min-width: 0; flex: 1; }
.home-repair-help-links a > i:first-child { flex: 0 0 16px; color: var(--clr-primary); text-align: center; }
.home-repair-help-links a > i:last-child { flex: 0 0 auto; color: #9aa8ba; font-size: .65rem; }
.home-repair-help-links a:hover { color: var(--clr-primary); }

.home-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-news-card { overflow: hidden; border: 1px solid #e1e5eb; border-radius: 7px; color: #172033; text-decoration: none; }
.home-news-media { aspect-ratio: 16 / 9; overflow: hidden; background: #f4f6f8; }
.home-news-media img { width: 100%; height: 100%; object-fit: cover; }
.home-news-card > div:last-child { padding: 14px; }
.home-news-card span { color: var(--clr-accent); font-size: .67rem; font-weight: 800; text-transform: uppercase; }
.home-news-card h3 { margin: 6px 0; font-size: .95rem; line-height: 1.4; }
.home-news-card p { margin: 0; color: #667085; font-size: .76rem; line-height: 1.5; }

.home-reading-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 20px; }
.home-reading-feature,
.home-reading-item { min-width: 0; }
.home-reading-feature > a,
.home-reading-item > a { color: #172033; text-decoration: none; }
.home-reading-feature > a { display: block; overflow: hidden; height: 100%; border: 1px solid #e1e5eb; border-radius: 7px; }
.home-reading-feature-media { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #f4f6f8; }
.home-reading-feature-media picture,
.home-reading-feature-media img,
.home-reading-item-media picture,
.home-reading-item-media img { display: block; width: 100%; height: 100%; }
.home-reading-feature-media img,
.home-reading-item-media img { object-fit: cover; }
.home-reading-feature-copy { display: block; padding: 18px; }
.home-reading-feature-copy small,
.home-reading-item-copy small { display: block; color: var(--clr-accent); font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.home-reading-feature-copy time,
.home-reading-item-copy time { margin-left: 6px; color: #7b8493; font-weight: 650; }
.home-reading-feature-copy > h3 { display: block; margin: 7px 0 0; font-size: 1.12rem; line-height: 1.4; }
.home-reading-feature-copy > span { display: block; margin-top: 8px; color: #667085; font-size: .78rem; line-height: 1.55; }
.home-reading-list { display: grid; gap: 10px; }
.home-reading-item > a {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  min-height: 92px;
  border: 1px solid #e4e7ec;
  border-radius: 6px;
}
.home-reading-item-media { display: block; overflow: hidden; min-height: 92px; background: #f4f6f8; }
.home-reading-item-copy { display: flex; min-width: 0; padding: 11px 13px; flex-direction: column; justify-content: center; }
.home-reading-item-copy > h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 4px 0 0;
  font-size: .8rem;
  font-weight: 750;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.home-reading-item-copy > span { margin-top: 5px; color: var(--clr-primary); font-size: .68rem; font-weight: 700; }
.home-reading-feature > a:hover h3,
.home-reading-item > a:hover h3 { color: var(--clr-primary); }

.home-real-head { align-items: flex-end; }
.home-real-section .dt99-banner-slot--home_brand_media { width: 100%; margin: 0; }
.home-real-section .dt99-banner-slot--home_brand_media .dt99-banner-frame { height: auto; }
.home-real-section .dt99-brand-media-groups { display: grid; gap: 24px; }
.home-real-section .dt99-brand-group { min-width: 0; }
.home-real-section .dt99-brand-group-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.home-real-section .dt99-brand-group-head h3 { display: flex; align-items: center; gap: 8px; margin: 0; color: #263247; font-size: .92rem; font-weight: 800; }
.home-real-section .dt99-brand-group-head h3 i { color: var(--clr-accent); font-size: 1.05rem; }
.home-real-section .dt99-brand-group-head > span { color: #7b8493; font-size: .68rem; white-space: nowrap; }
.home-real-section .dt99-brand-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.home-real-section .dt99-brand-videos .dt99-banner-item { min-width: 0; }
.home-real-section .dt99-brand-videos .dt99-banner-card,
.home-real-section .dt99-brand-images .dt99-banner-card {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e1e5eb;
  border-radius: 7px;
  box-shadow: none;
}
.home-real-section .dt99-brand-videos .dt99-banner-video,
.home-real-section .dt99-brand-videos .dt99-banner-video-open,
.home-real-section .dt99-brand-videos .dt99-banner-video-fallback { width: 100%; min-height: 0; aspect-ratio: 16 / 9; flex: 0 0 auto; }
.home-real-section .dt99-brand-videos .dt99-banner-video video,
.home-real-section .dt99-brand-videos .dt99-banner-video iframe { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-real-section .dt99-brand-videos .dt99-banner-copy {
  position: static;
  display: block;
  min-height: 84px;
  padding: 13px 15px;
  color: #263247;
  background: #fff;
  border-top: 1px solid #e7eaf0;
}
.home-real-section .dt99-brand-videos .dt99-banner-copy strong { display: block; font-size: .84rem; line-height: 1.4; }
.home-real-section .dt99-brand-videos .dt99-banner-copy em {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 4px;
  color: #667085;
  font-size: .7rem;
  font-style: normal;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.home-real-section .dt99-brand-images {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 24%);
  gap: 12px;
  overflow-x: auto;
  padding: 1px 1px 9px;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: #b7c4d8 #eef2f7;
  scrollbar-width: thin;
}
.home-real-section .dt99-brand-images .dt99-banner-item { min-width: 0; scroll-snap-align: start; }
.home-real-section .dt99-brand-images picture { display: block; width: 100%; height: auto; flex: 0 0 auto; }
.home-real-section .dt99-brand-images img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.home-real-section .dt99-brand-images .dt99-banner-copy {
  position: static;
  display: block;
  min-height: 76px;
  padding: 11px 12px;
  color: #263247;
  background: #fff;
  border-top: 1px solid #e7eaf0;
}
.home-real-section .dt99-brand-images .dt99-banner-copy strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: .75rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.home-real-section .dt99-brand-images .dt99-banner-copy em { display: none; }
.home-real-section .dt99-banner-slot--home_brand_media .dt99-banner-arrow { display: none; }

.site-footer { margin-top: 32px; background: #fff; border-top: 3px solid var(--clr-primary); }
.footer-main { background: #fff !important; }
.footer-col-title { color: #172033; font-size: .78rem; }
.footer-bottom { background: #f5f7fa; border-top: 1px solid #e4e7ec; }

@media (max-width: 1199.98px) {
  .commerce-header-row { grid-template-columns: 160px minmax(260px, 1fr) 42px; gap: 14px; }
  .commerce-hero-grid { grid-template-columns: 220px minmax(0, 1fr); }
  .home-help-panel { display: none; }
  .home-repair-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-service-feature { grid-template-columns: 1fr; }
  .home-service-banner { height: 210px; order: -1; }
  .home-service-banner img { min-height: 210px; }
}

@media (max-width: 991.98px) {
  :root { --header-h: 62px; }
  .commerce-header-row { grid-template-columns: 132px minmax(0, 1fr) 42px; min-height: 62px; }
  .commerce-logo .navbar-brand-logo { width: 128px; height: 38px; }
  .catalog-bar { min-height: 40px; }
  .catalog-bar-row { min-height: 40px; }
  .catalog-nav { width: 100%; justify-content: center; }
  .catalog-nav a { min-height: 40px; padding: 0 12px; font-size: .76rem; }
  .commerce-hero-grid { grid-template-columns: 1fr; }
  .home-catalog-panel { display: none; }
  .home-main-promo { min-height: 360px; }
  .home-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-trust-grid > div:nth-child(2) { border-right: 0; }
  .home-trust-grid > div:nth-child(-n+2) { border-bottom: 1px solid #e7eaf0; }
  .product-grid, .product-grid--home, .product-grid--listing, .product-grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .commerce-section-head--categories { align-items: flex-start; flex-direction: column; }
  .commerce-category-links { justify-content: flex-start; }
  .home-service-grid { grid-template-columns: 1fr; }
  .home-repair-help { grid-template-columns: 1fr; }
  .home-repair-help-links { border-top: 1px solid #d4e1f4; border-left: 0; }
  .home-budget-grid { grid-template-columns: 1fr; }
  .home-budget-band { padding: 16px 0; border-top: 1px solid #e4e8ee; border-left: 0; }
  .home-budget-band:first-child { border-top: 0; }
  .home-budget-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .home-budget-product:nth-child(2) { border-top: 0; }
  .home-reading-layout { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
  .commerce-header-row { grid-template-columns: 105px minmax(0, 1fr) 40px; gap: 8px; }
  .commerce-logo .navbar-brand-logo { width: 102px; height: 34px; }
  .commerce-search .search-form { min-height: 40px; }
  .commerce-search .search-input { padding: 9px 10px; font-size: .8rem; }
  .commerce-search .search-btn { width: 40px; }
  .catalog-nav { justify-content: flex-start; }
  .catalog-nav a { padding: 0 11px; }
  .commerce-hero { padding-top: 10px; }
  .commerce-hero .container, .home-trust .container { padding-right: 10px; padding-left: 10px; }
  .home-main-promo { min-height: 0; grid-template-rows: auto auto; }
  .home-main-promo > .dt99-banner-slot,
  .home-main-promo .dt99-banner-frame,
  .home-main-promo .dt99-banner-track,
  .home-main-promo .dt99-banner-item,
  .home-main-promo .dt99-banner-card,
  .home-main-promo .dt99-banner-card picture { height: auto; }
  .home-main-promo .dt99-banner-card img { min-height: 0; height: auto; aspect-ratio: auto; object-fit: contain; }
  .home-promo-links a { min-height: 68px; padding: 8px; justify-content: center; }
  .home-promo-links i { font-size: 1.1rem; }
  .home-promo-links small { display: none; }
  .home-promo-links strong { font-size: .69rem; }
  .home-trust-grid > div { min-height: 68px; padding: 10px; gap: 8px; }
  .home-trust-grid > div > i { font-size: 1.1rem; }
  .home-trust-grid strong { font-size: .72rem; }
  .home-trust-grid small { display: none; }
  .commerce-product-section, .home-service-section, .home-budget-section, .home-news-section, .home-real-section { padding-top: 18px; }
  .commerce-product-section .container, .home-service-section .container, .home-budget-section .container, .home-news-section .container, .home-real-section .container { padding: 15px 10px; border-right: 0; border-left: 0; border-radius: 0; }
  .commerce-section-head { align-items: flex-start; margin-bottom: 14px; }
  .commerce-section-head h1, .commerce-section-head h2 { font-size: 1.08rem; }
  .commerce-category-links { overflow-x: auto; width: 100%; flex-wrap: nowrap; justify-content: flex-start; padding-bottom: 4px; }
  .product-grid, .product-grid--home, .product-grid--listing, .product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 9px; }
  .home-repair-services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .home-repair-service { min-height: 158px; padding: 13px 11px 11px; }
  .home-repair-service-copy strong { font-size: .8rem; }
  .home-repair-service-copy small { font-size: .67rem; }
  .repair-service-hub { margin-right: -5px; margin-left: -5px; padding: 14px 12px; }
  .repair-service-hub-head { display: block; }
  .repair-service-hub-head h2 { font-size: 1.02rem; }
  .repair-service-hub-head p { font-size: .78rem; }
  .repair-service-hub-call { margin-top: 11px; }
  .repair-service-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .repair-service-hub-card { padding: 11px 10px; }
  .repair-service-hub-card h3 { font-size: .8rem; }
  .repair-service-hub-card p { min-height: 0; font-size: .69rem; }
  .repair-service-hub-card a { font-size: .69rem; }
  .product-card-media { aspect-ratio: 1 / 1; }
  .product-card-img, .item-card img { aspect-ratio: 1 / 1; }
  .product-card-body { padding-top: 8px; }
  .product-card-meta { display: block; min-height: 20px; margin-bottom: 5px; }
  .product-card-stock { display: inline-block; margin-top: 4px; }
  .product-card-name, .item-card-name { font-size: .78rem; }
  .product-card-price { font-size: .88rem; }
  .product-card-market { display: none; }
  .product-card-action { display: none; }
  .home-service-feature { min-height: 0; }
  .home-service-copy { padding: 20px; }
  .home-repair-help-section { padding-top: 18px; }
  .home-repair-help-main { padding: 19px 16px; }
  .home-repair-help-main h2 { font-size: 1.08rem; }
  .home-repair-help-main p { font-size: .77rem; }
  .home-repair-help-actions { align-items: stretch; flex-direction: column; }
  .home-repair-help-actions a { justify-content: center; width: 100%; }
  .home-repair-help-links { padding: 17px 16px; }
  .home-repair-help-links a { font-size: .7rem; }
  .home-news-grid { grid-template-columns: 1fr; }
  .home-reading-feature-copy { padding: 15px; }
  .home-reading-feature-copy > h3 { font-size: 1rem; }
  .home-reading-item > a { grid-template-columns: 112px minmax(0, 1fr); }
  .home-real-head { align-items: flex-start; }
  .home-real-section .dt99-brand-media-groups { gap: 20px; }
  .home-real-section .dt99-brand-videos {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 88%);
    gap: 11px;
    overflow-x: auto;
    padding: 1px 1px 8px;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .home-real-section .dt99-brand-videos::-webkit-scrollbar { display: none; }
  .home-real-section .dt99-brand-videos .dt99-banner-item { scroll-snap-align: start; }
  .home-real-section .dt99-brand-videos .dt99-banner-copy { min-height: 78px; padding: 11px 12px; }
  .home-real-section .dt99-brand-images { grid-auto-columns: minmax(190px, 64%); gap: 9px; scrollbar-width: none; }
  .home-real-section .dt99-brand-images::-webkit-scrollbar { display: none; }
}

/* Product detail: real RAM/SSD alternatives for the same model family. */
.configuration-variants {
  margin-top: 14px;
  padding: 15px;
  border: 1px solid #e1e7f0;
  border-radius: 10px;
  background: #fff;
}

.configuration-variants-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.configuration-variants-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--clr-primary, #1554c0);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.configuration-variants-head h2 {
  margin: 0;
  color: #172033;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.configuration-variants-head p {
  margin: 4px 0 0;
  color: #667085;
  font-size: .76rem;
  line-height: 1.45;
}

.configuration-variants-count {
  flex: 0 0 auto;
  padding: 4px 7px;
  color: #1554c0;
  background: #edf4ff;
  border-radius: 5px;
  font-size: .68rem;
  font-weight: 800;
  white-space: nowrap;
}

.configuration-variants-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.configuration-variant-card {
  display: flex;
  min-width: 0;
  gap: 9px;
  padding: 8px;
  color: #172033;
  border: 1px solid #e5eaf1;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.configuration-variant-card:hover {
  color: #172033;
  border-color: #9bb6e5;
  box-shadow: 0 4px 12px rgba(21, 84, 192, .1);
}

.configuration-variant-media {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 6px;
  background: #f5f7fa;
}

.configuration-variant-image,
.configuration-variant-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.configuration-variant-body { min-width: 0; flex: 1 1 auto; }
.configuration-variant-body h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 5px;
  color: #172033;
  font-size: .76rem;
  font-weight: 750;
  line-height: 1.32;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.configuration-variant-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 5px;
}

.configuration-variant-specs span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 4px;
  color: #475467;
  background: #f2f4f7;
  border-radius: 4px;
  font-size: .65rem;
  font-weight: 700;
  line-height: 1.2;
}

.configuration-variant-specs i { color: #1554c0; }
.configuration-variant-price { display: block; color: #d92d20; font-size: .82rem; font-weight: 850; line-height: 1.25; }
.configuration-variant-price-contact { color: #667085; }
.configuration-variant-link { display: block; margin-top: 4px; color: #1554c0; font-size: .68rem; font-weight: 750; }

@media (max-width: 575.98px) {
  .configuration-variants { padding: 12px; }
  .configuration-variants-grid { grid-template-columns: 1fr; }
}

@media (max-width: 479.98px) {
  .commerce-header-row { grid-template-columns: 92px minmax(0, 1fr) 38px; }
  .commerce-logo .navbar-brand-logo { width: 90px; }
  .commerce-menu-toggle { width: 38px; height: 38px; }
  .catalog-nav a:nth-child(n+5) { display: none; }
  .home-promo-fallback { padding: 26px; }
  .home-promo-fallback strong { font-size: 1.45rem; }
  .home-trust-grid > div > i { display: none; }
  .repair-service-hub-grid { grid-template-columns: 1fr; }
  .home-budget-products { grid-template-columns: 1fr; gap: 0; }
  .home-budget-product:nth-child(2) { border-top: 1px solid #edf0f4; }
  .home-budget-product { grid-template-columns: 88px minmax(0, 1fr); min-height: 108px; }
  .home-reading-item > a { grid-template-columns: 94px minmax(0, 1fr); }
  .home-reading-item-copy { padding: 9px 10px; }
  .home-reading-item-copy > span { display: none; }
  .home-repair-help-links ul { grid-template-columns: 1fr; }
  .home-repair-help-links li:nth-child(2) { border-top: 1px solid #edf0f4; }
  .home-real-section .dt99-brand-videos { grid-auto-columns: minmax(260px, 92%); }
  .home-real-section .dt99-brand-images { grid-auto-columns: minmax(185px, 70%); }
}

/* Product listing and filter surface */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid #e5e8ed;
}

.listing-sidebar-col,
.listing-main-col { min-width: 0; }

.listing-sidebar {
  position: sticky;
  top: 132px;
  display: grid !important;
  gap: 12px;
}

.listing-sidebar .sidebar-section {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e0e4e9;
  border-radius: 7px;
  box-shadow: none;
}

.listing-sidebar .sidebar-title {
  padding: 15px 16px;
  background: #fff;
  border-bottom: 1px solid #e5e8ed;
  color: #172033;
  font-size: .86rem;
  font-weight: 850;
  text-transform: uppercase;
}

.listing-sidebar .sidebar-cat-list,
.listing-sidebar .sidebar-children {
  margin: 0;
  padding: 0;
  list-style: none;
}

.listing-sidebar .sidebar-cat-row {
  display: flex;
  align-items: stretch;
  min-height: 42px;
  border-bottom: 1px solid #edf0f3;
}

.listing-sidebar .sidebar-cat-item {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  color: #4a5568;
  font-size: .79rem;
  text-decoration: none;
}

.listing-sidebar .sidebar-cat-item.active {
  background: var(--clr-primary-soft);
  color: var(--clr-primary);
  font-weight: 800;
}

.listing-sidebar .sidebar-toggle {
  width: 38px;
  border: 0;
  background: transparent;
  color: #8a94a4;
}

.listing-sidebar .sidebar-children .sidebar-cat-item { padding-left: 27px; }
.listing-sidebar .sidebar-children .sidebar-children .sidebar-cat-item { padding-left: 40px; }

.sidebar-filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  color: #172033;
  font-size: .82rem;
  font-weight: 800;
}

.sidebar-filter-title i { color: #8b95a5; font-size: .7rem; }
.sidebar-filter-options { display: grid; gap: 2px; padding: 0 12px 14px; }

.sidebar-filter-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 3px;
  color: #596579;
  font-size: .77rem;
  text-decoration: none;
}

.sidebar-filter-check {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid #cfd5dd;
  border-radius: 3px;
  color: transparent;
}

.sidebar-filter-option.active { color: var(--clr-primary); font-weight: 750; }
.sidebar-filter-option.active .sidebar-filter-check { border-color: var(--clr-primary); background: var(--clr-primary); color: #fff; }

.sidebar-filter-note {
  padding: 0 16px 16px;
  color: #778193;
  font-size: .72rem;
  line-height: 1.55;
}

.listing-main-col {
  padding: 20px;
  background: #fff;
  border: 1px solid #e1e5eb;
  border-radius: 7px;
}

.listing-switches {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.commerce-listing-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e8ed;
}

.commerce-listing-head .listing-page-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  color: #172033;
  font-size: 1.35rem;
  font-weight: 850;
}

.commerce-listing-head .listing-page-count {
  color: #778193;
  font-size: .72rem;
  font-weight: 550;
  white-space: nowrap;
}

.listing-sort {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.listing-sort span { margin-right: 3px; color: #667085; font-size: .72rem; }
.listing-sort a {
  padding: 7px 9px;
  border: 1px solid #dfe3e8;
  border-radius: 5px;
  color: #536071;
  font-size: .7rem;
  font-weight: 650;
  text-decoration: none;
}
.listing-sort a.active { border-color: var(--clr-primary); background: var(--clr-primary-soft); color: var(--clr-primary); }

.listing-main-col .comp-pills {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 7px;
  scrollbar-width: thin;
}

.listing-main-col .comp-pill {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid #dfe3e8;
  border-radius: 5px;
  background: #fff;
  color: #536071;
  font-size: .71rem;
  font-weight: 650;
  text-decoration: none;
}

.listing-main-col .comp-pill.active {
  border-color: var(--clr-primary);
  background: var(--clr-primary);
  color: #fff;
}

.listing-main-col .dt99-banner-slot--category_top { margin: 10px 0 18px; }
.listing-main-col .dt99-banner-slot--category_top img { max-height: 260px; object-fit: cover; }

@media (max-width: 991.98px) {
  .listing-sidebar { display: none !important; }
  .listing-main-col { padding: 16px; }
  .commerce-listing-head { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 767.98px) {
  .container.py-4 { padding-top: 12px !important; padding-bottom: 12px !important; }
  .listing-main-col { padding: 13px 10px; border-right: 0; border-left: 0; border-radius: 0; }
  .commerce-listing-head .listing-page-title { display: block; font-size: 1.08rem; line-height: 1.35; }
  .commerce-listing-head .listing-page-count { display: block; margin-top: 4px; }
  .listing-sort { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .listing-sort a { flex: 0 0 auto; }
}

