/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 1rem; color: #212529; background: #fff; }
img { max-width: 100%; }
textarea { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }

/* ── Color tokens ── */
:root {
  --yellow:    #ffdb3a;
  --yellow-dk: #ffba01;
  --yellow-lt: #ffe62f;
  --navy:      #1a2336;
  --navy-dk:   #071428;
  --gold:      #c48e00;
  --red:       #D41E21;
  --blue:      #1654a0;
  --light-bg:  #f0f5fb;
  --border:    #e4ecf6;
}

a,
a:visited,
a:hover,
a:focus {
    text-decoration: none;
}

a:hover {
    color: inherit;
}

/* ── TopBar ── */
.topbar {
  background: linear-gradient(180deg, #ffba01, #ffdb3a 54.33%, #ffe62f);
  border-bottom: 1px solid rgba(26,35,54,0.15);
  padding: 7px 0;
}
.topbar-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.topbar-left { display: flex; gap: 20px; align-items: center; }
.topbar-right { display: flex; gap: 6px; align-items: center; }
.topbar a { color: rgba(26,35,54,0.75); font-size: 13px; display: flex; align-items: center; gap: 5px; }
.topbar a:hover { color: #1a2336; }
.topbar-sep { color: rgba(26,35,54,0.3); font-size: 16px; }
.topbar-addr { color: rgba(26,35,54,0.65); font-size: 13px; display: flex; align-items: center; gap: 5px; }
.topbar-label { color: rgba(26,35,54,0.6); font-size: 12px; margin-right: 4px; }
.topbar-phone { color: #1a2336 !important; font-weight: 700 !important; }
.social-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 600;
  border: 1px solid transparent; transition: filter 0.18s;
}
.social-btn:hover { filter: brightness(1.2); }
.social-fb  { color: #1654a0; background: rgba(22,84,160,0.12); border-color: rgba(22,84,160,0.16); }
.social-yt  { color: #cc0000; background: rgba(204,0,0,0.10);   border-color: rgba(204,0,0,0.13);   }
.social-tt  { color: #1a2336; background: rgba(26,35,54,0.08);  border-color: rgba(26,35,54,0.11);  }

/* ── Header ── */
#site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 #dde8f4;
  transition: box-shadow 0.25s ease;
}
#site-header.scrolled { box-shadow: 0 2px 20px rgba(7,20,40,0.13); }
.header-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; height: 62px; gap: 12px;
}
.header-logo {
  flex-shrink: 0; margin-right: 4px;
  color: #D41E21; font-size: 13px; font-weight: 900; letter-spacing: 0.5px; line-height: 1;
}
.header-logo:hover { color: #D41E21; }
nav { display: flex; flex: 1; justify-content: center; }
nav a {
  color: #1a2336; font-size: 12.5px; font-weight: 600; letter-spacing: 0.5px;
  padding: 0 10px; height: 62px; display: flex; align-items: center;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  background: transparent;
  transition: all 0.18s;
  text-decoration: none;
}
nav a:hover, nav a.active {
  color: #c48e00;
  border-bottom-color: #c48e00;
  background: rgba(196,142,0,0.05);
}
#site-header nav a {
    text-transform: uppercase;
}
.header-search {
  background: none; border: 1px solid #dde8f4; color: #8a9ab0;
  border-radius: 6px; padding: 6px 10px; cursor: pointer;
  display: flex; align-items: center; flex-shrink: 0; transition: all 0.18s;
}
.header-search:hover { border-color: #c48e00; color: #c48e00; }

/* ── Hero ── */
.hero {
  position: relative; height: 530px; overflow: hidden; background: #071428;
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-overlay-left {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(4,12,28,0.92) 0%, rgba(4,12,28,0.72) 40%, rgba(4,12,28,0.28) 72%, transparent 100%);
}
.hero-overlay-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 90px;
  background: linear-gradient(transparent, rgba(0,0,0,0.48));
}
.hero-content {
  position: absolute; inset: 0; z-index: 2;
  max-width: 1400px; margin: 0 auto; padding: 0 52px;
  display: flex; align-items: center;
}
.hero-text {
  max-width: 580px;
  transition: opacity 0.32s, transform 0.32s;
}
.hero-text.fading { opacity: 0; transform: translateY(12px); }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  background: rgba(26,35,54,0.72); padding: 5px 14px; border-radius: 20px;
  backdrop-filter: blur(8px);
}
.hero-pill-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; background: var(--accent, #5b9df5); }
.hero-pill span { color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 2.5px; }
.hero h1,
.hero-h1 {
  color: #fff; font-size: 52px; font-weight: 900; line-height: 1.06;
  margin-top: 0; margin-bottom: 12px;
  white-space: pre-line; text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}
.hero-sub-row { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.hero-sub-line { width: 30px; height: 2px; border-radius: 1px; flex-shrink: 0; background: var(--accent, #5b9df5); }
.hero-sub-text { font-size: 11px; font-weight: 700; letter-spacing: 2.2px; color: var(--accent, #5b9df5); }
.hero-bullets { display: flex; flex-direction: column; gap: 9px; margin-bottom: 28px; }
.hero-bullet { display: flex; gap: 9px; align-items: flex-start; }
.hero-bullet-icon { flex-shrink: 0; margin-top: 1px; color: var(--accent, #5b9df5); }
.hero-bullet span { color: rgba(210,230,255,0.9); font-size: 14px; line-height: 1.55; }
.hero-btns { display: flex; gap: 12px; }
.hero-btn-primary {
  color: #fff; padding: 12px 26px; border-radius: 6px;
  font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 7px;
  transition: filter 0.2s, transform 0.2s;
}
.hero-btn-primary:hover { filter: brightness(1.12); transform: translateY(-2px); color: #fff; }
.hero-btn-secondary {
  background: rgba(255,255,255,0.1); color: #fff; padding: 12px 22px; border-radius: 6px;
  font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid rgba(255,255,255,0.28); backdrop-filter: blur(4px); transition: background 0.2s;
}
.hero-btn-secondary:hover { background: rgba(255,255,255,0.2); color: #fff; }
.hero-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 4; align-items: center;
}
.hero-dot {
  width: 7px; height: 7px; border-radius: 4px; border: none; cursor: pointer;
  background: rgba(255,255,255,0.3); padding: 0; transition: all 0.3s;
}
.hero-dot.active { width: 24px; }
.hero-counter {
  position: absolute; bottom: 19px; right: 52px;
  color: rgba(255,255,255,0.38); font-size: 11px; font-weight: 600; letter-spacing: 2px; z-index: 4;
}
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.18); color: #fff;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.hero-arrow:hover { background: rgba(180,130,0,0.72); }
.hero-arrow-left  { left: 14px; }
.hero-arrow-right { right: 14px; }

/* ── Core Values ── */
.core-values {
  background: linear-gradient(180deg, #ffba01, #ffdb3a 54.33%, #ffe62f);
  border-bottom: 1px solid rgba(26,35,54,0.15);
}
.core-values-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 32px;
}
.core-values-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  border-left: 1px solid rgba(26,35,54,0.12);
}
.core-value-item {
  padding: 17px 28px; border-right: 1px solid rgba(26,35,54,0.12);
  display: flex; gap: 12px; align-items: center;
}
.core-value-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(26,35,54,0.45); flex-shrink: 0;
}
.core-value-title { color: #1a2336; font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.core-value-sub   { color: rgba(26,35,54,0.65); font-size: 12px; line-height: 1.4; }

/* ── Section headers ── */
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 3.5px;
  color: #c48e00; text-transform: uppercase; margin-bottom: 10px;
}
.section-divider { width: 36px; height: 3px; background: #c48e00; border-radius: 2px; }

/* ── Featured ── */
.featured-section { background: #f0f5fb; padding: 52px 0; }
.featured-inner { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.featured-card {
  background: #fff; border-radius: 12px;
  box-shadow: 0 2px 16px rgba(22,84,160,0.07); border: 1px solid #e4ecf6; overflow: hidden;
}
.featured-card-pad { padding: 26px 28px 18px; }

/* Logo ticker */
.ticker-wrap { overflow: hidden; mask-image: linear-gradient(to right,transparent 0%,black 8%,black 92%,transparent 100%); -webkit-mask-image: linear-gradient(to right,transparent 0%,black 8%,black 92%,transparent 100%); }
.ticker-track {
  display: flex; gap: 10px; width: max-content; align-items: center;
}
.ticker-track.fwd { animation: ticker 26s linear infinite; }
.ticker-track.rev { animation: ticker 32s linear infinite reverse; }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partner-card {
  background: #fff; border: 1px solid #e4ecf6; border-radius: 8px;
  padding: 10px 18px; flex-shrink: 0; width: 148px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05); transition: box-shadow 0.2s, transform 0.2s;
}
.partner-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); transform: scale(1.05); }
.partner-card img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ticker-rows { display: flex; flex-direction: column; gap: 10px; padding-bottom: 20px; }

/* Project carousel */
.project-main {
  border-radius: 8px; height: 165px; margin-bottom: 12px;
  position: relative; overflow: hidden; background: #0d1f3c; border: 1px solid #e4ecf6;
}
.project-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-main-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85)); padding: 28px 14px 12px;
}
.project-cat-badge {
  background: #1a2336; color: #fff; font-size: 10px; font-weight: 700;
  padding: 2px 10px; border-radius: 20px; display: inline-block; margin-bottom: 4px; letter-spacing: 0.8px;
}
.project-title { color: #fff; font-size: 13px; font-weight: 700; line-height: 1.3; }
.project-thumbs { display: grid; grid-template-columns: repeat(6,1fr); gap: 6px; }
.project-thumb {
  border-radius: 5px; height: 46px; cursor: pointer; overflow: hidden;
  border: 2px solid #e4ecf6; transition: all 0.2s; background: #0d1f3c;
}
.project-thumb.active { border-color: #c48e00; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.55; }
.project-thumb.active img { opacity: 1; }

/* ── Stats ── */
.stats-section { background: #f0f5fb; padding: 72px 0; }
.stats-inner { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-card {
  background: #fff; border-radius: 12px; padding: 36px 28px; text-align: center;
  box-shadow: 0 2px 20px rgba(22,84,160,0.09); border: 1px solid #e4ecf6;
}
.stat-number {
  font-size: 58px; font-weight: 900; color: #c48e00; line-height: 1; margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 12px; font-weight: 700; letter-spacing: 2.5px; color: #1a2336; text-transform: uppercase; margin-bottom: 7px; }
.stat-sub   { font-size: 13px; color: #5a6a82; line-height: 1.5; }

/* ── Services ── */
.services-section { padding: 72px 0; background: #fff; }
.services-inner { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.service-card {
  background: #fff; border-radius: 12px; border: 1px solid #e4ecf6;
  padding: 30px 24px; cursor: pointer; position: relative; overflow: hidden;
  box-shadow: 0 2px 8px rgba(22,84,160,0.06);
  transform: translateY(0); transition: all 0.25s ease;
}
.service-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.10); transform: translateY(-5px);
}
.service-num {
  position: absolute; right: 14px; top: 10px; font-size: 48px; font-weight: 900;
  line-height: 1; user-select: none; opacity: 0.06;
}
.service-bar { width: 32px; height: 3px; border-radius: 2px; margin-bottom: 20px; }
.service-card h3 { color: #1a2336; font-size: 18px; font-weight: 800; margin-top: 0; margin-bottom: 11px; line-height: 1.3; }
.service-card p  { color: #5a6a82; font-size: 13px; line-height: 1.8; margin-bottom: 20px; }
.service-link {
  font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px;
  border-bottom: 1px solid; padding-bottom: 1px;
}

/* ── Products ── */
.products-section { background: #fff; padding: 72px 0; border-top: 1px solid #e4ecf6; }
.products-inner { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.products-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn {
  background: transparent; color: #444; border: 2px solid #ddd;
  padding: 10px 24px; border-radius: 6px; font-weight: 700; font-size: 13px;
  cursor: pointer; letter-spacing: 0.5px; font-family: inherit; transition: all 0.2s;
  text-transform: uppercase;
}
.products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.products-grid .product-card { border-radius: 8px; box-shadow: none; border-color: var(--border); cursor: pointer; }
.products-grid .product-card:hover { border-color: rgba(196,142,0,0.35); box-shadow: 0 8px 24px rgba(26,35,54,0.1); transform: translateY(-3px); }
.products-grid .product-img-wrap { aspect-ratio: 16/10; background: #f8fafc; padding: 8px; }
.products-grid .product-img-wrap img { object-fit: contain; }
.products-grid .product-title { font-size: 14px; font-weight: 700; }
.products-grid .product-info { padding: 15px 16px 17px; }
.products-grid .product-price { min-height: 22px; }
.product-card {
  background: #fff; border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07); overflow: hidden;
  border: 1px solid #eee; cursor: pointer;
  transition: all 0.22s ease; display: block; text-decoration: none;
}
.product-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.14); transform: translateY(-4px);
}
.product-img-wrap { width: 100%; aspect-ratio: 1/1; padding: 5px; overflow: hidden; position: relative; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.product-img-wrap:hover img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 8px; left: 8px;
  background: rgba(0,0,0,0.65); font-size: 9px; font-weight: 700;
  padding: 3px 8px; border-radius: 12px; letter-spacing: 0.5px; backdrop-filter: blur(4px);
}
.product-info { padding: 12px 14px 14px; }
.product-title {
  color: #1a2336; font-size: 13px; font-weight: 600; line-height: 1.45; margin: 0 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color 0.18s;
}
.product-price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.product-old  { color: #bbb; font-size: 12px; text-decoration: line-through; }
.product-sale { color: #D41E21; font-size: 14px; font-weight: 700; }
.product-contact { color: #D41E21; font-size: 14px; font-weight: 700; }
.products-footer { text-align: center; margin-top: 36px; display: flex; gap: 16px; justify-content: center; align-items: center; }
.btn-show-more {
  background: transparent; border: 2px solid; padding: 11px 32px; border-radius: 6px;
  font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit; transition: all 0.2s;
}
.btn-view-site {
  padding: 11px 28px; border-radius: 6px; font-weight: 700; font-size: 14px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: filter 0.2s;
}
.btn-view-site:hover { filter: brightness(1.1); color: #fff; }

/* ── CTA ── */
.cta-section { background: linear-gradient(180deg, #ffba01, #ffdb3a 54.33%, #ffe62f); }
.cta-inner {
  max-width: 1400px; margin: 0 auto; padding: 34px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.cta-title { font-size: 24px; font-weight: 900; color: #1a2336; margin: 0 0 7px; }
.cta-sub   { color: rgba(26,35,54,0.7); margin: 0; font-size: 15px; line-height: 1.5; }
.cta-btns  { display: flex; gap: 12px; flex-shrink: 0; }
.cta-btn-primary {
  background: #1a2336; color: #fff; padding: 12px 26px; border-radius: 6px;
  font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22); transition: transform 0.18s;
}
.cta-btn-primary:hover { transform: scale(1.04); color: #fff; }
.cta-btn-secondary {
  background: rgba(26,35,54,0.08); color: #1a2336; padding: 12px 26px; border-radius: 6px;
  font-weight: 700; font-size: 14px; border: 2px solid rgba(26,35,54,0.3); transition: background 0.18s;
  cursor: pointer; font-family: inherit; display: flex; align-items: center; justify-content: center;
}
.cta-btn-secondary:hover { background: rgba(26,35,54,0.16); color: #1a2336; }

.support-request-modal {
  position: fixed; inset: 0; z-index: 9999; display: none;
  align-items: center; justify-content: center; padding: 20px;
}
.support-request-modal.is-open { display: flex; }
.support-request-modal-open { overflow: hidden; }
.support-request-modal-backdrop {
  position: absolute; inset: 0; background: rgba(7,20,40,0.62);
}
.support-request-modal-dialog {
  position: relative; z-index: 1; width: min(100%, 480px); max-height: calc(100vh - 40px);
  overflow-y: auto; background: #fff; color: #1a2336; border-radius: 8px;
  padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,0.28);
}
.support-request-modal-close {
  position: absolute; top: 12px; right: 14px; width: 34px; height: 34px;
  border: 0; background: transparent; color: #1a2336; font-size: 28px;
  line-height: 1; cursor: pointer;
}
.support-request-modal h3 {
  margin: 0 34px 8px 0; font-size: 24px; font-weight: 900; color: #1a2336;
}
.support-request-modal-subtitle {
  margin: 0 0 20px; color: rgba(26,35,54,0.68); font-size: 14px; line-height: 1.5;
}
.support-request-field { margin-bottom: 14px; }
.support-request-field label {
  display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: #1a2336;
}
.support-request-field label span { color: #d41e21; }
.support-request-field input,
.support-request-field textarea {
  width: 100%; border: 1px solid rgba(26,35,54,0.22); border-radius: 6px;
  padding: 11px 12px; color: #1a2336; font: inherit; outline: none;
}
.support-request-field input:focus,
.support-request-field textarea:focus {
  border-color: #ffba01; box-shadow: 0 0 0 3px rgba(255,186,1,0.2);
}
.support-request-field textarea { resize: vertical; min-height: 104px; }
.support-request-message { min-height: 20px; margin: 2px 0 14px; font-size: 14px; line-height: 1.4; }
.support-request-message.is-success { color: #1c7c34; }
.support-request-message.is-error { color: #d41e21; }
.support-request-submit {
  width: 100%; border: 0; border-radius: 6px; background: #1a2336; color: #fff;
  padding: 13px 18px; font: inherit; font-weight: 800; cursor: pointer;
  transition: filter 0.18s, transform 0.18s;
}
.support-request-submit:hover { filter: brightness(1.08); transform: translateY(-1px); }
.support-request-submit:disabled { cursor: wait; opacity: 0.72; transform: none; }

/* ── Company Photos ── */
.photos-section { background: #f0f5fb; padding: 72px 0; }
.photos-inner { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.photos-grid-main { display: grid; grid-template-columns: repeat(4,1fr); grid-template-rows: 200px 200px; gap: 14px; }
.photos-grid-bottom { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 14px; }
.photo-card {
  border-radius: 10px; position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06); cursor: pointer;
}
.photo-card-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.photo-card-pattern {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg,rgba(255,255,255,0.025) 0,rgba(255,255,255,0.025) 1px,transparent 0,transparent 50%);
  background-size: 12px 12px;
}
.photo-card-placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.photo-card-placeholder span {
  color: rgba(255,255,255,0.2); font-size: 10px; font-family: monospace;
  text-align: center; line-height: 1.8; padding: 0 12px;
}
.photo-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.82));
  padding: 28px 16px 14px; opacity: 0; transition: opacity 0.28s;
}
.photo-card:hover .photo-card-overlay { opacity: 1; }
.photo-cat-label { font-size: 10px; font-weight: 700; margin-bottom: 3px; letter-spacing: 1px; color: #5b9df5; text-transform: uppercase; }
.photo-label { color: #fff; font-size: 14px; font-weight: 700; }
.photo-cta-card {
  height: 170px; border-radius: 10px; background: #1a2336;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 28px;
}
.photo-cta-title { font-size: 22px; font-weight: 900; color: #fff; text-align: center; line-height: 1.25; margin: 0; }
.photo-cta-sub { color: rgba(255,255,255,0.72); font-size: 13px; text-align: center; margin: 0; line-height: 1.6; }
.photo-cta-btn {
  background: #FFD400; color: #1a2336; padding: 9px 22px; border-radius: 6px;
  font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 6px;
}
.photo-cta-btn:hover { color: #1a2336; filter: brightness(1.05); }

/* ── Footer ── */
footer {
  background: linear-gradient(180deg, #ffba01, #ffdb3a 54.33%, #ffe62f);
  border-top: 1px solid rgba(26,35,54,0.15);
}
.footer-inner { max-width: 1400px; margin: 0 auto; padding: 54px 32px 30px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px; margin-bottom: 44px;
}
.footer-logo {
  border: 2px solid #D41E21; padding: 5px 10px; color: #D41E21;
  font-size: 13px; font-weight: 900; display: inline-block; margin-bottom: 16px;
}
.footer-desc { color: rgba(26,35,54,0.8); font-size: 13px; line-height: 1.85; margin-bottom: 22px; }
.footer-social-label { color: rgba(26,35,54,0.6); font-size: 11px; margin-bottom: 9px; font-weight: 600; letter-spacing: 1px; }
.footer-socials { display: flex; gap: 8px; }
.footer-social-btn {
  width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: filter 0.18s, transform 0.18s; border: 1px solid transparent;
}
.footer-social-btn:hover { filter: brightness(1.2); transform: translateY(-2px); }
.footer-col-title { color: #1a2336; font-size: 13px; font-weight: 700; margin-bottom: 18px; letter-spacing: 0.5px; }
.footer-link {
  color: rgba(26,35,54,0.8); font-size: 13px; display: flex; align-items: center; gap: 6px;
  margin-bottom: 10px; transition: color 0.18s;
}
.footer-link:hover { color: #1a2336; }
.footer-link-arrow { color: rgba(26,35,54,0.4); font-size: 9px; }
.footer-contact-item { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 13px; }
.footer-contact-icon { color: rgba(26,35,54,0.6); flex-shrink: 0; margin-top: 1px; }
.footer-contact-text { color: rgba(26,35,54,0.8); font-size: 13px; line-height: 1.5; }
.footer-hours {
  margin-top: 18px; padding: 13px 15px;
  background: rgba(26,35,54,0.08); border-radius: 8px; border: 1px solid rgba(26,35,54,0.2);
}
.footer-hours-title { color: #1a2336; font-size: 11px; font-weight: 700; margin-bottom: 5px; letter-spacing: 1px; }
.footer-hours-text  { color: rgba(26,35,54,0.65); font-size: 12px; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(26,35,54,0.12); padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { color: rgba(26,35,54,0.55); font-size: 12px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(26,35,54,0.55); font-size: 12px; transition: color 0.18s; }
.footer-legal a:hover { color: #1a2336; }

/* ── Floating action buttons ── */
.fab-btn {
  position: fixed; right: 18px; z-index: 9999;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  transition: transform 0.18s, box-shadow 0.18s;
}
.fab-btn:hover { transform: scale(1.12); box-shadow: 0 4px 18px rgba(0,0,0,0.35); color: #fff; }

/* ── SVG icons inline ── */
svg { display: inline-block; vertical-align: middle; overflow: hidden; }

/* ── Bootstrap reset overrides ── */
section h2, section h3 { margin-top: 0; }
.stat-card p, .service-card p, .featured-card p { margin-bottom: 0; }

/* ── Utilities ── */
.hidden { display: none; }

/* ── Hero slide backgrounds ── */
.hero-slide-1 { background: linear-gradient(135deg,#071e40 0%,#1654a0 100%); }
.hero-slide-2 { background: linear-gradient(135deg,#041820 0%,#0a8a9f 100%); }
.hero-slide-3 { background: linear-gradient(135deg,#200808 0%,#D41E21 100%); }

/* ── Hero CSS custom property driven elements ── */
.hero-btn-primary { background: var(--btn, #1654a0); box-shadow: 0 4px 16px rgba(22,84,160,0.45); }
.hero h1, .hero-h1 { margin-top: 0; margin-bottom: 12px; white-space: pre-line; }

/* ── Section headers (shared pattern) ── */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header-sm { margin-bottom: 36px; }
.section-header-photos { margin-bottom: 46px; }
.section-label-dk { color: #b07d00; }
.section-title { font-size: 34px; font-weight: 900; color: #1a2336; margin: 0 0 14px; }
.section-title-lg { font-size: 36px; margin: 0 0 16px; }
.section-sub { color: #5a6a82; font-size: 15px; margin: 0 auto; line-height: 1.75; }
.section-sub-480 { max-width: 480px; }
.section-sub-500 { max-width: 500px; }
.section-sub-520 { max-width: 520px; }
.section-sub-540 { max-width: 540px; }

/* ── Featured card variants ── */
.featured-card-proj { padding: 26px 26px 22px; }
.featured-card-header { margin-bottom: 18px; }
.card-section-title { font-size: 22px; font-weight: 800; color: #1a2336; margin: 0 0 10px; }
.card-footer-row { padding: 0 28px 22px; display: flex; justify-content: space-between; align-items: center; }
.card-footer-note { color: #8a9ab0; font-size: 12px; }
.card-footer-end { margin-top: 14px; display: flex; justify-content: flex-end; }
.card-link-gold { color: #c48e00; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.card-link-gold:hover { color: #a07800; }

/* ── Service card color variants ── */
.svc-red  { border-top: 3px solid #D41E21; }
.svc-gold { border-top: 3px solid #c48e00; }
.svc-teal { border-top: 3px solid #0a90aa; }
.svc-green{ border-top: 3px solid #2a9a5a; }
.svc-red  .service-num, .svc-red  .service-link { color: #D41E21; }
.svc-red  .service-bar { background: #D41E21; }
.svc-red  .service-link { border-bottom-color: rgba(212,30,33,0.27); }
.svc-gold .service-num, .svc-gold .service-link { color: #c48e00; }
.svc-gold .service-bar { background: #c48e00; }
.svc-gold .service-link { border-bottom-color: rgba(196,142,0,0.27); }
.svc-teal .service-num, .svc-teal .service-link { color: #0a90aa; }
.svc-teal .service-bar { background: #0a90aa; }
.svc-teal .service-link { border-bottom-color: rgba(10,144,170,0.27); }
.svc-green .service-num, .svc-green .service-link { color: #2a9a5a; }
.svc-green .service-bar { background: #2a9a5a; }
.svc-green .service-link { border-bottom-color: rgba(42,154,90,0.27); }
.service-card { border-top: 3px solid #ccc; }

/* ── Tab button active state via CSS custom property ── */
.tab-btn-active { background: var(--tab-accent); color: #fff; border-color: var(--tab-accent); box-shadow: 0 4px 16px color-mix(in srgb, var(--tab-accent) 40%, transparent); }

/* ── Product card CSS custom property driven ── */
.product-badge { color: var(--accent, #D41E21); }
.btn-show-more { border-color: var(--accent, #c48e00); color: var(--accent, #c48e00); }
.btn-show-more:hover { background: var(--accent, #c48e00); color: #fff; }
.btn-view-site { background: var(--accent, #c48e00); color: #fff; }
.btn-view-site.accent-dark { color: #111; }

/* ── Photo card color variants ── */
.photo-card-bg1 { background: #0d1e30; grid-column: span 2; grid-row: span 2; }
.photo-card-bg2 { background: #0f1540; }
.photo-card-bg3 { background: #0a200f; }
.photo-card-bg4 { background: #1e0d2a; }
.photo-card-bg5 { background: #18120a; }
.photo-card-bg6 { background: #081e1e; }
.photo-card-bg7 { background: #181e08; }
.photo-card-sm  { height: 170px; }
.photo-card-hq { grid-column: span 2; grid-row: span 2; }

/* ── Footer social color variants (reuse topbar social classes) ── */
/* .social-fb, .social-yt, .social-tt already defined above */
/* Override dimensions for footer context */
.footer-social-btn.social-fb { color: #1654a0; background: rgba(22,84,160,0.12); border-color: rgba(22,84,160,0.16); }
.footer-social-btn.social-yt { color: #cc0000; background: rgba(204,0,0,0.10);   border-color: rgba(204,0,0,0.13);   }
.footer-social-btn.social-tt { color: #1a2336; background: rgba(26,35,54,0.08);  border-color: rgba(26,35,54,0.11);  }

/* ── Footer contact text variants ── */
.footer-contact-phone { color: #1a2336 !important; }
.footer-contact-mst   { color: rgba(26,35,54,0.5); }

/* ── Float action button variants ── */
.fab-zalo      { bottom: 132px; background: #0180c7; }
.fab-call      { bottom: 80px;  background: #25d366; }
.fab-messenger { bottom: 28px;  background: #0084ff; }
.fab-zalo-text { font-size: 11px; font-weight: 900; }

/* ── Hamburger nav toggle ── */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 38px; height: 38px; padding: 0;
  background: none; border: 1px solid #dde8f4; border-radius: 6px;
  cursor: pointer; flex-shrink: 0; transition: border-color 0.18s;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: #1a2336;
  border-radius: 2px; transition: all 0.25s ease;
}
.nav-toggle:hover { border-color: #c48e00; }
.nav-toggle:hover span { background: #c48e00; }
.nav-toggle-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Responsive: Tablet lớn & Landscape mobile ≤1024px ── */
@media (max-width: 1024px) {
  /* Topbar — ẩn địa chỉ dài, giữ phone + email + social */
  .topbar-addr { display: none; }
  .topbar-sep:last-of-type { display: none; }

  /* Header — hamburger thay full nav */
  .header-inner       { padding: 0 20px; gap: 10px; }
  .header-search-wrap { margin-left: auto; }
  .nav-toggle         { display: flex; margin-left: 4px; }

  #main-nav {
    display: none;
    position: absolute; top: 62px; left: 0; right: 0; z-index: 200;
    background: #fff; box-shadow: 0 8px 24px rgba(7,20,40,0.14);
    flex-direction: column; padding: 8px 0;
    border-top: 1px solid #dde8f4;
  }
  #main-nav.nav-open { display: flex; }
  #main-nav a {
    height: auto; padding: 12px 20px;
    border-bottom: none; border-left: 3px solid transparent;
    font-size: 13px;
  }
  #main-nav a:hover, #main-nav a.active {
    border-left-color: #c48e00; background: rgba(196,142,0,0.06);
  }

  /* Hero */
  .hero         { height: 480px; }
  .hero-content { padding: 0 32px; }
  .hero h1, .hero-h1 { font-size: 40px; }
  .hero-counter { right: 20px; }

  /* Core Values */
  .core-values-grid { grid-template-columns: repeat(2, 1fr); }

  /* Stats */
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 44px; }

  /* Services */
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .section-title    { font-size: 28px; }
  .section-title-lg { font-size: 30px; }

  /* Products */
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .products-tabs { flex-wrap: wrap; justify-content: center; }
  .tab-btn       { font-size: 12px; padding: 8px 16px; }

  /* Photos */
  .photos-grid-main   { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .photos-grid-bottom { grid-template-columns: repeat(2, 1fr); }
  .photo-card-hq      { grid-column: span 2; min-height: 200px; }

  /* Footer */
  .footer-grid   { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal  { flex-wrap: wrap; justify-content: center; }
}

/* ── Responsive: Tablet ≤768px ── */
@media (max-width: 768px) {
  /* TopBar */
  .topbar-inner { flex-direction: column; gap: 6px; padding: 8px 16px; }
  .topbar-left  { flex-wrap: wrap; gap: 10px; justify-content: center; }
  .topbar-right { display: none; }

  /* Header */
  .header-inner { padding: 0 16px; gap: 8px; }
  .header-search { display: none; }

  /* Hero */
  .hero-content { padding: 0 24px; }
  .hero h1, .hero-h1 { font-size: 38px; }

  /* Featured */
  .featured-grid    { grid-template-columns: 1fr; }
  .featured-inner   { padding: 0 16px; }
  .featured-section { padding: 36px 0; }

  /* Stats */
  .stats-inner   { padding: 0 16px; }
  .stats-section { padding: 52px 0; }

  /* Services */
  .services-inner   { padding: 0 16px; }
  .services-section { padding: 52px 0; }

  /* Products */
  .products-inner   { padding: 0 16px; }
  .products-section { padding: 52px 0; }

  /* CTA */
  .cta-inner {
    flex-direction: column; text-align: center;
    padding: 28px 16px; gap: 20px;
  }
  .cta-btns  { justify-content: center; flex-wrap: wrap; }
  .cta-title { font-size: 20px; }

  /* Photos */
  .photos-inner   { padding: 0 16px; }
  .photos-section { padding: 52px 0; }

  /* Footer */
  .footer-inner { padding: 40px 16px 24px; }

  /* Section paddings */
  .topbar-inner,
  .core-values-inner,
  .stats-inner,
  .services-inner,
  .products-inner,
  .photos-inner { padding-left: 16px; padding-right: 16px; }
}

/* ── Responsive: Mobile ≤480px ── */
@media (max-width: 480px) {
  /* Hide topbar entirely on small screens */
  .topbar { display: none; }

  /* Hero — fullwidth, height auto, layout block */
  .hero                   { height: auto; overflow: visible; }
  .hero-slide             { position: relative; inset: auto; opacity: 1; transition: none; }
  .hero-slide:not(.active){ display: none; }
  .hero-slide.active      { display: block; }
  .hero-slide img         { width: 100%; height: auto; object-fit: unset; }
  .hero-overlay-left      { display: none; }
  .hero-overlay-bottom    { display: none; }
  .hero-content {
    position: relative; inset: auto; max-width: 100%;
    background: #071428; padding: 20px 16px 24px;
    display: block;
  }
  .hero-sub-row  { display: none; }
  .hero-bullets  { display: none; }
  .hero h1, .hero-h1 { font-size: 26px; margin-bottom: 14px; white-space: normal; }
  .hero-pill     { margin-bottom: 10px; }
  .hero-dots     { position: relative; bottom: auto; left: auto; transform: none;
                   display: flex; justify-content: center; padding: 10px 0;
                   background: #071428; margin: 0; }
  .hero-counter  { display: none; }
  .hero-arrow    { display: none; }

  /* Core Values */
  .core-values-grid { grid-template-columns: 1fr; }
  .core-value-item  { border-right: none; border-bottom: 1px solid rgba(26,35,54,0.12); }

  /* Stats */
  .stats-grid  { grid-template-columns: 1fr; }
  .stat-number { font-size: 40px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Products */
  .products-grid { grid-template-columns: 1fr; }
  .products-grid .product-img-wrap { aspect-ratio: 16/9; padding: 14px; }
  .products-grid .product-title { font-size: 16px; line-height: 1.5; }
  .tab-btn { font-size: 11px; padding: 7px 12px; }

  /* CTA */
  .cta-btns { flex-direction: column; width: 100%; }
  .cta-btn-primary, .cta-btn-secondary {
    width: 100%; justify-content: center;
  }

  /* Photos */
  .photos-grid-main {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .photos-grid-bottom { grid-template-columns: 1fr; }
  .photo-card-hq { grid-column: span 1; min-height: 180px; }
  .photo-card-sm  { height: 140px; }

  /* Project thumbs */
  .project-thumbs { grid-template-columns: repeat(3, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Section titles */
  .section-title    { font-size: 26px; }
  .section-title-lg { font-size: 28px; }
  .section-header   { margin-bottom: 32px; }

  /* Shared paddings */
  .header-inner,
  .topbar-inner,
  .core-values-inner,
  .featured-inner,
  .stats-inner,
  .services-inner,
  .products-inner,
  .cta-inner,
  .photos-inner,
  .footer-inner { padding-left: 14px; padding-right: 14px; }
}

/* ── Search widget ── */
.header-search-wrap {
  position: relative; display: flex; align-items: center; flex-shrink: 0;
  z-index: 110;
}
.header-search-btn {
  background: none; border: 1px solid #dde8f4; color: #8a9ab0;
  border-radius: 6px; padding: 6px 10px; cursor: pointer;
  display: flex; align-items: center; transition: all 0.18s; flex-shrink: 0;
  position: relative; z-index: 2;
}
.header-search-btn:hover { border-color: #c48e00; color: #c48e00; }
.header-search-wrap.open .header-search-btn { border-color: #c48e00; color: #c48e00; }

/* Desktop: absolute overlay — không chiếm chỗ trong flex row */
.header-search-box {
  position: absolute; top: 50%; transform: translateY(-50%);
  right: 0; z-index: 110;
  display: flex; align-items: center; overflow: hidden;
  width: 0; opacity: 0; pointer-events: none;
  transition: width 0.28s ease, opacity 0.22s ease;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  border-radius: 6px;
}
.header-search-wrap.open .header-search-box {
  width: 240px; opacity: 1; pointer-events: auto;
}
.header-search-box form { display: flex; width: 100%; }
.header-search-input {
  flex: 1; height: 33px; border: 1px solid #c48e00;
  border-right: none; border-radius: 6px 0 0 6px;
  padding: 0 12px; font-size: 13px; color: #1a2336;
  outline: none; background: #fff; min-width: 0;
}
.header-search-input::placeholder { color: #aab; }
.header-search-submit {
  height: 33px; padding: 0 11px;
  background: #FFB800; border: 1px solid #c48e00; border-left: none;
  border-radius: 0 6px 6px 0; cursor: pointer; color: #1a2336;
  display: flex; align-items: center; transition: background 0.18s; flex-shrink: 0;
}
.header-search-submit:hover { background: #e6a400; }

/* Mobile: full-width bar cố định ngay dưới header */
@media (max-width: 768px) {
  .header-search-btn { display: flex; }
  .header-search-box {
    position: fixed; top: 62px; left: 0; right: 0;
    width: auto; transform: none;
    opacity: 0; pointer-events: none;
    background: #fff; border: none;
    border-top: 2px solid #c48e00;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    flex-direction: row; z-index: 300;
    max-height: 0; overflow: hidden;
    transition: max-height 0.28s ease, opacity 0.22s ease;
  }
  .header-search-wrap.open .header-search-box {
    max-height: 60px; opacity: 1; pointer-events: auto; width: 100%;
  }
  .header-search-input {
    flex: 1; border: none; border-radius: 0;
    height: 48px; font-size: 15px; padding: 0 16px;
  }
  .header-search-submit {
    height: 48px; width: 52px;
    border: none; border-left: 1px solid #e4ecf6;
    border-radius: 0; padding: 0; justify-content: center;
  }
}

/* ── v2 Tab panels ── */
.v2-tab-panel { display: none; }
.v2-tab-panel.v2-tab-active { display: grid; }
.v2-tab-footer { display: none; }
.v2-tab-footer.v2-tab-active { display: inline-flex; }

/* ── Inner page: Breadcrumb v2 ── */
.breadcrumb-v2 { background: #fff; border-bottom: 1px solid var(--border); padding: 10px 0; }
.breadcrumb-inner { max-width: 1400px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 6px; font-size: 13px; flex-wrap: wrap; }
.breadcrumb-v2 a { color: rgba(26,35,54,0.6); display: flex; align-items: center; gap: 4px; }
.breadcrumb-v2 a:hover { color: var(--gold); }
.bc-sep { color: rgba(26,35,54,0.3); font-size: 15px; }
.bc-active { color: var(--gold); font-weight: 600; }

/* ── Inner page: Page header ── */
.page-header-section { background: var(--light-bg); border-bottom: 3px solid var(--gold); }
.page-header-inner { max-width: 1400px; margin: 0 auto; padding: 20px 32px 40px; }
.page-header-inner h1 { font-size: 34px; font-weight: 900; color: var(--navy); margin: 0; line-height: 1.3; letter-spacing: -0.5px; }
.page-header-desc { color: #64748b; font-size: 15px; line-height: 1.6; margin: 8px 0 0; }

/* ── Inner page: Intro content ── */
.intro-section { background: #fff; }
.intro-inner { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.intro-content { max-width: 860px; font-size: 15.5px; line-height: 1.85; color: #2d3748; }
.intro-content h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin-top: 40px; margin-bottom: 14px; }
.intro-content h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-top: 32px; margin-bottom: 12px; }
.intro-content p { margin-bottom: 18px; }
.intro-content ul, .intro-content ol { padding-left: 24px; margin-bottom: 18px; }
.intro-content li { margin-bottom: 8px; }
.intro-content img { border-radius: 8px; margin: 24px 0; max-width: 100%; }
.intro-content strong { color: var(--navy); }
.intro-content a { color: var(--blue); }
.intro-content a:hover { color: var(--gold); }

/* ── Inner page: Article detail ── */
.article-section { background: #fff; }
.article-inner { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.article-main { min-width: 0; }
.article-main-full { max-width: 860px; }

.article-summary { font-size: 15.5px; line-height: 1.8; color: #4a5568; background: var(--light-bg); border-left: 4px solid var(--gold); padding: 16px 20px; border-radius: 0 8px 8px 0; margin-bottom: 28px; }
.article-content { font-size: 15.5px; color: #2d3748; padding: 15px 0}
.article-content,
.article-content *:not(i):not([class^="icon"]):not([class*=" icon"]):not([class^="fa"]):not([class*=" fa-"]) {
  font-family: inherit !important;
}
.article-content h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin-top: 40px; margin-bottom: 14px; }
.article-content h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-top: 32px; margin-bottom: 12px; }
.article-content ul, .article-content ol { padding-left: 24px;  }
.article-content img, .article-content iframe { border-radius: 8px; max-width: 100% }
.article-content a { color: var(--blue); }
.article-content a:hover { color: var(--gold); }
.article-content strong { color: var(--navy); }
.article-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.article-content table th, .article-content table td { padding: 10px 14px; border: 1px solid var(--border); }
.article-content table th { background: var(--light-bg); font-weight: 700; color: var(--navy); }

/* ── Inner page: Article header listing ── */
.article-header-hero { display: flex; flex-direction: column; gap: 8px; }
.article-header-section { background: #fff; padding: 36px 0 56px; }
.article-header-inner { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.article-category-section { margin-bottom: 46px; }
.article-category-section:last-child { margin-bottom: 0; }
.article-category-head { align-items: flex-end; display: flex; gap: 20px; justify-content: space-between; margin-bottom: 22px; }
.article-category-head h2 { color: var(--navy); font-size: 26px; font-weight: 900; line-height: 1.25; margin: 0; }
.article-header-grid { display: grid; gap: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.article-card-v2 {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.article-card-v2:hover { border-color: rgba(196,142,0,0.35); box-shadow: 0 8px 24px rgba(26,35,54,0.1); transform: translateY(-3px); }
.article-card-img { aspect-ratio: 16/9; background: var(--light-bg); display: block; overflow: hidden; }
.article-card-img img { height: 100%; object-fit: cover; transition: transform 0.3s; width: 100%; }
.article-card-v2:hover .article-card-img img { transform: scale(1.04); }
.article-card-body { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.article-card-title { font-size: 16px; font-weight: 800; line-height: 1.45; margin: 0 0 8px; }
.article-card-title a {
  color: var(--navy);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.article-card-title a:hover { color: var(--gold); }
.article-card-summary {
  color: #64748b;
  display: -webkit-box;
  font-size: 13.5px;
  line-height: 1.65;
  margin: 0 0 16px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.article-card-footer { align-items: center; display: flex; gap: 12px; justify-content: space-between; margin-top: auto; }
.article-card-meta { align-items: center; color: #7b8794; display: inline-flex; font-size: 12.5px; gap: 5px; line-height: 1; }
.article-card-link,
.v2-btn-secondary {
  align-items: center;
  border: 1px solid var(--gold);
  border-radius: 6px;
  color: var(--gold);
  display: inline-flex;
  font-size: 12.5px;
  font-weight: 800;
  gap: 6px;
  line-height: 1;
  padding: 9px 12px;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.article-card-link { border-color: rgba(22,84,160,0.24); color: var(--blue); padding: 8px 10px; }
.article-card-link:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.v2-btn-secondary:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.v2-btn-primary {
  align-items: center;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  line-height: 1.2;
  min-height: 40px;
  padding: 11px 16px;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.v2-btn-primary:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-1px); }
.article-header-paging { display: flex; justify-content: center; margin-top: 34px; }
.article-header-paging .pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 0; padding-left: 0; }
.article-header-paging .page-item { list-style: none; }
.article-header-paging .page-link {
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--navy);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  min-height: 36px;
  min-width: 36px;
  padding: 7px 11px;
}
.article-header-paging .page-item.active .page-link,
.article-header-paging .page-link:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.article-header-paging .page-item.disabled .page-link { background: #f8fafc; color: #9aa7b6; pointer-events: none; }

/* ── Inner page: Product category listing ── */
.product-category-hero { display: flex; flex-direction: column; gap: 8px; }
.product-category-section { background: #fff; padding: 24px 0 56px; }
.product-category-inner { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.product-category-group { margin-bottom: 56px; }
.product-category-group:last-child { margin-bottom: 0; }
.product-category-head { align-items: flex-end; border-bottom: 1.5px solid rgba(26,35,54,0.12); display: flex; gap: 20px; justify-content: space-between; margin-bottom: 28px; padding-bottom: 16px; }
.product-category-head h2 { color: var(--navy); font-size: 28px; font-weight: 900; line-height: 1.25; margin: 0; }
.product-category-grid { display: grid; gap: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-category-grid .product-card { border-radius: 8px; box-shadow: none; border-color: var(--border); cursor: pointer; }
.product-category-grid .product-card:hover { border-color: rgba(196,142,0,0.35); box-shadow: 0 8px 24px rgba(26,35,54,0.1); transform: translateY(-3px); }
.product-category-grid .product-img-wrap { aspect-ratio: 16/10; background: #f8fafc; padding: 8px; }
.product-category-grid .product-img-wrap img { object-fit: contain; }
.product-category-grid .product-title { font-size: 14px; font-weight: 700; }
.product-category-grid .product-info { padding: 15px 16px 17px; }
.product-category-grid .product-price { min-height: 22px; }
.product-category-empty {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
  padding: 28px 24px;
  text-align: center;
}
.product-category-paging { display: flex; justify-content: center; margin-top: 34px; }
.product-category-paging .pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 0; padding-left: 0; }
.product-category-paging .page-item { list-style: none; }
.product-category-paging .page-link {
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--navy);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  min-height: 36px;
  min-width: 36px;
  padding: 7px 11px;
}
.product-category-paging .page-item.active .page-link,
.product-category-paging .page-link:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.product-category-paging .page-item.disabled .page-link { background: #f8fafc; color: #9aa7b6; pointer-events: none; }
.product-category-content {
  border-top: 1px solid var(--border);
  color: #2d3748;
  font-size: 15.5px;
  line-height: 1.85;
  margin-top: 46px;
  padding-top: 30px;
}
.product-category-content,
.product-category-content *:not(i):not([class^="icon"]):not([class*=" icon"]):not([class^="fa"]):not([class*=" fa-"]) {
  font-family: inherit !important;
}
.product-category-content h2 { color: var(--navy); font-size: 22px; font-weight: 800; margin: 34px 0 14px; }
.product-category-content h3 { color: var(--navy); font-size: 18px; font-weight: 700; margin: 28px 0 12px; }
.product-category-content p { margin-bottom: 18px; }
.product-category-content img,
.product-category-content iframe { border-radius: 8px; height: auto !important; margin: 20px 0; max-width: 100%; }

/* ── Inner page: Product detail ── */
.product-detail-hero { display: flex; flex-direction: column; gap: 8px; }
.product-detail-section { background: #fff; padding: 36px 0 60px; }
.product-detail-inner { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.product-detail-layout { display: grid; gap: 34px; grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr); align-items: start; }
.product-gallery-v2 { min-width: 0; }
.product-gallery-main {
  align-items: center;
  aspect-ratio: 4/3;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 22px;
}
.product-gallery-main img { display: block; height: 100%; max-height: 100%; object-fit: contain; width: 100%; }
.product-gallery-thumbs { display: grid; gap: 10px; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 12px; }
.product-gallery-thumb {
  align-items: center;
  aspect-ratio: 1;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  padding: 7px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.product-gallery-thumb.is-active,
.product-gallery-thumb:hover { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(196,142,0,0.14); }
.product-gallery-thumb img { display: block; height: 100%; object-fit: contain; width: 100%; }
.product-info-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(7,20,40,0.07);
  display: flex;
  flex-direction: column;
  max-height: 680px;
  overflow: hidden;
  padding: 28px;
}
.product-price-block { align-items: baseline; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.product-price-current,
.product-price-contact { color: var(--red); font-size: 24px; font-weight: 900; line-height: 1.2; }
.product-price-old { color: #94a3b8; font-size: 14px; font-weight: 700; text-decoration: line-through; }
.product-meta-list {
  border-top: 1px solid var(--border);
  display: grid;
  gap: 10px;
  padding-top: 16px;
}
.product-meta-list > div { align-items: start; display: grid; gap: 10px; grid-template-columns: 132px minmax(0, 1fr); }
.product-meta-list span { color: #64748b; font-size: 13.5px; font-weight: 700; line-height: 1.55; }
.product-meta-list strong { color: var(--navy); font-size: 14px; font-weight: 800; line-height: 1.55; min-width: 0; }
.product-meta-list a { color: var(--blue); }
.product-color-swatch { border: 1px solid rgba(0,0,0,0.15); border-radius: 50%; display: inline-block; height: 18px; margin-right: 6px; vertical-align: middle; width: 18px; }
.product-detail-summary-v2 {
  border-top: 1px solid var(--border);
  color: #334155;
  flex: 1 1 auto;
  font-size: 15px;
  line-height: 1.8;
  margin-top: 16px;
  min-height: 0;
  overflow: auto;
  padding-top: 14px;
  padding-right: 10px;
  scrollbar-color: rgba(196,142,0,0.55) rgba(196,142,0,0.08);
  scrollbar-width: thin;
}
.product-detail-summary-v2::-webkit-scrollbar { width: 6px; }
.product-detail-summary-v2::-webkit-scrollbar-track { background: rgba(196,142,0,0.08); border-radius: 999px; }
.product-detail-summary-v2::-webkit-scrollbar-thumb { background: rgba(196,142,0,0.55); border-radius: 999px; }
.product-detail-summary-v2,
.product-detail-summary-v2 *:not(i):not([class^="icon"]):not([class*=" icon"]):not([class^="fa"]):not([class*=" fa-"]) {
  font-family: inherit !important;
}
.product-detail-summary-v2 p:last-child { margin-bottom: 0; }
.product-detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.product-detail-tabs { margin-top: 34px; }
.product-tab-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.product-tab-button {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--navy);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  min-height: 40px;
  padding: 10px 14px;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.product-tab-button.is-active,
.product-tab-button:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.product-tab-panels {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.product-tab-panel { display: none; padding: 26px; }
.product-tab-panel.is-active { display: block; }
.product-detail-content {
  color: #2d3748;
  font-size: 15.5px;
  line-height: 1.85;
}
.product-detail-content,
.product-detail-content *:not(i):not([class^="icon"]):not([class*=" icon"]):not([class^="fa"]):not([class*=" fa-"]) {
  font-family: inherit !important;
}
.product-detail-content h2 { color: var(--navy); font-size: 22px; font-weight: 800; margin: 34px 0 14px; }
.product-detail-content h3 { color: var(--navy); font-size: 18px; font-weight: 700; margin: 28px 0 12px; }
.product-detail-content p { margin-bottom: 18px; }
.product-detail-content img,
.product-detail-content iframe { border-radius: 8px; height: auto !important; margin: 20px 0; max-width: 100%; }
.product-related-section { background: var(--light-bg); }
.product-selling-section { background: #fff; border-top: none; }
.product-related-section .section-header-sm,
.product-selling-section .section-header-sm {
  border-bottom: 2px solid var(--gold);
  margin-bottom: 28px;
  padding-bottom: 16px;
}
.product-related-section .section-title,
.product-selling-section .section-title { color: var(--navy); font-size: 26px; font-weight: 900; }
.product-related-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-related-grid .product-card { border-radius: 8px; box-shadow: none; border-color: var(--border); }
.product-related-grid .product-img-wrap { aspect-ratio: 16/10; background: #f8fafc; padding: 16px; }
.product-related-grid .product-img-wrap img { object-fit: contain; }
.product-related-grid .product-info { padding: 15px 16px 17px; }
.product-rating-section-v2 {
  border-top: 1px solid var(--border);
  margin-top: 42px;
  padding-top: 30px;
}
.product-rating-v2 { clear: both; }
.product-rating-v2 .comment_danhgia_v1 {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--navy);
  display: flex;
  font-size: 16px;
  font-weight: 800;
  gap: 9px;
  letter-spacing: 0;
  margin-bottom: 14px;
  padding: 0 !important;
  text-align: left;
  text-transform: none;
}
.product-rating-v2 .comment_danhgia_v1 .icon-hoidap {
  align-items: center;
  border: 1px solid rgba(196,142,0,0.45);
  border-radius: 50%;
  color: var(--gold);
  display: inline-flex;
  height: 22px;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: 22px;
}
.product-rating-v2 .comment_danhgia_v1 span { padding-left: 0; }
.product-rating-v2 .comment_danhgia_v1 .icon-hoidap::before { content: "\2605"; line-height: 1; }
.product-rating-v2 #box-rating {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-sizing: border-box;
  display: flow-root;
  max-width: 100%;
  padding: 18px;
  text-align: left;
}
.product-rating-v2 .form_comment { display: block; }
.product-rating-v2 .select_rating { align-items: center; display: flex; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 16px; }
.product-rating-v2 .rating_title { color: var(--navy); font-weight: 700; }
.product-rating-v2 .container_rating { line-height: 1; }
.product-rating-v2 .fgroup { display: grid; grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr) minmax(180px, 1fr); gap: 10px; }
.product-rating-v2 .fgroup_left,
.product-rating-v2 .fgroup_center,
.product-rating-v2 .fgroup_right { float: none; padding-right: 0; width: auto; }
.product-rating-v2 .fgroup_left textarea { display: block; min-height: 91px; width: 100%; }
.product-rating-v2 .fgroup_left textarea,
.product-rating-v2 .fgroup_center input,
.product-rating-v2 .fgroup_right input {
  border-color: #d8dee8;
  color: #334155;
  font-size: 14px;
}
.product-rating-v2 .fgroup_left textarea:focus,
.product-rating-v2 .fgroup_center input:focus,
.product-rating-v2 .fgroup_right input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,91,170,0.12);
  outline: 0;
}
.product-rating-v2 .fgroup_center input,
.product-rating-v2 .fgroup_right input { display: block; width: 100%; }
.product-rating-v2 .fgroup_right input[type="submit"] {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
  transition: background 0.18s, border-color 0.18s;
}
.product-rating-v2 .fgroup_right input[type="submit"]:hover { background: var(--navy) !important; border-color: var(--navy) !important; }
.product-rating-v2 .box_comment { clear: both; display: flow-root; margin-top: 18px; width: 100%; }
.product-rating-v2 .rating-star {
  align-items: flex-start;
  border-top: 1px solid #edf0f4;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  width: 100%;
}
.product-rating-v2 .rating-left { border-right: 0; padding: 0; text-align: left; width: 100%; }
.product-rating-v2 .rating-top {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  margin-bottom: 12px;
}
.product-rating-v2 .rating-star .point { color: #ff8a00; font-size: 24px; line-height: 1; margin: 0; }
.product-rating-v2 .list-star { display: inline-flex; gap: 2px; margin: 0; }
.product-rating-v2 .rating-total { color: #475569; font-size: 14px; line-height: 1.4; margin: 0; }
.product-rating-v2 .rating-list { display: grid; gap: 8px; margin: 0; max-width: 560px; width: 100%; }
.product-rating-v2 .rating-list li { align-items: center; display: grid; gap: 10px; grid-template-columns: 28px minmax(120px, 1fr) 38px; margin: 0; }
.product-rating-v2 .rating-list .number-star { color: #111827; font-size: 13px; font-weight: 700; line-height: 1; width: auto; }
.product-rating-v2 .rating-list .number-star i { margin-left: 2px; margin-top: -3px; opacity: 0.75; }
.product-rating-v2 .rating-list .timeline-star {
  background: #eef2f7;
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.product-rating-v2 .rating-list .timeline-star .number-percent { display: none; }
.product-rating-v2 .rating-list .timeline-star .timing { border-radius: inherit; height: 100%; margin: 0; }
.product-rating-v2 .rating-list .number-percent { color: #2563eb; font-size: 13px; font-weight: 700; line-height: 1; padding-left: 0; text-align: right; width: auto; }
.product-rating-v2 .box_comment > ul { margin: 0; padding-top: 4px; }
.product-rating-v2 .box_comment > ul > li { border-bottom: 1px solid #edf0f4; margin-bottom: 14px; padding-bottom: 12px; }
.product-rating-v2 .box_comment > ul > li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.product-rating-v2 .comment_rating { overflow-wrap: anywhere; }

.article-rating-v2 { clear: both; margin-top: 40px; }
.article-rating-v2 .comment_danhgia_v1 { margin-bottom: 10px; text-align: left; }
.article-rating-v2 .comment_danhgia_v1 .icon-hoidap {
  align-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  display: inline-flex;
  font-family: Arial, sans-serif;
  font-size: 10px;
  height: 18px;
  justify-content: center;
  margin-right: 8px;
  vertical-align: middle;
  width: 18px;
}
.article-rating-v2 .comment_danhgia_v1 .icon-hoidap::before { content: "\2605"; line-height: 1; }
.article-rating-v2 #box-rating { box-sizing: border-box; display: flow-root; max-width: 100%; text-align: left; }
.article-rating-v2 .form_comment { display: block; }
.article-rating-v2 .fgroup { display: grid; grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr) minmax(180px, 1fr); gap: 10px; }
.article-rating-v2 .fgroup_left,
.article-rating-v2 .fgroup_center,
.article-rating-v2 .fgroup_right { float: none; padding-right: 0; width: auto; }
.article-rating-v2 .fgroup_left textarea { display: block; min-height: 91px; width: 100%; }
.article-rating-v2 .fgroup_center input,
.article-rating-v2 .fgroup_right input { display: block; width: 100%; }
.article-rating-v2 .box_comment { clear: both; display: flow-root; margin-top: 18px; width: 100%; }
.article-rating-v2 .rating-star {
  background: #f8fafc;
  border: 0;
  border-radius: 6px;
  display: block;
  margin: 2px 0 18px;
  padding: 14px 16px;
  width: 100%;
}
.article-rating-v2 .rating-left { border-right: 0; padding: 0; text-align: left; width: 100%; }
.article-rating-v2 .rating-top {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0 0 12px;
  padding-bottom: 0;
}
.article-rating-v2 .rating-star .point { color: #ff8a00; font-size: 24px; line-height: 1; margin: 0; }
.article-rating-v2 .list-star { display: inline-flex; gap: 2px; margin: 0; }
.article-rating-v2 .rating-total { color: #475569; font-size: 14px; line-height: 1.4; margin: 0; }
.article-rating-v2 .rating-list { display: grid; gap: 8px; margin: 0; max-width: 560px; width: 100%; }
.article-rating-v2 .rating-list li { align-items: center; display: grid; gap: 10px; grid-template-columns: 28px minmax(120px, 1fr) 38px; margin: 0; }
.article-rating-v2 .rating-list .number-star { color: #111827; font-size: 13px; font-weight: 700; line-height: 1; width: auto; }
.article-rating-v2 .rating-list .number-star i { margin-left: 2px; margin-top: -3px; opacity: 0.75; }
.article-rating-v2 .rating-list .timeline-star {
  background: #e5e7eb;
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
  position: relative;
  width: auto;
}
.article-rating-v2 .rating-list .timeline-star .timing { border-radius: inherit; height: 100%; margin: 0; }
.article-rating-v2 .rating-list .number-percent { color: #2563eb; font-size: 13px; font-weight: 700; line-height: 1; padding-left: 0; text-align: right; width: auto; }
.article-rating-v2 .box_comment > ul { margin: 0; padding-top: 4px; }
.article-rating-v2 .box_comment > ul > li { border-bottom: 1px solid #edf0f4; margin-bottom: 14px; padding-bottom: 12px; }
.article-rating-v2 .box_comment > ul > li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.article-rating-v2 .comment_rating { overflow-wrap: anywhere; }

.article-sidebar { position: sticky; top: 80px; margin-top: 20px }
.sidebar-block { background: var(--light-bg); border-radius: 10px; padding: 20px; margin-bottom: 20px; border: 1px solid var(--border); }
.sidebar-block-title { font-size: 12px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.sidebar-link { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; color: #2d3748; }
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover { color: var(--gold); }
.sidebar-link svg { flex-shrink: 0; color: var(--gold); }
.sidebar-news-item { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--border); }
.sidebar-news-item:last-child { border-bottom: none; }
.sidebar-news-item:hover .sidebar-news-title { color: var(--gold); }
.sidebar-news-img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.sidebar-news-title { font-size: 13px; line-height: 1.5; color: #2d3748; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.related-section { padding: 48px 0; background: var(--light-bg); }
.related-inner { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.related-card { background: #fff; border-radius: 10px; border: 1px solid var(--border); overflow: hidden; display: block; transition: box-shadow 0.2s, transform 0.2s; }
.related-card:hover { box-shadow: 0 6px 24px rgba(26,35,54,0.1); transform: translateY(-3px); }
.related-card-img { aspect-ratio: 16/9; overflow: hidden; }
.related-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.related-card:hover .related-card-img img { transform: scale(1.04); }
.related-card-body { padding: 16px; }
.related-card-title { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; }
.related-card-summary { font-size: 12.5px; color: #64748b; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Product detail sidebar ── */
.product-detail-with-sidebar { display: grid; gap: 34px; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; }
.product-detail-main { min-width: 0; }
.product-detail-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 20px; }
.sidebar-support-box,
.sidebar-selling-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(7,20,40,0.07);
  overflow: hidden;
}
.sidebar-box-header {
  align-items: center;
  background: var(--navy);
  color: #fff;
  display: flex;
  gap: 10px;
  padding: 14px 18px;
}
.sidebar-box-header h3 { color: #fff; font-size: 15px; font-weight: 800; margin: 0; }
.sidebar-box-header svg { flex-shrink: 0; opacity: 0.85; }
.sidebar-hotlines { padding: 14px 18px; display: flex; flex-direction: column; gap: 10px; }
.sidebar-hotline-item { display: flex; justify-content: space-between; align-items: center; gap: 8px; text-decoration: none; }
.sidebar-hotline-item span { color: #64748b; font-size: 13px; font-weight: 600; }
.sidebar-hotline-item strong { color: var(--gold); font-size: 15px; font-weight: 900; }
.sidebar-hotline-item:hover strong { color: var(--navy); }
.sidebar-selling-list { padding: 10px 0; }
.sidebar-selling-item { align-items: center; border-bottom: 1px solid var(--border); display: flex; gap: 12px; padding: 10px 18px; text-decoration: none; transition: background 0.15s; }
.sidebar-selling-item:last-child { border-bottom: none; }
.sidebar-selling-item:hover { background: var(--light-bg); }
.sidebar-selling-item img { background: #f8fafc; border: 1px solid var(--border); border-radius: 6px; flex-shrink: 0; height: 56px; object-fit: contain; width: 56px; }
.sidebar-selling-info { min-width: 0; }
.sidebar-selling-name { -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--navy); display: -webkit-box; font-size: 13px; font-weight: 700; line-height: 1.4; overflow: hidden; }
.sidebar-selling-price { color: var(--red); font-size: 13px; font-weight: 800; margin-top: 4px; }

/* ── Inner pages responsive ≤1024px ── */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .article-header-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail-with-sidebar { grid-template-columns: 1fr; }
  .product-detail-sidebar { position: static; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .product-info-panel { max-height: none; }
  .product-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Inner pages responsive ── */
@media (max-width: 768px) {
  .breadcrumb-inner { padding: 0 20px; }
  .page-header-inner { padding: 16px 20px 22px; }
  .page-header-inner h1 { font-size: 24px; }
  .intro-inner { padding: 0 20px; }
  .intro-content { font-size: 15px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .article-inner { padding: 0 20px; }
  .article-header-section { padding: 30px 0 44px; }
  .article-header-inner { padding: 0 20px; }
  .article-category-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .article-header-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-category-section { padding: 30px 0 44px; }
  .product-category-inner { padding: 0 20px; }
  .product-category-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .product-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail-section { padding: 30px 0 44px; }
  .product-detail-inner { padding: 0 20px; }
  .product-detail-sidebar { display: none; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .product-info-panel { max-height: none; padding: 22px; }
  .product-detail-summary-v2 { max-height: none; overflow: visible; padding-right: 0; }
  .product-rating-section-v2 { margin-top: 34px; padding-top: 24px; }
  .product-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-rating-v2 .fgroup { grid-template-columns: 1fr; }
  .product-rating-v2 .rating-list { max-width: none; }
  .article-rating-v2 .fgroup { grid-template-columns: 1fr; }
  .article-rating-v2 .rating-list { max-width: none; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .related-inner { padding: 0 20px; }
  .article-content img, .article-content iframe {height: auto !important}
}
/* ^8 khoảng cách, ^9 tăng font mobile */
@media (max-width: 480px) {
  .breadcrumb-inner { padding: 0 16px; gap: 5px; font-size: 12.5px; }
  .bc-sep, .bc-active { display: none; }
  .page-header-inner { padding: 14px 16px 20px; }
  .page-header-inner h1 { font-size: 22px; }
  .intro-inner { padding: 0 16px; }
  .intro-content { font-size: 16px; line-height: 1.9; }
  .intro-content h2 { font-size: 19px; margin-top: 32px; }
  .intro-content h3 { font-size: 16px; margin-top: 26px; }
  .intro-content li { margin-bottom: 10px; }
  .article-inner, .related-inner { padding: 0 16px; }
  .article-header-inner { padding: 0 16px; }
  .article-header-section { padding: 26px 0 36px; }
  .article-category-section { margin-bottom: 34px; }
  .article-category-head h2 { font-size: 22px; }
  .article-header-grid { gap: 16px; grid-template-columns: 1fr; }
  .article-card-body { padding: 15px; }
  .article-card-title { font-size: 17px; line-height: 1.45; }
  .article-card-summary { font-size: 15px; line-height: 1.7; }
  .article-card-link, .v2-btn-secondary { font-size: 13.5px; padding: 10px 12px; }
  .product-category-inner { padding: 0 16px; }
  .product-category-section { padding: 26px 0 36px; }
  .product-category-group { margin-bottom: 36px; }
  .product-category-head { margin-bottom: 18px; }
  .product-category-head h2 { font-size: 22px; }
  .product-category-grid { gap: 16px; grid-template-columns: 1fr; }
  .product-category-grid .product-img-wrap { aspect-ratio: 16/9; padding: 14px; }
  .product-category-grid .product-title { font-size: 16px; line-height: 1.5; }
  .product-category-grid .product-contact,
  .product-category-grid .product-sale { font-size: 15px; }
  .product-category-content { font-size: 16px; line-height: 1.9; margin-top: 36px; padding-top: 24px; }
  .product-category-content h2 { font-size: 19px; margin-top: 30px; }
  .product-detail-inner { padding: 0 16px; }
  .product-detail-section { padding: 26px 0 36px; }
  .product-gallery-main { padding: 14px; }
  .product-gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-info-panel { padding: 18px 16px 20px; }
  .product-info-panel h2 { font-size: 22px; line-height: 1.35; }
  .product-price-current,
  .product-price-contact { font-size: 22px; }
  .product-meta-list > div { gap: 4px; grid-template-columns: 1fr; }
  .product-detail-summary-v2 { font-size: 16px; line-height: 1.9; }
  .product-detail-actions .v2-btn-primary,
  .product-detail-actions .v2-btn-secondary { width: 100%; }
  .product-detail-tabs { margin-top: 26px; }
  .product-tab-list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .product-tab-button { flex: 0 0 auto; font-size: 13.5px; }
  .product-tab-panel { padding: 16px; }
  .product-detail-content { font-size: 16px; line-height: 1.9; }
  .product-detail-content h2 { font-size: 19px; margin-top: 30px; }
  .product-related-grid { gap: 16px; grid-template-columns: 1fr; }
  .product-related-grid .product-img-wrap { aspect-ratio: 16/9; padding: 14px; }
  .product-rating-v2 #box-rating { padding: 10px; }
  .product-rating-v2 .select_rating { align-items: flex-start; display: flex; flex-direction: column; gap: 6px; }
  .product-rating-v2 .rating-top { align-items: flex-start; flex-direction: column; }
  .article-content { font-size: 16px; line-height: 1.9}
  .article-content h2 { font-size: 19px; margin-top: 28px; }
  .article-content li { margin-bottom: 10px; }
  .article-summary { font-size: 15px; padding: 14px 16px; }
  .article-rating-v2 { margin-top: 32px; }
  .article-rating-v2 #box-rating { padding: 10px; }
  .article-rating-v2 .select_rating { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
  .article-rating-v2 .rating-top { align-items: flex-start; flex-direction: column; }
  .related-section { padding: 32px 0; }
  .related-grid { grid-template-columns: 1fr; }
}

/* Video List V2 */
.video-list-section { background: var(--light-bg); padding: 36px 0 60px; }
.video-list-inner { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.video-category-group { margin-bottom: 52px; }
.video-category-group:last-child { margin-bottom: 0; }
.video-category-head {
  align-items: flex-end;
  border-bottom: 1.5px solid rgba(26,35,54,0.12);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
}
.video-category-head h2 { color: var(--navy); font-size: 28px; font-weight: 900; line-height: 1.25; margin: 0; }
.video-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.video-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.video-card:hover { border-color: rgba(196,142,0,0.35); box-shadow: 0 8px 24px rgba(26,35,54,0.1); color: inherit; transform: translateY(-3px); }
.video-card-thumb { aspect-ratio: 16/9; background: #f8fafc; overflow: hidden; position: relative; }
.video-card-thumb img { height: 100%; object-fit: cover; transition: transform 0.3s; width: 100%; }
.video-card:hover .video-card-thumb img { transform: scale(1.04); }
.video-card-thumb::before {
  background: rgba(26,35,54,0.72);
  border: 2px solid rgba(255,255,255,0.82);
  border-radius: 50%;
  content: "";
  height: 54px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: background 0.2s, transform 0.2s;
  width: 54px;
  z-index: 1;
}
.video-card-thumb::after {
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  content: "";
  left: calc(50% + 3px);
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.video-card:hover .video-card-thumb::before { background: var(--gold); transform: translate(-50%, -50%) scale(1.05); }
.video-card-body { display: flex; flex: 1; flex-direction: column; padding: 12px; }
.video-card-title {
  color: var(--navy);
  display: -webkit-box;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.video-card:hover .video-card-title { color: var(--gold); }
.video-list-empty {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
  padding: 28px 24px;
  text-align: center;
}

@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .video-list-section { padding: 26px 0 36px; }
  .video-list-inner { padding: 0 16px; }
  .video-category-group { margin-bottom: 36px; }
  .video-category-head { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 18px; }
  .video-category-head h2 { font-size: 22px; }
  .video-grid { gap: 16px; grid-template-columns: 1fr; }
  .video-card-title { font-size: 16px; }
}

/* Video Detail V2 */
.youtube-detail-section { background: #fff; padding: 36px 0 60px; }
.youtube-detail-inner { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.youtube-player-wrap {
  aspect-ratio: 16/9;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(26,35,54,0.12);
  overflow: hidden;
  position: relative;
  width: 100%;
}
.youtube-player-wrap iframe {
  border: 0;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}
.youtube-summary-v2 {
  background: var(--light-bg);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  color: #4a5568;
  font-size: 15.5px;
  line-height: 1.8;
  margin-top: 24px;
  padding: 16px 20px;
}

@media (max-width: 600px) {
  .youtube-detail-section { padding: 26px 0 36px; }
  .youtube-detail-inner { padding: 0 16px; }
  .youtube-summary-v2 { font-size: 15px; margin-top: 18px; padding: 14px 16px; }
}

/* ── Photo Modal Lightbox ── */
.photo-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.photo-modal-backdrop.is-open { display: flex; }
.photo-modal-inner {
  background: #1a1a2a;
  border-radius: 12px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.7);
}
.photo-modal-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.photo-modal-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #aaa;
}
.photo-modal-close {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.photo-modal-close:hover { background: rgba(255,255,255,.25); }
.photo-modal-body {
  display: flex;
  gap: 0;
  flex: 1;
  min-height: 0;
}
.photo-modal-img-wrap {
  flex: 1;
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.photo-modal-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  max-height: 440px;
}
.pm-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  z-index: 2;
}
.pm-btn:hover { background: rgba(255,255,255,.32); }
.pm-prev { left: 12px; }
.pm-next { right: 12px; }
.pm-counter {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(0,0,0,.6);
  color: #fff; font-size: 12px;
  padding: 3px 10px; border-radius: 12px;
}
.photo-modal-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: rgba(255,255,255,.04);
  border-left: 1px solid rgba(255,255,255,.07);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}
.pm-badge {
  display: inline-block;
  background: var(--v2-accent, #1a6ef5);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  width: fit-content;
}
.pm-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0;
}
.pm-summary {
  font-size: 13px;
  color: #aaa;
  line-height: 1.65;
  margin: 0;
}
.pm-divider { border: none; border-top: 1px solid rgba(255,255,255,.1); margin: 4px 0; }
.photo-modal-thumbs {
  display: flex;
  gap: 8px;
  padding: 14px 20px;
  overflow-x: auto;
  flex-shrink: 0;
  border-top: 1px solid rgba(255,255,255,.07);
}
.photo-modal-thumbs::-webkit-scrollbar { height: 4px; }
.photo-modal-thumbs::-webkit-scrollbar-thumb { background: #444; border-radius: 2px; }
.pm-thumb {
  width: 72px; height: 52px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .2s, opacity .2s;
  opacity: .65;
}
.pm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-thumb.active { border-color: var(--v2-accent, #1a6ef5); opacity: 1; }
.pm-thumb:hover { opacity: 1; }

@media (max-width: 768px) {
  .photo-modal-sidebar { display: none; }
  .photo-modal-inner { max-height: 95vh; }
  .photo-modal-img-wrap { min-height: 240px; }
  .photo-modal-img-wrap img { max-height: 320px; }
}

/* Product skeleton loader */
@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.product-card-skeleton {
  border-radius: 8px;
  border: 1px solid #eee;
  overflow: hidden;
  background: #fff;
}
.product-card-skeleton__img {
  aspect-ratio: 16/10;
  background: linear-gradient(90deg, #e8e8e8 25%, #f4f4f4 50%, #e8e8e8 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite linear;
}
.product-card-skeleton__info {
  padding: 15px 16px 17px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-card-skeleton__line {
  border-radius: 4px;
  background: linear-gradient(90deg, #e8e8e8 25%, #f4f4f4 50%, #e8e8e8 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite linear;
}
.product-card-skeleton__line--title { height: 14px; width: 80%; }
.product-card-skeleton__line--price { height: 14px; width: 40%; }
