/* ============================================================
   MINH QUAN COMPUTER - RED & WHITE THEME (FPT SHOP STYLE)
   ============================================================ */

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #cb1c22;
  --primary-dark: #a60e14;
  --primary-light: #e52830;
  --primary-gradient: linear-gradient(135deg, #cb1c22 0%, #e52830 100%);
  --accent: #ff9800;
  --green: #00a854;
  --green-bg: rgba(0, 168, 84, 0.1);
  --bg: #f4f5f8;
  --bg2: #ffffff;
  --bg3: #eaedf2;
  --surface: #ffffff;
  --surface2: #f8f9fa;
  --border: #e1e5eb;
  --border-hover: #cb1c22;
  --text: #1a202c;
  --text2: #4a5568;
  --text3: #718096;
  --price: #cb1c22;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 32px rgba(203, 28, 34, 0.14), 0 4px 12px rgba(0, 0, 0, 0.05);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--primary-gradient);
  padding: 8px 0;
  font-size: 0.84rem;
  font-weight: 500;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(203, 28, 34, 0.2);
}
.top-bar-container {
  width: 100%;
}
.top-bar-slider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.top-bar-item {
  display: flex;
  align-items: center;
}
.tb-link {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}
.tb-link:hover {
  text-decoration: underline;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 20px;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
}
.logo-icon-wrap {
  width: 46px;
  height: 46px;
  background: var(--primary-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 14px rgba(203, 28, 34, 0.35);
  color: #fff;
}
.logo-name {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.5px;
}
.logo-sub {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 700;
  margin-top: 1px;
}
.header-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hbadge {
  background: #fff0f1;
  border: 1px solid #ffd4d7;
  color: var(--primary);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f4f5f8 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 40px 0 50px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 75% 40%, rgba(203, 28, 34, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 30%, rgba(255, 152, 0, 0.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-tag {
  display: inline-block;
  background: #fff0f1;
  border: 1px solid #ffccd0;
  color: var(--primary);
  border-radius: 24px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: -1px;
}
.hero-title .accent {
  color: var(--primary);
}
.hero-desc {
  font-size: 1.02rem;
  color: var(--text2);
  margin-bottom: 26px;
  line-height: 1.7;
}
.hero-desc strong {
  color: var(--text);
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-gradient);
  color: #fff;
  border-radius: 50px;
  padding: 14px 28px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(203, 28, 34, 0.35);
  transition: var(--transition);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(203, 28, 34, 0.5);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid var(--border);
  color: var(--text);
  border-radius: 50px;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.btn-secondary:hover {
  background: #fff0f1;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.hstat {
  display: flex;
  flex-direction: column;
}
.hstat-num {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.hstat-label {
  font-size: 0.76rem;
  color: var(--text3);
  font-weight: 600;
  margin-top: 4px;
}
.hstat-div {
  width: 1px;
  height: 38px;
  background: var(--border);
}
.hero-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(203, 28, 34, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-img {
  width: 100%;
  max-width: 460px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14), 0 0 40px rgba(203, 28, 34, 0.08);
  position: relative;
  z-index: 2;
  object-fit: cover;
  height: 310px;
  border: 4px solid #ffffff;
}
.hero-badge-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  z-index: 3;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.hbf1 { top: 16px; left: -16px; color: var(--green); }
.hbf2 { bottom: 24px; right: -16px; color: var(--primary); }

/* ============================================================
   ACCESSORIES
   ============================================================ */
.acc-section {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.acc-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}
.acc-section-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text);
}
.acc-note-tag {
  background: var(--green-bg);
  border: 1px solid rgba(0, 168, 84, 0.3);
  color: var(--green);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}
.acc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.acc-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
}
.acc-card:hover {
  border-color: var(--primary);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.acc-icon { font-size: 2rem; }
.acc-name { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.acc-price { font-size: 1.1rem; font-weight: 900; color: var(--price); margin-top: 3px; }
.acc-old { font-size: 0.76rem; color: var(--text3); text-decoration: line-through; }
.acc-desc { font-size: 0.8rem; color: var(--text2); margin-top: 3px; }
.acc-info-card {
  border-color: rgba(0, 168, 84, 0.3);
  background: rgba(0, 168, 84, 0.05);
}

/* ============================================================
   FILTER SECTION
   ============================================================ */
.filter-section {
  background: #ffffff;
  padding: 16px 0;
  position: sticky;
  top: 74px;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.search-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--text3);
  pointer-events: none;
}
.search-input {
  width: 100%;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 11px 16px 11px 42px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  outline: none;
}
.search-input:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(203, 28, 34, 0.12);
}
.search-input::placeholder { color: var(--text3); }
.filter-btn-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-btn {
  background: #ffffff;
  border: 1.5px solid var(--border);
  color: var(--text2);
  border-radius: 50px;
  padding: 9px 18px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  white-space: nowrap;
}
.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #fff0f1;
}
.filter-btn.active {
  background: var(--primary-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(203, 28, 34, 0.35);
}
.sort-select {
  background: #ffffff;
  border: 1.5px solid var(--border);
  color: var(--text);
  border-radius: 50px;
  padding: 9px 18px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}
.sort-select:focus {
  border-color: var(--primary);
}

/* ============================================================
   PRODUCTS GRID & CARDS
   ============================================================ */
.main-products {
  padding: 36px 0 70px;
}
.products-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 14px;
}
.products-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text);
}
.products-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.products-count {
  background: #fff0f1;
  border: 1px solid #ffd4d7;
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 800;
}
.products-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ptag {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text2);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
  gap: 18px;
}

/* PRODUCT CARD */
.product-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}
.product-card:hover .card-name {
  color: var(--primary);
}
.product-card:hover .card-img {
  transform: scale(1.04);
}
.card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 195px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.card-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: var(--surface2);
  color: var(--text3);
}
.card-num {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(26, 32, 44, 0.75);
  color: #fff;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 0.7rem;
  font-weight: 700;
}
.card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary-gradient);
  color: #fff;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.68rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(203, 28, 34, 0.35);
}
.card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-brand {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}
.card-name {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}
.card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}
.spec-tag {
  background: #f0f3f7;
  color: var(--text2);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 600;
}
.spec-tag.highlight {
  background: #fff0f1;
  color: var(--primary);
  font-weight: 700;
}
.spec-tag.gpu {
  background: #e8f5e9;
  color: #2e7d32;
  font-weight: 700;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.card-price-box {
  width: 100%;
}
.card-price-label {
  font-size: 0.7rem;
  color: var(--text3);
  margin-bottom: 2px;
  font-weight: 600;
}
.card-price {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--price);
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.card-meta {
  display: flex;
  gap: 4px;
  padding: 9px 14px;
  border-top: 1px solid #f0f3f7;
  background: #fafbfc;
}
.card-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--text2);
  border-radius: 4px;
  padding: 3px 6px;
  flex: 1;
  justify-content: center;
  font-weight: 600;
}
.card-meta-item.green { color: var(--green); }

/* NO RESULTS */
.no-results { text-align: center; padding: 80px 20px; color: var(--text2); }
.no-results-icon { font-size: 4rem; margin-bottom: 16px; color: var(--text3); }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 56px 0;
}
.contact-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 28px;
  text-align: center;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 28px;
  align-items: start;
}
.contact-info-box {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.contact-label { font-size: 0.72rem; color: var(--text3); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.contact-val { font-size: 0.96rem; color: var(--text); font-weight: 700; }
.contact-link { color: var(--primary); text-decoration: none; font-weight: 800; }
.contact-link:hover { text-decoration: underline; }
.contact-btn-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contact-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--primary-gradient);
  color: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(203, 28, 34, 0.35);
  transition: var(--transition);
}
.contact-call-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(203, 28, 34, 0.5);
}
.contact-msg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #0084ff, #a033ff);
  color: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(160, 51, 255, 0.3);
  transition: var(--transition);
}
.contact-msg-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(160, 51, 255, 0.45);
}
.map-wrap {
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f0f3f7;
  border: none;
  color: var(--text2);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}
.modal-close:hover { background: #ffebee; color: var(--primary); }
.modal-body { padding: 26px; }
.modal-img-wrap {
  width: 100%;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.modal-img { width: 100%; height: 100%; object-fit: contain; }
.modal-title { font-size: 1.3rem; font-weight: 900; color: var(--text); margin-bottom: 4px; }
.modal-brand { font-size: 0.78rem; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.modal-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.modal-spec { background: #f8f9fa; border: 1px solid var(--border); border-radius: 10px; padding: 10px; }
.modal-spec-label { font-size: 0.68rem; color: var(--text3); font-weight: 700; margin-bottom: 3px; text-transform: uppercase; }
.modal-spec-val { font-size: 0.9rem; color: var(--text); font-weight: 800; }
.modal-price-row {
  background: #fff0f1;
  border: 1.5px solid #ffccd0;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-price { font-size: 1.65rem; font-weight: 900; color: var(--price); }
.modal-price-label { font-size: 0.75rem; color: var(--text2); margin-bottom: 2px; font-weight: 600; }
.modal-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.mbadge {
  background: var(--green-bg);
  border: 1px solid rgba(0, 168, 84, 0.3);
  color: var(--green);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}
.modal-btn-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.modal-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 12px;
  padding: 14px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
  color: #fff;
  border: none;
}
.modal-contact-btn.btn-call {
  background: var(--primary-gradient);
  box-shadow: 0 6px 20px rgba(203, 28, 34, 0.35);
}
.modal-contact-btn.btn-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(203, 28, 34, 0.5);
}
.modal-contact-btn.btn-msg {
  background: linear-gradient(135deg, #0084ff, #a033ff);
  box-shadow: 0 6px 20px rgba(160, 51, 255, 0.35);
}
.modal-contact-btn.btn-msg:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(160, 51, 255, 0.5);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #181d28;
  color: #a0aec0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 56px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1.5rem;
}
.footer-logo-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: #ffffff;
}
.footer-logo-sub {
  font-size: 0.74rem;
  color: #e52830;
  font-weight: 700;
}
.footer-desc {
  font-size: 0.86rem;
  color: #a0aec0;
  line-height: 1.7;
}
.footer-col h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}
.footer-col p {
  font-size: 0.85rem;
  color: #a0aec0;
  margin-bottom: 7px;
}
.footer-policy {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.83rem;
  color: #cbd5e0;
  margin-bottom: 9px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #718096;
}

/* ============================================================
   FLOATING ACTIONS
   ============================================================ */
.floating-actions {
  position: fixed;
  bottom: 80px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 500;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.float-messenger {
  background: linear-gradient(135deg, #0084ff, #a033ff);
  box-shadow: 0 6px 20px rgba(0, 132, 255, 0.4);
  animation: float-pulse-msg 2.5s ease-in-out infinite;
}
@keyframes float-pulse-msg {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 20px rgba(0, 132, 255, 0.4); }
  50% { transform: scale(1.08); box-shadow: 0 8px 26px rgba(160, 51, 255, 0.6); }
}
.float-call {
  background: var(--primary-gradient);
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 6px 20px rgba(203, 28, 34, 0.4);
  animation: float-pulse-call 2.5s ease-in-out infinite 1.25s;
}
@keyframes float-pulse-call {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 20px rgba(203, 28, 34, 0.4); }
  50% { transform: scale(1.08); box-shadow: 0 8px 26px rgba(203, 28, 34, 0.6); }
}
.float-btn:hover {
  transform: scale(1.15) !important;
}

/* BACK TO TOP */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 500;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(203, 28, 34, 0.4);
}
.back-to-top.visible { opacity: 1; transform: scale(1); }
.back-to-top:hover { transform: scale(1.1); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 40px 20px; text-align: center; }
  .hero-image-wrap { display: none; }
  .hero-stats { justify-content: center; }
  .hero-cta { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-wrap { height: 280px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .products-meta { align-items: flex-start; }
}

@media (max-width: 768px) {
  .top-bar {
    padding: 0;
    height: 38px;
  }
  .top-bar-container {
    height: 100%;
    position: relative;
  }
  .top-bar-slider {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  .top-bar-item {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
    font-size: 0.8rem;
    white-space: nowrap;
    text-align: center;
    padding: 0 10px;
  }
  .top-bar-item.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 2;
  }
  .top-bar-item.prev {
    opacity: 0;
    transform: translateY(-14px);
    z-index: 1;
  }
}

@media (max-width: 600px) {
  .header-badges { display: none; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .product-grid { grid-template-columns: 1fr; }
  .modal-specs-grid { grid-template-columns: 1fr; }
  .contact-btn-group { grid-template-columns: 1fr; }
  .modal-btn-group { grid-template-columns: 1fr; }
  .floating-actions { bottom: 74px; right: 14px; }
  .float-btn { width: 46px; height: 46px; }
}
