/* =============================================
   MÁYTINHTRANANH – MAIN STYLESHEET
   Color Scheme: White + Orange (#e65100 / #ff6f00) + Blue accent (#1565c0)
   ============================================= */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  color: #333;
  background: #f5f5f5;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: #e65100; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- CSS VARIABLES ---- */
:root {
  --orange:       #e65100;
  --orange-light: #ff6f00;
  --orange-pale:  #fff3e0;
  --blue:         #1565c0;
  --blue-light:   #1976d2;
  --white:        #ffffff;
  --gray-bg:      #f5f5f5;
  --gray-border:  #e0e0e0;
  --gray-text:    #666;
  --dark:         #1a1a2e;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.15);
  --radius:       6px;
}

/* ---- CONTAINER ---- */
.container { max-width: 1220px; margin: 0 auto; padding: 0 12px; }

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  background: var(--dark);
  color: #bbb;
  font-size: 12px;
  padding: 6px 0;
}
.top-bar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.top-bar a { color: var(--orange-light); }
.top-bar a:hover { color: #fff; }
.top-bar__links { margin-left: auto; }
.top-bar__links a { color: #bbb; margin: 0 5px; }
.top-bar__links a:hover { color: var(--orange-light); }
.top-bar i { margin-right: 4px; }

/* =============================================
   HEADER
   ============================================= */
.header {
  background: var(--white);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  border-bottom: 3px solid var(--orange);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 190px;
}
.logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
}
.logo-text strong {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--blue);
  display: block;
  text-transform: uppercase;
}
.logo-text em {
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: 1px;
  display: block;
  line-height: 1.1;
}

/* Search */
.header__search {
  flex: 1;
  display: flex;
  max-width: 580px;
}
.header__search input {
  flex: 1;
  padding: 10px 16px;
  border: 2px solid var(--orange);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 14px;
  outline: none;
  color: #333;
}
.header__search input:focus { border-color: var(--orange-light); }
.header__search button {
  background: var(--orange);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}
.header__search button:hover { background: var(--orange-light); }

/* Right: hotline + cart */
.header__right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.header__hotline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-size: 22px;
}
.header__hotline div small { font-size: 11px; color: #999; display: block; }
.header__hotline div strong a { font-size: 15px; color: var(--orange); font-weight: 800; }
.header__hotline div strong a:hover { color: var(--orange-light); }

.header__cart {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  position: relative;
  padding: 9px 16px;
  background: var(--orange);
  border-radius: var(--radius);
  transition: background 0.2s;
  white-space: nowrap;
}
.header__cart:hover { background: var(--orange-light); color: #fff; }
.header__cart i { font-size: 18px; }
.cart-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  background: var(--orange);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 3px 8px rgba(230,81,0,0.3);
}
.navbar__inner {
  display: flex;
  align-items: stretch;
}

/* Category toggle */
.navbar__categories {
  background: rgba(0,0,0,0.2);
  color: #fff;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  cursor: pointer;
  min-width: 200px;
  font-size: 14px;
  transition: background 0.2s;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.navbar__categories:hover { background: rgba(0,0,0,0.35); }

/* Nav menu */
.navbar__menu {
  display: flex;
  align-items: stretch;
  flex: 1;
}
.navbar__menu > li { position: relative; }
.navbar__menu > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 13px 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s;
}
.navbar__menu > li > a:hover,
.navbar__menu > li:hover > a {
  background: rgba(0,0,0,0.2);
  color: #fff;
}
.nav-highlight {
  background: var(--blue) !important;
  margin: 7px 8px !important;
  padding: 6px 14px !important;
  border-radius: 4px !important;
}
.nav-highlight:hover { background: var(--blue-light) !important; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  min-width: 480px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--orange);
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 1001;
  padding: 16px 20px;
  display: flex;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: all 0.2s ease;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.dropdown__col h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--orange);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--orange-pale);
  font-weight: 800;
}
.dropdown__col a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px;
  color: #444;
  font-size: 13px;
  border-radius: 4px;
  transition: all 0.15s;
}
.dropdown__col a i { color: var(--orange); font-size: 12px; min-width: 14px; }
.dropdown__col a:hover {
  color: var(--orange);
  background: var(--orange-pale);
  padding-left: 10px;
}

.hamburger { display: none; color: #fff; font-size: 22px; padding: 12px; }

/* =============================================
   HERO / SLIDER (Gọn gàng, nhỏ gọn, chuẩn tỷ lệ)
   ============================================= */
.hero { background: #eeeeee; padding: 10px 0; }
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 12px;
  align-items: stretch;
}

/* Slider */
.hero__slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 270px;
  min-height: 270px;
  max-height: 270px;
  box-shadow: var(--shadow-md);
  background: #1e293b;
}
.slide {
  display: none;
  align-items: center;
  padding: 16px 28px;
  color: #fff;
  height: 270px;
  min-height: 270px;
  max-height: 270px;
  gap: 18px;
  justify-content: space-between;
  box-sizing: border-box;
}
.slide.active { display: flex; }
.slide--1 { background: linear-gradient(135deg, #1a237e 0%, #1565c0 60%, #1976d2 100%); }
.slide--2 { background: linear-gradient(135deg, #bf360c 0%, #e65100 60%, #ff6f00 100%); }
.slide--3 { background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 60%, #388e3c 100%); }
.slide__tag {
  display: inline-block;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(4px);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  margin-bottom: 6px;
  font-weight: 600;
}
.slide__content { flex: 1; max-width: 58%; }
.slide__content h2 { font-size: 20px; line-height: 1.3; margin-bottom: 6px; }
.slide__content h2 strong { display: block; color: #ffd54f; font-size: 20px; }
.slide--2 .slide__content h2 strong { color: #fff; }
.slide__content p { font-size: 12.5px; opacity: 0.92; margin-bottom: 12px; line-height: 1.4; }
.slide__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.slide__btns .btn { padding: 6px 14px; font-size: 12px; }

.slide__img {
  flex-shrink: 0;
  max-width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.slide__img img {
  max-height: 220px;
  max-width: 290px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.05);
}

.slider__prev, .slider__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.35);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: background 0.2s;
  z-index: 10;
  border: none;
  cursor: pointer;
}
.slider__prev { left: 8px; }
.slider__next { right: 8px; }
.slider__prev:hover, .slider__next:hover { background: var(--orange); }

.slider__dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all 0.2s;
}
.dot.active { background: #fff; transform: scale(1.25); }

/* Hero sidebar */
.hero__sidebar {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 270px;
  justify-content: space-between;
}
.sidebar-title {
  background: var(--orange);
  color: #fff;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.service-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s;
  text-decoration: none;
}
.service-card:hover { background: var(--orange-pale); color: var(--orange); }
.service-card > i:first-child { font-size: 13px; color: var(--orange); min-width: 14px; text-align: center; }
.service-card:hover > i:first-child { color: var(--orange); }
.service-card span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.service-card .arrow { font-size: 9px; color: #ccc; }
.service-card:hover .arrow { color: var(--orange); }

.sidebar-hotline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--orange-pale);
  border-top: 1px solid #ffcc80;
}
.sidebar-hotline > i { color: var(--orange); font-size: 16px; }
.sidebar-hotline div small { font-size: 9.5px; color: #888; display: block; line-height: 1.2; }
.sidebar-hotline div a {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.3;
  margin-right: 4px;
}
.sidebar-hotline div a:hover { color: var(--orange-light); }

/* =============================================
   TRUST BADGES
   ============================================= */
.trust-badges {
  background: var(--white);
  padding: 14px 0;
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
}
.trust-badges__inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 12px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 170px;
  padding: 6px 0;
}
.trust-badge i { font-size: 30px; color: var(--orange); min-width: 32px; }
.trust-badge strong { display: block; font-size: 13px; color: #222; margin-bottom: 2px; }
.trust-badge p { font-size: 11px; color: #888; margin: 0; }

/* =============================================
   PRODUCT SECTIONS
   ============================================= */
.product-section { padding: 20px 0; background: var(--white); }
.section--bg-light { background: var(--gray-bg); }

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
  flex-wrap: wrap;
}
.section-header__title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-icon {
  width: 32px;
  height: 32px;
  background: var(--orange);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  flex-shrink: 0;
}
.section-header__title h2 {
  font-size: 18px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.section-header__tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab {
  padding: 5px 14px;
  border: 1.5px solid var(--gray-border);
  border-radius: 20px;
  font-size: 12px;
  color: #666;
  background: var(--white);
  transition: all 0.2s;
}
.tab:hover { border-color: var(--orange); color: var(--orange); }
.tab.active { background: var(--orange); color: #fff; border-color: var(--orange); }

.btn-viewall {
  margin-left: auto;
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  padding: 5px 12px;
  border: 1.5px solid var(--orange);
  border-radius: 20px;
  transition: all 0.2s;
}
.btn-viewall:hover {
  background: var(--orange);
  color: #fff;
  gap: 8px;
}

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

/* Product Card */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
  transition: all 0.25s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
  transform: translateY(-3px);
}

/* Badge */
.product-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-card__badge--new  { background: var(--blue); }
.product-card__badge--hot  { background: var(--orange); }
.product-card__badge--sale { background: #e53935; }
.product-card__badge--used { background: #757575; }

/* Image */
.product-card__img {
  position: relative;
  padding-top: 68%;
  overflow: hidden;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}
.product-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform 0.3s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.06); }

/* Quick action buttons */
.product-card__actions {
  position: absolute;
  bottom: -44px;
  left: 0;
  right: 0;
  display: flex;
  gap: 4px;
  justify-content: center;
  padding: 6px;
  transition: bottom 0.25s;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}
.product-card:hover .product-card__actions { bottom: 0; }

.btn-action {
  background: rgba(0,0,0,0.75);
  color: #fff;
  border-radius: 4px;
  padding: 5px 9px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.15s;
}
.btn-action:hover { background: var(--orange); color: #fff; }
.btn-action--cart { background: var(--orange); }
.btn-action--cart:hover { background: var(--orange-light); }

/* Info */
.product-card__info {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.product-card__name {
  font-size: 12.5px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-card__name:hover { color: var(--orange); }
.product-card__specs {
  font-size: 11px;
  color: #999;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

/* Price */
.product-card__price {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.price-current { font-size: 15px; font-weight: 800; color: var(--orange); }
.price-old { font-size: 11px; color: #bbb; text-decoration: line-through; }
.price-discount {
  font-size: 10px;
  background: #fff3e0;
  color: var(--orange);
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid #ffcc80;
}

/* Rating */
.product-card__rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: #f39c12;
}
.product-card__rating span { color: #bbb; }

/* CTA button */
.product-card__btn {
  margin: 0 10px 10px;
  background: var(--orange);
  color: #fff;
  padding: 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: background 0.2s;
  display: block;
  cursor: pointer;
}
.product-card__btn:hover { background: var(--orange-light); color: #fff; }

/* =============================================
   PROMO BANNERS
   ============================================= */
.promo-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px auto;
}
.promo-banner__item {
  padding: 20px;
  border-radius: var(--radius);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s;
}
.promo-banner__item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.pb--blue   { background: linear-gradient(135deg, #1a237e, #1565c0); }
.pb--orange { background: linear-gradient(135deg, #bf360c, #ff6f00); }
.pb--dark   { background: linear-gradient(135deg, #37474f, #546e7a); }
.pb__icon { font-size: 36px; opacity: 0.8; flex-shrink: 0; }
.pb__content h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.pb__content p  { font-size: 12px; opacity: 0.9; margin-bottom: 10px; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--orange { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn--orange:hover { background: var(--orange-light); border-color: var(--orange-light); color: #fff; }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn--outline-white:hover { background: rgba(255,255,255,0.15); color: #fff; }
.btn--outline-orange { background: transparent; color: var(--orange); border-color: var(--orange); }
.btn--outline-orange:hover { background: var(--orange); color: #fff; }
.btn--blue   { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--blue:hover { background: var(--blue-light); color: #fff; }
.btn--lg { padding: 13px 28px; font-size: 16px; }
.btn--full { width: 100%; justify-content: center; }

.btn--orange-sm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--orange);
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s;
}
.btn--orange-sm:hover { background: var(--orange-light); color: #fff; }
.btn--white-sm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.9);
  color: #333;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s;
}
.btn--white-sm:hover { background: #fff; }

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-us { background: var(--white); padding: 36px 0; }
.section-title-center {
  text-align: center;
  margin-bottom: 28px;
}
.section-title-center h2 {
  font-size: 24px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.section-title-center p { font-size: 14px; color: #888; }
.why-us__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  text-align: center;
  padding: 28px 20px;
  border: 1.5px solid var(--gray-border);
  border-radius: 8px;
  transition: all 0.25s;
  background: var(--white);
}
.why-card:hover {
  border-color: var(--orange);
  box-shadow: 0 6px 20px rgba(230,81,0,0.1);
  transform: translateY(-5px);
}
.why-card__icon {
  width: 68px;
  height: 68px;
  background: var(--orange-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  color: var(--orange);
  transition: all 0.25s;
}
.why-card:hover .why-card__icon { background: var(--orange); color: #fff; }
.why-card h3 { font-size: 15px; margin-bottom: 10px; color: #222; }
.why-card p  { font-size: 13px; color: #777; line-height: 1.65; }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--orange) 0%, #ff8f00 100%);
  padding: 36px 0;
}
.cta-section__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-section__text h2 { font-size: 26px; color: #fff; font-weight: 800; margin-bottom: 6px; }
.cta-section__text p  { font-size: 15px; color: rgba(255,255,255,0.9); }
.cta-section__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn--outline-orange.cta-btn {
  border-color: rgba(255,255,255,0.8);
  color: #fff;
}
.btn--outline-orange.cta-btn:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--dark); color: #aaa; }
.footer__main { border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 28px;
  padding: 36px 0;
}
.footer__col--brand {}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1px;
}
.footer__logo img { width: 44px; height: 44px; object-fit: contain; border-radius: 6px; }
.footer__col p { font-size: 13px; line-height: 1.8; margin-bottom: 6px; }
.footer__col p i { color: var(--orange); margin-right: 6px; }
.footer__col p a { color: #aaa; }
.footer__col p a:hover { color: var(--orange); }

.footer__col h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer__col h4 i { color: var(--orange); }
.footer__col ul li { margin-bottom: 7px; }
.footer__col ul a {
  font-size: 13px;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}
.footer__col ul a i { color: var(--orange); font-size: 10px; }
.footer__col ul a:hover { color: var(--orange); padding-left: 4px; }

.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 15px;
  transition: all 0.2s;
  border: 1px solid rgba(255,255,255,0.1);
}
.footer__social a:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

.footer__branch {
  margin-bottom: 14px;
  font-size: 12px;
  line-height: 1.9;
}
.footer__branch strong { color: #fff; display: block; font-size: 13px; margin-bottom: 2px; }
.footer__branch span { display: block; }
.footer__branch span i { color: var(--orange); margin-right: 5px; }
.footer__branch a { color: #aaa; }
.footer__branch a:hover { color: var(--orange); }
.footer__bocongthuong { margin-top: 14px; }
.footer__bocongthuong img { border-radius: 4px; }

.footer__map { margin: 12px 0 14px; }
.footer__map-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--orange);
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 600;
  transition: background 0.2s;
}
.footer__map-link:hover { background: var(--orange-light); color: #fff; }
.footer__branch a { color: #aaa; }
.footer__branch a:hover { color: var(--orange); }

.footer__bottom {
  background: rgba(0,0,0,0.3);
  padding: 14px 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #777;
}
.footer__bottom-inner a { color: var(--orange); }
.footer__bottom-inner a:hover { color: var(--orange-light); }

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 110px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 999;
  box-shadow: 0 3px 10px rgba(230,81,0,0.4);
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--orange-light); transform: translateY(-3px); }

/* =============================================
   FLOATING CONTACT
   ============================================= */
.floating-contact {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 998;
}
.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}
.float-btn:hover { transform: scale(1.12); color: #fff; }
.float-btn--phone { background: var(--orange); animation: ringPulse 2s infinite; }
.float-btn--zalo { background: #0068ff; font-weight: 900; font-size: 17px; }
.float-btn--messenger { background: #0084ff; }
@keyframes ringPulse {
  0%,100% { box-shadow: 0 4px 12px rgba(230,81,0,0.4); }
  50%      { box-shadow: 0 4px 24px rgba(230,81,0,0.7); }
}

/* =============================================
   CART SIDEBAR
   ============================================= */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 390px;
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  box-shadow: -4px 0 24px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}
.cart-sidebar.open { right: 0; }
.cart-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--orange);
  color: #fff;
}
.cart-sidebar__header h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.cart-sidebar__header button { color: #fff; font-size: 20px; }
.cart-sidebar__items { flex: 1; overflow-y: auto; padding: 16px; }
.cart-empty { text-align: center; padding: 48px 20px; color: #bbb; }
.cart-empty i { font-size: 52px; display: block; margin-bottom: 14px; color: #e0e0e0; }
.cart-empty p { font-size: 14px; }
.cart-sidebar__footer {
  padding: 16px;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fafafa;
}
.cart-total { text-align: right; font-size: 15px; color: #444; }
.cart-total strong { color: var(--orange); font-size: 20px; display: block; }

/* Cart item */
.cart-item {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  align-items: flex-start;
}
.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: var(--radius);
  background: #f5f5f5;
  padding: 4px;
  flex-shrink: 0;
}
.cart-item__info { flex: 1; }
.cart-item__name { font-size: 12.5px; font-weight: 600; margin-bottom: 4px; color: #222; line-height: 1.4; }
.cart-item__price { font-size: 14px; color: var(--orange); font-weight: 700; margin-bottom: 6px; }
.cart-item__qty { display: flex; align-items: center; gap: 8px; }
.cart-item__qty button {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #f0f0f0;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: all 0.15s;
}
.cart-item__qty button:hover { background: var(--orange); color: #fff; }
.cart-item__qty span { font-size: 14px; font-weight: 700; min-width: 22px; text-align: center; }
.cart-item__remove { color: #ccc; font-size: 16px; align-self: flex-start; }
.cart-item__remove:hover { color: #e53935; }

/* =============================================
   MODAL
   ============================================= */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,0.6);
}
.modal.open { display: flex; }
.modal__inner {
  background: #fff;
  border-radius: 8px;
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { transform: translateY(24px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 20px;
  color: #999;
  z-index: 10;
}
.modal__close:hover { color: var(--orange); }
.modal__content { padding: 24px; }
.modal-product { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.modal-product__img img { border-radius: 8px; width: 100%; border: 1px solid #eee; }
.modal-product__info h2 { font-size: 17px; margin-bottom: 10px; color: #222; }
.modal-product__info .price-current { font-size: 26px; }
.modal-product__info .price-old { font-size: 14px; }
.modal-product__specs { margin: 14px 0; }
.modal-product__specs table { width: 100%; font-size: 13px; border-collapse: collapse; }
.modal-product__specs td { padding: 6px 8px; border-bottom: 1px solid #f0f0f0; }
.modal-product__specs td:first-child { color: #888; width: 40%; }
.modal-product__specs tr:hover td { background: var(--orange-pale); }

/* =============================================
   OVERLAY
   ============================================= */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  backdrop-filter: blur(2px);
}
.overlay.open { display: block; }

/* =============================================
   TOAST NOTIFICATION
   ============================================= */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #333;
  color: #fff;
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast--success { background: #2e7d32; }
.toast--error   { background: #c62828; }
.toast--info    { background: var(--orange); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .why-us__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .navbar__menu { display: none; }
  .navbar__menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
  }
  .navbar__menu.open > li > a { color: #333; border-bottom: 1px solid #f0f0f0; }
  .navbar__menu.open > li > a:hover { background: var(--orange-pale); color: var(--orange); }
  .navbar__menu.open .dropdown { display: none !important; }
  .hamburger { display: flex; margin-left: auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__slider { height: auto; min-height: 240px; max-height: none; }
  .slide { height: auto; min-height: 240px; max-height: none; padding: 16px; }
  .slide__content { max-width: 100%; }
  .hero__sidebar { flex-direction: row; flex-wrap: wrap; height: auto; }
  .service-card { flex: calc(50% - 3px); }
}

@media (max-width: 768px) {
  .header__inner { flex-wrap: wrap; gap: 10px; }
  .header__logo { min-width: auto; }
  .header__search { order: 3; min-width: 100%; }
  .header__right { margin-left: 0; }
  .header__hotline { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-banner { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .cta-section__inner { flex-direction: column; text-align: center; }
  .modal-product { grid-template-columns: 1fr; }
  .trust-badges__inner { gap: 10px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .footer__top { grid-template-columns: 1fr; }
  .why-us__grid { grid-template-columns: 1fr 1fr; }
  .cart-sidebar { width: 100%; }
  .cta-section__actions { width: 100%; }
  .btn--lg { padding: 11px 20px; font-size: 14px; }
}
