*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1b3327;
  background-color: #f7f5f0;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */

.site-header {
  background-color: #f1eee6;
  border-bottom: 1px solid #ddd3c4;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  height: 48px;
  width: auto;
}

.logo-text h1 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.logo-text p {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6d7b6f;
}

.main-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.95rem;
}

.main-nav a {
  text-decoration: none;
  color: #1b3327;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  transition: background-color 0.2s, color 0.2s;
}

.main-nav a:hover {
  background-color: #d7e4d5;
  color: #10301f;
}

/* Hero */

.hero {
  padding: 3.5rem 0 3rem;
  background: radial-gradient(circle at top left, #d7e4d5 0, #f7f5f0 52%);
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.hero-text {
  flex: 1 1 260px;
}

.hero-text h2 {
  font-size: 2.4rem;
  margin: 0 0 0.5rem;
}

.hero-text p {
  margin-bottom: 1.5rem;
  max-width: 26rem;
}

.hero-side {
  flex: 1 1 240px;
}

.hero-tagline {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #4c5a4e;
}

/* Sections */

.section {
  padding: 3rem 0;
}

.section.alt {
  background-color: #f1eee6;
}

.section h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.section-subtitle {
  margin-top: 0.25rem;
  color: #57655b;
}

/* Buttons */

.btn {
  border: none;
  cursor: pointer;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.btn.primary {
  background-color: #2f6b40;
  color: #f7f5f0;
}

.btn.primary:hover {
  background-color: #275935;
}

.btn.secondary {
  background-color: #e0e7e0;
  color: #1b3327;
}

.btn.secondary:hover {
  background-color: #c9d7c9;
}

/* Products */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.product-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-name {
  font-weight: 600;
  margin: 0.4rem 0 0.2rem;
}

.product-desc {
  font-size: 0.9rem;
  color: #5a665b;
}

.product-price {
  font-weight: 700;
  margin-top: 0.4rem;
  color: #2f6b40;
}

/* Cart */

#cart-items {
  margin-top: 1rem;
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid #eee3d5;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item span {
  font-size: 0.9rem;
}

.cart-actions button {
  margin-left: 0.25rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background-color: #e0e7e0;
}

.cart-summary {
  margin-top: 1rem;
}

/* Forms */

.form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background-color: #ffffff;
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

.form label span {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.25rem;
  color: #4e5a4f;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid #c7d1c9;
  font-size: 0.95rem;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid #2f6b40;
  outline-offset: 1px;
}

/* Account */

.account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* Experiences */

.experience-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.experience-card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 0.8rem 1rem;
}

.experience-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.experience-name {
  font-weight: 600;
}

.experience-rating {
  font-size: 0.85rem;
  color: #2f6b40;
}

/* Footer */

.site-footer {
  padding: 1.5rem 0;
  background-color: #1b3327;
  color: #f7f5f0;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
}

.footer-meta {
  color: #cbd7ce;
}

/* Misc */

.note {
  font-size: 0.8rem;
  color: #6d7b6f;
  margin-top: 0.75rem;
}

/* Responsive */

@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-text h2 {
    font-size: 2rem;
  }
}