* {
  box-sizing: border-box;
}

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

header {
  position: relative;
  background: #243d35;
  color: white;
  text-align: center;
  padding: 35px 20px;
}

header h1 {
  margin: 0 0 10px;
}

header p {
  margin: 0;
}

main {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

section {
  margin-bottom: 35px;
}

h2 {
  margin-bottom: 15px;
}

.return-button {
  position: absolute;
  top: 15px;
  left: 15px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  transition: background 0.2s;
}
.return-button:hover {
  background: rgba(255, 255, 255, 00.15s);
}

.hours-section,
.product-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
}

.status {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 6px;
  font-weight: bold;
  margin-bottom: 15px;
}

.status.open {
  background: #d4edda;
  color: #155724;
}

.status.closed {
  background: #f8d7da;
  color: #721c24;
}

.status.unknown {
  background: #fff3cd;
  color: #664d03;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.hours-table td:last-child {
  text-align: right;
}

.hours-table tr.today {
  background: #eef5f0;
  font-weight: bold;
}

.product-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fill, minmax(170px, 1fr));
  gap: 15px;
}

.product-card {
  padding: 12px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  border-radius: 6px;
}

.product-card h3 {
  font-size: 16px;
  margin: 12px 0 6px;
}

.product-card .price {
  font-weight: bold;
  font-size: 18px;
  margin: 0;
}

.product-card.unavailable {
  opacity: 0.5;
}

.product-card .stock {
  font-size: 13px;
  color: #a33;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(139, 92, 246, 0.35);
}

@media (max-width: 500px) {
  header {
    padding: 25px 15px;
    padding-top: 65px;
  }

  main {
    padding: 15px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}