:root{
  --bg:#f7f9fb;
  --card:#ffffff;
  --accent:#007acc;
  --muted:#6b7280;
  --radius:10px;
  --wrap:1100px;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;background:var(--bg);color:#0f1724;line-height:1.45}

.wrap{max-width:var(--wrap);margin:0 auto;padding:40px 20px}

.site-header{background:#fff;border-bottom:1px solid #e6eef6}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:12px 20px}
.brand{display:flex;align-items:center;gap:12px}
.brand h1{margin:0;font-size:18px}
.brand small{display:block;color:var(--muted);font-size:12px}
.logo{width:44px;height:44px;border-radius:6px}

.nav a{margin-right:14px;color:var(--muted);text-decoration:none}
.nav .btn{vertical-align:middle}

/* Hero */
.hero{background:linear-gradient(180deg, rgba(0,122,204,0.06), transparent);padding:48px 0;border-radius:12px;margin:24px 0}
.hero-inner{display:flex;gap:24px;align-items:center;justify-content:space-between}
.hero-text{flex:1}
.hero-text h2{font-size:32px;margin:0 0 10px}
.hero-text p{color:var(--muted);margin:0 0 16px}
.hero-visual img{max-width:100%;border-radius:8px;box-shadow:0 8px 24px rgba(12,25,40,0.06)}

/* Buttons */
.btn{background:var(--accent);color:#fff;padding:10px 16px;border-radius:8px;border:0;cursor:pointer;font-weight:600}
.btn:hover{opacity:0.95}
.btn-ghost{background:transparent;border:1px solid rgba(0,0,0,0.06);color:var(--accent);padding:8px 12px}
.btn-sm{padding:6px 10px;font-size:14px;border-radius:6px}

/* Features */
.features{padding:32px 0}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.feature{background:var(--card);padding:18px;border-radius:10px;box-shadow:0 6px 18px rgba(12,25,40,0.04)}
.feature h4{margin:0 0 8px}
.muted{color:var(--muted)}

/* Products */
.products-section{padding:36px 0}
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.product-card{background:var(--card);border-radius:12px;overflow:hidden;box-shadow:0 6px 18px rgba(12,25,40,0.04)}
.product-card img{width:100%;height:180px;object-fit:cover}
.product-body{padding:14px}
.product-meta{display:flex;align-items:center;justify-content:space-between}

/* Testimonials */
.testimonials{padding:30px 0}
.testimonials blockquote{background:#fff;padding:18px;border-radius:10px;box-shadow:0 6px 18px rgba(12,25,40,0.04)}

/* Contact */
.contact{display:grid;grid-template-columns:1fr 320px;gap:24px;padding:36px 0}
.contact-form label{display:block;margin-bottom:12px}
.contact-form input,.contact-form textarea{width:100%;padding:10px;border-radius:8px;border:1px solid #e6eef6}
.form-actions{display:flex;gap:8px}

/* Footer */
.site-footer{padding:24px 0;text-align:center;color:var(--muted)}

/* Modal */
.modal{position:fixed;inset:0;background:rgba(3,7,18,0.5);display:flex;align-items:center;justify-content:center;padding:20px;z-index:1000}
.modal.hidden{display:none}
.modal-content{background:#fff;width:90%;max-width:980px;border-radius:12px;display:flex;overflow:hidden}
.modal-left img{width:100%;height:100%;object-fit:cover}
.modal-left{flex:1;min-height:320px}
.modal-right{width:380px;padding:20px}
.modal-close{position:absolute;right:26px;top:24px;background:transparent;border:0;font-size:26px;cursor:pointer}

/* Cart panel */
.cart-panel{position:fixed;right:0;top:0;height:100%;width:360px;background:#fff;box-shadow:-12px 0 36px rgba(2,6,23,0.12);z-index:1100;padding:18px}
.cart-panel.hidden{display:none}
.cart-items{list-style:none;padding:0;margin:12px 0;max-height:55vh;overflow:auto}
.cart-items li{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px dashed #eef3fb}
.cart-footer{margin-top:12px;display:flex;justify-content:space-between;align-items:center;gap:10px}

/* Responsive */
@media (max-width:900px){
  .feature-grid{grid-template-columns:1fr}
  .product-grid{grid-template-columns:1fr}
  .hero-inner{flex-direction:column}
  .contact{grid-template-columns:1fr}
  .modal-right{width:100%;padding:16px}
}
.center-header {
  background: #fff;
  border-bottom: 1px solid #e6eef6;
  text-align: center;
  padding: 20px 0;
}

.header-inner-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 200px; /* adjust size — smaller or larger */
  height: auto;
  margin-bottom: 10px;
}

.tagline {
  color: #6b7280;
  font-size: 14px;
  margin-top: 4px;
}
/* New header layout */
.new-header {
  background: #fff;
  border-bottom: 1px solid #e6eef6;
  padding: 15px 0;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-left,
.header-right {
  flex: 1;
  text-align: center;
}

.header-left {
  text-align: left;
}

.header-right {
  text-align: right;
}

.header-center {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;

}

.brand-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f1724;
  margin: 0;
}

.tagline {
  color: #6b7280;
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}
@media (max-width: 700px) {
  .header-flex {
    flex-direction: column;
    gap: 10px;
  }

  .header-left, .header-right {
    text-align: center;
  }

  .logo {
    width: 100px;
  }
.product-meta .actions { display:flex; gap:8px; }
.cart-items .item { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px dashed #eef3fb; }
.item-info { display:flex; flex-direction:column; }
.item-title { font-weight:600; }
.item-price { color:#6b7280; font-size:14px; }
.qty-controls { display:flex; align-items:center; gap:8px; }
.qty-btn { border:1px solid #e5e7eb; background:#fff; border-radius:6px; padding:4px 10px; cursor:pointer; }
.remove-btn { background:transparent; border:0; color:#ef4444; cursor:pointer; }
.cart-footer .total { font-weight:700; }

}

