:root {
  --bg: #f5f3ef;
  --card: #ffffff;
  --primary: #4a665c;
  --primary-dark: #2f4a40;
  --muted: #686f6c;
  --line: #e9e1d8;
  --gold: #d49d3b;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: #1f2b28;
}

.navbar {
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #1f2b28 !important;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  margin-right: 8px;
  font-size: 0.9rem;
}

.hero-section {
  padding: 8rem 0 4rem;
}

.eyebrow,
.section-tag {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(74, 102, 92, 0.08);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-section h1 {
  margin-top: 1rem;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.hero-section p,
.review-card p,
.form-card p,
.auth-card p {
  color: var(--muted);
  line-height: 1.8;
}

.showcase-card,
.form-card,
.product-card,
.review-card,
.summary-card,
.checkout-card,
.auth-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(31, 43, 40, 0.05);
}

.showcase-card {
  padding: 1rem;
}

.showcase-image {
  height: 360px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f0e7dd, #dfeae1);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.product-blob {
  width: 220px;
  height: 220px;
  border-radius: 30% 70% 62% 38% / 34% 39% 61% 66%;
  background: linear-gradient(135deg, #e7d7c1, #afc2b2 60%, #7a927f);
  transform: translateY(24px);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(74, 102, 92, 0.08);
  color: var(--primary-dark);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.showcase-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.showcase-info .label {
  color: var(--muted);
  font-size: 0.8rem;
}

.showcase-info h3 {
  margin: 0.3rem 0 0;
  font-weight: 800;
}

.feature-pill {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
}

.form-card {
  padding: 2rem;
}

.form-control {
  border-radius: 12px;
  padding: 0.8rem 1rem;
  border: 1px solid #e1dbd4;
}

.summary-card,
.checkout-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid #d9d1ca;
  border-radius: 24px;
  box-shadow: none;
  padding: 1.5rem 1.5rem 1.2rem;
}

.summary-card h3,
.checkout-card h3 {
  font-size: clamp(2.1rem, 2vw, 2.6rem);
  letter-spacing: -0.05em;
  margin: 0;
  font-weight: 800;
}

.cart-count {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 999px;
  color: #4b4b4b;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
}

.product-card {
  overflow: hidden;
}

.product-media {
  height: 180px;
}

.product-media.warm { background: linear-gradient(135deg, #ebd8bb, #dcb787); }
.product-media.sage { background: linear-gradient(135deg, #dfeae2, #aebeaf); }
.product-media.ivory { background: linear-gradient(135deg, #f3eee6, #ddd2c6); }
.product-media.blush { background: linear-gradient(135deg, #f0dde4, #d9b8c5); }

.product-body {
  padding: 1rem;
}

.category {
  display: inline-block;
  background: rgba(74, 102, 92, 0.08);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.product-body h4 {
  margin: 0.8rem 0 0.6rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.rating {
  color: var(--gold);
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
}

.rating span {
  color: var(--muted);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-row strong {
  font-size: 1.3rem;
  letter-spacing: -0.05em;
}

.review-card {
  padding: 1.4rem;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 0.8rem;
}

.review-person {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 1rem;
}

.review-person span {
  color: var(--muted);
  font-size: 0.8rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 0.6fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #d9d1ca;
}

.cart-item h5 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.cart-item small {
  color: var(--muted);
  font-size: 0.9rem;
}

.mini-thumb {
  width: 52px;
  height: 52px;
  border-radius: 14px;
}

.mini-thumb.warm { background: linear-gradient(135deg, #ebd8bb, #dcb787); }
.mini-thumb.sage { background: linear-gradient(135deg, #dfeae2, #aebeaf); }
.mini-thumb.blush { background: linear-gradient(135deg, #f0dde4, #d9b8c5); }

.cart-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid #cfc7c0;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  background: transparent;
}

.qty-btn {
  border: none;
  background: transparent;
  color: #1f2b28;
  font-weight: 700;
  font-size: 1.2rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0;
  color: #4e4e4e;
  font-size: 1.05rem;
}

.summary-line.total {
  border-top: 1px solid #d9d1ca;
  margin-top: 1.6rem;
  padding-top: 1rem;
  color: #1f2b28;
  font-weight: 800;
  font-size: 1.15rem;
}

.checkout-card .btn-primary {
  background: linear-gradient(135deg, #5d85d8, #4570d3);
  border: none;
  border-radius: 14px;
  font-weight: 700;
  padding: 0.9rem 1rem;
  margin-top: 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.3);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.auth-form-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1rem 2rem;
}

.auth-card {
  width: min(100%, 460px);
  padding: 2rem;
}

@media (max-width: 767.98px) {
  .hero-section {
    padding-top: 6rem;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }
}
