/* ==============================================================================
   Choudhary Brothers - Modernized Frontend Stylesheet
   Compact, Bright, High-Trust Hardware Hub Design
   Navy Blue & Blue Accents with Restrained Orange Highlights
   ============================================================================== */

:root {
  --primary: #0f172a;          /* Deep Navy */
  --primary-hover: #1e293b;
  --primary-light: #f1f5f9;
  
  --accent: #1d4ed8;           /* Royal Blue */
  --accent-hover: #1e40af;
  --accent-light: #eff6ff;

  --orange: #f97316;           /* Restrained Orange Highlight */
  --orange-hover: #ea580c;
  --orange-light: #fff7ed;
  
  --success: #15803d;          /* Fresh Green */
  --success-light: #f0fdf4;
  
  --whatsapp: #25d366;         /* WhatsApp */
  --whatsapp-hover: #1ebd5a;
  
  --warning: #b45309;          /* Amber */
  --warning-light: #fefce8;
  
  --danger: #b91c1c;           /* Crimson Red */
  --danger-light: #fef2f2;
  
  --bg-main: #f8fafc;          /* Crisp Light Gray */
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  
  --text-main: #0f172a;        /* Slate 900 */
  --text-muted: #64748b;       /* Slate 500 */
  --text-light: #94a3b8;       /* Slate 400 */
  
  --border: #e2e8f0;           /* Slate 200 */
  --border-focus: #2563eb;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-max: 1240px;
  --header-height: 56px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Top Announcement Bar */
.top-bar {
  background: #091224;
  color: #cbd5e1;
  font-size: 0.75rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #94a3b8;
  font-size: 0.8125rem;
}
.top-bar-link:hover {
  color: #ffffff;
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.25rem;
}

/* Official Logo Brand Group */
.brand-group {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo-img {
  height: 44px;
  max-width: 240px;
  width: auto;
  object-fit: contain;
}

/* Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.4rem 0.2rem;
  transition: color 0.15s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

/* Mobile Navigation Dropdown Menu */
#mobileNavMenu {
  background: #ffffff;
  border-top: 1px solid var(--border);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  max-height: calc(100vh - 65px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: mobileNavFade 0.2s ease-out;
}
@keyframes mobileNavFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
#mobileNavMenu .nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.15s ease;
}
#mobileNavMenu .nav-link:hover,
#mobileNavMenu .nav-link.active {
  background: #eff6ff;
  color: var(--accent);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
}
.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  border-radius: var(--radius-md);
}

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

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

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

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

.btn-outline {
  background: #ffffff;
  border-color: var(--border);
  color: var(--text-main);
}
.btn-outline:hover {
  background: var(--bg-alt);
  border-color: #cbd5e1;
}

/* Dedicated High-Contrast Hero & Banner Action Buttons */
.btn-hero-call {
  background: #2563eb !important;
  color: #ffffff !important;
  border: 1px solid #1d4ed8 !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-hero-call:hover {
  background: #1d4ed8 !important;
  color: #ffffff !important;
}

.btn-hero-directions {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-hero-directions:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

/* Admin Login Button */
.btn-admin {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: var(--primary);
  font-weight: 700;
}
.btn-admin:hover {
  background: #e2e8f0;
  color: var(--accent);
  border-color: var(--accent);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.4rem;
  cursor: pointer;
  color: var(--text-main);
}

/* Compact Professional 2-Column Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #edf4fe 55%, #f1f5f9 100%);
  color: var(--primary);
  padding: 1.25rem 0 1.25rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-container {
  max-width: 1240px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  gap: 1.5rem;
}

/* Left Column: Website Information (~45% width) */
.hero-info-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-text-block {
  width: 100%;
}
.hero-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  margin-bottom: 0.65rem;
}

.hero-heading {
  font-size: 2.15rem;
  font-weight: 850;
  line-height: 1.15;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}
.hero-heading-highlight {
  color: #1d4ed8;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Supporting text: Laptops | Desktops | Components | Accessories */
.hero-supporting-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.6rem;
}
.dot-sep {
  color: #94a3b8;
  font-size: 0.8rem;
}

/* Product condition: New | Used | Refurbished */
.hero-conditions-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}
.condition-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #ffffff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

/* 4 Features Grid */
.hero-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1.15rem;
  max-width: 440px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.icon-orange { background: #fff7ed; color: #ea580c; }
.icon-blue { background: #eff6ff; color: #2563eb; }
.icon-green { background: #ecfdf5; color: #16a34a; }
.icon-emerald { background: #ecfdf5; color: #059669; }
.icon-purple { background: #f5f3ff; color: #7c3aed; }
.feature-text {
  font-size: 0.825rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
}

/* Explore Our Products Button & CTA Group */
.hero-cta-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.btn-explore-main {
  background: #ea580c;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 6px 18px -3px rgba(234, 88, 12, 0.42);
  transition: all 0.2s ease;
  border: none;
}
.btn-explore-main:hover {
  background: #c2410c;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -3px rgba(234, 88, 12, 0.52);
}
.btn-whatsapp-compact {
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 1.05rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-whatsapp-compact:hover {
  background: #1ebd5a;
  color: #ffffff;
  transform: translateY(-2px);
}
.btn-scrap-compact {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 1.05rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-scrap-compact:hover {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
  transform: translateY(-2px);
}

/* Right Column: Supplied Landing Page Image (~55% width) */
.hero-image-col {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.hero-image-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-banner-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(480px, calc(100vh - 160px));
  object-fit: contain;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(37, 99, 235, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hero-banner-img:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(37, 99, 235, 0.2);
}

/* Interactive Category Jump Ribbon */
.hero-category-ribbon {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ribbon-label {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.ribbon-items {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
}
.category-jump-btn {
  white-space: nowrap;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}
.category-jump-btn:hover {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #93c5fd;
}
.category-jump-btn.active {
  background: #1d4ed8;
  color: #ffffff;
  border-color: #1d4ed8;
}
.scrap-jump-pill {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}
.scrap-jump-pill:hover {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

/* What This Website Is For - 4 Pillar Purpose Section */
.purpose-section {
  padding: 3rem 0 2.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.purpose-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 2.25rem;
}
.purpose-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.65rem;
}
.purpose-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.purpose-subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.purpose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.purpose-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.purpose-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
}
.purpose-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.bg-blue-soft { background: #eff6ff; }
.bg-orange-soft { background: #fff7ed; }
.bg-green-soft { background: #ecfdf5; }
.bg-indigo-soft { background: #eef2ff; }

.text-accent { color: #1d4ed8; }
.text-orange { color: #f97316; }
.text-emerald { color: #059669; }
.text-indigo { color: #4f46e5; }

.purpose-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.purpose-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}
.purpose-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--text-main);
  font-weight: 500;
  border-top: 1px solid #e2e8f0;
  padding-top: 0.85rem;
}
.purpose-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* Brand Showcase Strip */
.brand-showcase-section {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.brand-showcase-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  text-align: center;
}
.brand-showcase-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.25rem;
}
.brand-showcase-pills {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.brand-showcase-pill {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s ease;
}
.brand-showcase-pill:hover, .brand-showcase-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Catalog Filter Bar */
.catalog-section {
  padding: 2.25rem 0;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.section-title h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}
.section-title p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Compact Filter Controls Bar */
.controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.search-input-group {
  position: relative;
  flex: 1.5;
  min-width: 240px;
}
.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  font-size: 0.875rem;
}
.search-input:focus {
  outline: none;
  border-color: var(--border-focus);
  background: #ffffff;
}
.search-clear-btn {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  display: none;
}

.filters-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.filter-select {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}
.filter-select:focus {
  outline: none;
  border-color: var(--border-focus);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}

/* Modern Product Card */
.product-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.product-image-box {
  position: relative;
  background: #f8fafc;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 165px;
  border-bottom: 1px solid var(--border);
}
.product-img {
  max-height: 130px;
  max-width: 100%;
  object-fit: contain;
}

/* Badges */
.card-badges {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  right: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.badge-condition-refurbished {
  background: var(--orange-light);
  color: var(--orange-hover);
  border: 1px solid rgba(249, 115, 22, 0.3);
}
.badge-condition-new {
  background: var(--success-light);
  color: var(--success);
  border: 1px solid rgba(21, 128, 61, 0.3);
}
.badge-condition-used {
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.badge-sold {
  background: var(--danger-light);
  color: var(--danger);
  border: 1px solid rgba(185, 28, 28, 0.3);
}
.badge-in-stock {
  background: var(--success-light);
  color: var(--success);
  font-size: 0.65rem;
}

.product-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-cat-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.product-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin: 0.35rem 0 0.5rem;
}
.product-specs-summary {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-main);
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  white-space: pre-line;
  line-height: 1.4;
  max-height: 75px;
  overflow: hidden;
  position: relative;
}

.product-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.price-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.price-tag-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.card-actions-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3.5rem 1rem;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border);
  grid-column: 1 / -1;
}
.empty-icon {
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}
.empty-state h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.empty-state p {
  color: var(--text-muted);
  font-size: 0.875rem;
  max-width: 420px;
  margin: 0 auto 1.25rem;
}

/* We Buy Computer Scrap Section - Compact 2-Column Professional Layout */
.scrap-wrapper-section {
  position: relative;
  background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 50%, #edf4fe 100%);
  color: var(--primary);
  padding: 1.5rem 0 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.scrap-container {
  max-width: 1240px;
}
.scrap-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  gap: 1.5rem;
}

/* Left Column: Scrap Buying Details (~45% width) */
.scrap-info-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.scrap-text-block {
  width: 100%;
}
.scrap-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  border: 1px solid #a7f3d0;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #047857;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  margin-bottom: 0.65rem;
}

.scrap-heading {
  font-size: 2.15rem;
  font-weight: 850;
  line-height: 1.15;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}
.scrap-heading-highlight {
  color: #059669;
  background: linear-gradient(135deg, #059669 0%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Supporting text: Used • Working • Not Working • Scrap — All Types */
.scrap-supporting-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.6rem;
}

/* Scrap conditions: All Brands | All Models | All Conditions */
.scrap-conditions-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}
.scrap-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #ffffff;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

/* 4 Features Grid for Scrap */
.scrap-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1.15rem;
  max-width: 440px;
}

/* Direct Scrap Action CTA Group */
.scrap-cta-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.btn-scrap-main {
  background: #16a34a;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.925rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 6px 18px -3px rgba(22, 163, 74, 0.4);
  transition: all 0.2s ease;
  border: none;
}
.btn-scrap-main:hover {
  background: #15803d;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -3px rgba(22, 163, 74, 0.5);
}
.btn-call-compact {
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 1.05rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
}
.btn-call-compact:hover {
  background: #1e293b;
  color: #ffffff;
  transform: translateY(-2px);
}
.btn-office-compact {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 1.05rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-office-compact:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  transform: translateY(-2px);
}

/* Right Column: Supplied Scrap Page Image (~55% width) */
.scrap-image-col {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.scrap-image-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scrap-banner-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(480px, calc(100vh - 160px));
  object-fit: contain;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(16, 185, 129, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.scrap-banner-img:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(16, 185, 129, 0.25);
}

/* Quick 3-Step Process Strip Below Scrap Hero */
.scrap-process-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 0.65rem 1.15rem;
  margin-top: 1.25rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  gap: 0.75rem;
}
.scrap-process-pill {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 1;
}
.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #047857;
  font-weight: 800;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #a7f3d0;
  flex-shrink: 0;
}
.step-desc {
  font-size: 0.8125rem;
  color: #334155;
  line-height: 1.4;
}
.step-desc strong {
  color: #0f172a;
}
.process-sep {
  color: #cbd5e1;
  font-size: 0.85rem;
}

/* Contact Section */
.contact-section {
  padding: 3rem 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
}
.contact-block {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.contact-text h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.contact-text p, .contact-text a {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.map-embed-wrapper {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 320px;
}
.map-iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* Footer */
.site-footer {
  background: #091224;
  color: #94a3b8;
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand p {
  color: #64748b;
  font-size: 0.8125rem;
  line-height: 1.5;
  margin-top: 0.65rem;
  max-width: 300px;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-link {
  color: #94a3b8;
  font-size: 0.8125rem;
}
.footer-link:hover {
  color: #ffffff;
}
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #64748b;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  overflow-y: auto;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-container {
  background: #ffffff;
  width: 100%;
  max-width: 620px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
.modal-container form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.modal-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
}
.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.35rem;
  color: var(--text-muted);
  cursor: pointer;
}
.modal-body {
  padding: 1.25rem;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #94a3b8 #f1f5f9;
}
.modal-body::-webkit-scrollbar {
  width: 8px;
}
.modal-body::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}
.modal-body::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}
.modal-body::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}
.modal-footer {
  flex-shrink: 0;
}

/* WhatsApp Floating Button */
.whatsapp-floating {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  background: var(--whatsapp);
  color: #ffffff;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease;
}
.whatsapp-floating:hover {
  transform: scale(1.08);
  color: #ffffff;
}

/* ==============================================================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS
   ============================================================================== */

@media (max-width: 991px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }
  .hero-info-col {
    display: contents; /* Unwraps children for exact mobile order: 1. Text, 2. Image, 3. Button */
  }
  .hero-text-block {
    order: 1;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
  .hero-heading {
    font-size: 1.75rem;
  }
  .hero-supporting-text {
    justify-content: center;
  }
  .hero-conditions-row {
    justify-content: center;
  }
  .hero-features-grid {
    max-width: 380px;
    margin: 0 auto 0.5rem;
    text-align: left;
  }
  .hero-image-col {
    order: 2;
    width: 100%;
  }
  .hero-banner-img {
    max-height: 380px;
    margin: 0 auto;
  }
  .hero-cta-block {
    order: 3;
    justify-content: center;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    flex-direction: column;
    gap: 0.55rem;
  }
  .hero-cta-block .btn {
    width: 100%;
    justify-content: center;
  }
  .purpose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  /* Scrap Section: Mobile Vertical Stack in Exact Order (1. Text, 2. Image, 3. CTA, 4. Process) */
  .scrap-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }
  .scrap-info-col {
    display: contents; /* Unwraps children for exact mobile order */
  }
  .scrap-text-block {
    order: 1;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
  .scrap-heading {
    font-size: 1.75rem;
  }
  .scrap-supporting-text {
    justify-content: center;
  }
  .scrap-conditions-row {
    justify-content: center;
  }
  .scrap-features-grid {
    max-width: 380px;
    margin: 0 auto 0.5rem;
    text-align: left;
  }
  .scrap-image-col {
    order: 2;
    width: 100%;
  }
  .scrap-banner-img {
    max-height: 380px;
    margin: 0 auto;
  }
  .scrap-cta-block {
    order: 3;
    justify-content: center;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    flex-direction: column;
    gap: 0.55rem;
  }
  .scrap-cta-block .btn {
    width: 100%;
    justify-content: center;
  }
  .scrap-process-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .process-sep {
    display: none;
  }

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

@media (max-width: 768px) {
  /* Container & Layout */
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  /* Top Bar */
  .top-bar {
    padding: 0.3rem 0;
  }
  .top-bar-content {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.72rem;
  }
  .top-bar-links {
    gap: 0.85rem;
    justify-content: center;
    font-size: 0.72rem;
  }
  .top-bar-link {
    font-size: 0.72rem;
  }

  /* Sticky Header */
  .site-header {
    --header-height: 52px;
  }
  .header-wrapper {
    height: 52px;
    gap: 0.5rem;
  }
  .brand-logo-img {
    height: 34px;
    max-width: 160px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 6px;
  }
  .header-actions {
    gap: 0.4rem;
  }

  /* Hero Section */
  .hero-section {
    padding: 1rem 0;
  }
  .hero-grid {
    gap: 0.85rem;
  }
  .hero-location-pill {
    font-size: 0.72rem;
    padding: 0.2rem 0.55rem;
    margin-bottom: 0.45rem;
    max-width: 100%;
    line-height: 1.3;
    white-space: normal;
  }
  .hero-heading {
    font-size: 1.45rem;
    line-height: 1.22;
    margin-bottom: 0.35rem;
  }
  .hero-supporting-text {
    font-size: 0.8125rem;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.45rem;
  }
  .hero-conditions-row {
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 0.65rem;
  }
  .condition-tag {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
  }
  .hero-features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    max-width: 340px;
    margin: 0 auto 0.65rem;
  }
  .feature-item {
    gap: 0.35rem;
  }
  .feature-icon {
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
  }
  .feature-text {
    white-space: normal;
    word-break: break-word;
    font-size: 0.75rem;
    line-height: 1.25;
  }
  .hero-banner-img {
    max-height: 220px;
    width: auto;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 20px -6px rgba(15, 23, 42, 0.12);
  }
  .hero-cta-block {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    gap: 0.45rem;
  }
  .hero-cta-block .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.875rem;
    padding: 0.6rem 1rem;
    min-height: 44px;
  }

  /* Category Jump Ribbon Touch Carousel */
  .hero-category-ribbon {
    margin: 0.75rem 0 0 0;
    padding: 0.5rem 0.65rem;
    gap: 0.4rem;
    border-radius: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .hero-category-ribbon::-webkit-scrollbar {
    display: none;
  }
  .ribbon-label {
    font-size: 0.7rem;
    gap: 0.25rem;
  }
  .category-jump-btn {
    font-size: 0.75rem;
    padding: 0.3rem 0.65rem;
  }

  /* Brand Showcase Strip Carousel */
  .brand-showcase-section {
    padding: 0.75rem 0;
  }
  .brand-showcase-title {
    font-size: 0.7rem;
    margin-bottom: 0.35rem;
  }
  .brand-showcase-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 0.5rem 0.25rem;
  }
  .brand-showcase-wrapper::-webkit-scrollbar {
    display: none;
  }
  .brand-showcase-pills {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.4rem;
  }
  .brand-showcase-pill {
    flex-shrink: 0;
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
  }

  /* Catalog Controls Bar */
  .catalog-section {
    padding: 1.5rem 0;
  }
  .section-header {
    margin-bottom: 0.85rem;
  }
  .section-title h2 {
    font-size: 1.35rem;
  }
  .controls-bar {
    padding: 0.65rem 0.75rem;
    gap: 0.5rem;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 1rem;
    border-radius: 8px;
  }
  .search-input-group {
    width: 100%;
    min-width: 100%;
    flex: none;
  }
  .search-input {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem 0.5rem 2.15rem;
    border-radius: 6px;
  }
  .filters-group {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }
  .filter-select {
    width: 100%;
    font-size: 0.775rem;
    padding: 0.45rem 0.4rem;
    border-radius: 6px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  /* Products Grid */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .product-card {
    border-radius: 8px;
  }
  .product-image-box {
    min-height: 140px;
    padding: 0.85rem;
  }
  .product-img {
    max-height: 120px;
  }
  .product-content {
    padding: 0.85rem;
  }
  .product-title {
    font-size: 0.9rem;
    line-height: 1.3;
    margin: 0.25rem 0 0.4rem;
  }
  .product-specs-summary {
    font-size: 0.72rem;
    padding: 0.4rem 0.55rem;
    max-height: 60px;
    margin-bottom: 0.65rem;
  }
  .product-footer {
    padding-top: 0.6rem;
    gap: 0.5rem;
  }
  .price-value {
    font-size: 1.15rem;
  }
  .card-actions-grid {
    grid-template-columns: 1fr auto;
    gap: 0.35rem;
  }
  .card-actions-grid .btn-whatsapp {
    font-size: 0.8rem;
    padding: 0.55rem 0.75rem;
    min-height: 42px;
    justify-content: center;
  }
  .card-actions-grid .btn-outline {
    font-size: 0.85rem;
    padding: 0.55rem 0.75rem;
    min-height: 42px;
    min-width: 42px;
  }
  .view-specs-btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }

  /* Scrap Section */
  .scrap-wrapper-section {
    padding: 1.25rem 0;
  }
  .scrap-grid {
    gap: 0.85rem;
  }
  .scrap-heading {
    font-size: 1.45rem;
    line-height: 1.22;
    margin-bottom: 0.35rem;
  }
  .scrap-supporting-text {
    font-size: 0.8125rem;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.45rem;
  }
  .scrap-conditions-row {
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 0.65rem;
  }
  .scrap-features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    max-width: 340px;
    margin: 0 auto 0.65rem;
  }
  .scrap-features-grid .feature-text {
    white-space: normal;
    word-break: break-word;
    font-size: 0.75rem;
    line-height: 1.25;
  }
  .scrap-banner-img {
    max-height: 220px;
    width: auto;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 20px -6px rgba(15, 23, 42, 0.12);
  }
  .scrap-cta-block {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    gap: 0.45rem;
  }
  .scrap-cta-block .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.875rem;
    padding: 0.6rem 1rem;
    min-height: 44px;
  }
  .scrap-process-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
  }
  .process-step-card {
    width: 100%;
    padding: 0.5rem 0.65rem;
    font-size: 0.78rem;
    border-radius: 6px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }
  .process-sep {
    display: none;
  }

  /* Contact & Map */
  .contact-section {
    padding: 1.5rem 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .map-wrapper {
    min-height: 240px;
    height: 240px;
    border-radius: 8px;
  }
  .map-iframe {
    min-height: 240px;
    height: 240px;
  }
  .contact-info-card {
    padding: 1rem;
    border-radius: 8px;
  }

  /* Footer */
  .site-footer {
    padding: 2rem 0 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
  }
  .footer-col h4 {
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
  }
  .footer-link {
    font-size: 0.78rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.4rem;
    padding-top: 1rem;
    font-size: 0.72rem;
  }

  /* Floating WhatsApp Button */
  .whatsapp-floating {
    bottom: 1.15rem;
    right: 1.15rem;
    width: 48px;
    height: 48px;
    font-size: 1.45rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }

  /* Purpose Grid */
  .purpose-grid {
    grid-template-columns: 1fr;
  }
  .purpose-title {
    font-size: 1.45rem;
  }
}

@media (max-width: 640px) {
  /* Header Actions Compact Mobile Icons */
  .header-actions {
    gap: 0.35rem;
  }
  .header-actions .btn {
    padding: 0.4rem 0.55rem;
    font-size: 0.8125rem;
    height: 36px;
    min-width: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
  }
  .header-actions .btn-admin span,
  .header-actions .btn-whatsapp span,
  .header-actions .btn-primary span {
    display: none; /* Icon-only in compact mobile header */
  }
  .header-actions .btn i {
    font-size: 1rem;
    margin: 0;
  }
  .mobile-menu-btn {
    height: 36px;
    min-width: 36px;
    padding: 0;
  }

  /* Modal Container Mobile */
  .modal-overlay {
    padding: 0.5rem;
  }
  .modal-container {
    width: 100%;
    max-height: 94vh;
    border-radius: 8px;
  }
  .modal-header {
    padding: 0.75rem 1rem;
  }
  .modal-header h3 {
    font-size: 1rem;
  }
  .modal-body {
    padding: 0.85rem 1rem;
  }
}

@media (max-width: 400px) {
  .brand-logo-img {
    height: 30px;
    max-width: 130px;
  }
  .header-actions {
    gap: 0.25rem;
  }
  .header-actions .btn {
    min-width: 32px;
    height: 32px;
    padding: 0.3rem;
  }
  .mobile-menu-btn {
    width: 32px;
    height: 32px;
  }
  .hero-heading {
    font-size: 1.3rem;
  }
  .hero-banner-img {
    max-height: 180px;
  }
  .hero-features-grid {
    grid-template-columns: 1fr;
    max-width: 260px;
    gap: 0.35rem;
  }
  .filters-group {
    grid-template-columns: 1fr;
  }
  .scrap-heading {
    font-size: 1.3rem;
  }
  .scrap-banner-img {
    max-height: 180px;
  }
  .scrap-features-grid {
    grid-template-columns: 1fr;
    max-width: 260px;
    gap: 0.35rem;
  }
}

/* ==============================================================================
   LOCAL SEO & FAQ SECTION STYLING (ACCORDION DROPDOWN)
   ============================================================================== */
.faq-section {
  padding: 1.75rem 0 2rem 0;
  background: #f8fafc;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-accordion-list {
  max-width: 780px;
  margin: 1rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.faq-accordion-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
  overflow: hidden;
}

.faq-accordion-item:hover {
  border-color: #cbd5e1;
}

.faq-accordion-item[open] {
  border-color: #93c5fd;
  box-shadow: 0 2px 8px -1px rgba(30, 58, 138, 0.06);
}

.faq-accordion-header {
  padding: 0.6rem 0.9rem;
  font-size: 0.9125rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  user-select: none;
  list-style: none;
}

.faq-accordion-header::-webkit-details-marker {
  display: none;
}

.faq-header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.faq-header-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.faq-accordion-item[open] .faq-header-icon {
  background: var(--accent);
  color: #ffffff;
}

.faq-chevron {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.25s ease, color 0.2s ease;
}

.faq-accordion-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-accordion-body {
  padding: 0.45rem 0.9rem 0.65rem calc(0.9rem + 24px + 0.6rem);
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted);
  border-top: 1px solid #f1f5f9;
}

@media (max-width: 640px) {
  .faq-section {
    padding: 1.5rem 0;
  }
  .faq-accordion-header {
    padding: 0.55rem 0.75rem;
    font-size: 0.875rem;
  }
  .faq-accordion-body {
    padding: 0.4rem 0.75rem 0.6rem 0.75rem;
    font-size: 0.8125rem;
  }
}

.faq-grid {
  display: none;
}

.seo-breadcrumbs {
  padding: 1rem 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.seo-breadcrumbs a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.seo-breadcrumbs a:hover {
  text-decoration: underline;
}

.seo-hero-section {
  padding: 3rem 0 2rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  position: relative;
}

.seo-hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #ffffff;
}

.seo-hero-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 820px;
  margin-bottom: 1.5rem;
}

.seo-badges-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.seo-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  font-size: 0.8125rem;
  color: #e2e8f0;
}

.seo-content-block {
  padding: 2.5rem 0;
}

.seo-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
}

.seo-article {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-main);
}

.seo-article h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 1.75rem 0 0.75rem;
  color: var(--text-main);
}

.seo-article p {
  margin-bottom: 1rem;
}

.seo-article ul {
  margin: 0.75rem 0 1.25rem 1.5rem;
}

.seo-article li {
  margin-bottom: 0.4rem;
}

.seo-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.seo-sidebar-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.seo-sidebar-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.seo-category-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.seo-category-pill {
  padding: 0.35rem 0.65rem;
  background: #f1f5f9;
  border-radius: 4px;
  font-size: 0.8125rem;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.15s ease;
}

.seo-category-pill:hover {
  background: #e2e8f0;
  color: var(--accent);
}

@media (max-width: 900px) {
  .seo-content-grid {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .seo-hero-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .seo-hero-section {
    padding: 1.75rem 0 1.25rem;
  }
  .seo-hero-title {
    font-size: 1.45rem;
    line-height: 1.25;
    margin-bottom: 0.65rem;
  }
  .seo-hero-lead {
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 1rem;
  }
  .seo-badges-strip {
    gap: 0.4rem;
    margin-bottom: 1rem;
  }
  .seo-badge-pill {
    font-size: 0.72rem;
    padding: 0.25rem 0.55rem;
  }
  .seo-content-block {
    padding: 1.5rem 0;
  }
  .seo-content-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .seo-article h2 {
    font-size: 1.2rem;
    margin: 1.25rem 0 0.5rem;
  }
  .seo-article p {
    font-size: 0.85rem;
    line-height: 1.6;
  }
  .seo-sidebar-card {
    padding: 1rem;
    border-radius: 8px;
  }
  .btn-hero-call,
  .btn-hero-directions {
    width: 100%;
    justify-content: center;
    font-size: 0.875rem;
    padding: 0.6rem 1rem;
    min-height: 44px;
  }
}
