@import 'theme.css';
/* ===================================================
   Products CSS: Premium Product Page Styling
   =================================================== */


/* ---------- Product Page Hero Section ---------- */
.product-hero {
  background: linear-gradient(135deg, var(--color-bg-surface) 0%, rgba(59, 130, 246, 0.1) 100%);
  padding: calc(var(--navbar-height) + 2rem) 2rem 4rem;
  text-align: center;
  border-bottom: 2px solid var(--color-border-glow);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  scroll-margin-top: 150px;
}

.product-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-text-main);
  font-weight: 800;
  letter-spacing: -0.02em;
}

[data-theme='dark'] .product-hero h1 {
  background: linear-gradient(135deg, #fff 0%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.product-hero p {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.product-hero .location-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid var(--color-border-glow);
  padding: 0.5rem 1.5rem;
  border-radius: var(--border-radius-pill);
  font-size: 0.95rem;
  color: var(--color-primary);
  margin-top: 1rem;
}

/* ---------- Product Content Section ---------- */
.product-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 4rem 2rem;
}

.product-intro {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
  border: 1px solid var(--color-border-glow);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.product-intro h2 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.product-intro p {
  color: var(--color-text-main);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

/* ---------- Category Navigation Tabs ---------- */
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.category-tab {
  background: var(--color-bg-surface);
  color: var(--color-text-main);
  border: 2px solid var(--color-border-glow);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.category-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.category-tab.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

/* ---------- Product Cards Grid ---------- */
.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-card {
  background: var(--color-bg-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  text-decoration: none;
  color: var(--color-text-main);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}

.product-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.2);
  background: linear-gradient(135deg, var(--color-bg-surface) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.product-card-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin: 0 auto 1rem;
  transition: transform var(--transition-normal);
  display: block;
  text-align: center;
}

.product-card:hover .product-card-icon {
  transform: scale(1.2) rotate(5deg);
}

.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--color-text);
  font-weight: 700;
  flex-grow: 1;
}

.product-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  margin-top: auto;
}

.product-card:hover .arrow {
  color: var(--color-primary);
  transform: translateX(8px);
}

.arrow i {
  transition: transform 0.3s ease;
}

.product-card:hover .arrow i {
  transform: translateX(4px);
}

/* Animations */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card {
  animation: slideIn 0.5s ease-out forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

/* Accessibility */
.product-card:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.category-tab:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Dark Mode */
[data-theme='dark'] .product-card {
  background: #1f2937;
  border-color: rgba(59, 130, 246, 0.3);
}

[data-theme='dark'] .product-card:hover {
  background: linear-gradient(135deg, #1f2937 0%, rgba(59, 130, 246, 0.1) 100%);
}

[data-theme='dark'] .category-tab {
  background: #1f2937;
  color: #f3f4f6;
  border-color: rgba(59, 130, 246, 0.4);
}

[data-theme='dark'] .category-tab:hover {
  color: var(--color-primary);
}

/* ---------- Responsive: Tablet ---------- */
@media (max-width: 1024px) {
  .product-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* ---------- Responsive Design ---------- */
@media (max-width: 768px) {
  .product-hero h1 {
    font-size: 2rem;
  }

  .product-hero p {
    font-size: 1rem;
  }

  .product-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .category-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .category-tab {
    justify-content: center;
    width: 100%;
  }

  .product-content {
    padding: 2rem 1rem;
  }

  .product-intro {
    padding: 1.5rem;
  }
}


@media (max-width: 480px) {
  .product-hero {
    padding: calc(var(--navbar-small-mobile-height) + 1.5rem) 1rem 2rem;
    min-height: auto;
  }

  .product-hero h1 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }

  .product-hero p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .product-card {
    padding: 1.5rem;
  }

  .product-card-icon {
    font-size: 2rem;
  }

  .product-card h3 {
    font-size: 1.1rem;
  }

  .product-card p {
    font-size: 0.9rem;
  }
}





/* ---------- Table Styling (Accessibility) ---------- */
table, .specs-table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  background: var(--color-bg-base);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

table thead, .specs-table thead {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
}

table th, .specs-table th {
  padding: 1rem;
  border: 1px solid var(--color-border-glow);
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

table tbody tr, .specs-table tbody tr {
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--transition-fast);
}

table tbody tr:nth-child(odd), .specs-table tbody tr:nth-child(odd) {
  background: rgba(59, 130, 246, 0.03);
}

table tbody tr:hover, .specs-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.08);
}

table td, .specs-table td {
  padding: 1rem;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  font-size: 0.95rem;
  line-height: 1.6;
}

table td:first-child, .specs-table td:first-child {
  font-weight: 600;
  color: var(--color-primary);
}

/* ---------- Icon Visibility (All Themes) ---------- */
.fas, .fab {
  color: inherit;
  opacity: 1;
  display: inline-block;
  transition: all 0.3s ease;
}

[data-theme='dark'] .fas,
[data-theme='dark'] .fab {
  color: #60a5fa;
  opacity: 1;
}

.location-badge i,
.feature-card i,
.product-hero i {
  color: var(--color-primary);
}

[data-theme='dark'] .location-badge i,
[data-theme='dark'] .feature-card i,
[data-theme='dark'] .product-hero i {
  color: #60a5fa;
}

/* ---------- Feature Card Icons ---------- */
.feature-card {
  background: var(--color-bg-surface);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

[data-theme='dark'] .feature-card {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.feature-card h4 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

[data-theme='dark'] .feature-card h4 {
  color: #f3f4f6;
}

.feature-card h4 i {
  font-size: 1.5rem;
  color: #3b82f6;
  min-width: 1.5rem;
}

[data-theme='dark'] .feature-card h4 i {
  color: #60a5fa;
}

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

[data-theme='dark'] .feature-card p {
  color: #d1d5db;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.15);
}

[data-theme='dark'] .feature-card:hover {
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.2);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .product-categories {
    padding: 4rem 0;
  }

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

  .filter-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .filter-btn {
    width: 100%;
    justify-content: center;
  }

  .search-box {
    max-width: 100%;
  }

  .details-header {
    grid-template-columns: 1fr;
  }

  .details-image {
    height: 250px;
  }

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

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

  .carousel-prev, .carousel-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .carousel-image {
    max-height: 50vh;
  }

  /* Responsive Table */
  table {
    font-size: 0.85rem;
  }

  table th,
  table td {
    padding: 0.75rem 0.5rem;
  }

  .feature-card {
    padding: 1.5rem 1rem;
  }

  .feature-card h4 {
    font-size: 1.1rem;
  }

  .feature-card h4 i {
    font-size: 1.25rem;
  }
}
/* ========== New SEO Enhancement Styles ========== */

/* ---------- Specs Section Enhancement ---------- */
.specs-section {
  margin-bottom: 3rem;
}

.specs-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.specs-section h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
  border-radius: 2px;
}

/* ---------- WhatsApp CTA Section ---------- */
.whatsapp-cta-section {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  margin: 3rem 0;
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.3);
  position: relative;
  overflow: hidden;
}

.whatsapp-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.whatsapp-cta-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
  position: relative;
  z-index: 1;
}

.whatsapp-cta-section p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2.5rem;
  background: white;
  color: #128C7E;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.whatsapp-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background: #f0f0f0;
}

.whatsapp-btn i {
  font-size: 1.5rem;
}

/* ---------- Related Products Section ---------- */
.related-products {
  background: var(--color-bg-surface);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem 0;
}

.related-products h3 {
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  font-size: 1.5rem;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.quick-link {
  padding: 1rem;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  color: var(--color-primary);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-weight: 600;
}

.quick-link:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--color-primary);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.quick-link i {
  flex-shrink: 0;
  font-size: 1.2rem;
}

/* ---------- Map Embed Styling ---------- */
.map-embed {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-top: 1rem;
}

.map-embed iframe {
  display: block;
  width: 100%;
  border: none;
}


/* ---------- CTA Section Styling ---------- */
.cta-section {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 16px;
  padding: 3rem 2rem;
  margin: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 70%);
  pointer-events: none;
}

.cta-section h3 {
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.cta-btn i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.cta-btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.cta-btn-primary:hover i {
  transform: scale(1.2);
}

.cta-btn-secondary {
  background: var(--color-bg-surface);
  color: var(--color-primary);
  border-color: rgba(59, 130, 246, 0.3);
}

.cta-btn-secondary:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

.cta-btn-secondary:hover i {
  transform: scale(1.2);
}

/* Responsive CTA */
@media (max-width: 768px) {
  .cta-section {
    padding: 2rem 1.5rem;
  }
  
  .cta-section h3 {
    font-size: 1.5rem;
  }
  
  .cta-section p {
    font-size: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cta-btn {
    width: 100%;
    justify-content: center;
  }
  
  .cta-phone {
    display: inline;
  }
}

@media (max-width: 480px) {
  
  
  
}

/* ---------- SEO Intro Section ---------- */
.seo-intro {
  background: var(--color-bg-surface);
  padding: 3rem 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

[data-theme='dark'] .seo-intro {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.seo-intro h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.seo-intro p {
  max-width: 800px;
  margin-bottom: 1rem;
  color: var(--color-text);
  line-height: 1.7;
}

[data-theme='dark'] .seo-intro p {
  color: var(--color-text-muted);
}

.seo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  margin-top: 1rem;
}

.seo-list li {
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.seo-list li:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ==============================================
   NEW MDF PRODUCT PAGE COMPONENTS
   (specs-table, features-grid, whatsapp-cta,
    quick-links, cta-section, applications-list)
   These classes are used by individual product
   pages: turbo-plus, exterior-grade, super-hd-wr
================================================ */

/* ---------- Specs Section ---------- */
.specs-section {
  margin: 3rem 0;
}

.specs-section h3 {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

/* ---------- Specs Table ---------- */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 1rem;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.specs-table thead {
  background: linear-gradient(135deg, var(--color-primary), #2563eb);
  color: #fff;
}

.specs-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.specs-table tbody tr {
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  transition: background 0.2s ease;
}

.specs-table tbody tr:last-child {
  border-bottom: none;
}

.specs-table tbody tr:nth-child(even) {
  background: rgba(59, 130, 246, 0.04);
}

.specs-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.08);
}

.specs-table td {
  padding: 0.9rem 1.25rem;
  color: var(--color-text-main);
  vertical-align: middle;
}

/* ---------- Features Grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.feature-card {
  background: var(--color-bg-surface);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), #2563eb);
  transition: width 0.3s ease;
}

.feature-card:hover::before {
  width: 100%;
}

.feature-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  background: rgba(59, 130, 246, 0.2);
}

.feature-card h4 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
  font-weight: 700;
}

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

/* ---------- Applications List (inline grid inside product pages) ---------- */
.applications-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.applications-list li {
  padding: 0.5rem 0.75rem;
  background: var(--color-bg);
  border-radius: 6px;
  border: 1px solid rgba(59, 130, 246, 0.15);
  font-size: 0.95rem;
  color: var(--color-text-main);
}

/* ---------- WhatsApp CTA Section ---------- */
.whatsapp-cta-section {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.08), rgba(37, 211, 102, 0.03));
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin: 2.5rem 0;
}

.whatsapp-cta-section h3 {
  font-size: 1.4rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.whatsapp-cta-section p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25d366;
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.whatsapp-btn i {
  font-size: 1.3rem;
}

/* ---------- Related Products Section ---------- */
.related-products {
  background: var(--color-bg-surface);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 2rem;
  margin: 2.5rem 0;
}

.related-products h3 {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.quick-link {
  padding: 0.9rem 1rem;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.quick-link:hover {
  background: rgba(59, 130, 246, 0.12);
  border-color: var(--color-primary);
  transform: translateX(4px);
  color: var(--color-primary);
}

.quick-link i {
  flex-shrink: 0;
  font-size: 1rem;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(37, 99, 235, 0.04) 100%);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  margin: 2.5rem 0;
}

.cta-section h3 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
  color: var(--color-text);
}

.cta-section p {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.cta-btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

.cta-btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.55);
  transform: translateY(-2px);
  color: #fff;
}

.cta-btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.cta-btn-secondary:hover {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
  transform: translateY(-2px);
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---------- Footer (product pages) ---------- */
.footer {
  overflow: hidden; /* prevent columns from overflowing viewport */
}

/* ---------- Footer Grid (product pages) ---------- */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

/* ==============================================
   MOBILE RESPONSIVE — NEW MDF PAGE COMPONENTS
   Breakpoints: 768px (tablet) and 480px (phone)
================================================ */

@media (max-width: 768px) {

  /* Specs table: allow horizontal scroll instead of squishing */
  .specs-section {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .specs-table {
    font-size: 0.9rem;
    min-width: 380px; /* keeps columns readable, enables scroll */
  }

  .specs-table th,
  .specs-table td {
    padding: 0.75rem 0.9rem;
  }

  /* Features: 2-col on tablet */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* Quick links: 2-col on tablet */
  .quick-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Applications inline grid */
  .applications-list,
  ul[style*="grid-template-columns: repeat(auto-fit, minmax(200px"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* WhatsApp CTA */
  .whatsapp-cta-section {
    padding: 1.5rem;
  }

  .whatsapp-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
  }

  /* CTA section */
  .cta-section {
    padding: 1.75rem 1.25rem;
  }

  .cta-section h3 {
    font-size: 1.3rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
  }

  /* Related products */
  .related-products {
    padding: 1.5rem;
  }

  /* Footer grid */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  /* Reduce container padding inside footer to prevent overflow */
  .footer .container {
    padding: 0 1rem;
  }

  /* Product hero (reinforce existing rules) */
  .product-hero {
    padding: 2.5rem 1.25rem;
  }

  .product-hero h1 {
    font-size: 1.8rem;
  }

  .product-hero p {
    font-size: 1rem;
  }

  .product-hero .location-badge {
    font-size: 0.85rem;
    padding: 0.45rem 1rem;
    text-align: center;
  }

  .product-content {
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {

  /* Hero */
  .product-hero {
    padding: 2rem 1rem;
    min-height: auto;
    margin-top: 2.5rem;
  }

  .product-hero h1 {
    font-size: 1.35rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
  }

  .product-hero p {
    font-size: 0.92rem;
    margin-bottom: 1rem;
  }

  .product-hero .location-badge {
    font-size: 0.78rem;
    padding: 0.4rem 0.85rem;
    word-break: break-word;
  }

  .product-content {
    padding: 1.5rem 0.85rem;
  }

  .product-intro {
    padding: 1.25rem;
  }

  .product-intro h2 {
    font-size: 1.15rem;
  }

  .product-intro p {
    font-size: 0.95rem;
  }

  /* Specs: single column scroll */
  .specs-section h3 {
    font-size: 1.1rem;
  }

  .specs-table {
    font-size: 0.82rem;
    min-width: 320px;
  }

  .specs-table th,
  .specs-table td {
    padding: 0.6rem 0.7rem;
  }

  /* Features: single column */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .feature-card {
    padding: 1.25rem;
  }

  .feature-icon {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }

  .feature-card h4 {
    font-size: 1rem;
  }

  /* Applications: single column */
  .applications-list,
  ul[style*="grid-template-columns: repeat(auto-fit, minmax(200px"] {
    grid-template-columns: 1fr !important;
  }

  /* WhatsApp CTA */
  .whatsapp-cta-section {
    padding: 1.25rem;
  }

  .whatsapp-cta-section h3 {
    font-size: 1.1rem;
  }

  .whatsapp-btn {
    font-size: 0.9rem;
    padding: 0.8rem 1.25rem;
  }

  /* Related products */
  .related-products {
    padding: 1.25rem;
  }

  .quick-links-grid {
    grid-template-columns: 1fr;
  }

  .quick-link {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  /* CTA section */
  .cta-section {
    padding: 1.25rem;
    border-width: 1px;
  }

  .cta-section h3 {
    font-size: 1.15rem;
  }

  .cta-section p {
    font-size: 0.9rem;
  }

  .cta-btn {
    font-size: 0.92rem;
    padding: 0.8rem 1.25rem;
  }

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

  /* Tighten container padding inside footer on phones */
  .footer .container {
    padding: 0 0.85rem;
  }

  .footer-col h4 {
    font-size: 1rem;
  }

  .footer-col p,
  .footer-col ul li,
  .footer-links a {
    font-size: 0.88rem;
  }

  .footer-bottom {
    font-size: 0.78rem;
    padding: 1rem 0.85rem;
  }
}
