/* ========================================
   LIFEDENT PAKISTAN - Main Stylesheet
   ======================================== */

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

:root {
  --navy: #1C3A72;
  --blue: #3C6FD1;
  --blue-dark: #2D55A8;
  --gold: #FFBD58;
  --cream: #FFF4E2;
  --white: #FFFFFF;
  --off-white: #F5F7FA;
  --gray-100: #E8ECF1;
  --gray-200: #CBD2DC;
  --gray-500: #6B7A8D;
  --gray-700: #3D4F63;
  --gray-900: #1A2332;
  --red: #E53E3E;
  --green: #38A169;
  --shadow-sm: 0 1px 3px rgba(28,58,114,0.08);
  --shadow-md: 0 4px 16px rgba(28,58,114,0.1);
  --shadow-lg: 0 8px 32px rgba(28,58,114,0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }

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

/* --- Typography --- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
p { color: var(--gray-700); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 600;
  border: none; cursor: pointer;
  transition: all var(--transition);
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #142D48; transform: translateY(-1px); color: var(--white); }
.btn-outline { background: transparent; border: 2px solid var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #E09600; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-danger { background: var(--red); color: var(--white); }
.btn-danger:hover { background: #C53030; }

/* --- Header / Navigation --- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo svg { height: 36px; width: auto; }
.logo-img { height: 52px; width: auto; display: block; margin-bottom: 2px; }
.logo-text { font-size: 1.3rem; font-weight: 800; color: var(--navy); letter-spacing: -0.5px; }
.logo-text span { color: var(--blue); }
.logo-sub { font-size: 0.65rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 2px; display: block; margin-top: -2px; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 0.9rem; font-weight: 500; color: var(--gray-700);
  position: relative; padding: 4px 0;
}
.nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--blue); transition: width var(--transition);
}
.nav a:hover, .nav a.active { color: var(--navy); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav .btn { padding: 10px 22px; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span {
  display: block; width: 24px; height: 2px; background: var(--navy);
  margin: 5px 0; transition: all var(--transition);
}

/* --- Hero Section --- */
.hero {
  padding: 140px 0 80px;
  background: var(--off-white);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-block;
  color: var(--blue); border-bottom: 2px solid var(--blue);
  padding-bottom: 6px; font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 24px;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 span { color: var(--blue); }
.hero p { font-size: 1.1rem; margin-bottom: 32px; max-width: 500px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image { position: relative; }
.hero-image img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--navy);
  padding: 40px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center;
}
.stat-item h3 { font-size: 2rem; color: var(--blue); margin-bottom: 4px; }
.stat-item p { color: rgba(255,255,255,0.7); font-size: 0.85rem; }

/* --- Section Styles --- */
.section { padding: 80px 0; }
.section-alt { background: var(--off-white); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-header p { margin-top: 12px; }
.section-tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--blue); margin-bottom: 12px;
}

/* --- Product Cards --- */
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px;
}
.product-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--gray-100);
  transition: all var(--transition);
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}
.product-card-image {
  height: 240px; overflow: hidden; background: var(--off-white);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.product-card-image img {
  max-height: 100%; width: auto; object-fit: contain;
}
.product-card-body { padding: 24px; }
.product-card-body .category {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; color: var(--blue); margin-bottom: 8px;
}
.product-card-body h3 { margin-bottom: 8px; }
.product-card-body p { font-size: 0.9rem; margin-bottom: 16px; 
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; border-top: 1px solid var(--gray-100);
}
.product-card-footer .brand { font-size: 0.8rem; color: var(--gray-500); }

/* --- Features Grid (Mission / Vision cards) --- */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px;
}
.feature-card {
  padding: 32px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--gray-100);
  transition: all var(--transition);
}
.feature-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.feature-card.cream { background: var(--cream); border-color: rgba(255,189,88,0.3); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: rgba(60,111,209,0.1); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.5rem;
}
.feature-card h4 { margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; }

/* --- Feature List (flat, non-card differentiator rows) --- */
.feature-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px;
}
.feature-row {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 26px 0; border-top: 1px solid var(--gray-100);
}
.feature-row:nth-child(1), .feature-row:nth-child(2) { border-top: none; padding-top: 0; }
.feature-row .feature-icon {
  width: 44px; height: 44px; border-radius: 10px; margin-bottom: 0;
}
.feature-row h4 { margin-bottom: 6px; }
.feature-row p { font-size: 0.9rem; }

/* --- About Section (Home) --- */
.about-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-split img { border-radius: var(--radius-lg); }

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0D2440 100%);
  padding: 80px 0; text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.7); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Contact Info --- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
.contact-info-list { list-style: none; display: flex; flex-direction: column; gap: 24px; }
.contact-info-list li {
  display: flex; gap: 16px; align-items: flex-start;
}
.contact-info-list .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(0,174,239,0.1); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.2rem;
}
.contact-info-list h4 { margin-bottom: 4px; }
.contact-info-list p { font-size: 0.9rem; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.form-group input, .form-group textarea, .form-group select {
  padding: 12px 16px; border: 1px solid var(--gray-200); border-radius: var(--radius);
  font-family: inherit; font-size: 0.95rem; transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,174,239,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* --- Team Section --- */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px;
}
.team-card {
  text-align: center; padding: 40px 32px; background: var(--white);
  border-radius: var(--radius-lg); border: 1px solid var(--gray-100);
}
.team-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  margin: 0 auto 20px; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--white); font-weight: 700;
}
.team-photo {
  width: 110px; height: 110px; border-radius: 50%;
  margin: 0 auto 20px; object-fit: cover;
  border: 3px solid var(--off-white);
}
.team-card h3 { margin-bottom: 4px; }
.team-card .role { color: var(--blue); font-size: 0.85rem; font-weight: 600; margin-bottom: 12px; }
.team-card p { font-size: 0.9rem; }

/* --- Footer --- */
.footer {
  background: var(--gray-900); padding: 60px 0 24px; color: rgba(255,255,255,0.7);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
.footer h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.footer p { font-size: 0.9rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.powered-by { color: rgba(255,255,255,0.4); font-size: 0.8rem; }
.powered-by a { color: rgba(255,255,255,0.5); transition: color 0.3s; }
.powered-by a:hover { color: #00AEEF; }

/* --- Page Header --- */
.page-header {
  padding: 120px 0 50px;
  background: linear-gradient(135deg, var(--navy) 0%, #0D2440 100%);
  text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.7); }

/* --- Product Detail Modal --- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 2000; display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--white); border-radius: var(--radius-lg);
  max-width: 700px; width: 100%; max-height: 85vh; overflow-y: auto;
  padding: 40px; position: relative;
}
.modal-close {
  position: absolute; top: 16px; right: 16px; background: none; border: none;
  font-size: 1.5rem; cursor: pointer; color: var(--gray-500); padding: 4px 8px;
}
.modal-close:hover { color: var(--navy); }
.modal img { border-radius: var(--radius); margin-bottom: 20px; }

/* ========================================
   ADMIN DASHBOARD — 2-Color Responsive
   ======================================== */

/* Login Screen */
.admin-login-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--off-white);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.admin-login-box {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px 36px; width: 100%; max-width: 400px;
  border: 1px solid var(--gray-100); box-shadow: var(--shadow-lg); text-align: center;
}
.admin-login-box img { height: 72px; width: auto; margin: 0 auto 18px; display: block; }
.admin-login-box h2 { margin-bottom: 6px; }
.admin-login-box > p { color: var(--gray-500); font-size: 0.875rem; margin-bottom: 24px; }
.admin-login-box .btn { justify-content: center; }

/* Layout */
.admin-layout { display: flex; min-height: 100vh; }

/* Mobile Top Bar */
.admin-mobile-bar {
  display: none; position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
  background: var(--navy); height: 60px; padding: 0 16px;
  align-items: center; justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.mobile-logo { display: flex; align-items: center; gap: 10px; }
.mobile-logo img { height: 30px; width: auto; filter: brightness(0) invert(1); }
.mobile-logo span { font-size: 0.95rem; font-weight: 700; color: var(--white); }
.sidebar-toggle-btn {
  background: none; border: none; cursor: pointer; padding: 8px;
  border-radius: 6px; display: flex; flex-direction: column; gap: 5px;
  transition: background var(--transition);
}
.sidebar-toggle-btn:hover { background: rgba(255,255,255,0.1); }
.sidebar-toggle-btn span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px; transition: all 0.3s;
}
.sidebar-toggle-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sidebar-toggle-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.sidebar-toggle-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Sidebar Overlay */
.sidebar-overlay {
  display: none; position: fixed; inset: 0; z-index: 1050;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(2px);
}
.sidebar-overlay.active { display: block; }

/* Sidebar */
.admin-sidebar {
  background: var(--navy); width: 260px; flex-shrink: 0;
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 1100;
  display: flex; flex-direction: column; overflow-y: auto;
  transition: transform 0.3s ease;
}
.admin-sidebar .logo-area {
  padding: 28px 24px 22px; border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.admin-sidebar .logo-area img {
  height: 84px; width: auto; margin: 0 auto 12px; display: block;
  filter: brightness(0) invert(1);
}
.logo-name { font-size: 1.05rem; font-weight: 700; color: var(--white); letter-spacing: -0.3px; }
.logo-name span { color: var(--blue); }
.logo-tag {
  font-size: 0.62rem; color: rgba(255,255,255,0.35);
  text-transform: uppercase; letter-spacing: 2px; display: block; margin-top: 3px;
}
.admin-nav { list-style: none; padding: 12px 0; flex: 1; }
.admin-nav li a {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 20px 13px 24px; border-left: 3px solid transparent;
  color: rgba(255,255,255,0.55); font-size: 0.875rem; font-weight: 500;
  transition: all var(--transition);
}
.admin-nav li a:hover { background: rgba(255,255,255,0.06); color: var(--white); }
.admin-nav li a.active {
  background: rgba(60,111,209,0.18); color: var(--white); border-left-color: var(--blue);
}
.nav-icon { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }
.admin-nav-footer { padding: 8px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.admin-logout-btn {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 13px 20px 13px 24px; background: none; border: none;
  color: rgba(255,255,255,0.45); font-size: 0.875rem; font-weight: 500;
  font-family: inherit; cursor: pointer; transition: all var(--transition); text-align: left;
}
.admin-logout-btn:hover { background: rgba(255,255,255,0.06); color: var(--white); }

/* Main */
.admin-main {
  margin-left: 260px; padding: 32px;
  background: var(--off-white); min-height: 100vh; flex: 1;
}

/* Topbar */
.admin-topbar {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 28px; flex-wrap: wrap; gap: 16px;
}
.admin-topbar h1 { font-size: 1.5rem; }
.topbar-sub { color: var(--gray-500); font-size: 0.85rem; margin-top: 2px; }

/* Stat Cards */
.admin-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px;
}
.admin-stat-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 22px 20px; border: 1px solid var(--gray-100);
  display: flex; align-items: center; gap: 16px; transition: all var(--transition);
}
.admin-stat-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue); transform: translateY(-1px); }
.admin-stat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(60,111,209,0.1); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.admin-stat-info .label {
  font-size: 0.72rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 1px;
}
.admin-stat-info .value { font-size: 1.8rem; font-weight: 700; color: var(--navy); line-height: 1.2; }

/* Table */
.admin-table-wrap {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100); overflow: hidden;
}
.admin-table-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; border-bottom: 1px solid var(--gray-100); flex-wrap: wrap; gap: 8px;
}
.admin-table-header h3 { font-size: 1rem; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left; padding: 11px 20px;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--gray-500); background: var(--off-white);
  border-bottom: 1px solid var(--gray-100); white-space: nowrap;
}
.admin-table td {
  padding: 14px 20px; border-bottom: 1px solid var(--gray-100);
  font-size: 0.875rem; vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(60,111,209,0.02); }
.product-thumb {
  width: 48px; height: 48px; border-radius: var(--radius);
  object-fit: cover; border: 1px solid var(--gray-100); background: var(--off-white); display: block;
}

/* Badge */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-active { background: rgba(56,161,105,0.12); color: #276749; }
.badge-draft { background: rgba(107,122,141,0.12); color: var(--gray-500); }

/* Form */
.admin-form-wrap {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100); padding: 28px;
}
.form-group .err { font-size: 0.75rem; color: var(--red); display: none; margin-top: 2px; }
.form-group .err.show { display: block; }
.form-group input.has-error, .form-group textarea.has-error {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(229,62,62,0.08);
}

/* Quick Actions */
.quick-actions { display: flex; gap: 10px; flex-wrap: wrap; padding: 20px 24px; }

/* Empty State */
.admin-empty { text-align: center; padding: 56px 24px; }
.admin-empty .empty-icon { font-size: 2.5rem; margin-bottom: 12px; }
.admin-empty h4 { color: var(--gray-700); margin-bottom: 6px; }
.admin-empty p { font-size: 0.875rem; color: var(--gray-500); }

/* Toast */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9000;
  padding: 12px 20px; border-radius: var(--radius); font-weight: 500;
  font-size: 0.875rem; color: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transform: translateY(120px); opacity: 0;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1); max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: #276749; }
.toast.error { background: #C53030; }
.toast.info { background: var(--navy); }

/* WhatsApp Float */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); color: white; }

/* ===== GENERAL RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid, .about-split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 120px 0 60px; }
  .hero-image { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .feature-list { grid-template-columns: 1fr; gap: 0; }
  .feature-row:nth-child(2) { border-top: 1px solid var(--gray-100); padding-top: 26px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav {
    display: none; position: fixed; top: 72px; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 24px;
    box-shadow: var(--shadow-lg); gap: 16px;
  }
  .nav.open { display: flex; }
  .mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ===== ADMIN RESPONSIVE ===== */
@media (max-width: 1100px) {
  .admin-sidebar { width: 230px; }
  .admin-main { margin-left: 230px; padding: 24px; }
}
@media (max-width: 768px) {
  .admin-mobile-bar { display: flex; }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); box-shadow: 8px 0 32px rgba(0,0,0,0.25); }
  .admin-main { margin-left: 0; padding: 76px 16px 24px; }
  .admin-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .admin-stat-card { padding: 16px 14px; gap: 12px; }
  .admin-stat-icon { width: 40px; height: 40px; font-size: 1.1rem; }
  .admin-stat-info .value { font-size: 1.5rem; }
  .admin-topbar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .admin-topbar h1 { font-size: 1.25rem; }
  /* Table → card view */
  .admin-table thead { display: none; }
  .admin-table tbody tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--gray-100); }
  .admin-table tbody tr:last-child { border-bottom: none; }
  .admin-table td {
    display: flex; align-items: center; gap: 10px;
    padding: 4px 0; border-bottom: none; font-size: 0.85rem;
  }
  .admin-table td::before {
    content: attr(data-label);
    font-size: 0.68rem; font-weight: 700; color: var(--gray-500);
    text-transform: uppercase; letter-spacing: 0.5px; min-width: 72px; flex-shrink: 0;
  }
  .admin-table td[data-label="Image"]::before { display: none; }
  .admin-table td:last-child { margin-top: 6px; }
  .admin-form-wrap { padding: 20px 16px; }
  .quick-actions { padding: 14px 16px; }
  .admin-login-box { padding: 32px 20px; }
}
@media (max-width: 480px) {
  .admin-stats { grid-template-columns: 1fr; }
  .admin-main { padding: 70px 12px 20px; }
}
