/*
Theme Name: Astra Child - Tổng Kho Đá Hải Phòng
Theme URI: https://khodahaiphong.com/
Description: Child theme thiết kế lại cho khodahaiphong.com theo phong cách thi công đá chuyên nghiệp, tối ưu chuyển đổi và bảo lưu toàn bộ tài nguyên cũ.
Author: Tổng Kho Đá Hải Phòng
Author URI: https://khodahaiphong.com/
Template: astra
Version: 2.2.0
*/

/* ==========================================================================
   CSS VARIABLES & DESIGN SYSTEM - TỔNG KHO ĐÁ HẢI PHÒNG
   ========================================================================== */
:root {
  --primary: #c59b27;
  --primary-dark: #9e791b;
  --primary-light: #f1c448;
  --secondary: #0f1216;
  --secondary-light: #1e242c;
  --accent: #d35400;
  --accent-light: #e67e22;
  --text-main: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-dark: #0f1216;
  --bg-card-dark: #161b22;
  --border-light: #e2e8f0;
  --border-dark: #232b38;
  --border-gold: rgba(197, 155, 39, 0.4);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.25s ease-in-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  margin: 0 !important;
  padding: 0 !important;
}

body.admin-bar .topbar {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .topbar {
    top: 46px;
  }
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* BUTTONS & COMMON */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(197, 155, 39, 0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197, 155, 39, 0.4);
  color: #ffffff !important;
}
.btn-secondary {
  background: #ffffff;
  color: var(--secondary) !important;
  border: 1px solid var(--border-light);
}
.btn-secondary:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: var(--secondary) !important;
}
.btn-accent {
  background: linear-gradient(135deg, #e67e22, #d35400);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(211, 84, 0, 0.35);
}
.btn-accent:hover {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(211, 84, 0, 0.45);
  color: #ffffff !important;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 155, 39, 0.12);
  border: 1px solid rgba(197, 155, 39, 0.3);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
}
.section-header h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  line-height: 1.25;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* ==========================================================================
   1. TOPBAR & SITE HEADER
   ========================================================================== */
.topbar {
  background: #0f1216;
  border-bottom: 1px solid #1e242c;
  color: #cbd5e1;
  font-size: 0.825rem;
  padding: 8px 0;
}
.topbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 7px;
}
.topbar-item i {
  color: var(--primary-light);
}
.topbar-item a {
  color: var(--primary-light);
  font-weight: 700;
}
.topbar-highlight {
  background: rgba(197, 155, 39, 0.2);
  color: #f1c448;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(197, 155, 39, 0.35);
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-stone-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #c59b27, #9e791b);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 10px rgba(197, 155, 39, 0.3);
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-text .title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: var(--font-heading);
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.brand-text .subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.2;
}
.brand-text .subtitle i {
  color: #10b981;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.nav-item {
  position: relative;
}
.nav-item a {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--secondary);
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-item:hover > a,
.nav-item.active > a {
  color: var(--primary);
}
.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1000;
}
.dropdown-menu li a {
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dropdown-menu li a:hover {
  background: #f8fafc;
  color: var(--primary);
  padding-left: 22px;
}
.dropdown-menu li a i {
  color: var(--primary);
  width: 16px;
  font-size: 0.8rem;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.btn-hotline-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  padding: 6px 14px 6px 8px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition);
}
.btn-hotline-pill:hover {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 4px 12px rgba(197, 155, 39, 0.15);
}
.phone-icon-pulse {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: #e67e22;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  animation: pulse-ring 2s infinite;
}
.phone-text-wrap {
  display: flex;
  flex-direction: column;
}
.phone-text-wrap .sub-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.1;
}
.phone-text-wrap .phone-number {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: var(--font-heading);
  line-height: 1.1;
}
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--secondary);
  cursor: pointer;
}

/* MOBILE DRAWER */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(2px);
}
.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: #ffffff;
  z-index: 10001;
  box-shadow: -5px 0 25px rgba(0,0,0,0.25);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.mobile-drawer.active {
  right: 0;
}
.mobile-drawer-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}
.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: #e2e8f0;
  border: none;
  font-size: 1.1rem;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-drawer-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}
.mobile-nav-list > li {
  border-bottom: 1px solid #f1f5f9;
}
.mobile-nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--secondary);
  text-decoration: none;
}
.mobile-nav-list > li > a i {
  color: var(--primary);
  width: 20px;
  text-align: center;
}
.has-submenu .submenu-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--secondary);
  cursor: pointer;
}
.has-submenu .submenu-title span {
  display: flex;
  align-items: center;
  gap: 12px;
}
.has-submenu .submenu-title span i {
  color: var(--primary);
  width: 20px;
  text-align: center;
}
.has-submenu .arrow-icon {
  font-size: 0.8rem;
  color: #94a3b8;
  transition: transform 0.25s ease;
}
.has-submenu.open .arrow-icon {
  transform: rotate(180deg);
}
.submenu-list {
  display: none;
  list-style: none;
  padding: 4px 0 8px 32px;
  margin: 0;
}
.has-submenu.open .submenu-list {
  display: block;
}
.submenu-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
}
.submenu-list li a i {
  font-size: 0.75rem;
  color: var(--primary);
}
.mobile-drawer-actions {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   2. HERO BANNER & FORM CONTROLS (EQUAL 48PX FIX)
   ========================================================================== */
.hero-section {
  position: relative;
  background: #0f1216;
  color: #ffffff;
  padding: 70px 0 80px;
  overflow: hidden;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 40%, rgba(197, 155, 39, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.badge-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 155, 39, 0.15);
  border: 1px solid rgba(197, 155, 39, 0.4);
  color: #f1c448;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.hero-content h1 {
  font-size: 2.45rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.hero-subtitle {
  color: #94a3b8;
  font-size: 1.025rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.hero-usps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin-bottom: 28px;
}
.usp-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #e2e8f0;
  font-weight: 600;
}
.usp-item i {
  color: #10b981;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* HERO FORM CARD */
.hero-form-card {
  background: #161b22;
  border: 1px solid #232b38;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  position: relative;
}
.hero-form-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  font-family: var(--font-heading);
}
.hero-form-card p {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 14px;
}
.form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.825rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.form-group label i {
  color: var(--primary-light);
  font-size: 0.8rem;
}

/* UNIVERSAL FORM CONTROLS: EXACT 48px EQUALITY */
.form-control,
.hero-form-card .form-control,
.modal-body .form-control {
  display: block !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  line-height: 24px !important;
  padding: 11px 16px !important;
  background-color: #0f1216 !important;
  border: 1px solid #334155 !important;
  border-radius: var(--radius-sm) !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 0.95rem !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  transition: var(--transition);
}
.form-control:focus,
.hero-form-card .form-control:focus,
.modal-body .form-control:focus {
  outline: none !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.25) !important;
}
.form-control::placeholder {
  color: #64748b;
  font-size: 0.9rem;
}
select.form-control,
select.form-select,
.hero-form-card select.form-control,
.hero-form-card select.form-select,
.modal-body select.form-control {
  display: block !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  line-height: 24px !important;
  padding: 11px 40px 11px 16px !important;
  background-color: #0f1216 !important;
  border: 1px solid #334155 !important;
  border-radius: var(--radius-sm) !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 0.95rem !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f1c448' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px 16px !important;
}
select.form-control option,
.hero-form-card select.form-control option,
.modal-body select.form-control option {
  background-color: #161b22 !important;
  color: #ffffff !important;
  padding: 10px !important;
}

/* ==========================================================================
   3. METRICS / STATS BAR
   ========================================================================== */
.metrics-bar {
  background: #161b22;
  border-top: 1px solid #232b38;
  border-bottom: 1px solid #232b38;
  padding: 28px 0;
  color: #ffffff;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.metric-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.metric-item:last-child {
  border-right: none;
}
.metric-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(197, 155, 39, 0.15);
  border: 1px solid rgba(197, 155, 39, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: #f1c448;
  flex-shrink: 0;
}
.metric-info .number {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  font-family: var(--font-heading);
}
.metric-info .label {
  font-size: 0.825rem;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 2px;
}

/* ==========================================================================
   4. SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 85px 0;
  background: #ffffff;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.service-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #f1f5f9;
}
.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-img-wrapper img {
  transform: scale(1.06);
}
.service-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 18, 22, 0.85);
  color: #f1c448;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(197, 155, 39, 0.3);
}
.service-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 10px;
  font-family: var(--font-heading);
}
.service-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.service-spec-list {
  list-style: none;
  padding: 12px 0;
  margin: 0 0 18px 0;
  border-top: 1px dashed var(--border-light);
  border-bottom: 1px dashed var(--border-light);
}
.service-spec-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 6px;
}
.service-spec-list li:last-child {
  margin-bottom: 0;
}
.service-spec-list li i {
  color: #10b981;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.service-footer {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.service-btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.85rem;
  justify-content: center;
}

/* ==========================================================================
   5. CATALOG SECTION & PAGINATION
   ========================================================================== */
.catalog-section {
  padding: 85px 0;
  background: var(--bg-light);
}
.catalog-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.filter-btn:hover {
  background: #f1f5f9;
  color: var(--secondary);
  border-color: #cbd5e1;
}
.filter-btn.active {
  background: var(--secondary);
  color: #ffffff;
  border-color: var(--secondary);
  box-shadow: 0 4px 12px rgba(15, 18, 22, 0.25);
}
.filter-btn.active i {
  color: var(--primary-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.product-card.is-hidden {
  display: none !important;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.product-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: #f1f5f9;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-thumb img {
  transform: scale(1.06);
}
.product-badge-corner {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 18, 22, 0.85);
  color: #f1c448;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  border: 1px solid rgba(197, 155, 39, 0.35);
  backdrop-filter: blur(4px);
}
.product-details {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-cat-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
  line-height: 1.35;
}
.product-meta-specs {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product-meta-specs span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.product-meta-specs i {
  color: var(--primary);
  width: 14px;
}
.product-btn-group {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

/* SMOOTH CATALOG GRID TRANSITION */
.products-grid {
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.products-grid.is-fading-out {
  opacity: 0;
  transform: translateY(6px);
}
.products-grid.is-fading-in {
  animation: gridFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes gridFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* PAGINATION */
.catalog-pagination {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.pagination-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  max-width: 100%;
  box-sizing: border-box;
}
.pagin-btn,
.pagin-btn.num-btn,
.pagin-btn.prev-btn,
.pagin-btn.next-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  background: #f8fafc;
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  touch-action: manipulation;
}
.pagin-btn:hover:not(.disabled) {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(197, 155, 39, 0.25);
}
.pagin-btn.active {
  background: var(--secondary);
  color: #ffffff;
  border-color: var(--secondary);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
  transform: scale(1.05);
}
.pagin-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  background: #f1f5f9;
}
.pagin-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  color: var(--text-muted);
  font-weight: 800;
  letter-spacing: 1px;
}
.pagination-info {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   6. WHY CHOOSE SECTION (VÌ SAO CHỌN CHÚNG TÔI)
   ========================================================================== */
.why-choose-section {
  padding: 85px 0;
  background: #ffffff;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.why-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(197, 155, 39, 0.12);
  border: 1px solid rgba(197, 155, 39, 0.3);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition);
}
.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(197, 155, 39, 0.3);
}
.why-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 10px;
  font-family: var(--font-heading);
}
.why-card p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.6;
}

/* ==========================================================================
   7. PROJECTS SECTION (DỰ ÁN THỰC TẾ)
   ========================================================================== */
.projects-section {
  padding: 85px 0;
  background: #0f1216;
  color: #ffffff;
}
.projects-section .section-header h2 {
  color: #ffffff;
}
.projects-section .section-header p {
  color: #94a3b8;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 320px;
  border: 1px solid #232b38;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover img {
  transform: scale(1.08);
}
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 18, 22, 0.95) 0%, rgba(15, 18, 22, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.project-tag {
  display: inline-block;
  align-self: flex-start;
  background: rgba(197, 155, 39, 0.25);
  border: 1px solid rgba(197, 155, 39, 0.5);
  color: #f1c448;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}
.project-overlay h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  font-family: var(--font-heading);
}
.project-overlay p {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ==========================================================================
   8. PROCESS SECTION (QUY TRÌNH 4 BƯỚC)
   ========================================================================== */
.process-section {
  padding: 85px 0;
  background: var(--bg-light);
}
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.step-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #e2e8f0;
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 16px;
  transition: var(--transition);
}
.step-card:hover .step-number {
  color: var(--primary);
}
.step-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 10px;
  font-family: var(--font-heading);
}
.step-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ==========================================================================
   9. SHOWROOM BANNER
   ========================================================================== */
.showroom-section {
  padding: 60px 0;
  background: #ffffff;
}
.showroom-banner {
  background: linear-gradient(135deg, #0f1216 0%, #1e242c 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}
.showroom-info {
  max-width: 820px;
}
.showroom-info h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  line-height: 1.25;
}

/* ==========================================================================
   10. BLOG SECTION
   ========================================================================== */
.blog-section {
  padding: 85px 0;
  background: var(--bg-light);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.blog-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.blog-thumb {
  height: 180px;
  overflow: hidden;
  background: #f1f5f9;
}
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-thumb img {
  transform: scale(1.06);
}
.blog-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-body p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.blog-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.blog-link:hover {
  color: var(--primary);
  gap: 10px;
}

/* ==========================================================================
   11. CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: 85px 0;
  background: #0f1216;
  color: #ffffff;
}
.contact-section .section-header h2 {
  color: #ffffff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.contact-details h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  line-height: 1.3;
}
.contact-details p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(197, 155, 39, 0.15);
  border: 1px solid rgba(197, 155, 39, 0.3);
  color: #f1c448;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.contact-text {
  display: flex;
  flex-direction: column;
}
.contact-text strong {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 2px;
}
.contact-text span, .contact-text a {
  font-size: 1rem;
  color: #ffffff;
}
.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #232b38;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  height: 400px;
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.site-footer {
  background: #0b0e11;
  border-top: 1px solid #1a2028;
  color: #cbd5e1;
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 50px;
}
.footer-brand {
  margin-bottom: 12px;
}
.footer-brand .title {
  color: #ffffff !important;
}
.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links li a {
  font-size: 0.88rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links li a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}
.footer-links li a i {
  font-size: 0.75rem;
  color: var(--primary);
}
.footer-bottom {
  background: #07090b;
  border-top: 1px solid #161b22;
  padding: 22px 0;
  font-size: 0.825rem;
  color: #64748b;
}
.footer-bottom-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-wrapper strong {
  color: #cbd5e1;
}

/* ==========================================================================
   13. MODALS (STONE MODAL & CONSULTATION MODAL)
   ========================================================================== */
.stone-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 10005;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(4px);
}
.stone-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.stone-modal-container {
  background: #ffffff;
  border-radius: var(--radius-md);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}
.modal-close-btn:hover {
  background: #e2e8f0;
  color: #ef4444;
}
.stone-modal-body {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  padding: 30px;
}
.stone-modal-gallery {
  height: 360px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #f1f5f9;
}
.stone-modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stone-modal-info {
  display: flex;
  flex-direction: column;
}
.stone-modal-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(197, 155, 39, 0.12);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.stone-modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 12px;
  line-height: 1.3;
}
.stone-modal-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.stone-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #f8fafc;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
}
.spec-cell {
  display: flex;
  flex-direction: column;
}
.spec-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}
.spec-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--secondary);
}
.stone-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

/* CONSULTATION MODAL */
.consult-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 10005;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(4px);
}
.consult-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.consult-modal-card {
  background: #161b22;
  border: 1px solid #232b38;
  border-radius: var(--radius-md);
  max-width: 520px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  position: relative;
  color: #ffffff;
}
.modal-header {
  margin-bottom: 20px;
}
.modal-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  font-family: var(--font-heading);
}
.modal-header p {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ==========================================================================
   14. FLOATING BUTTONS & MOBILE BOTTOM BAR
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 24px;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.floating-btn:hover {
  transform: scale(1.1);
}
.btn-phone-float {
  background: #e67e22;
  animation: pulse-ring 2s infinite;
}
.btn-zalo-float {
  background: #0068ff;
}
.btn-quote-float {
  background: var(--primary);
}
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(230, 126, 34, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(230, 126, 34, 0);
  }
}

.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 8px 12px;
  z-index: 9998;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.mobile-bottom-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-align: center;
  gap: 4px;
  text-decoration: none;
}
.btn-phone {
  background: #e67e22 !important;
  color: #ffffff !important;
}
.btn-zalo {
  background: #0068ff !important;
  color: #ffffff !important;
}
.btn-quote {
  background: var(--primary) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   15. SINGLE POST & PAGE STYLES (HEADER/FOOTER COMPATIBILITY)
   ========================================================================== */
.single-post-wrapper {
  background: #f8fafc;
  padding-bottom: 70px;
}
.single-post-breadcrumbs {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
  margin-bottom: 30px;
}
.breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.breadcrumb-list a {
  color: #475569;
  text-decoration: none;
  transition: var(--transition);
}
.breadcrumb-list a:hover {
  color: var(--primary);
}
.breadcrumb-list .active {
  color: var(--secondary);
  font-weight: 600;
}
.single-post-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
}
.article-content-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.article-meta-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.article-cat {
  background: rgba(197, 155, 39, 0.12);
  color: var(--primary-dark);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.article-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 24px;
  font-family: var(--font-heading);
}
.article-featured-image {
  margin-bottom: 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  max-height: 480px;
}
.article-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-body-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 36px;
}
.article-body-content h2,
.article-body-content h3 {
  color: var(--secondary);
  margin-top: 28px;
  margin-bottom: 14px;
  font-family: var(--font-heading);
}
.article-body-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 16px 0;
}
.article-cta-box {
  background: linear-gradient(135deg, #0f1216 0%, #1e293b 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 28px;
  color: #ffffff;
  margin: 36px 0;
  position: relative;
  overflow: hidden;
}
.cta-box-badge {
  display: inline-block;
  background: rgba(197, 155, 39, 0.2);
  border: 1px solid var(--primary);
  color: #f1c448;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.article-cta-box h3 {
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 10px;
  font-family: var(--font-heading);
}
.article-cta-box p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.cta-box-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.article-footer-meta {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-share a {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  text-decoration: none;
}
.sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
  font-family: var(--font-heading);
}
.hotline-widget {
  background: linear-gradient(135deg, #161b22, #0f1216);
  color: #ffffff;
  border-color: #334155;
  text-align: center;
}
.hotline-widget .widget-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  background: rgba(197, 155, 39, 0.2);
  color: #f1c448;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 14px;
}
.hotline-widget h4 {
  color: #ffffff;
  margin-bottom: 8px;
  font-size: 1.15rem;
  font-family: var(--font-heading);
}
.hotline-widget p {
  color: #94a3b8;
  font-size: 0.88rem;
  margin-bottom: 16px;
}
.hotline-widget .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
}
.hotline-widget .widget-address {
  font-size: 0.8rem;
  color: #cbd5e1;
  display: block;
}
.sidebar-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-service-list li {
  border-bottom: 1px dashed var(--border-light);
}
.sidebar-service-list li:last-child {
  border-bottom: none;
}
.sidebar-service-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}
.sidebar-service-list li a:hover {
  color: var(--primary);
  padding-left: 6px;
}
.sidebar-service-list li a i {
  color: var(--primary);
  font-size: 0.85rem;
}
.sidebar-recent-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-recent-posts li {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}
.sidebar-recent-posts li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.recent-post-link {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.recent-post-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recent-post-info h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recent-post-info .date {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.page-wrapper {
  background: #f8fafc;
  padding: 50px 0 80px;
}
.page-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.page-card h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
  font-family: var(--font-heading);
}
.page-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #334155;
}

/* ==========================================================================
   16. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .single-post-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none !important;
  }
  .nav-cta .btn-hotline-pill,
  .btn-hotline-pill {
    display: none !important;
  }
  .site-header {
    padding: 10px 0 !important;
  }
  .navbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 16px !important;
    gap: 10px !important;
    height: 60px !important;
  }
  .brand-logo {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    max-width: calc(100% - 50px) !important;
    text-decoration: none !important;
    flex: 1 !important;
    min-width: 0 !important;
  }
  .brand-stone-badge {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    font-size: 1.1rem !important;
    border-radius: 8px !important;
  }
  .brand-text {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .brand-text .title {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: var(--secondary) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
  }
  .brand-text .subtitle {
    font-size: 0.68rem !important;
    color: var(--text-muted) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
  }
  .nav-menu {
    display: none !important;
  }
  .nav-cta {
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }
  .mobile-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 1.25rem !important;
    color: var(--secondary) !important;
    cursor: pointer !important;
  }

  .hero-content h1 {
    font-size: 1.95rem;
  }
  .hero-usps {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .process-timeline {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stone-modal-body {
    grid-template-columns: 1fr;
  }
  .stone-modal-gallery {
    height: 220px;
  }
  .showroom-banner {
    padding: 28px 20px;
  }
  .showroom-info h2 {
    font-size: 1.6rem;
  }
  .mobile-bottom-bar {
    display: grid;
  }
  body {
    padding-bottom: 60px;
  }
  .floating-actions {
    bottom: 80px;
    right: 16px;
  }
  .article-content-card {
    padding: 20px;
  }
  .article-title {
    font-size: 1.5rem;
  }
  .page-card {
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .catalog-filters {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 8px;
    margin-bottom: 24px;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }
  .catalog-filters .filter-btn {
    padding: 8px 14px !important;
    font-size: 0.825rem !important;
    flex-shrink: 0;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .product-card {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    background: #ffffff !important;
    flex-direction: column !important;
  }
  .product-card.is-hidden {
    display: none !important;
  }
  .catalog-pagination {
    margin-top: 24px !important;
    padding: 0 4px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .pagination-wrapper {
    padding: 5px 8px !important;
    gap: 4px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .pagin-btn,
  .pagin-btn.num-btn,
  .pagin-btn.prev-btn,
  .pagin-btn.next-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    font-size: 0.82rem !important;
  }
  .pagin-dots {
    width: 14px !important;
    font-size: 0.75rem !important;
  }
  .pagination-info {
    font-size: 0.75rem !important;
  }
  .product-thumb {
    height: 130px !important;
    position: relative !important;
    overflow: hidden !important;
    background: #f1f5f9 !important;
  }
  .product-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .product-badge-corner {
    top: 6px !important;
    right: 6px !important;
    font-size: 0.65rem !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
  }
  .product-details {
    padding: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
  }
  .product-cat-name {
    font-size: 0.68rem !important;
    margin-bottom: 2px !important;
    color: var(--accent) !important;
    font-weight: 700 !important;
  }
  .product-title {
    font-size: 0.85rem !important;
    margin-bottom: 6px !important;
    line-height: 1.25 !important;
    height: 2.5em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    color: var(--secondary) !important;
    font-weight: 700 !important;
  }
  .product-meta-specs {
    font-size: 0.72rem !important;
    margin-bottom: 8px !important;
    gap: 2px !important;
    color: var(--text-muted) !important;
  }
  .product-meta-specs span:nth-child(2) {
    display: none !important;
  }
  .product-btn-group {
    display: flex !important;
    gap: 6px !important;
    margin-top: auto !important;
  }
  .product-btn-group .btn {
    flex: 1 !important;
    padding: 6px 4px !important;
    font-size: 0.72rem !important;
    justify-content: center !important;
    border-radius: 6px !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
}
