/* ==========================================================================
   SẮT THÉP SI TRỊ - HIGH SPEED & SEO OPTIMIZED CSS
   ========================================================================== */

:root {
  --primary: #0f2b48;
  --primary-hover: #0a1e33;
  --primary-light: #1e456e;
  --accent: #e65100;
  --accent-hover: #ff6b00;
  --accent-light: #fff3e0;
  --secondary: #2b6cb0;
  --success: #16a34a;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --bg-section: #f1f5f9;
  --border-color: #e2e8f0;
  --border-focus: #3b82f6;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 43, 72, 0.08);
  --shadow-lg: 0 10px 25px rgba(15, 43, 72, 0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-cond: 'Roboto Condensed', 'Inter', sans-serif;
  --transition: all 0.25s ease-in-out;
}

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

html {
  font-size: 15px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 60px; /* Space for mobile sticky bar */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */
.top-bar {
  background-color: #07192c;
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #cbd5e1;
}

.top-item strong {
  color: #fb923c;
}

.top-item a {
  color: #cbd5e1;
}

.top-item a:hover {
  color: #ffffff;
}

.site-header {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 990;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  gap: 20px;
}

/* Brand Logo */
.brand-logo-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.logo-title .highlight {
  color: var(--accent);
}

.logo-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Header Search */
.header-search {
  flex: 1;
  max-width: 460px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-field {
  width: 100%;
  padding: 9px 40px 9px 15px;
  border: 2px solid #cbd5e1;
  border-radius: 25px;
  background-color: #f8fafc;
  font-size: 0.9rem;
  transition: var(--transition);
}

.search-field:focus {
  outline: none;
  border-color: var(--secondary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.15);
}

.search-submit {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 1rem;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-contact-box {
  display: none;
  align-items: center;
  gap: 8px;
}

@media (min-width: 768px) {
  .header-contact-box {
    display: flex;
  }
}

.contact-icon {
  font-size: 1.8rem;
}

.contact-meta {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.contact-phone {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
}

.btn-zalo {
  background-color: #0068ff;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-zalo:hover {
  background-color: #0052cc;
  transform: translateY(-1px);
}

.zalo-badge {
  background: #ffffff;
  color: #0068ff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================================================
   NAVIGATION BAR (MODERN, SINGLE-LINE & BEAUTIFUL AESTHETICS)
   ========================================================================== */
.main-navigation {
  background: linear-gradient(90deg, #091e33 0%, #0f2b48 100%);
  color: #ffffff;
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

@media (min-width: 992px) {
  .main-navigation {
    display: block;
  }
}

.nav-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: 50px;
}

/* Category Dropdown in Nav (Left Badge) */
.nav-cat-dropdown {
  position: relative;
  background: linear-gradient(135deg, #e65100 0%, #ff6b00 100%);
  padding: 0 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: var(--transition);
  border-radius: var(--radius-sm) 0 0 0;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.nav-cat-dropdown:hover {
  background: linear-gradient(135deg, #ff6b00 0%, #e65100 100%);
  filter: brightness(1.05);
}

.cat-toggle-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  color: #ffffff;
  white-space: nowrap;
}

.cat-icon {
  font-size: 1.1rem;
}

.cat-arrow {
  font-size: 0.68rem;
  opacity: 0.9;
  transition: transform 0.2s ease;
}

.nav-cat-dropdown:hover .cat-arrow {
  transform: rotate(180deg);
}

.cat-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 270px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 43, 72, 0.18);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border: 1px solid var(--border-color);
  border-top: 2px solid var(--accent);
  display: none;
  z-index: 999;
  animation: dropdown-fade 0.2s ease;
}

@keyframes dropdown-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-cat-dropdown:hover .cat-dropdown-menu {
  display: block;
}

.cat-dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.88rem;
  border-bottom: 1px solid #f1f5f9;
  transition: var(--transition);
}

.cat-dropdown-menu li:last-child a {
  border-bottom: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.cat-dropdown-menu li a:hover {
  background-color: #f8fafc;
  color: var(--accent);
  padding-left: 22px;
}

/* Main Menu List */
.main-menu {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0 10px;
  flex: 1;
}

.main-menu li {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.main-menu li a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.2px;
  white-space: nowrap !important;
  transition: all 0.2s ease;
  position: relative;
}

.main-menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.25s ease;
  border-radius: 3px 3px 0 0;
}

.main-menu li:hover a::after,
.main-menu li.current-menu-item a::after {
  opacity: 1;
  transform: scaleX(1);
}

.main-menu li:hover a,
.main-menu li.current-menu-item a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* CTA Quote Button in Nav */
.nav-quote-cta {
  display: flex;
  align-items: center;
  height: 100%;
  padding-left: 10px;
  flex-shrink: 0;
}

.btn-fast-quote {
  background: linear-gradient(135deg, #ff7a00, #e65100);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(230, 81, 0, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-fast-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(230, 81, 0, 0.6);
}

/* Responsive adjustments for 992px to 1200px */
@media (max-width: 1200px) {
  .nav-cat-dropdown {
    padding: 0 14px;
  }
  .cat-toggle-header {
    font-size: 0.82rem;
  }
  .main-menu li a {
    padding: 0 10px;
    font-size: 0.86rem;
  }
  .btn-fast-quote {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: -300px;
  width: 290px;
  height: 100vh;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: left 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.active {
  left: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.drawer-overlay.active {
  display: block;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background: var(--primary);
  color: #ffffff;
}

.drawer-title {
  font-weight: 700;
}

.drawer-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.3rem;
  cursor: pointer;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
}

.drawer-search input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 15px;
}

.mobile-menu-links li a {
  display: block;
  padding: 10px 0;
  color: var(--text-dark);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.satthep-breadcrumbs {
  background-color: #f1f5f9;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
}

.breadcrumb-item::after {
  content: "›";
  margin-left: 8px;
  color: #94a3b8;
  font-size: 1.1rem;
}

.breadcrumb-item:last-child::after {
  content: "";
}

.breadcrumb-item a {
  color: var(--text-body);
}

.breadcrumb-item.active {
  color: var(--primary);
  font-weight: 600;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, #07192c 0%, #0f2b48 60%, #173d66 100%);
  color: #ffffff;
  padding: 45px 0 55px;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(230, 81, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 35px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-container {
    grid-template-columns: 1.35fr 0.9fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fed7aa;
  margin-bottom: 15px;
  border: 1px solid rgba(254, 215, 170, 0.2);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #ff6b00;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(255, 107, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

.hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.35rem;
  }
}

.highlight-orange {
  color: #ff8a00;
}

.hero-desc {
  font-size: 0.98rem;
  color: #cbd5e1;
  margin-bottom: 25px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 35px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-hero-call {
  background: linear-gradient(135deg, #e65100, #ff6b00);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(230, 81, 0, 0.4);
  font-size: 1rem;
}

.btn-hero-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230, 81, 0, 0.6);
}

.btn-hero-zalo {
  background: #0068ff;
  color: #ffffff !important;
  font-size: 1rem;
}

.btn-hero-zalo:hover {
  background: #0052cc;
  transform: translateY(-2px);
}

.btn-hero-calc {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-hero-calc:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

@media (min-width: 576px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fb923c;
}

.stat-label {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Hero Quote Form Card */
.hero-quote-card {
  background: #ffffff;
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  border-top: 4px solid var(--accent);
}

.quote-card-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.quote-card-header p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.hero-quote-form .form-row {
  margin-bottom: 12px;
}

.hero-quote-form input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.hero-quote-form input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px rgba(43, 108, 176, 0.15);
}

.btn-submit-hero {
  width: 100%;
  background: linear-gradient(135deg, #e65100, #ff6b00);
  color: #ffffff;
  font-weight: 800;
  padding: 12px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 5px;
}

.btn-submit-hero:hover {
  filter: brightness(1.08);
}

.quote-card-footer {
  text-align: center;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTIONS & HEADINGS
   ========================================================================== */
section {
  padding: 45px 0;
}

.section-header {
  margin-bottom: 30px;
}

.section-header.text-center {
  text-align: center;
}

.sub-heading {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 5px;
}

.main-heading {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
}

@media (min-width: 768px) {
  .main-heading {
    font-size: 1.85rem;
  }
}

.heading-divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 25px;
}

.btn-outline {
  border: 1.5px solid var(--secondary);
  color: var(--secondary);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.88rem;
}

.btn-outline:hover {
  background-color: var(--secondary);
  color: #ffffff;
}

/* ==========================================================================
   CATEGORIES GRID
   ========================================================================== */
.cat-grid-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

@media (min-width: 768px) {
  .cat-grid-showcase {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 992px) {
  .cat-grid-showcase {
    grid-template-columns: repeat(6, 1fr);
  }
}

.cat-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px 14px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.cat-card-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.cat-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.cat-card-title a {
  color: var(--primary);
}

.cat-card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
  display: none;
}

@media (min-width: 768px) {
  .cat-card-desc {
    display: block;
  }
}

.cat-card-btn {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}

/* ==========================================================================
   PRODUCT GRID & CARDS (FULL WIDTH, NO SIDEBAR, BULLETPROOF SPECIFICITY)
   ========================================================================== */
.woocommerce ul.products,
.woocommerce-page ul.products,
.related-products-section ul.products,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 15px !important;
  margin: 0 0 30px 0 !important;
  padding: 0 !important;
  list-style: none !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
}

@media (min-width: 768px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .related-products-section ul.products,
  ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }
}

@media (min-width: 992px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .related-products-section ul.products,
  ul.products {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  display: none !important;
  content: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product,
.related-products-section ul.products li.product,
li.satthep-product-card {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  float: none !important;
  margin: 0 !important;
  clear: none !important;
  box-sizing: border-box !important;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
  display: flex !important;
  flex-direction: column !important;
}

.satthep-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #94a3b8;
}

.product-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.product-card-thumb {
  position: relative;
  background: #f1f5f9;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  width: 100%;
}

.product-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.satthep-product-card:hover .product-card-thumb img {
  transform: scale(1.05);
}

.product-placeholder-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  color: var(--primary);
  font-size: 2.5rem;
}

.product-placeholder-thumb small {
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 5px;
}

.product-badge-stock {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.stock-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
}

.product-card-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-cat {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}

.product-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  min-height: 2.6em;
}

.product-card-title a {
  color: var(--primary);
}

.product-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}

.spec-tag {
  background: #f1f5f9;
  color: var(--text-body);
  font-size: 0.68rem;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 3px;
}

.product-card-price {
  margin-top: auto;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.price-lbl {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.price-val {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 800;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.btn-product-detail {
  background: #f1f5f9;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 7px 4px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.btn-product-detail:hover {
  background: #e2e8f0;
}

.btn-product-quote {
  background: linear-gradient(135deg, #e65100, #ff6b00);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 7px 4px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.btn-product-quote:hover {
  filter: brightness(1.1);
}

/* Shop Archive Filter */
.shop-filter-bar {
  margin-bottom: 25px;
}

.cat-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-pill {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition);
}

.cat-pill:hover,
.cat-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.shop-quote-banner {
  margin-top: 40px;
  background: linear-gradient(135deg, #0f2b48, #1e456e);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 25px 30px;
}

.banner-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .banner-inner {
    flex-direction: row;
    align-items: center;
  }
}

.banner-text h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.banner-text p {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.banner-action {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-call-pulse {
  background: var(--accent);
  color: #ffffff !important;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-md);
}

.btn-zalo-quote {
  background: #0068ff;
  color: #ffffff !important;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   SINGLE PRODUCT PAGE
   ========================================================================== */
.single-product-wrapper {
  padding: 30px 15px;
}

.product-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 25px;
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .product-main-grid {
    grid-template-columns: 1fr 1.25fr;
  }
}

.product-main-image {
  background: #f8fafc;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 1/1;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-placeholder-thumb.large {
  font-size: 4.5rem;
}

.product-trust-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.trust-tag {
  font-size: 0.8rem;
  color: var(--success);
  font-weight: 600;
}

.product-category-tag a {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
}

.product-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary);
  margin: 6px 0 12px;
  line-height: 1.3;
}

.product-meta-row {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 18px;
}

.meta-status strong {
  color: var(--success);
}

.product-price-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.price-title {
  font-weight: 600;
  color: var(--text-body);
}

.price-highlight {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent);
}

.price-note {
  font-size: 0.82rem;
  color: #9a3412;
  margin: 0;
}

.product-cta-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

@media (min-width: 576px) {
  .product-cta-actions {
    grid-template-columns: 1fr 1fr;
  }
}

.btn-product-call, .btn-product-zalo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border-radius: var(--radius-md);
  color: #ffffff !important;
  transition: var(--transition);
}

.btn-product-call {
  background: linear-gradient(135deg, #e65100, #ff6b00);
}

.btn-product-call:hover {
  filter: brightness(1.08);
}

.btn-product-zalo {
  background: #0068ff;
}

.btn-product-zalo:hover {
  background: #0052cc;
}

.btn-text strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
}

.btn-text span {
  font-size: 0.72rem;
  opacity: 0.9;
}

.product-commitments {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 15px;
  border: 1px solid var(--border-color);
}

.commit-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.commit-list li {
  font-size: 0.82rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-details-tabs {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 25px;
  border: 1px solid var(--border-color);
  margin-bottom: 35px;
}

.tab-header {
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.tab-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 0.88rem;
}

.specs-table th, .specs-table td {
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  text-align: left;
}

.specs-table th {
  background: #f1f5f9;
  color: var(--primary);
  font-weight: 700;
}

/* Related Products Section */
.related-products-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid var(--border-color);
  width: 100%;
}

.related-products-section .section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   SINGLE POST (BÀI VIẾT) & TABLE OF CONTENTS & 5-STAR RATING
   ========================================================================== */
.site-content-wrapper {
  padding: 30px 15px;
}

.content-sidebar-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 992px) {
  .content-sidebar-layout {
    grid-template-columns: 1fr 340px;
  }
}

.single-article-box, .single-page-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 25px;
  border: 1px solid var(--border-color);
}

@media (min-width: 768px) {
  .single-article-box, .single-page-box {
    padding: 35px;
  }
}

.entry-category-badge a {
  display: inline-block;
  background: #eff6ff;
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.entry-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  .entry-title {
    font-size: 2.1rem;
  }
}

.entry-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 25px;
}

.entry-featured-image {
  margin-bottom: 25px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Table of Contents (Mục lục ẩn ban đầu) */
.satthep-toc {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  margin: 25px 0 30px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #edf2f7;
  border-bottom: 1px solid #cbd5e1;
}

.toc-icon-bullet {
  font-size: 1.1rem;
  margin-right: 6px;
}

.toc-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--primary);
  flex: 1;
}

.toc-toggle-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.toc-toggle-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.toc-arrow {
  font-size: 0.7rem;
  transition: transform 0.25s ease;
}

.toc-toggle-btn.expanded .toc-arrow {
  transform: rotate(180deg);
}

.toc-body {
  padding: 15px 20px;
}

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

.toc-item {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.toc-item.toc-level-3 {
  padding-left: 20px;
  font-size: 0.85rem;
}

.toc-item a {
  color: var(--text-dark);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.toc-item a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.toc-num {
  color: var(--accent);
  font-weight: 700;
}

/* Typography in Articles */
.typography h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  margin: 30px 0 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
}

.typography h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e3a8a;
  margin: 22px 0 12px;
}

.typography p {
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.75;
}

.typography ul, .typography ol {
  margin: 15px 0 20px 25px;
}

.typography ul {
  list-style: disc;
}

.typography ol {
  list-style: decimal;
}

.typography li {
  margin-bottom: 6px;
}

/* 5-Star Rating Box */
.article-rating-section {
  margin: 35px 0;
}

.satthep-rating-box {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1.5px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.rating-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #92400e;
  display: block;
}

.rating-subtitle {
  font-size: 0.82rem;
  color: #78350f;
  margin-bottom: 12px;
  display: block;
}

.rating-stars-input {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}

.star-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: #d1d5db;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease;
  line-height: 1;
}

.star-btn.active,
.star-btn.hover {
  color: #f59e0b;
}

.star-btn:hover {
  transform: scale(1.25);
}

.rating-summary {
  font-size: 0.9rem;
  color: #78350f;
}

.rating-score-badge strong {
  font-size: 1.15rem;
  color: #b45309;
}

.rating-feedback {
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #15803d;
}

/* Article CTA Box */
.article-cta-box {
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 30px 0;
}

@media (min-width: 768px) {
  .article-cta-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.article-cta-box h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.article-cta-box p {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin: 0;
}

.cta-right {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   SIDEBAR (BÀI VIẾT XEM NHIỀU & DANH MỤC SẢN PHẨM)
   ========================================================================== */
.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sidebar-widget {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.widget-header {
  background: var(--primary);
  color: #ffffff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0;
}

.widget-content {
  padding: 15px;
}

/* Widget: Danh Mục Sản Phẩm */
.sidebar-cat-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-cat-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 8px;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.88rem;
  border-bottom: 1px solid #f1f5f9;
  border-radius: var(--radius-sm);
}

.sidebar-cat-item a:hover {
  background: #f8fafc;
  color: var(--accent);
  padding-left: 14px;
}

.cat-arrow-icon {
  font-size: 0.65rem;
  color: var(--accent);
  margin-right: 6px;
}

.cat-name {
  flex: 1;
}

.cat-badge {
  background: #f1f5f9;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}

/* Widget: Bài Viết Xem Nhiều */
.popular-posts-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.popular-post-item {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.popular-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.post-rank {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e2e8f0;
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.post-rank.rank-1 { background: #f59e0b; color: #ffffff; }
.post-rank.rank-2 { background: #94a3b8; color: #ffffff; }
.post-rank.rank-3 { background: #b45309; color: #ffffff; }

.popular-post-item .post-thumb {
  width: 65px;
  height: 50px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
}

.popular-post-item .post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-post-item .placeholder-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.popular-post-item .post-title {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 4px;
}

.popular-post-item .post-title a {
  color: var(--text-dark);
}

.popular-post-item .post-title a:hover {
  color: var(--accent);
}

.popular-post-item .post-meta {
  display: flex;
  gap: 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Widget Quote CTA */
.widget-quote-cta {
  background: linear-gradient(135deg, #07192c, #0f2b48);
  color: #ffffff;
}

.cta-box-inner {
  padding: 20px;
  text-align: center;
}

.cta-badge {
  background: var(--accent);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 8px;
}

.cta-heading {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.cta-desc {
  font-size: 0.8rem;
  color: #cbd5e1;
  margin-bottom: 15px;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-sidebar-call {
  background: linear-gradient(135deg, #e65100, #ff6b00);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px;
  border-radius: var(--radius-sm);
}

.btn-sidebar-zalo {
  background: #0068ff;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   STEEL WEIGHT CALCULATOR
   ========================================================================== */
.home-calculator-section {
  background: #edf2f7;
}

.calc-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.calc-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 600px;
  margin: 8px auto 20px;
}

.calc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 25px;
}

.calc-tab-btn {
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition);
}

.calc-tab-btn.active, .calc-tab-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

@media (min-width: 768px) {
  .calc-grid {
    grid-template-columns: repeat(3, 1fr) 1.25fr;
  }
}

.calc-tab-panel .form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.calc-tab-panel .form-group input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.calc-tab-panel .form-group small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.input-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.calc-result-box {
  background: linear-gradient(135deg, #0f2b48, #1e456e);
  color: #ffffff;
  padding: 16px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.res-label {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
}

.res-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fb923c;
  line-height: 1.2;
  margin: 4px 0;
}

.res-formula {
  font-size: 0.7rem;
  color: #cbd5e1;
}

.calc-footer-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .calc-footer-cta {
    flex-direction: row;
  }
}

.btn-zalo-sm {
  background: #0068ff;
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   DEDICATED CALCULATOR PAGE STYLES
   ========================================================================== */
.calculator-page-wrapper {
  padding: 35px 15px 50px;
}

.calc-page-header {
  margin-bottom: 35px;
}

.calc-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.calc-page-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .calc-page-title {
    font-size: 2.25rem;
  }
}

.calc-page-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.6;
}

.calc-main-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 45px;
}

.calc-tabs-header {
  display: flex;
  flex-wrap: wrap;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border-color);
  padding: 8px 8px 0;
  gap: 6px;
}

.calc-tabs-header .calc-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e2e8f0;
  color: var(--text-body);
  border: 1px solid var(--border-color);
  border-bottom: none;
  padding: 11px 18px;
  border-radius: 8px 8px 0 0;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.calc-tabs-header .calc-tab-btn.active,
.calc-tabs-header .calc-tab-btn:hover {
  background: #ffffff;
  color: var(--primary);
  border-color: #cbd5e1;
  border-top: 3px solid var(--accent);
}

.calc-tab-contents {
  padding: 25px 20px;
}

@media (min-width: 768px) {
  .calc-tab-contents {
    padding: 35px 30px;
  }
}

.panel-intro {
  background: #f8fafc;
  border-left: 4px solid var(--secondary);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 22px;
  font-size: 0.88rem;
  color: var(--primary);
}

.calc-grid-full {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .calc-grid-full {
    grid-template-columns: repeat(3, 1fr) 1.35fr;
  }
}

.calc-grid-full .form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.calc-grid-full .form-group input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
}

.calc-grid-full .form-group input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.15);
}

.calc-grid-full .form-group small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.res-ton {
  font-size: 0.88rem;
  color: #fed7aa;
  font-weight: 600;
  margin-bottom: 4px;
}

.calc-card-actions {
  background: linear-gradient(135deg, #07192c, #0f2b48);
  color: #ffffff;
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .calc-card-actions {
    flex-direction: row;
    align-items: center;
  }
}

.action-text strong {
  font-size: 1.05rem;
  display: block;
  margin-bottom: 4px;
  color: #fed7aa;
}

.action-text p {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin: 0;
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-zalo-big {
  background: #0068ff;
  color: #ffffff !important;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-zalo-big:hover {
  background: #0052cc;
  transform: translateY(-1px);
}

.btn-call-big {
  background: linear-gradient(135deg, #e65100, #ff6b00);
  color: #ffffff !important;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-call-big:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* Barem Reference Tables */
.barem-reference-section {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 30px;
}

.barem-main-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.barem-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.barem-block {
  margin-bottom: 35px;
}

.barem-block-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 14px;
  padding-left: 10px;
  border-left: 4px solid var(--accent);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ==========================================================================
   WHY CHOOSE US & NEWS
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 576px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-color);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.why-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.85rem;
  color: var(--text-body);
}

.news-grid, .blog-posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .news-grid, .blog-posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card, .blog-card-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.news-thumb, .blog-card-thumb {
  position: relative;
  aspect-ratio: 16/10;
  background: #e2e8f0;
  overflow: hidden;
}

.news-thumb img, .blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-thumb img,
.blog-card-item:hover .blog-card-thumb img {
  transform: scale(1.05);
}

.news-date-badge, .card-date-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
}

.news-content, .blog-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-meta, .blog-card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.news-title, .blog-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}

.news-title a, .blog-card-title a {
  color: var(--primary);
}

.news-excerpt, .blog-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-body);
  margin-bottom: 12px;
}

.news-readmore, .blog-card-link {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
}

/* ==========================================================================
   FOOTER & MOBILE STICKY BAR
   ========================================================================== */
.site-footer {
  background: #0a1e33;
  color: #cbd5e1;
  font-size: 0.88rem;
}

.footer-widgets {
  padding: 45px 0 35px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 576px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.f-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.f-tagline {
  color: #fb923c;
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.f-desc {
  font-size: 0.82rem;
  line-height: 1.55;
  margin-bottom: 14px;
}

.f-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cert-badge {
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 3px;
  color: #94a3b8;
}

.f-col-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 8px;
}

.f-col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--accent);
}

.f-links li {
  margin-bottom: 8px;
}

.f-links li a {
  color: #94a3b8;
  font-size: 0.85rem;
}

.f-links li a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.f-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.82rem;
}

.f-contact-item strong {
  color: #ffffff;
}

.f-hotline {
  color: #fb923c !important;
  font-weight: 700;
  font-size: 0.95rem;
}

.f-zalo {
  color: #38bdf8 !important;
  font-weight: 700;
}

.footer-bottom {
  padding: 16px 0;
  background: #061422;
  font-size: 0.8rem;
  color: #64748b;
}

.footer-bottom-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.f-bottom-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* Mobile Sticky Bottom Contact Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: 998;
  border-top: 1px solid var(--border-color);
}

@media (min-width: 992px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.sticky-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 2px;
  color: var(--text-dark);
  font-size: 0.68rem;
  font-weight: 700;
  background: none;
  border: none;
  cursor: pointer;
}

.sticky-icon {
  font-size: 1.25rem;
  line-height: 1.1;
}

.sticky-call {
  background: #e65100;
  color: #ffffff;
}

.sticky-zalo {
  background: #0068ff;
  color: #ffffff;
}

.sticky-quote {
  background: #0f2b48;
  color: #ffffff;
}

/* Quick Quote Modal */
.quote-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 1050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.quote-modal-backdrop.active {
  display: flex;
}

.quote-modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: modal-slide-in 0.25s ease;
}

@keyframes modal-slide-in {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.quote-modal-header {
  background: var(--primary);
  color: #ffffff;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
}

.quote-modal-body {
  padding: 20px;
}

.modal-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.quote-modal-body .form-group {
  margin-bottom: 12px;
}

.quote-modal-body label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.quote-modal-body input, .quote-modal-body textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.btn-submit-quote {
  width: 100%;
  background: linear-gradient(135deg, #e65100, #ff6b00);
  color: #ffffff;
  font-weight: 800;
  padding: 11px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.95rem;
}

.modal-direct-call {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  font-size: 0.82rem;
}

.modal-call-btn {
  color: var(--accent);
  font-weight: 700;
}

.modal-zalo-btn {
  color: #0068ff;
  font-weight: 700;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 75px;
  right: 15px;
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: none;
  z-index: 900;
  transition: var(--transition);
}

@media (min-width: 992px) {
  .back-to-top {
    bottom: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
  }
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* Helpers */
.hide-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hide-mobile {
    display: inline-flex;
  }
}
