@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --color-primary: #0c2a54;
  --color-primary-light: #1a3f6f;
  --color-accent: #e85d1a;
  --color-accent-hover: #cf4e12;
  --color-accent-light: #fef3ed;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7fa;
  --color-bg-dark: #0c2a54;
  --color-border: #e2e8f0;
  --color-border-light: #f1f4f9;
  --color-success: #16a34a;
  --color-error: #dc2626;
  --shadow-sm: 0 1px 2px rgba(12, 42, 84, 0.05);
  --shadow-md: 0 4px 12px rgba(12, 42, 84, 0.08);
  --shadow-lg: 0 8px 24px rgba(12, 42, 84, 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-sans: 'Outfit', sans-serif;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

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

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-primary);
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: -0.3px;
}

.section-title-light {
  color: #ffffff;
}

.page-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.text-balance {
  text-wrap: balance;
}

.text-muted {
  color: var(--color-text-muted);
}

/* ===== Header ===== */
.header-top {
  background: var(--color-primary);
  color: #ffffff;
  padding: 6px 0;
  font-size: 13px;
}

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

.header-top a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

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

.header-top-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header-top-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.admin-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #f59e0b !important;
  font-weight: 700;
}

header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-main {
  padding: 14px 0;
}

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

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.3px;
}

.logo img {
  max-height: 44px;
  width: auto;
}

/* ===== Navigation ===== */
.nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
  font-weight: 500;
  font-size: 15px;
  color: var(--color-text);
}

.nav-menu a {
  position: relative;
  padding: 4px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.25s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-accent);
}

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

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, transform 0.15s ease;
}

.icon-btn:hover {
  background: var(--color-bg-alt);
}

.icon-btn:active {
  transform: scale(0.95);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

/* ===== Hamburger ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== Hero Slider ===== */
.hero-slider {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.slide-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.8s ease;
}

.slide-item.active {
  opacity: 1;
  z-index: 2;
}

.slide-item .container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.slide-content {
  position: relative;
  z-index: 10;
  max-width: 600px;
  padding: 100px 0;
  margin-top: 30px;
}

.slide-content h2 {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.15;
  text-wrap: balance;
}

.slide-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  line-height: 1.6;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.2s ease;
}

.slider-arrow:hover {
  background: var(--color-accent);
}

.slider-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 15;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}

.slider-dot.active {
  background: var(--color-accent);
  width: 28px;
  border-radius: 5px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-sans);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-align: center;
  line-height: 1.2;
}

.btn:active {
  transform: scale(0.98);
}

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

.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

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

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

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

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

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border-color: transparent;
  padding: 10px 16px;
}

.btn-ghost:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ===== Section Spacing ===== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-sm {
  padding: 48px 0;
}

/* ===== Category Grid ===== */
.category-section {
  padding: 64px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.category-card {
  background: var(--color-bg);
  padding: 32px 20px 28px;
  text-align: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.category-card h3 {
  font-size: 17px;
  color: var(--color-primary);
  margin-bottom: 6px;
  font-weight: 600;
}

.category-card span {
  font-size: 13px;
  color: var(--color-text-muted);
}

.category-card-image {
  height: 100px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 14px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.category-card-image-placeholder {
  height: 100px;
  width: 100%;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-weight: 500;
  font-size: 12px;
  margin-bottom: 14px;
}

/* ===== Product Grid & Cards ===== */
.product-section {
  padding: 64px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 16px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-image-wrapper {
  position: relative;
  display: block;
  width: 100%;
  height: 200px;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

@media (max-width: 768px) {
  .product-image-wrapper {
    height: 160px;
  }
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--color-bg-alt);
}

.product-image-placeholder {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-weight: 500;
  font-size: 14px;
}

.product-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 40px;
}

.product-info-row {
  margin-bottom: 6px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-info-label {
  font-weight: 600;
  color: var(--color-text);
  flex-shrink: 0;
}

.product-info-val {
  color: var(--color-text-muted);
}

.product-info-val a {
  color: var(--color-accent);
  font-weight: 600;
}

.product-info-val a:hover {
  text-decoration: underline;
}

.product-card .btn-wrap {
  margin-top: auto;
  padding-top: 12px;
}

/* ===== Product Detail ===== */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 44px;
  padding: 16px 0 0 0;
}

.product-detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.main-image-container {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.detail-gallery-main {
  position: absolute;
  max-height: 95%;
  max-width: 95%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  border-radius: 6px;
}

.detail-gallery-main.active {
  opacity: 1;
  z-index: 2;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery-thumb-item {
  width: 68px;
  height: 68px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease;
}

.gallery-thumb-item:hover {
  border-color: var(--color-text-muted);
}

.gallery-thumb-item.active {
  border-color: var(--color-accent);
}

.gallery-thumb-item img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.product-detail-info h1 {
  font-size: 26px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 14px;
  line-height: 1.3;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.detail-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  padding: 4px 10px;
  border-radius: 999px;
}

.detail-meta-item strong {
  color: var(--color-text);
  font-weight: 600;
}

.thank-you-note {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.thank-you-note a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
}

/* ===== Contacts Box ===== */
.contacts-box {
  margin-bottom: 16px;
  padding-bottom: 0;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 14px;
}

.contact-name {
  font-weight: 600;
  color: var(--color-text);
  min-width: 80px;
}

.contact-icons {
  display: flex;
  gap: 12px;
}

.contact-icons a {
  display: inline-flex;
  transition: transform 0.15s ease;
}

.contact-icons a:hover {
  transform: scale(1.15);
}

.contact-icons a img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* ===== Detail Info Rows ===== */
.detail-info-box {
  margin-bottom: 12px;
}

.detail-row {
  display: flex;
  padding: 8px 0;
  font-size: 14px;
  gap: 8px;
}

.detail-label {
  font-weight: 600;
  color: var(--color-text);
  min-width: 100px;
  flex-shrink: 0;
}

.detail-val {
  color: var(--color-text-muted);
}

.detail-val a {
  color: var(--color-accent);
  font-weight: 600;
}

.detail-val a:hover {
  text-decoration: underline;
}

.detail-brand-area {
  margin-top: 8px;
  padding-top: 0;
}

.detail-brand-area img {
  height: 80px;
  max-width: 220px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.detail-brand-area img:hover {
  transform: scale(1.03);
}

/* ===== Tabs ===== */
.tabs-container {
  margin-top: 24px;
  padding-top: 0;
}

.tab-headers {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 24px;
}

.tab-btn {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--color-text-muted);
  padding: 10px 0 12px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.tab-btn:hover {
  color: var(--color-text);
}

.tab-panel {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.8;
  padding-left: 16px;
}

.tab-panel.active {
  display: block;
}

/* ===== Document Downloads ===== */
.document-downloads {
  margin-top: 32px;
  background: var(--color-bg-alt);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.document-downloads h3 {
  font-size: 16px;
  color: var(--color-primary);
  margin-bottom: 16px;
  font-weight: 600;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.doc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-weight: 500;
  font-size: 14px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.doc-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.doc-badge {
  font-size: 10px;
  font-weight: 700;
  color: #dc2626;
  background: #fef2f2;
  padding: 2px 6px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== Brands Section ===== */
.brands-section {
  padding: 60px 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.brand-slider {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-slider-viewport {
  flex: 1;
  overflow: hidden;
}

.brand-slider-track {
  display: flex;
  transition: transform 0.4s ease;
}

.brand-slide-item {
  flex: 0 0 calc(100% / 6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.brand-slide-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 140px;
}

.brand-slide-item img {
  max-height: 60px;
  width: auto;
  max-width: 140px;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.brand-slide-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.brand-slider-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all 0.2s ease;
}

.brand-slider-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-light);
}

.brand-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.brand-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: all 0.2s ease;
}

.brand-slider-dot.active {
  background: var(--color-accent);
  width: 24px;
  border-radius: 4px;
}

/* ===== Model Search Autocomplete ===== */
.model-search-wrapper {
  position: relative;
  margin-bottom: 16px;
}

.model-search-wrapper input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.2s ease;
}

.model-search-wrapper input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(232, 93, 26, 0.1);
}

.model-results-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 100;
  max-height: 240px;
  overflow-y: auto;
  display: none;
}

.model-results-dropdown.active {
  display: block;
}

.model-result-item {
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 14px;
  transition: background 0.15s ease;
}

.model-result-item:last-child {
  border-bottom: none;
}

.model-result-item:hover {
  background: var(--color-accent-light);
}

.model-result-item strong {
  color: var(--color-text);
}

.model-result-empty {
  padding: 12px 16px;
  color: var(--color-text-muted);
  font-size: 14px;
  text-align: center;
}

.selected-models {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.model-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
}

.model-tag button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0;
  opacity: 0.6;
}

.model-tag button:hover {
  opacity: 1;
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-weight: 500;
}

.breadcrumbs a {
  color: var(--color-text-muted);
}

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

.breadcrumbs span {
  margin: 0 6px;
}

/* ===== Sidebar ===== */
.sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  background: var(--color-bg);
  margin-bottom: 24px;
}

.sidebar-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
}

.sidebar-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}

.sidebar-card-all {
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.sidebar-card-all:hover {
  text-decoration: underline;
}

.sidebar-list {
  list-style: none;
}

.sidebar-list li {
  margin-bottom: 6px;
}

.sidebar-list a {
  display: block;
  font-size: 14px;
  color: var(--color-text-muted);
  padding: 4px 0;
  transition: color 0.2s ease;
}

.sidebar-list a:hover,
.sidebar-list a.active {
  color: var(--color-accent);
  font-weight: 600;
}

/* ===== Content Layout (sidebar + main) ===== */
.content-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 48px 0;
}

/* ===== Post Cards ===== */
.post-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.post-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.post-card-body h3 a:hover {
  color: var(--color-accent);
}

.post-card-body p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 12px;
  flex: 1;
  line-height: 1.6;
}

/* ===== Article Page ===== */
.article-container {
  max-width: 800px;
  padding: 40px 24px;
  margin: 0 auto;
}

.article-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 24px;
}

.article-image {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  border: 1px solid var(--color-border);
}

.article-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
}

.entity-description {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
  line-height: 1.8;
  font-size: 15px;
  color: var(--color-text);
}

.entity-description img {
  max-width: 100%;
  border-radius: var(--radius-sm);
  margin: 16px 0;
}

.entity-description h3,
.entity-description h4 {
  margin-top: 20px;
  margin-bottom: 12px;
}

.entity-description ul,
.entity-description ol {
  padding-left: 24px;
  margin: 12px 0;
}

.entity-description li {
  margin-bottom: 6px;
}


.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.related-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: box-shadow 0.2s ease;
}

.related-card:hover {
  box-shadow: var(--shadow-sm);
}

.related-card h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.4;
}

.related-card h4 a:hover {
  color: var(--color-accent);
}

/* ===== Footer ===== */
footer {
  position: relative;
  background: var(--color-bg-dark);
  color: #94a3b8;
  padding: 64px 0 0;
  font-size: 14px;
  line-height: 1.6;
  overflow: hidden;
}

.footer-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-hover) 50%, var(--color-primary-light) 100%);
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.footer-heading {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

.footer-desc {
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 20px;
}

/* Footer Links */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links li a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.25s ease;
}

.footer-links li a:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}

.footer-links li a:hover::before {
  width: 8px;
}

/* Contact List */
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #94a3b8;
  line-height: 1.5;
}

.footer-contact li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent);
  opacity: 0.8;
}

.footer-contact li a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-contact li a:hover {
  color: var(--color-accent);
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon:hover {
  background: var(--color-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #475569;
}

/* ===== Modal ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--color-bg);
  padding: 32px;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: var(--color-bg-alt);
  cursor: pointer;
  color: var(--color-text-muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background: var(--color-border);
  color: var(--color-text);
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
}

.search-form-inline {
  display: flex;
  gap: 10px;
}

.search-form-inline .form-input {
  flex: 1;
}

/* ===== Forms ===== */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-group label .required {
  color: var(--color-error);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(12, 42, 84, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-input.error,
.form-textarea.error {
  border-color: var(--color-error);
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

/* ===== Notification ===== */
.notification {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
  display: none;
}

.notification.show {
  display: block;
}

.notification-success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.notification-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ===== Brands Grid Page ===== */
.brands-header {
  margin-bottom: 40px;
  text-align: center;
}

.brands-header h1 {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.brands-header p {
  color: var(--color-text-muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.brand-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.brand-card-logo {
  height: 56px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 14px;
}

.brand-card-initial {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.brand-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.brand-card span {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ===== Hero Banner ===== */
.hero-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  padding: 48px 32px;
  border-radius: var(--radius-lg);
  color: #ffffff;
  margin-bottom: 40px;
  text-align: center;
}

.hero-banner h1 {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.hero-banner p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}


/* ===== Stats Grid (base) ===== */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ===== About Stats Box ===== */
.about-stats-box {
  background: var(--color-bg);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 24px rgba(13, 35, 79, 0.08);
}

.about-stats-box .stats-grid {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--color-bg-alt);
  padding: 24px 16px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 2px solid var(--color-border);
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(232, 93, 26, 0.12);
}

.stat-card .stat-number {
  font-size: 38px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.1;
}

.stat-card .stat-label {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
  letter-spacing: 0.3px;
  line-height: 1.4;
}


/* ===== Values Grid ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.value-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.value-card h3 {
  font-size: 18px;
  color: var(--color-primary);
  margin-bottom: 10px;
  font-weight: 600;
}

.value-card p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== Contact Page ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}

.contact-details h1 {
  font-size: 28px;
  color: var(--color-primary);
  margin-bottom: 12px;
  font-weight: 600;
}

.contact-desc {
  color: var(--color-text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}

.contact-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.contact-item p {
  color: var(--color-text-muted);
  font-size: 14px;
}

.contact-support-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 32px;
}

.contact-support-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 18px;
}

.contact-support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-person {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.contact-person h4 {
  font-size: 15px;
  color: var(--color-primary);
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-person p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.contact-person-badges {
  display: flex;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  gap: 4px;
}

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

.badge-skype {
  background: #00aff0;
  color: #ffffff;
}

.contact-form-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.contact-form-card h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 20px;
}

/* ===== Pagination ===== */
.pagination-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 44px auto;
  width: 100%;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  gap: 6px;
  align-items: center;
}

.page-item {
  display: inline-block;
}

.page-item .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
}

.page-item:not(.disabled) .page-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-light);
}

.page-item.active .page-link {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.page-item.disabled .page-link {
  color: var(--color-text-light);
  background: var(--color-bg-alt);
  border-color: var(--color-border);
  cursor: not-allowed;
}

.pagination-info {
  font-size: 14px;
  color: var(--color-text-muted);
}

.pagination-info strong {
  color: var(--color-text);
}

/* ===== Empty State ===== */
.empty-state {
  text-align: center;
  grid-column: 1 / -1;
  color: var(--color-text-muted);
  padding: 48px 20px;
  font-size: 15px;
}

/* ===== Post Grid ===== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

/* ===== Result Header ===== */
.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.result-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
}

.result-header span {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* ===== Utility Classes ===== */
.text-accent {
  color: var(--color-accent);
}

.text-sm {
  font-size: 14px;
}

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

.mt-4 {
  margin-top: 16px;
}

.mt-6 {
  margin-top: 24px;
}

.mt-10 {
  margin-top: 40px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-6 {
  margin-bottom: 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ===== Focus Visible ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ===== Categories Grid ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.categories-grid.four-col {
  grid-template-columns: repeat(4, 1fr);
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px 36px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

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

.category-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-light);
  border-radius: 50%;
  margin-bottom: 16px;
  color: var(--color-accent);
}

.category-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.category-count {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* ===== Page Content ===== */
.page-content {
  padding: 48px 24px;
  min-height: 60vh;
}

/* ===== About Page ===== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 48px;
}



/* ===== Contact Details ===== */
.contact-details-items {
  margin-bottom: 36px;
}

/* ===== Sidebar Support ===== */
.sidebar-support-list {
  font-size: 14px;
  color: var(--color-text-muted);
}

.sidebar-support-item {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--color-border);
}

.sidebar-support-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.sidebar-support-item > strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 15px;
}

.sidebar-support-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.sidebar-support-phone {
  font-weight: 600;
}

/* ===== No Image Placeholder ===== */
.no-image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-weight: 500;
}

/* ===== Doc Link Inline ===== */
.doc-link-inline {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.doc-link-inline span:last-child {
  text-decoration: underline;
}

/* ===== Font Weight ===== */
.font-semibold {
  font-weight: 600;
}

/* ===== Related Section ===== */
.related-section {
  margin-top: 56px;
  border-top: 1px solid var(--color-border);
  padding-top: 36px;
}

.related-heading {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 24px;
}

/* ===== About Preview ===== */
.about-preview {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-preview-text h2 {
  margin-bottom: 20px;
  font-size: 24px;
}

.about-preview-text p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.8;
}

.about-preview-text .btn {
  margin-top: 8px;
}

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  text-align: center;
  padding: 40px 24px 36px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  margin: 0 auto 16px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== Stats Section ===== */
.stats-section {
  padding: 80px 0;
  background: var(--color-bg-dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

/* ===== Quote Form ===== */
.quote-form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.quote-form-text h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.quote-form-text p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.quote-form {
  background: var(--color-bg);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.quote-form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.2s ease;
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(232, 93, 26, 0.1);
}

.quote-form textarea {
  margin-bottom: 16px;
  resize: vertical;
}

.quote-form .btn {
  width: 100%;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .product-detail-layout {
    gap: 32px;
  }

  .content-layout {
    gap: 32px;
  }

  .categories-grid,
  .categories-grid.four-col {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-slide-item {
    flex: 0 0 calc(100% / 4);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .page-content {
    padding: 32px 16px;
    min-height: 60vh;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .header-main .container {
    position: relative;
  }

  .header-top {
    padding: 8px 0;
  }

  .header-top-text,
  .admin-text {
    display: none;
  }

  .header-top-icon {
    width: 16px;
    height: 16px;
  }

  .header-top-left {
    gap: 16px;
  }

  .header-top-right {
    gap: 16px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    border-bottom: 2px solid var(--color-primary);
    padding: 16px 24px;
    box-shadow: var(--shadow-md);
    gap: 12px;
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }

  .hero-slider {
    min-height: 300px;
  }

  .slide-content {
    padding: 60px 0;
    margin-top: 0;
  }

  .slide-content h2 {
    font-size: 26px;
  }

  .slide-content p {
    font-size: 15px;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
  }

  .slider-arrow.prev { left: 10px; }
  .slider-arrow.next { right: 10px; }

  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .content-layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 24px;
    padding: 24px 16px;
  }

  .content-layout > * {
    width: 100%;
  }

  .sidebar {
    position: static;
    width: 100%;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-support-grid {
    grid-template-columns: 1fr;
  }

  .brand-slide-item {
    flex: 0 0 calc(100% / 3);
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .quote-form-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 28px;
  }

  .section {
    padding: 56px 0;
  }

  .product-grid {
    gap: 16px;
  }

  .main-image-container {
    height: 280px;
  }

  .brands-header h1 {
    font-size: 26px;
  }

  .hero-banner {
    padding: 36px 20px;
  }

  .hero-banner h1 {
    font-size: 26px;
  }

  .article-title {
    font-size: 24px;
  }

  .footer-grid {
    gap: 32px;
  }

  .stats-section {
    padding: 56px 0;
  }
}

@media (max-width: 540px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .categories-grid.four-col {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-slide-item {
    flex: 0 0 calc(100% / 2);
  }

  .brand-slide-item img {
    max-height: 40px;
  }

  .brand-slider-btn {
    width: 36px;
    height: 36px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat-number {
    font-size: 34px;
  }

  .stat-item {
    padding: 12px;
  }

  .quote-form {
    padding: 24px 20px;
  }

  .modal-content {
    padding: 24px 20px;
    margin: 12px;
  }

  .product-card {
    padding: 12px;
  }

  .product-image-wrapper {
    height: 160px;
  }

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

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .categories-grid.four-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

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

  .stat-number {
    font-size: 28px;
  }

  .quote-form-fields {
    grid-template-columns: 1fr;
  }

  .quote-form {
    padding: 20px 16px;
  }

  .section {
    padding: 40px 0;
  }

  .slide-content h2 {
    font-size: 20px;
  }

  .slide-content p {
    font-size: 14px;
  }

  .hero-slider {
    min-height: 240px;
  }

  .modal-content {
    padding: 20px 16px;
  }

  .contact-form-card {
    padding: 24px 20px;
  }

  .brand-card {
    padding: 20px 16px;
  }

  .category-card {
    padding: 28px 16px;
  }

  .feature-card {
    padding: 28px 16px;
  }

  .stats-section {
    padding: 40px 0;
  }
}

/* ===== Brand Logo Placeholders ===== */
.brand-card-logo-placeholder {
  height: 56px;
  width: 100%;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-weight: 500;
  font-size: 12px;
  margin-bottom: 14px;
}

.brand-detail-logo-placeholder {
  width: 120px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-weight: 600;
  font-size: 13px;
  border: 1px solid var(--color-border);
  padding: 0 10px;
  text-align: center;
}

.brand-slider-placeholder {
  width: 100%;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  border: 1px solid var(--color-border);
  padding: 0 10px;
}

/* ===== Image Modal Popup ===== */
.main-image-container,
.detail-gallery-main {
  cursor: pointer;
}

.image-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
}

.image-modal.active {
  display: flex;
}

.image-modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  animation: zoomIn 0.25s ease-out;
}

.image-modal-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 100000;
}

.image-modal-close:hover {
  color: var(--color-accent);
}

@keyframes zoomIn {
  from {transform: scale(0.9); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

/* ===== Toast Notifications ===== */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  width: calc(100% - 48px);
}

.toast {
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.4;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-success {
  background: #10b981;
  border-left: 5px solid #047857;
}

.toast-error {
  background: #ef4444;
  border-left: 5px solid #b91c1c;
}

.toast-info {
  background: #3b82f6;
  border-left: 5px solid #1d4ed8;
}

.toast-close {
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  opacity: 0.7;
  transition: opacity 0.2s;
  line-height: 1;
}

.toast-close:hover {
  opacity: 1;
}

/* ===== Product Image Watermark ===== */

.product-watermark {
  position: absolute;
  pointer-events: none;
  user-select: none;
  font-weight: 700;
  font-size: 14px;
  color: #000000;
  background: rgba(255, 255, 255, 0.45);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  z-index: 5;
}

.product-watermark.position-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-25deg);
  font-size: 18px;
  background: rgba(255, 255, 255, 0.6);
  padding: 6px 12px;
}

.product-watermark.position-bottom-right {
  bottom: 10px;
  right: 10px;
}

.product-watermark.position-bottom-left {
  bottom: 10px;
  left: 10px;
}

.product-watermark.position-top-right {
  top: 10px;
  right: 10px;
}

.product-watermark.position-top-left {
  top: 10px;
  left: 10px;
}

.product-watermark.watermark-image-type {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.product-watermark.watermark-image-type img {
  max-width: 100px;
  max-height: 60px;
  object-fit: contain;
  display: block;
}

.product-watermark.position-center.watermark-image-type img {
  max-width: 150px;
  max-height: 90px;
}

/* Prevent copy on product detail tabs */
.tab-contents {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
