.hidden { display: none; }
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial; max-width:600px; margin:0 auto; background:#fff; color:#333; line-height:1.4; }
:root { --accent:#0071e3; }

header.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid #eaeaea;
}

.logo {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 0.6;
}

.logo-main,
.logo-sub {
  display: block;
  margin: 0;
  padding: 0;
}

nav a { margin-left:1rem; text-decoration:none; color:#333; font-size:.9rem; }
nav a:hover { color:#777; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: flex-end;
  flex: 1;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #777;
}

.hero {
  background: linear-gradient(135deg, #ffecd2, #fcb69f);
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 12px;
  margin: 2rem 1rem;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #222;
}

.hero p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.btn {
  background:var(--accent);
  color:#fff;
  padding:.7rem 1.4rem;
  border:none;
  border-radius:6px;
  font-size:1rem;
  cursor:pointer;
  text-decoration:none;
  transition:background .3s;
}

.btn:hover { background:#005bb8; }

.btn-secondary {
  background:#ccc;
  color:#333;
}

.btn-secondary:hover { background:#bbb; }

section { padding:2rem 1rem; }

.vacuum {
  text-align:center;
  background:#f9f9f9;
}

.vacuum h2 {
  font-size:1.6rem;
  margin-bottom:.5rem;
}

.vacuum p {
  max-width:500px;
  margin:0 auto 1.5rem;
  color:#555;
}

.vacuum img {
  width:100%;
  max-width:500px;
  border-radius:8px;
  margin:0 auto 1rem;
  display:block;
}

.vacuum .sub {
  color:#555;
  font-size:.9rem;
  margin-bottom:1.5rem;
}

.menu h2 {
  text-align:center;
  font-size:1.5rem;
  margin-bottom:1.5rem;
}

.cards {
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:1.5rem;
}

@media(min-width:992px){
  .cards { grid-template-columns:repeat(3,1fr); }
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.card img {
  width:100%;
  display:block;
}

.card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  padding: 1rem;
  text-align: center;
}

.card-content h3 {
  font-size:1.1rem;
  margin-bottom:.5rem;
}

.card-content p {
  color:#555;
  font-size:.9rem;
  margin-bottom:.3rem;
}

.card-content .sub {
  color:#777;
  font-size:.85rem;
  margin-bottom:.5rem;
}

.price {
  font-weight:bold;
  margin-bottom:1rem;
}

.cart-panel {
  background: #fff;
  padding: 1.5rem;
  margin: 2rem 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
}

.cart-items {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 1rem;
  text-align: left;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  gap: 0.75rem;
  align-items: center;
}

.cart-total {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

#order-btn { width:100%; }

.modal {
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.5);
  justify-content:center;
  align-items:center;
}

.modal-content {
  background:#fff;
  padding:1.5rem;
  border-radius:8px;
  text-align:center;
  width:90%;
  max-width:520px;
  position:relative;
}

.close {
  position:absolute;
  top:1rem;
  right:1rem;
  cursor:pointer;
  font-size:1.2rem;
}

.modal-content input,
.modal-content select {
  width:100%;
  padding:.5rem;
  margin:.5rem 0;
  border:1px solid #ddd;
  border-radius:6px;
}

#qr-code {
  width:200px;
  height:200px;
  margin:1rem auto;
}

.contact-section {
  text-align: center;
  padding: 2rem 1rem;
  background: #f7f7f7;
  border-radius: 8px;
  margin: 2rem 1rem;
}

.contact-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #0071e3;
}

.contact-section p {
  font-size: 1rem;
  color: #444;
}

.footer {
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  border-top: 1px solid #eaeaea;
  padding: 1rem;
  margin-top: 3rem;
}

.home-gallery {
  padding: 2rem 1rem;
  background: #fefefe;
}

.home-gallery .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.home-gallery .gallery img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  height: 140px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.home-gallery .gallery img:hover {
  transform: scale(1.03);
}

.btn-qty,
.btn-remove {
  border: none;
  background: #f0f0f0;
  border-radius: 6px;
  padding: 0.3rem 0.55rem;
  cursor: pointer;
  margin-left: 0.25rem;
}

.btn-qty:hover,
.btn-remove:hover {
  background: #e2e2e2;
}
