body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f5fb;
}

.top-bar {
  height: 95px;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-box img {
  width: 62px;
  height: 62px;
  object-fit: cover;
}

.brand-name {
  font-size: 24px;
  font-family: cursive;
  color: #111;
}

.cart-button {
  width: 65px;
  height: 58px;
  font-size: 28px;
  border: 1px solid #aaa;
  border-radius: 4px;
  background: white;
  cursor: pointer;
  position: relative;
}

#cartCount {
  font-size: 16px;
  font-weight: bold;
}

.page-bg {
  background: #f5f5fb;
  padding: 14px 10px 30px;
  min-height: 80vh;
}

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

.product-card {
  background: white;
  border: 1px solid #ddd;
  box-shadow: 0 1px 5px rgba(0,0,0,0.15);
  border-radius: 4px;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  background: white;
}

.product-info {
  padding: 18px 22px 20px;
}

.product-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.product-price {
  font-size: 17px;
  margin-bottom: 10px;
}

.old-price {
  color: #777;
  text-decoration: line-through;
  margin-right: 8px;
}

.new-price {
  color: #8a5a13;
  font-weight: bold;
}

.product-desc {
  font-size: 15px;
  line-height: 1.45;
  margin-bottom: 18px;
}

.options-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.option-group {
  display: flex;
}

.option-label {
  background: #e9ecef;
  border: 1px solid #ced4da;
  padding: 9px 13px;
  border-radius: 4px 0 0 4px;
}

.option-group select {
  border: 1px solid #ced4da;
  padding: 9px 12px;
  border-radius: 0 4px 4px 0;
  background: white;
  max-width: 120px;
}

.add-btn {
  width: 100%;
  background: #007bff;
  color: white;
  border: none;
  padding: 10px;
  font-size: 17px;
  border-radius: 4px;
  cursor: pointer;
}

.add-btn:hover {
  background: #0069d9;
}

.cart-popup {
  display: none;
  position: fixed;
  right: 20px;
  top: 110px;
  width: 370px;
  max-height: 75vh;
  overflow-y: auto;
  background: white;
  border: 1px solid #ddd;
  box-shadow: 0 4px 25px rgba(0,0,0,0.25);
  z-index: 2000;
  padding: 16px;
  border-radius: 6px;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header button {
  border: none;
  background: none;
  font-size: 28px;
  cursor: pointer;
}

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

.total-line {
  margin-top: 15px;
}

.site-footer {
  text-align: center;
  padding: 25px 10px;
  background: #f8f8f8;
  border-top: 1px solid #ddd;
}

.site-footer a {
  color: #333;
  margin: 0 10px;
  text-decoration: none;
  font-size: 14px;
}

.site-footer p {
  margin-top: 12px;
  font-size: 13px;
  color: #666;
}

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

  .product-card img {
    height: 300px;
  }
}

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

  .brand-name {
    font-size: 18px;
  }

  .cart-popup {
    width: 92%;
    right: 4%;
  }
}
.checkout-form {
  margin-top: 15px;
  margin-bottom: 12px;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 8px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
}

.checkout-form textarea {
  height: 80px;
  resize: vertical;
}
.product-detail-card {
  max-width: 1100px;
  margin: 20px auto;
  background: white;
  border: 1px solid #ddd;
  box-shadow: 0 1px 5px rgba(0,0,0,0.15);
  border-radius: 4px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.product-detail-image {
  width: 100%;
  height: 600px;
  object-fit: cover;
  background: white;
}

.product-detail-info {
  padding: 35px;
}

.product-detail-title {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 12px;
}

.product-detail-price {
  font-size: 22px;
  margin-bottom: 18px;
}

.product-detail-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: #333;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

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

  .product-detail-image {
    height: 380px;
  }

  .product-detail-info {
    padding: 20px;
  }

  .product-detail-title {
    font-size: 24px;
  }
}
.content-page {
  max-width: 900px;
  margin: 25px auto;
  background: white;
  padding: 35px;
  border: 1px solid #ddd;
  box-shadow: 0 1px 5px rgba(0,0,0,0.12);
  border-radius: 4px;
}

.content-page h1 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: bold;
}

.content-page h2 {
  font-size: 22px;
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: bold;
}

.content-page p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
}

@media (max-width: 600px) {
  .content-page {
    margin: 15px 10px;
    padding: 22px;
  }

  .content-page h1 {
    font-size: 26px;
  }

  .content-page h2 {
    font-size: 20px;
  }

  .content-page p {
    font-size: 15px;
  }
}