* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Yu Gothic", sans-serif;
  background: #f5f5f5;
  color: #222;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 16px;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  border-bottom: 1px solid #ddd;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.cart-button {
  background: #222;
  color: white;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: bold;
}

#cartCount {
  background: red;
  color: white;
  border-radius: 50%;
  padding: 2px 8px;
  margin-left: 6px;
}

.hero img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.products {
  padding: 40px 0 60px;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.section-title h2 {
  font-size: 40px;
}

.category-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 24px;
}

.category-scroll button {
  border: 1px solid #ddd;
  background: white;
  border-radius: 999px;
  padding: 10px 16px;
  white-space: nowrap;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
}

.product-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-content {
  padding: 18px;
}

.product-content h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.product-content p {
  color: #666;
  margin-bottom: 12px;
}

.price {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 18px;
}

.product-content button {
  width: 100%;
  border: none;
  background: #222;
  color: white;
  padding: 14px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.product-content button:hover {
  opacity: 0.9;
}

@media (max-width: 900px) {

  .product-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .hero img {
    height: 300px;
  }
}

@media (max-width: 600px) {

  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero img {
    height: 220px;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .product-content h3 {
    font-size: 20px;
  }

  .price {
    font-size: 24px;
  }

  .product-content button {
    padding: 16px;
    font-size: 18px;
  }
}

.shop-gallery {
  padding: 60px 0;
}

.shop-gallery h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 36px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 20px;
}

@media (max-width: 700px) {

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.clear-btn {
  width: 100%;
  margin-top: 30px;
  border: none;
  background: red;
  color: white;
  padding: 16px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: bold;
}

.back-btn {
  display: inline-block;
  margin-bottom: 20px;
  background: #222;
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 14px;
}

.order-btn {
  display: block;
  width: 100%;
  margin-top: 20px;
  background: #222;
  color: white;
  text-align: center;
  text-decoration: none;
  padding: 18px;
  border-radius: 18px;
  font-size: 20px;
  font-weight: bold;
}

input,
textarea {
  width: 100%;
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid #ddd;
  font-size: 16px;
}

textarea {
  min-height: 120px;
}

.calendar-day{

  padding:15px;

  border:none;

  border-radius:12px;

  font-size:16px;
}

.calendar-day.selected{

  border:3px solid #000;
}

.back-group{

  display:flex;

  gap:10px;

  margin-bottom:20px;

  flex-wrap:wrap;

}

.back-group .back-btn{

  margin-bottom:0;

}

.qty-area{

  display:flex;

  justify-content:center;

  align-items:center;

  gap:10px;

  margin-bottom:15px;

}

.qty-btn{

  width:40px;

  height:40px;

  border:none;

  border-radius:50%;

  background:#eee;

  font-size:20px;

  cursor:pointer;

}

.qty-value{

  min-width:40px;

  text-align:center;

  font-size:20px;

  font-weight:bold;

}