* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  color: #222;
  background: #f6f6f6;
  line-height: 1.5;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #111;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav a:hover {
  color: #f28c28;
}

.cart-button {
  background: #111;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: bold;
}

.cart-button span {
  background: #f28c28;
  color: #111;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 6px;
}

.hero {
  background: linear-gradient(135deg, #111, #333);
  color: white;
  padding: 90px 0;
}

.hero-inner {
  display: flex;
  align-items: center;
  min-height: 320px;
}

.hero-text {
  max-width: 580px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 28px;
  color: #e8e8e8;
}

.primary-button {
  display: inline-block;
  background: #f28c28;
  color: #111;
  border: none;
  padding: 14px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}

.primary-button:hover {
  background: #ff9f3f;
}

.products-section {
  padding: 70px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 36px;
}

.section-heading h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.section-heading p {
  color: #666;
}

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

.product-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.product-image {
  height: 190px;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-weight: bold;
}

.product-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.product-description {
  color: #666;
  font-size: 14px;
  margin-bottom: 14px;
  flex: 1;
}

.product-price {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 14px;
}

.add-to-cart {
  width: 100%;
  background: #111;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.add-to-cart:hover {
  background: #333;
}

.contact-section {
  padding: 70px 0;
}

.contact-box {
  background: white;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
}

.contact-box h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.contact-box p {
  color: #666;
  margin-bottom: 24px;
}

.contact-form {
  max-width: 520px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 92%;
  height: 100vh;
  background: white;
  z-index: 50;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  padding: 22px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.close-cart {
  background: none;
  border: none;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
}

.cart-item {
  border-bottom: 1px solid #eee;
  padding: 14px 0;
}

.cart-item h4 {
  margin-bottom: 6px;
}

.cart-item-price {
  color: #666;
  margin-bottom: 10px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity-controls button {
  width: 30px;
  height: 30px;
  border: none;
  background: #111;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

.remove-button {
  margin-left: auto;
  background: #e53935 !important;
}

.empty-cart {
  color: #666;
  text-align: center;
  margin-top: 40px;
}

.cart-footer {
  padding: 22px;
  border-top: 1px solid #eee;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 20px;
}

.checkout-button {
  width: 100%;
  background: #f28c28;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.checkout-button:hover {
  background: #ff9f3f;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 40;
  display: none;
}

.overlay.show {
  display: block;
}

.site-footer {
  background: #111;
  color: white;
  padding: 24px 0;
  text-align: center;
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    display: none;
  }
}

@media (max-width: 560px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 0;
  }

  .contact-box {
    padding: 28px 20px;
  }
}