/* Reset and box-sizing */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body and overall layout */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333333;
  margin: 0;
  padding: 0;
}

.container {
  width: 90%;
  max-width: 900px;
  margin: 30px auto;
  background-color: #ffffff;
  padding: 20px;
  border: 1px solid #cccccc;
  border-radius: 8px;
}

/* Header & Social Icons */
.social-icons {
  text-align: right;
  margin-bottom: 20px;
}
.social-icons img {
  width: 24px;
  margin-left: 8px;
  vertical-align: middle;
}

/* Title/Header */
.title {
  font-size: 28px;
  text-align: center;
  color: #003366;
  margin-bottom: 10px;
}

/* Introductory text */
.intro {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Navigation menu */
.main-menu {
  list-style-type: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: center;
}
.main-menu li {
  display: inline-block;
  margin: 0 10px;
}
.main-menu a {
  text-decoration: none;
  color: #0066cc;
  font-weight: bold;
}
.main-menu a:hover {
  color: #004999;
  text-decoration: underline;
}

/* Product grid & cards */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.product-card {
  width: 200px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  padding: 15px;
  background-color: #fafafa;
  text-align: center;
}
.product-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  margin-bottom: 10px;
}

.product-card h3 {
  font-size: 16px;
  color: #003366;
  margin: 10px 0;
}
.product-card p {
  font-size: 14px;
  margin: 10px 0;
}
.product-card input[type="number"] {
  width: 50px;
  padding: 4px;
}
.product-card input[type="submit"],
.product-card button {
  padding: 6px 12px;
  background-color: #0066cc;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
}
.product-card input[type="submit"]:hover,
.product-card button:hover {
  background-color: #004999;
}

/* Tables (cart & checkout) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
th,
td {
  padding: 8px;
  border: 1px solid #cccccc;
}
th {
  background-color: #f4f4f4;
  text-align: left;
}

/* Forms */
form p {
  margin-bottom: 15px;
}
form label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}
form input[type="text"],
form input[type="password"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #cccccc;
  border-radius: 4px;
}
form input[type="submit"] {
  padding: 8px 12px;
  background-color: #0066cc;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
form input[type="submit"]:hover {
  background-color: #004999;
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 30px;
  font-size: 0.85em;
  color: #777777;
}
.footer a {
  color: #0066cc;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
.footer .validation {
  margin-top: 10px;
}
.footer .validation img {
  border: none;
  margin: 0 5px;
}

/* Christian worldview text */
.worldview {
  font-style: italic;
  font-size: 14px;
  text-align: center;
  margin-top: 40px;
  color: #555555;
}


/* Comments List Styling */
.comment-card {
  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.comment-card h3 {
  font-size: 18px;
  color: #003366;
  margin-bottom: 8px;
}

.comment-card p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.comment-card p strong {
  color: #0066cc;
}

.comment-card hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 20px 0;
}

.container h2 {
  margin-bottom: 16px;
  color: #003366;
}