/* ============================================
   LANNING BIOTECHNOLOGY - English Corporate Website
   Style: White Minimalist / Blue Primary
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #1a5de8;
  --primary-dark: #1349b8;
  --primary-light: #e8f0fe;
  --accent: #00b386;
  --text: #222;
  --text-light: #666;
  --text-lighter: #999;
  --bg: #fff;
  --bg-light: #f7f9fc;
  --bg-dark: #0d1b3e;
  --border: #e5e9ef;
  --shadow: 0 2px 16px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
  --max-width: 1280px;
  --header-h: 72px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ---------- Utility ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text);
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 17px;
  margin-bottom: 48px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--primary);
}
.btn-white:hover { background: #f0f0f0; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--primary);
}
.logo-icon {
  width: 40px; height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
}
.logo span { color: var(--text); }

/* Navigation */
.nav { display: flex; align-items: center; gap: 4px; }
.nav-item {
  position: relative;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-item:hover, .nav-item.active { color: var(--primary); background: var(--primary-light); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 100;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}
.dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-light);
  border-radius: 6px;
  transition: var(--transition);
}
.dropdown a:hover { background: var(--primary-light); color: var(--primary); }

/* Mobile toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Header CTA */
.header-cta {
  padding: 8px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.header-cta:hover { background: var(--primary-dark); }

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 80px;
  background: linear-gradient(135deg, #f0f6ff 0%, #e8f0fe 50%, #f7f9fc 100%);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content { max-width: 560px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-title span { color: var(--primary); }
.hero-desc {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image .img-placeholder {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 80px;
  box-shadow: var(--shadow-lg);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stat strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
}
.hero-stat span {
  font-size: 14px;
  color: var(--text-light);
}

/* ---------- About Preview ---------- */
.about-preview .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image .img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  border: 2px dashed var(--border);
}
.about-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}
.about-content p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 20px;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
}
.about-feature .icon {
  width: 36px; height: 36px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* ---------- Products Preview ---------- */
.products-preview { background: var(--bg-light); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-card-img {
  aspect-ratio: 1;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--primary-light);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-detail-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  min-height: 300px;
}
.product-detail-img img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.product-card-body { padding: 20px; }
.product-card-category {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.product-card-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
  color: var(--text);
}
.product-card-meta {
  font-size: 13px;
  color: var(--text-lighter);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.product-card-meta span { display: flex; align-items: center; gap: 4px; }

/* ---------- Categories ---------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.category-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.category-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.category-icon {
  width: 64px; height: 64px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}
.category-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.category-card p {
  font-size: 14px;
  color: var(--text-light);
}

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.news-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.news-card-img {
  aspect-ratio: 16/9;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--text-lighter);
}
.news-card-body { padding: 20px; }
.news-date {
  font-size: 13px;
  color: var(--text-lighter);
  margin-bottom: 8px;
}
.news-card h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
}
.news-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---------- Partners ---------- */
.partners { background: var(--bg-light); }
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  align-items: center;
}
.partner-logo {
  width: 160px;
  height: 72px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-lighter);
  transition: var(--transition);
}
.partner-logo:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- CTA Section ---------- */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
  color: #fff;
  text-align: center;
}
.cta h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}
.cta p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
}
.cta .btn { background: #fff; color: var(--primary); }
.cta .btn:hover { background: #f0f0f0; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo, .footer-brand .logo span { color: #fff; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); }
.footer h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  font-size: 14px;
  transition: var(--transition);
}
.footer-links a:hover { color: #fff; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 14px;
}
.footer-contact .icon { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ---------- Products Page ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 40px;
  background: var(--bg-light);
  text-align: center;
}
.page-hero h1 { font-size: 40px; font-weight: 700; margin-bottom: 12px; }
.page-hero p { font-size: 17px; color: var(--text-light); }

.products-page { background: #fff; }
.products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 40px 0 80px;
}
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
.sidebar h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.category-list li { margin-bottom: 4px; }
.category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-light);
  border-radius: var(--radius);
  transition: var(--transition);
}
.category-list a:hover, .category-list a.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 500;
}
.category-list a .count {
  font-size: 12px;
  background: var(--bg-light);
  padding: 2px 8px;
  border-radius: 100px;
}
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 16px;
  background: #fff;
  min-width: 280px;
}
.search-box input {
  border: none;
  outline: none;
  font-size: 14px;
  width: 100%;
  background: transparent;
}
.products-count { font-size: 14px; color: var(--text-light); }
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.pagination a:hover, .pagination .active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ---------- Product Detail ---------- */
.product-detail-page { padding-top: calc(var(--header-h) + 40px); padding-bottom: 80px; }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.product-detail-img {
  aspect-ratio: 1;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: var(--primary-light);
  border: 1px solid var(--border);
}
.product-detail-info h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}
.product-detail-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
}
.meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.meta-row .label { color: var(--text-light); }
.meta-row .value { font-weight: 600; }
.product-detail-desc {
  color: var(--text-light);
  line-height: 1.9;
  margin: 24px 0;
}
.product-detail-actions { display: flex; gap: 12px; margin-top: 32px; }

/* ---------- About Page ---------- */
.about-page { padding-top: calc(var(--header-h) + 40px); }
.about-hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}
.about-hero h1 { font-size: 40px; font-weight: 700; margin-bottom: 16px; }
.about-hero p { font-size: 17px; color: var(--text-light); line-height: 1.9; }
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 60px 0;
}
.value-card {
  background: var(--bg-light);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
}
.value-card .icon {
  width: 56px; height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}
.value-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-light); }

/* ---------- Contact Page ---------- */
.contact-page { padding-top: calc(var(--header-h) + 40px); padding-bottom: 80px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info h2 { font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.contact-info > p { color: var(--text-light); line-height: 1.9; margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item .icon {
  width: 48px; height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--text-light); }

/* Contact Form */
.contact-form {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--radius-lg);
}
.contact-form h3 { font-size: 24px; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Admin Login ---------- */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
}
.admin-login-box {
  background: #fff;
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 420px;
}
.admin-login-box h1 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 8px;
}
.admin-login-box p {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 32px;
}
.admin-login .form-group { margin-bottom: 20px; }
.admin-login .btn { width: 100%; justify-content: center; padding: 14px; }

/* ---------- Admin Dashboard ---------- */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: var(--bg-dark);
  color: #fff;
  padding: 24px 0;
}
.admin-sidebar .logo { padding: 0 24px 24px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 24px; }
.admin-sidebar .logo, .admin-sidebar .logo span { color: #fff; }
.admin-nav { padding: 0 12px; }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  border-radius: var(--radius);
  transition: var(--transition);
  margin-bottom: 4px;
}
.admin-nav a:hover, .admin-nav a.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.admin-main { background: var(--bg-light); }
.admin-header {
  background: #fff;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.admin-header h1 { font-size: 22px; font-weight: 700; }
.admin-content { padding: 32px; }

/* Admin Stats */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.stat-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.stat-card h3 {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 8px;
}
.stat-card .num { font-size: 32px; font-weight: 800; color: var(--primary); }

/* Admin Table */
.admin-table {
  width: 100%;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.admin-table th {
  background: var(--bg-light);
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.admin-table td {
  padding: 14px 16px;
  font-size: 14px;
  border-top: 1px solid var(--border);
}
.admin-table tr:hover { background: var(--bg-light); }
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}
.badge-blue { background: var(--primary-light); color: var(--primary); }
.badge-green { background: #e6f9f0; color: var(--accent); }
.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 6px;
  font-weight: 500;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image { display: none; }
  .about-preview .container { grid-template-columns: 1fr; }
  .about-image { order: -1; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .products-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .about-values { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
  .nav-open .nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .hero-title { font-size: 32px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 26px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .about-values { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 26px; }
  .hero-stats { flex-direction: column; gap: 20px; align-items: center; }
  .product-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}
