/* DProfiz - Industrial Precision Theme */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Barlow:wght@300;400;500;600&family=Barlow+Condensed:wght@400;600;700&display=swap');

:root {
  --primary: #ffffff;
  --secondary: #f8fafc;
  --accent: #16a34a; /* Brand Green */
  --accent2: #14532d; /* Deep Forest Green */
  --steel: #f0fdf4; /* Eco Mint */
  --ice: #86efac; /* Light Emerald */
  --text: #0f172a;
  --text-muted: #64748b;
  --white: #ffffff;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;
  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 12px 40px rgba(22, 163, 74, 0.12);
  --radius: 12px;
}

/* ── DARK MODE VARIABLES ── */
.dark-mode {
  --primary: #020617;
  --secondary: #020617;
  --accent: #22c55e;
  --accent2: #15803d;
  --steel: #0f172a;
  --ice: #4ade80;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --white: #ffffff;
  --card-bg: rgba(15, 23, 42, 0.8);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 12px 50px rgba(34, 197, 94, 0.15);
  --hero-bg: radial-gradient(circle at top right, #064e3b 0%, #020617 100%);
}


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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--primary);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

section, .section, header, footer {
  transition: background 0.3s ease, border-color 0.3s ease;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--secondary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.8rem); }

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--ice); }

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

/* ── LAYOUT ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }


/* ── HEADER ── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.dark-mode .header {
  background: rgba(15, 23, 42, 0.95);
}

/* ── THEME & LANG SELECTORS ── */
.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  background: var(--steel);
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition);
}

.theme-toggle:hover {
  background: var(--accent);
  color: #fff;
}

.lang-selector {
  background: var(--steel);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  font-family: var(--font-condensed);
  transition: var(--transition);
}

/* ── SCROLL TO TOP ── */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  border: none;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
  background: var(--accent2);
}


.dark-mode .category-card:hover, .dark-mode .product-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
  transform: translateY(-8px);
}

.dark-mode .hero-title {
  text-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

.dark-mode .btn-primary {
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.dark-mode .btn-primary:hover {
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

.header-top {
  background: var(--secondary);
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}


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

.header-top a { color: var(--text-muted); font-size: 13px; }
.header-top a:hover { color: var(--accent); }
.header-top span { display: flex; align-items: center; gap: 6px; }

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), #15803d);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.08em;
}

.logo-tagline {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-condensed);
}

.nav { display: flex; align-items: center; gap: 32px; }

.nav a {
  font-family: var(--font-condensed);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  padding-bottom: 4px;
}

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

.nav a:hover, .nav a.active { color: var(--accent); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

/* ── DROPDOWN ── */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  cursor: pointer;
  padding-right: 18px !important;
}

.dropdown-content {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--card-bg);
  min-width: 240px;
  box-shadow: var(--shadow-hover);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1001;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.nav-dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
  padding: 12px 24px !important;
  color: var(--text) !important;
  font-size: 14px !important;
  text-transform: none !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center;
  gap: 10px;
  text-align: left;
  border-bottom: none !important;
  letter-spacing: 0.02em !important;
  transition: all 0.2s ease;
}

.dropdown-content a::after { display: none !important; }

.dropdown-content a:hover {
  background: var(--steel);
  color: var(--accent) !important;
  padding-left: 30px !important;
}

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

.btn-cart {
  position: relative;
  background: var(--steel);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

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

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--accent2);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-condensed);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #15803d);
  color: var(--primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 196, 255, 0.35);
  color: var(--primary);
}

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

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

.btn-orange {
  background: var(--accent2);
  color: white;
}

.btn-orange:hover {
  background: #e05d00;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.35);
  color: white;
}

.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-block { width: 100%; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--hero-bg, linear-gradient(135deg, var(--white) 0%, #e8f4f8 100%));
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22,197,94,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,197,94,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero-bg-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 154, 204, 0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.hero-bg-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 98, 143, 0.08) 0%, transparent 70%);
  bottom: -50px;
  left: 100px;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(22,197,94,0.1);
  border: 1px solid rgba(22,197,94,0.3);
  padding: 6px 16px;
  border-radius: 100px;
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  margin-bottom: 20px;
  color: var(--text);
}

.hero-title span {
  color: var(--accent);
  display: block;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
  font-family: var(--font-condensed);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  height: 500px;
}

.hero-product-card {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow-hover);
}

.hero-product-card:nth-child(1) {
  width: 280px;
  top: 20px;
  right: 0;
  animation: float1 6s ease-in-out infinite;
}

.hero-product-card:nth-child(2) {
  width: 240px;
  bottom: 80px;
  left: 20px;
  animation: float2 8s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(0deg); }
}

.hero-prod-tag {
  font-family: var(--font-condensed);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.hero-prod-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.hero-prod-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent2);
}

.hero-prod-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 60px; }

.section-tag {
  display: inline-block;
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title { color: var(--text); margin-bottom: 16px; }
.section-desc { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 17px; }

/* ── CATEGORIES ── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.category-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22,197,94,0.05), transparent);
  opacity: 0;
  transition: var(--transition);
}

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

.category-icon { font-size: 48px; margin-bottom: 16px; }

.category-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.category-count { font-size: 13px; color: var(--accent); font-family: var(--font-condensed); }

/* ── PRODUCT CARDS ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.product-img-wrap {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, var(--secondary), var(--steel));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-img-placeholder { font-size: 72px; opacity: 0.5; }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent2);
  color: white;
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

.product-badge.featured { background: var(--accent); color: var(--primary); }

.product-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.product-cat {
  font-family: var(--font-condensed);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.product-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  flex: 1;
}

.product-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.product-price {
  display: flex;
  flex-direction: column;
}

.price-main {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent2);
}

.price-original {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.sku-label { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }

/* ── FEATURES STRIP ── */
.features-strip {
  background: var(--secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.features-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.feature-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.feature-desc { font-size: 13px; color: var(--text-muted); }

/* ── ABOUT SECTION ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-placeholder {
  font-size: 120px;
  opacity: 0.15;
}

.about-accent-box {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(22,197,94,0.1);
  border: 1px solid rgba(22,197,94,0.3);
  border-radius: 6px;
  padding: 20px;
}

.about-content p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.7; }

.about-list { list-style: none; margin: 24px 0; }
.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.about-list li:last-child { border-bottom: none; }
.about-list li::before {
  content: '→';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── CONTACT FORM ── */
.contact-section { background: var(--secondary); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(22,197,94,0.1);
  border: 1px solid rgba(22,197,94,0.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-label { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; font-family: var(--font-condensed); text-transform: uppercase; letter-spacing: 0.1em; }
.contact-value { color: var(--text); font-size: 15px; }

.form-group { margin-bottom: 20px; }
.form-label { display: block; font-family: var(--font-condensed); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }

.form-control {
  width: 100%;
  background: var(--primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition);
  outline: none;
}

.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(22,197,94,0.1); }

textarea.form-control { min-height: 140px; resize: vertical; padding: 16px 18px; }

select.form-control { cursor: pointer; }
select.form-control option { background: var(--secondary); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── FOOTER ── */
/* Table Styles to un-cramp */
.table-wrap { overflow-x: auto; width: 100%; border-radius: 8px; border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; background: var(--card-bg); text-align: left; }
th, td { padding: 18px 20px; border-bottom: 1px solid var(--border); font-size: 14px; }
th { background: var(--steel); font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--text); padding: 16px 20px; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(22,197,94,0.02); }

.footer {
  background: #050d1a;
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p { color: var(--text-muted); font-size: 14px; margin: 16px 0 24px; line-height: 1.7; }

.footer-socials { display: flex; gap: 12px; }

.social-btn {
  width: 36px;
  height: 36px;
  background: var(--steel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 16px;
  transition: var(--transition);
}

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

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 14px; }
.footer-links a:hover { color: var(--accent); padding-left: 6px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ── CART PANEL ── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-panel {
  position: fixed;
  top: 0;
  right: -440px;
  width: 420px;
  height: 100vh;
  background: var(--secondary);
  border-left: 1px solid var(--border);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.cart-panel.open { right: 0; }

.cart-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 { font-family: var(--font-display); font-size: 20px; color: var(--text); }

.btn-close-cart {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition);
  padding: 4px;
}

.btn-close-cart:hover { color: var(--error); }

.cart-items { flex: 1; padding: 24px; overflow-y: auto; }

.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  background: var(--card-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.cart-item-info { flex: 1; }
.cart-item-name { font-size: 15px; color: var(--text); margin-bottom: 4px; font-family: var(--font-display); font-weight: 600; }
.cart-item-price { font-size: 14px; color: var(--accent); }

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  background: var(--steel);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.qty-btn:hover { background: var(--accent); color: var(--primary); }
.qty-display { font-family: var(--font-display); font-size: 16px; font-weight: 600; min-width: 24px; text-align: center; }

.btn-remove-item { background: none; border: none; color: var(--text-muted); font-size: 18px; cursor: pointer; padding: 4px; transition: var(--transition); }
.btn-remove-item:hover { color: var(--error); }

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.cart-summary-row.total {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.cart-summary-row.total span:last-child { color: var(--accent2); }

/* ── TOAST ── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  min-width: 300px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInToast 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--error); }
.toast.info { border-left: 3px solid var(--accent); }

@keyframes slideInToast {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--secondary);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-family: var(--font-condensed);
  font-size: 14px;
}

.breadcrumb-list li { display: flex; align-items: center; gap: 8px; }
.breadcrumb-list li:not(:last-child)::after { content: '/'; color: var(--text-muted); }
.breadcrumb-list a { color: var(--text-muted); }
.breadcrumb-list a:hover { color: var(--accent); }
.breadcrumb-list li:last-child { color: var(--text); }

/* ── PAGINATION ── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-family: var(--font-condensed);
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

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

/* ── FILTERS BAR ── */
.filters-bar {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 32px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-select {
  background: var(--primary);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-family: var(--font-condensed);
  font-size: 14px;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.filter-select:focus { border-color: var(--accent); }
.filter-select option { background: var(--primary); }

.search-box {
  flex: 1;
  min-width: 200px;
  display: flex;
  gap: 0;
}

.search-input {
  flex: 1;
  background: var(--primary);
  border: 1px solid var(--border);
  border-right: none;
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius) 0 0 var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.search-input:focus { border-color: var(--accent); }

.search-btn {
  background: var(--accent);
  border: none;
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
}

.search-btn:hover { background: var(--ice); }

/* ── MOBILE MENU ── */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

.empty-state-icon { font-size: 64px; margin-bottom: 20px; opacity: 0.5; }
.empty-state h3 { color: var(--text); margin-bottom: 8px; }

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal { transform: scale(1); }

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 { font-family: var(--font-display); color: var(--text); font-size: 20px; }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; gap: 12px; justify-content: flex-end; }

/* ── BADGE / TAG ── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 2px;
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag-accent { background: rgba(22,197,94,0.15); color: var(--accent); }
.tag-orange { background: rgba(255,107,0,0.15); color: var(--accent2); }
.tag-success { background: rgba(0,230,118,0.15); color: var(--success); }
.tag-warning { background: rgba(255,179,0,0.15); color: var(--warning); }
.tag-error { background: rgba(255,61,61,0.15); color: var(--error); }

/* ── PRODUCT DETAIL ── */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.products-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 100px;
}

.product-main-img {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
  margin-bottom: 16px;
  overflow: hidden;
}

.product-main-img img { width: 100%; height: 100%; object-fit: contain; }

.product-info-panel { padding: 4px 0; }

.product-detail-price {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent2);
  margin: 16px 0;
}

.product-specs {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 24px 0;
}

.specs-header {
  background: var(--steel);
  padding: 12px 20px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.specs-row {
  display: flex;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.specs-row:last-child { border-bottom: none; }
.specs-key { color: var(--text-muted); width: 180px; flex-shrink: 0; font-family: var(--font-condensed); text-transform: uppercase; font-size: 12px; letter-spacing: 0.08em; padding-top: 1px; }
.specs-val { color: var(--text); flex: 1; }

/* ── CHECKOUT ── */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

.checkout-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.checkout-card-header {
  background: var(--steel);
  padding: 16px 24px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-card-body { padding: 32px; }

.order-summary-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.order-summary-item:last-child { border-bottom: none; }
.order-item-name { color: var(--text); }
.order-item-price { color: var(--accent2); font-family: var(--font-display); font-weight: 600; }

/* ── ENQUIRY SECTION ── */
.enquiry-section {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}

.enquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.enquiry-info .section-title { color: var(--text); }

.enquiry-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.enquiry-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.enquiry-form-wrap .checkout-card {
  margin: 0;
}

/* ── AUTH PAGES ── */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
}
.alert-error {
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.3);
  color: #ff6b6b;
}
.alert-success {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.3);
  color: #28a745;
}

/* btn-ghost if not defined */
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--steel);
  color: var(--text);
  border-color: var(--steel);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .features-strip .container { grid-template-columns: 1fr 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .enquiry-grid { grid-template-columns: 1fr; }
  .products-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { 
    display: none; 
    flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,22,40,0.98); 
    backdrop-filter: blur(10px);
    z-index: 9999;
    justify-content: center; align-items: center;
    gap: 32px; padding: 40px;
  }
  .nav.mobile-open { display: flex; }
  .mobile-menu-btn { display: block; font-size: 24px; color: var(--text); z-index: 10001; }
  .header-main .container { padding: 12px 16px; gap: 12px; }
  .logo-name { font-size: 18px; }
  .logo-tagline { font-size: 8px; }
  .btn-cart { padding: 8px 12px; font-size: 12px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; justify-content: center; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .products-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .features-strip .container { grid-template-columns: 1fr; gap: 20px; }
  .cart-panel { width: 100%; right: -100%; max-width: 100%; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-gallery { position: static; }
  .enquiry-grid { grid-template-columns: 1fr; gap: 32px; }
  .checkout-card-body { padding: 20px; }
  .checkout-grid { gap: 24px; }
}

@media (max-width: 480px) {
  .header-top { display: none; }
  .logo-text { display: none; } /* Hide tagline on very small phones to save space */
  .logo img { height: 32px !important; }
}

