@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --bg: #111111;
  --card: #1a1a1a;
  --card-hover: #222222;
  --primary: #ff1229;
  --primary-hover: #e0101f;
  --dark-red: #7a0104;
  --text-main: #d50613;
  --text: #ffffff;
  --text-muted: #9ca3af;
  --border: rgba(255, 255, 255, 0.1);
  --border-focus: #ff1229;
  --z-sticky: 50;
  --z-overlay: 90;
  --z-modal: 100;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { background: none; border: none; color: inherit; font: inherit; cursor: pointer; }
ul { list-style: none; }
img, video { max-width: 100%; height: auto; display: block; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }
.inline-block { display: inline-block; }
.font-semibold { font-weight: 600; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.container-md { width: 100%; max-width: 1024px; margin: 0 auto; padding: 0 1rem; }

.contact-page-hero {
  background: var(--primary);
  padding: 4rem 0;
  text-align: center;
}
.contact-page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 700;
}
.contact-page-main {
  padding: 3rem 0;
  background: #111;
}
.contact-page-intro {
  margin-bottom: 2.5rem;
  text-align: center;
}
.contact-page-intro h2 {
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
}
.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}
.contact-page-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-page-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}
.contact-page .form-input {
  background: transparent;
  border-color: #374151;
}
.contact-page textarea.form-input {
  min-height: 8.75rem;
}
.contact-btn-wrap {
  display: flex;
  justify-content: flex-end;
}
.contact-page-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-page-card {
  padding: 1.5rem;
  border-radius: 0.375rem;
  background: #1a1a1a;
}

@media (min-width: 640px) {
  .contact-page-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .contact-page-hero { padding-top: 5rem; padding-bottom: 5rem; }
  .contact-page-hero h1 { font-size: 3rem; }
  .contact-page-main { padding-top: 4rem; padding-bottom: 4rem; }
  .contact-page-intro h2 { font-size: 1.875rem; }
  .contact-btn-wrap { justify-content: flex-start; }
}

@media (min-width: 1024px) {
  .contact-page-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 3rem;
  }
}

/* Topbar */
.topbar { background-color: var(--primary); color: #fff; font-size: 0.875rem; padding: 0.5rem 0; display: none; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar-left { display: flex; align-items: center; gap: 1rem; }
.topbar-socials { display: flex; align-items: center; gap: 0.75rem; }
.topbar a { transition: color 0.2s; }
.topbar a:hover { color: rgba(255, 255, 255, 0.8); }

/* Header */
.header { background-color: var(--bg); height: 5rem; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: var(--z-sticky); }
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.header-logo img { height: 1.75rem; width: auto; }

/* Desktop Nav */
.nav-desktop { display: none; align-items: center; gap: 0.25rem; }
.nav-link { display: flex; align-items: center; gap: 0.125rem; padding: 0.5rem 0.375rem; font-size: 0.78125rem; font-weight: 500; color: var(--text); white-space: nowrap; transition: color 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link .icon { width: 0.875rem; height: 0.875rem; transition: transform 0.2s; }
.nav-dropdown { position: relative; }
.nav-dropdown-menu { position: absolute; top: 100%; left: 0; width: 960px; max-width: 90vw; background-color: var(--text-main); border-top: 3px solid var(--primary); z-index: var(--z-overlay); display: grid; grid-template-columns: repeat(4, 1fr); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: all 0.2s ease; }
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown.open .nav-link .icon { transform: rotate(180deg); }
.nav-col { padding: 1rem; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.nav-col:first-child { border-left: none; }
.nav-col-title { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255, 255, 255, 0.7); margin-bottom: 0.5rem; }
.nav-sublink { display: block; padding: 0.375rem 0; font-size: 0.875rem; color: #fff; transition: color 0.2s; }
.nav-sublink:hover { color: #ffb3ba; }

/* Desktop Search */
.header-search { display: none; align-items: center; }
.search-wrapper { position: relative; display: flex; align-items: center; }
.search-form { width: 0; opacity: 0; overflow: hidden; transition: all 0.2s ease; margin-right: 0; }
.search-form.open { width: 12rem; opacity: 1; margin-right: 0.5rem; }
.search-input { background-color: rgba(255, 255, 255, 0.1); color: #fff; padding: 0.375rem 0.75rem; border-radius: 9999px; border: none; outline: none; width: 100%; font-size: 0.875rem; }
.search-input:focus { background-color: rgba(255, 255, 255, 0.15); }
.search-btn { color: #fff; transition: color 0.2s; display: flex; padding: 0.25rem; }
.search-btn:hover { color: var(--primary); }
.search-results-dropdown { position: absolute; top: 100%; right: 0; margin-top: 0.5rem; width: 16rem; background-color: var(--card); border: 1px solid var(--border); max-height: 20rem; overflow-y: auto; display: none; z-index: var(--z-overlay); }
.search-results-dropdown.show { display: block; }
.search-result-item { width: 100%; text-align: left; padding: 0.625rem 1rem; font-size: 0.875rem; color: #fff; transition: background-color 0.2s; }
.search-result-item:hover { background-color: var(--card-hover); }
.search-no-results { padding: 0.75rem 1rem; font-size: 0.875rem; color: rgba(255,255,255,0.5); }

/* Mobile Menu */
.mobile-menu-btn { color: #fff; padding: 0.5rem; }
.mobile-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background-color: var(--bg); border-top: 1px solid var(--border); max-height: calc(100vh - 5rem); overflow-y: auto; z-index: var(--z-overlay); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.5); }
.mobile-nav.open { display: block; }
.mobile-nav-inner { padding: 1rem; }
.mobile-search-area { margin-bottom: 0.75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.mobile-search-form { display: flex; gap: 0.5rem; }
.mobile-search-input { flex: 1; background-color: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 0.375rem; padding: 0.625rem 0.75rem; color: #fff; font-size: 0.875rem; outline: none; }
.mobile-search-input:focus { border-color: var(--primary); }
.mobile-search-btn { width: 2.5rem; height: 2.5rem; background-color: var(--primary); color: #fff; border-radius: 0.375rem; display: flex; align-items: center; justify-content: center; }
.mobile-nav-item { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0.625rem 0.75rem; font-size: 0.875rem; font-weight: 500; color: #fff; }
.mobile-nav-item.active { color: var(--primary); }
.mobile-dropdown-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.mobile-dropdown-inner { padding: 0.25rem 0 0.25rem 1rem; }
.mobile-dropdown-group-title { padding: 0 0.75rem; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255, 255, 255, 0.4); margin-bottom: 0.25rem; margin-top: 0.75rem; }
.mobile-sublink { display: block; padding: 0.5rem 0.75rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); }
.mobile-sublink:hover { color: var(--primary); }
.mobile-dropdown.open .mobile-nav-item .icon { transform: rotate(180deg); }
.mobile-contact { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.75rem; }
.mobile-contact a { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: #fff; padding: 0.5rem 0.75rem; }

/* Hero */
.hero-sec { position: relative; height: calc(100svh - 5rem); overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; z-index: 0; }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-media { width: 100%; height: 100%; object-fit: cover; }
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.4), transparent); }
.hero-content { position: absolute; inset: 0; display: flex; align-items: flex-end; z-index: 2; }
.hero-inner { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1rem 6rem; }
.hero-text-box { max-width: 576px; }
.hero-subtitle { color: rgba(255, 255, 255, 0.8); font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.hero-title { font-size: 1.875rem; font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 1.5rem; }
.hero-btn-wrap { display: flex; justify-content: flex-end; }
.btn-red { display: inline-flex; align-items: center; gap: 0.5rem; background-color: var(--primary); color: #fff; padding: 0.75rem 1.5rem; border-radius: 0.375rem; font-weight: 600; font-size: 0.875rem; transition: background-color 0.3s ease; }
.btn-red:hover { background-color: var(--primary-hover); }
.hero-controls { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 0.75rem; z-index: 10; }
.hero-ctrl-btn { width: 2rem; height: 2rem; border-radius: 9999px; background-color: rgba(255, 255, 255, 0.2); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; color: #fff; transition: background-color 0.2s; }
.hero-ctrl-btn:hover { background-color: rgba(255, 255, 255, 0.3); }
.hero-dot { height: 0.625rem; width: 0.625rem; border-radius: 9999px; background-color: rgba(255, 255, 255, 0.5); transition: all 0.3s ease; }
.hero-dot.active { background-color: #fff; width: 2rem; }

/* Sections */
.sec-py { padding-top: 4rem; padding-bottom: 4rem; }
.sec-badge { color: var(--text-main); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.sec-title { font-size: 1.875rem; font-weight: 700; margin-bottom: 1rem; line-height: 1.2; }
.sec-desc { color: var(--text-muted); max-width: 42rem; margin: 0 auto; }

/* Group Cards */
.grid-groups { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.group-card { display: flex; align-items: center; gap: 1rem; background-color: var(--card); padding: 1.25rem; border-radius: 0.375rem; transition: background-color 0.3s; }
.group-card:hover { background-color: var(--card-hover); }
.group-card img { width: 4rem; height: 4rem; object-fit: contain; flex-shrink: 0; }
.group-card h3 { font-size: 0.875rem; font-weight: 600; margin: 0; }

/* Features */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.feature-list { display: flex; flex-direction: column; gap: 1.5rem; }
.feature-item { display: flex; align-items: flex-start; gap: 1rem; }
.feature-icon-wrap { width: 3rem; height: 3rem; border-radius: 0.375rem; background-color: rgba(255, 18, 41, 0.1); display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.feature-item h4 { font-weight: 600; margin-bottom: 0.25rem; }
.feature-item p { font-size: 0.875rem; color: var(--text-muted); }
.features-images { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.features-images img { width: 100%; border-radius: 0.375rem; object-fit: cover; aspect-ratio: 3/4; }
.features-images img:last-child { margin-top: 2rem; }

/* Product Cards */
.grid-products { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.product-card { display: block; background-color: var(--card); border-radius: 0.375rem; overflow: hidden; transition: box-shadow 0.3s; }
.product-card:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3); }
.product-img-wrap { aspect-ratio: 1/1; overflow: hidden; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-info { padding: 1rem; }
.product-info h3 { font-size: 0.875rem; font-weight: 600; color: var(--text-main); margin-bottom: 0.25rem; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.product-info p { font-size: 0.75rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: 1fr; }
.gallery-photos { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); aspect-ratio: 2/1; }
.col-2-row-2 { grid-row: span 2; overflow: hidden; min-height: 0; }
.col-mid { grid-row: span 2; display: grid; grid-template-rows: repeat(2, 1fr); min-height: 0; }
.col-mid > div { overflow: hidden; min-height: 0; }
.gallery-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-photos img:hover { transform: scale(1.05); }
.gallery-cta { background-color: var(--primary); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; min-height: 280px; }
.icon-large { width: 4rem; height: 4rem; color: #fff; margin: 0 auto 1.5rem; }
.icon-large svg { width: 100%; height: 100%; }
.gallery-cta p { color: #fff; font-size: 1.125rem; font-weight: 700; line-height: 1.625; }

/* Blog */
.grid-blog { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.blog-img-wrap { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.blog-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .blog-img-wrap img { transform: scale(1.05); }
.blog-date { position: absolute; top: 0.75rem; left: 0.75rem; background-color: var(--primary); color: #fff; font-size: 0.75rem; font-weight: 500; padding: 0.25rem 0.75rem; border-radius: 0.25rem; }
.blog-more { display: flex; align-items: center; justify-content: flex-end; gap: 0.25rem; font-size: 0.75rem; font-weight: 500; color: var(--text-muted); transition: color 0.2s; }
.product-card:hover .blog-more { color: #fff; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.faq-accordion { width: 100%; }
.faq-item { border-bottom: 1px solid #374151; }
.faq-trigger { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; padding: 1.25rem 0; font-size: 0.875rem; font-weight: 600; color: #fff; transition: color 0.2s; }
.faq-trigger:hover { text-decoration: none; }
.faq-trigger span span { color: var(--primary); }
.faq-trigger .icon { transition: transform 0.3s; }
.faq-item.open .faq-trigger .icon { transform: rotate(180deg); }
.faq-content { overflow: hidden; max-height: 0; transition: max-height 0.3s ease; font-size: 0.875rem; color: var(--text-muted); }
.faq-content p { padding-bottom: 1.25rem; }

/* Inquiry */
.inquiry-wrap { max-width: 896px; margin: 0 auto; padding: 0 1rem; }
.inquiry-card { border: 1px solid #1f2937; background-color: var(--card); padding: 1.5rem; }
.inquiry-header { margin-bottom: 1.5rem; }
.inquiry-title { font-size: 1.5rem; font-weight: 700; color: #fff; }
.inquiry-desc { font-size: 0.875rem; color: var(--text-muted); margin-top: 0.5rem; }
.inquiry-product { margin-top: 1rem; border-left: 2px solid var(--primary); padding-left: 0.75rem; font-size: 0.875rem; color: #e5e7eb; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label { color: #e5e7eb; font-size: 0.875rem; font-weight: 500; }
.form-req { color: var(--primary); }
.form-input { width: 100%; background-color: #404040; border: 1px solid var(--border); border-radius: 0.375rem; padding: 0.5rem 0.75rem; color: #fff; font-size: 0.875rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s; font-family: inherit; }
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(255, 18, 41, 0.2); }
.form-input.invalid-field { border-color: #ef4444; }
.form-input.invalid-field:focus { box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2); }
textarea.form-input { resize: none; }
.form-error { color: #f87171; font-size: 0.875rem; min-height: 1.25rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 1rem; }
.form-actions-note { font-size: 0.75rem; color: #6b7280; order: 1; }
.form-submit-btn { display: inline-flex; align-items: center; justify-content: center; background-color: var(--primary); color: #fff; padding: 0.5rem 2rem; border-radius: 0.375rem; font-weight: 500; font-size: 0.875rem; transition: background-color 0.3s ease; order: 2; height: 2.5rem; border: none; cursor: pointer; }
.form-submit-btn:hover { background-color: var(--primary-hover); }
.form-submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* Tabs & Filters */
.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.tab-btn { padding: 0.5rem 1rem; font-size: 0.875rem; border-radius: 0.25rem; background-color: var(--card); color: #fff; transition: background-color 0.2s; border: none; cursor: pointer; }
.tab-btn:hover { background-color: var(--card-hover); }
.tab-btn.selected { background-color: var(--primary); }

/* Products breadcrumbs mirror the responsive React breadcrumb component. */
.products-breadcrumb {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #111;
  color: #9ca3af;
  font-size: 0.75rem;
}
.products-breadcrumb ol {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  list-style: none;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
}
.products-breadcrumb-mobile { display: flex; }
.products-breadcrumb-desktop { display: none; }
.products-breadcrumb li,
.products-breadcrumb a { display: flex; align-items: center; min-width: 0; gap: 0.375rem; }
.products-breadcrumb a { color: #9ca3af; transition: color 0.2s; }
.products-breadcrumb a:hover { color: #fff; }
.products-breadcrumb svg { width: 0.875rem; height: 0.875rem; flex: 0 0 auto; }
.products-breadcrumb .breadcrumb-chevron { color: #4b5563; flex: 0 0 auto; }
.products-breadcrumb .breadcrumb-ellipsis { color: #6b7280; flex: 0 0 auto; }
.products-breadcrumb .breadcrumb-current {
  color: #e5e7eb;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 640px) {
  .container-md { padding-left: 1.5rem; padding-right: 1.5rem; }
  .products-breadcrumb-mobile { display: none; }
  .products-breadcrumb-desktop { display: flex; padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
  .container-md { padding-left: 2rem; padding-right: 2rem; }
  .products-breadcrumb-desktop { padding-left: 2rem; padding-right: 2rem; }
}

.filter-btn {
  display: inline-flex;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  background-color: #222222;
  color: #d1d5db;
}
.filter-btn:hover {
  background-color: #333333;
}
.filter-btn.active {
  background-color: var(--primary);
  color: #fff;
}

/* Prose & Details */
.prose { max-width: 100%; color: var(--text-muted); line-height: 1.625; }
.prose p { margin-bottom: 1rem; }
.table-resp { overflow-x: auto; margin-top: 1.5rem; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table th, .specs-table td { padding: 0.75rem 0; border-bottom: 1px solid #374151; text-align: left; font-size: 0.875rem; }
.specs-table th { color: #fff; font-weight: 600; }
.specs-table td { color: var(--text-muted); }

.table-auto { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.table-auto th, .table-auto td { padding: 1rem; text-align: left; }
.table-auto thead tr { background-color: var(--card); color: var(--text-muted); text-transform: uppercase; font-size: 0.75rem; }
.table-auto tbody tr { border-bottom: 1px solid #374151; }

.lead { font-size: 1.125rem; color: #fff; margin-bottom: 3rem; max-width: 48rem; }
.x-section { padding: 2rem 0; border-top: 1px solid #374151; }
.video-box { width: 100%; aspect-ratio: 16/9; background-color: #000; margin-bottom: 3rem; }
.video-box iframe { width: 100%; height: 100%; border: 0; }
.inquiry-callout { background-color: var(--card); padding: 2rem; border-radius: 0.375rem; text-align: center; margin-top: 3rem; }
.inquiry-callout p { color: var(--text-muted); margin-bottom: 1rem; }
.color-dot { display: inline-block; width: 1rem; height: 1rem; border-radius: 50%; border: 1px solid #4b5563; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: var(--z-modal); display: flex; align-items: center; justify-content: center; background-color: rgba(0,0,0,0.9); }
.lb-btn { position: absolute; color: #fff; padding: 0.5rem; transition: color 0.2s; z-index: 10; border: none; background: none; cursor: pointer; }
.lb-btn:hover { color: var(--primary); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb-img-wrap { max-width: 90vw; max-height: 90vh; }
.lb-img-wrap img { max-width: 100%; max-height: 90vh; object-fit: contain; }
.lb-counter { position: absolute; bottom: 1rem; color: #fff; font-size: 0.875rem; }

/* Footer */
footer { position: relative; }
.footer-bg { position: relative; background-color: var(--primary); padding: 3rem 0; }
.footer-img { position: absolute; inset: 0; opacity: 0.1; background-size: cover; background-position: center; }
.footer-inner { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer-title { color: #fff; font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.footer-subtitle { color: #fff; font-size: 1.125rem; margin-bottom: 0.5rem; font-weight: 500; }
.footer-phone { display: block; color: #fff; font-size: 1.5rem; font-weight: 700; }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a { width: 2.5rem; height: 2.5rem; border-radius: 50%; background-color: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; color: #fff; transition: background-color 0.2s; }
.footer-socials a:hover { background-color: rgba(255,255,255,0.3); }
.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-link { color: rgba(255,255,255,0.8); font-size: 0.875rem; transition: color 0.2s; }
.footer-link:hover { color: var(--text-main); }
.footer-heading { color: #fff; font-size: 1.125rem; font-weight: 700; margin-bottom: 1rem; }
.footer-info { display: flex; flex-direction: column; gap: 0.625rem; font-size: 0.875rem; color: rgba(255,255,255,0.8); }
.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.75rem; color: rgba(255,255,255,0.8); font-size: 0.875rem; }
.footer-contact .icon { color: #fff; flex-shrink: 0; }
.footer-contact-phones { display: flex; flex-direction: column; gap: 0.25rem; }
.footer-bottom { background-color: var(--dark-red); padding: 1rem 0; text-align: center; font-size: 0.875rem; color: rgba(255,255,255,0.8); }

/* Responsive Adjustments */
@media (min-width: 640px) {
  .sec-py { padding-top: 6rem; padding-bottom: 6rem; }
  .grid-groups { grid-template-columns: repeat(2, 1fr); }
  .grid-products { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 3rem; }
  .hero-inner { padding-bottom: 7rem; }
  .inquiry-card { padding: 2rem; }
}

@media (min-width: 768px) {
  .sec-title { font-size: 2.25rem; }
  .hero-inner { padding-bottom: 0; }
  .hero-content { align-items: center; }
  .hero-btn-wrap { justify-content: flex-start; }
  .form-actions { justify-content: flex-start; }
  .req-note { order: 2; }
  .form-submit-btn { order: 1; }
  .grid-blog { grid-template-columns: repeat(3, 1fr); }
  .faq-trigger { font-size: 1rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer-phone { font-size: 1.875rem; }
  .header { height: 7rem; }
  .hero-sec { height: calc(100svh - 7rem); }
}

@media (min-width: 1024px) {
  .grid-groups { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: 2fr 1fr; }
  .gallery-cta { min-height: 0; }
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 3.75rem; }
  .footer-grid { grid-template-columns: repeat(12, 1fr); gap: 3rem; }
  .footer-col-4 { grid-column: span 4; }
  .footer-col-2 { grid-column: span 2; }
}

@media (min-width: 1280px) {
  .topbar { display: block; }
  .nav-desktop { display: flex; }
  .header-search { display: flex; }
  .mobile-menu-btn { display: none; }
  .hero-sec { height: calc(100svh - 9.25rem); }
  .grid-products { grid-template-columns: repeat(4, 1fr); }
}

/* Product Detail Specific */
.product-detail-hero { background-color: #111111; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.product-detail-container { max-width: 80rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
.product-detail-container-sm { max-width: 64rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
.product-back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: #9ca3af; transition: color 0.2s; margin-bottom: 2rem; }
.product-back-link:hover { color: #ff1229; }
.product-hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.product-main-img-col { border-left: 4px solid #ff1229; padding-left: 1rem; }
.product-main-img { width: 100%; object-fit: cover; }
.product-subcat { display: block; font-size: 0.875rem; font-weight: 500; color: #9ca3af; margin-bottom: 0.5rem; }
.product-title { font-size: 1.875rem; font-weight: 700; color: #fff; line-height: 1.2; }
.product-desc { margin-top: 1.25rem; color: #9ca3af; line-height: 1.625; }
.product-gallery-grid { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.product-gallery-item { position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: 0.375rem; background-color: #1a1a1a; border: 1px solid #1f2937; }
.product-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-gallery-item:hover img { transform: scale(1.05); }
.product-gallery-overlay { position: absolute; inset: 0; background-color: transparent; transition: background-color 0.2s; display: flex; align-items: center; justify-content: center; }
.product-gallery-item:hover .product-gallery-overlay { background-color: rgba(0,0,0,0.3); }
.product-gallery-overlay .icon { color: #fff; opacity: 0; transition: opacity 0.2s; width: 1.25rem; height: 1.25rem; }
.product-gallery-item:hover .product-gallery-overlay .icon { opacity: 1; }

.product-detail-content { padding-top: 3rem; padding-bottom: 3rem; background-color: #111111; }
.product-info-card { background-color: #fff; color: #000; border-radius: 0.375rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.5); padding: 1.5rem; }
.product-info-heading { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.product-info-p { margin-top: 1rem; color: #374151; line-height: 1.625; }
.product-specs-grid { margin-top: 2rem; display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: flex-start; }
.product-specs-table { width: 100%; border: 1px solid #e5e7eb; border-collapse: collapse; font-size: 0.875rem; }
.product-specs-table th { background-color: #ffed02; color: #000; text-align: left; padding: 0.5rem 0.75rem; font-weight: 700; border-bottom: 1px solid #e5e7eb; }
.product-specs-table td { padding: 0.5rem; border-bottom: 1px solid #e5e7eb; }
.product-specs-table tr:last-child td { border-bottom: none; }
.product-specs-table-icon { width: 3.5rem; text-align: center; }
.product-specs-table-icon img { width: 2.5rem; height: 2.5rem; object-fit: contain; margin: 0 auto; }
.product-specs-table-icon .dot { display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%; background-color: #ff1229; }
.product-specs-link { color: #ff1229; font-weight: 500; transition: text-decoration 0.2s; }
.product-specs-link:hover { text-decoration: underline; }
.product-specs-note { margin-top: 0.5rem; font-size: 0.75rem; color: #6b7280; }
.product-diagram { width: 100%; object-fit: contain; }

.product-tags-wrap { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #e5e7eb; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.product-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.product-tag { font-size: 0.75rem; font-weight: 500; background-color: #f3f4f6; color: #374151; border-radius: 9999px; padding: 0.25rem 0.75rem; }

.product-videos-sec { margin-top: 2rem; }
.product-videos-title { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 1.5rem; }
.product-videos-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.product-video-card { background-color: #1a1a1a; border: 1px solid #1f2937; border-radius: 0.375rem; overflow: hidden; }
.product-video-card video { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.product-video-card p { font-size: 0.75rem; font-weight: 500; color: #d1d5db; text-align: center; padding: 0.5rem; }
.product-youtube-wrap { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 0.375rem; overflow: hidden; border: 1px solid #1f2937; }
.product-youtube-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* Profile Detail Specific */
.profile-detail-hero { background-color: var(--primary); padding-top: 3rem; padding-bottom: 3rem; text-align: center; }
.profile-detail-hero h1 { font-size: 1.875rem; font-weight: 700; color: #fff; }
.profile-detail-hero p { margin-top: 0.5rem; color: rgba(255,255,255,0.9); }
.profile-content-grid { margin-top: 2rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.profile-main-img-wrap { background-color: #fff; border: 1px solid #1f2937; }
.profile-main-img-wrap img { width: 100%; aspect-ratio: 1/1; object-fit: contain; }
.profile-thumbs-grid { margin-top: 1rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem; }
.profile-thumb-btn { background-color: #fff; border: 2px solid transparent; transition: border-color 0.2s; }
.profile-thumb-btn:hover { border-color: #6b7280; }
.profile-thumb-btn.active { border-color: #ff1229; }
.profile-thumb-btn img { width: 100%; aspect-ratio: 1/1; object-fit: contain; }
.profile-video-sec { margin-top: 1.5rem; }
.profile-video-sec h3 { font-size: 0.875rem; font-weight: 600; color: #fff; margin-bottom: 0.75rem; }
.profile-video-sec video { width: 100%; background-color: #000; border: 1px solid #1f2937; }
.profile-info h2 { font-size: 1.5rem; font-weight: 700; color: #fff; }
.profile-dl { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.profile-dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: #6b7280; }
.profile-dd { margin-top: 0.25rem; color: #e5e7eb; font-weight: 600; }
.profile-dd-normal { font-weight: 400; color: #d1d5db; line-height: 1.625; }
.profile-desc { margin-top: 1.5rem; color: #9ca3af; font-size: 0.875rem; line-height: 1.625; }

/* Fabric Detail Specific */
.fabric-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.fabric-img-wrap { background-color: #fff; border: 1px solid #1f2937; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fabric-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.fabric-no-img { background-color: #1a1a1a; border: 1px solid #1f2937; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; color: #6b7280; }
.fabric-video-wrap { border: 1px solid #1f2937; background-color: #1a1a1a; }
.fabric-video-header { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem; font-size: 0.875rem; color: #d1d5db; }
.fabric-video-header .icon { color: #ff1229; }
.fabric-video-body { aspect-ratio: 16/9; width: 100%; }
.fabric-video-body iframe { width: 100%; height: 100%; border: none; }
.fabric-badge-text { color: #ff1229; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.75rem; font-weight: 600; margin-bottom: 0.75rem; }
.fabric-badges { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; font-size: 0.875rem; color: #d1d5db; }
.fabric-badges span { display: inline-flex; align-items: center; gap: 0.5rem; }
.fabric-badges .icon { color: #ff1229; }
.fabric-specs-sec { margin-top: 2rem; border-top: 1px solid #1f2937; padding-top: 1.5rem; }
.fabric-specs-sec h2 { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 1.25rem; }
.fabric-spec-item { border-bottom: 1px solid #1f2937; padding-bottom: 0.75rem; margin-bottom: 0.75rem; }
.fabric-spec-item dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: #6b7280; }
.fabric-spec-item dd { margin-top: 0.25rem; color: #e5e7eb; line-height: 1.625; }
.fabric-download-btn { margin-top: 2rem; display: inline-flex; align-items: center; gap: 0.5rem; background-color: var(--primary); color: #fff; font-weight: 600; padding: 0.75rem 1.25rem; transition: background-color 0.2s; }
.fabric-download-btn:hover { background-color: var(--text-main); }

/* Xpowall Detail Specific */
.xpowall-sizes-sec { margin-top: 3rem; border-top: 1px solid #1f2937; padding-top: 2.5rem; }
.xpowall-sizes-badge { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: #ff1229; }
.xpowall-sizes-title { margin-top: 0.5rem; font-size: 1.5rem; font-weight: 700; color: #fff; }
.xpowall-sizes-desc { margin-top: 0.75rem; color: #9ca3af; line-height: 1.625; }
.xpowall-sizes-table { margin-top: 1.75rem; overflow: hidden; border-radius: 0.375rem; border: 1px solid rgba(255,255,255,0.1); }
.xpowall-sizes-th { display: none; background-color: #1d1d1d; padding: 0.75rem 1.25rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #9ca3af; }
.xpowall-sizes-row { display: grid; gap: 0.75rem; border-top: 1px solid rgba(255,255,255,0.1); background-color: #171717; padding: 1rem 1.25rem; transition: background-color 0.2s; }
.xpowall-sizes-row:first-child { border-top: none; }
.xpowall-sizes-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: #6b7280; display: block; }
.xpowall-sizes-val { margin-top: 0.25rem; font-weight: 500; color: #fff; }
.xpowall-sizes-val-light { font-size: 0.875rem; color: #d1d5db; font-weight: 400; }
.xpowall-color-dot { display: inline-block; width: 1.25rem; height: 1.25rem; border-radius: 0.125rem; border: 1px solid rgba(255,255,255,0.3); vertical-align: middle; }

@media (min-width: 640px) {
  .product-gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .product-videos-grid { grid-template-columns: repeat(2, 1fr); }
  .xpowall-sizes-title { font-size: 1.875rem; }
}
@media (min-width: 768px) {
  .product-main-img-col { padding-left: 2rem; }
  .product-title { font-size: 2.25rem; }
  .product-gallery-grid { grid-template-columns: repeat(6, 1fr); }
  .product-info-card { padding: 2.5rem; }
  .product-specs-grid { grid-template-columns: repeat(5, 1fr); gap: 2rem; }
  .product-specs-table-col { grid-column: span 2; }
  .product-diagram-col { grid-column: span 3; }
  .profile-detail-hero h1 { font-size: 2.25rem; }
  .xpowall-sizes-th { display: grid; }
  .xpowall-sizes-row { align-items: center; }
  .xpowall-sizes-label { display: none; }
  .xpowall-sizes-val, .xpowall-sizes-val-light { margin-top: 0; }
}
@media (min-width: 1024px) {
  .product-hero-grid { grid-template-columns: repeat(2, 1fr); }
  .product-videos-grid { grid-template-columns: repeat(4, 1fr); }
  .profile-content-grid { grid-template-columns: repeat(2, 1fr); }
  .fabric-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
}

/* ==========================================================================
   WordPress / Contact Form 7 / Complianz overrides
   ========================================================================== */

.admin-bar .header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .header { top: 46px; }
}

.tb-placeholder {
  width: 100%;
  height: 100%;
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #222222;
  color: #6b7280;
}
.tb-placeholder svg {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.5rem;
  opacity: 0.3;
}
.tb-placeholder span { font-size: 0.75rem; }

.wpcf7 .wpcf7-form { margin: 0; }
.wpcf7 .wpcf7-form p { margin: 0 0 1.25rem; }
.wpcf7 .wpcf7-form-control-wrap { display: block; }
.wpcf7 input.wpcf7-text,
.wpcf7 input.wpcf7-email,
.wpcf7 input.wpcf7-tel,
.wpcf7 input.wpcf7-url,
.wpcf7 input.wpcf7-number,
.wpcf7 textarea.wpcf7-textarea,
.wpcf7 select.wpcf7-select {
  width: 100%;
  background-color: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.75rem 1rem;
  font: inherit;
  border-radius: 0;
}
.wpcf7 input.wpcf7-text:focus,
.wpcf7 input.wpcf7-email:focus,
.wpcf7 input.wpcf7-tel:focus,
.wpcf7 textarea.wpcf7-textarea:focus,
.wpcf7 select.wpcf7-select:focus {
  outline: none;
  border-color: var(--border-focus);
}
.wpcf7 input.wpcf7-submit,
.wpcf7 button.wpcf7-submit {
  background-color: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}
.wpcf7 input.wpcf7-submit:hover,
.wpcf7 button.wpcf7-submit:hover {
  background-color: var(--primary-hover);
}
.wpcf7 .wpcf7-not-valid-tip { color: #f87171; font-size: 0.8125rem; margin-top: 0.35rem; }
.wpcf7 .wpcf7-response-output { margin: 1rem 0 0; padding: 0.75rem 1rem; border-radius: 0.25rem; font-size: 0.875rem; }
.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-mail-sent-ng { border-color: #f87171; color: #f87171; }
.wpcf7 .wpcf7-mail-sent-ok { border-color: #4ade80; color: #4ade80; }
.wpcf7 .wpcf7-spinner { margin-left: 0.75rem; }
.inquiry-card .wpcf7-form .form-grid,
.contact-page-form-column .wpcf7-form { display: block; }
.wpcf7 label { display: block; font-size: 0.875rem; font-weight: 500; color: #e5e7eb; margin-bottom: 0.35rem; }
.wpcf7 .form-req { color: var(--primary); }

.cmplz-cookiebanner,
#cmplz-cookiebanner-container .cmplz-cookiebanner {
  background-color: #1a1a1a !important;
  color: #e5e7eb !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}
.cmplz-cookiebanner .cmplz-title,
.cmplz-cookiebanner .cmplz-message { color: #e5e7eb !important; }
.cmplz-btn.cmplz-accept { background-color: var(--primary) !important; color: #fff !important; border-color: var(--primary) !important; }
.cmplz-btn.cmplz-deny,
.cmplz-btn.cmplz-manage { background-color: #222 !important; color: #fff !important; border-color: rgba(255,255,255,0.2) !important; }

.search-page { background-color: #111; min-height: 50vh; padding: 3rem 0 4rem; }
.search-page h1 { color: #fff; margin-bottom: 1.5rem; }
.search-page .search-results-list { display: flex; flex-direction: column; gap: 1rem; }
.search-page .search-result-card {
  display: block;
  background: #1a1a1a;
  border: 1px solid #1f2937;
  padding: 1.25rem 1.5rem;
  border-radius: 0.375rem;
  transition: border-color 0.2s;
}
.search-page .search-result-card:hover { border-color: var(--primary); }
.search-page .search-result-card h2 { font-size: 1.125rem; color: #fff; margin-bottom: 0.35rem; }
.search-page .search-result-card p { color: #9ca3af; font-size: 0.875rem; }

.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #1f2937;
}
.pagination .current { background: var(--primary); border-color: var(--primary); }

.filter-btn.active { background-color: var(--primary); color: #fff; border-color: var(--primary); }

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


