:root{
  --container:1100px;
  --muted:#6b6b6b;
  --brand:#0b2a66;
  --bg:#ffffff;
  --card-border:#ececec;
  --radius:10px;
  --gap:18px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color-scheme: light;
}

*{box-sizing:border-box}
html,body{height:100%;margin:0;background:var(--bg);color:#111}
.container{max-width:var(--container);margin:0 auto;padding:0 18px}
.site-header{background:#fff;border-bottom:1px solid #f0f0f0}
.site-header .container{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.logo{font-weight:700;text-decoration:none;color:var(--brand);font-size:18px}
.nav a{margin-left:18px;text-decoration:none;color:#333;font-size:14px}
.nav a.active{font-weight:600;color:var(--brand)}

/* Hero */
.hero{position:relative;overflow:hidden;border-bottom:1px solid #f5f5f5}
.hero-img{width:100%;height:320px;object-fit:cover;display:block}
.hero-content{position:absolute;left:28px;bottom:28px;color:#fff;text-shadow:0 6px 18px rgba(0,0,0,0.35)}
.hero-content h1{margin:0;font-size:28px;line-height:1.05}
.hero-content p{margin:6px 0 0;font-size:15px}

/* Filters */
.product-filters{display:flex;gap:10px;padding:20px 0;align-items:center;flex-wrap:wrap}
.filter-btn{
  padding:8px 14px;border:1px solid var(--card-border);
  background:#fff;border-radius:8px;cursor:pointer;font-size:14px;
  transition:all .12s ease;
}
.filter-btn.active{background:var(--brand);color:#fff;border-color:var(--brand)}

/* Product grid */
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--gap);padding:8px 0 48px}
.product-card{background:#fff;border:1px solid var(--card-border);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;min-height:100%}
.product-card img{width:100%;height:180px;object-fit:cover;display:block}
.card-body{padding:12px 14px;flex:1;display:flex;flex-direction:column;justify-content:flex-start}
.card-body h3{margin:0 0 8px;font-size:15px}
.muted{color:var(--muted);font-size:13px;margin:0}

/* Footer */
.site-footer{background:#fafafa;border-top:1px solid #f0f0f0;padding:18px 0;text-align:center;color:var(--muted);font-size:14px}

/* Accessibility focus */
.filter-btn:focus, .card-link:focus, .nav a:focus {outline:3px solid rgba(11,42,102,0.15);outline-offset:2px}

/* Responsive */
@media (max-width:1100px){
  .product-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:780px){
  .hero-img{height:220px}
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .hero-content{left:18px;bottom:18px}
}
@media (max-width:420px){
  .product-grid{grid-template-columns:repeat(1,1fr)}
  .hero-img{height:180px}
  .hero-content h1{font-size:20px}
}

/* --- SYNC WITH INDEX.HTML STYLE --- */

/* match global font family + weight */
body, .nav a, .filter-btn, .product-card h3, .hero-content h1, .hero-content p {
  font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
  color: #1b1b1b;
}

/* make nav identical to index */
.nav a {
  font-weight: 600;
  color: #1b1b1b;
  transition: color .15s ease;
}
.nav a:hover { color: #0b2a66; }

/* hero section sync */
.hero-content h1 {
  font-weight: 600;
  font-size: 36px;
  color: #04203a;
}
.hero-content p {
  color: #4a4a4a;
  font-weight: 400;
  max-width: 620px;
}

/* product cards to follow index visual rhythm */
.product-card {
  border-radius: 12px;
  border: 1px solid #eaeaea;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.product-card h3 {
  font-weight: 600;
  color: #04203a;
  margin-bottom: 6px;
}
.product-card .muted {
  font-weight: 400;
  color: #6b6b6b;
}

/* footer sync */
.site-footer {
  font-family: inherit;
  font-weight: 400;
  background: #f9f9f9;
  color: #444;
}
.site-footer .muted { color: #6b6b6b; }

/* responsive tweaks identical to index.html breakpoints */
@media (max-width: 991px) {
  .nav { display: none; }
  .nav.active { display: flex; flex-direction: column; background:#fff; position:absolute; top:70px; right:0; left:0; padding:20px; }
  .nav a { padding:10px 0; font-size:18px; }
  .hero-content h1 { font-size: 28px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 600px) {
  .hero-content h1 { font-size: 22px; }
  .hero-content p { font-size: 14px; }
  .product-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-card img { height: 160px; }
  .site-footer .footer-inner { flex-direction: column; text-align: center; gap: 8px; }
 
}
/* HERO READABILITY - move down, brand color headline, readable paragraph */
.hero { position: relative; overflow: hidden; }

/* subtle gradient over image to help contrast (optional, gentle) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 55%, rgba(255,255,255,0.7) 85%);
  pointer-events: none;
}

/* place the content lower and on a soft card */
.hero-content {
  position: absolute;
  left: 24px;
  bottom: 26px;            /* moved down */
  max-width: 720px;
  background: rgba(255,255,255,0.92); /* soft white panel for readability */
  padding: 18px 20px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(4,32,58,0.08);
  color: #222;             /* paragraph default color */
}

/* headline in Midea color and bolder */
.hero-content h1 {
  margin: 0 0 8px;
  color: #0b2a66;          /* Midea brand color */
  font-weight: 700;
  font-size: 34px;
  line-height: 1.05;
}

/* normal paragraph text (readable) */
.hero-content p {
  margin: 0;
  color: #222;
  font-weight: 400;
  font-size: 15px;
}

/* responsive tweaks so panel doesn't dominate small screens */
@media (max-width: 780px) {
  .hero-content {
    left: 14px;
    right: 14px;
    bottom: 18px;
    padding: 14px;
    max-width: none;
  }
  .hero-content h1 { font-size: 24px; }
  .hero-content p  { font-size: 14px; }
}
