/* Awoo — Global Styles */
:root {
  --cream: #FAF7F2;
  --sand: #EFE7DB;
  --forest: #2E4A3A;
  --moss: #4A6B54;
  --terra: #D98E5F;
  --ink: #1C2620;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  line-height: 1.6;
}

.font-display { font-family: 'Fraunces', Georgia, serif; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary { background: var(--forest); color: var(--cream); }
.btn-primary:hover { background: var(--moss); }

.btn-secondary { background: var(--sand); color: var(--ink); }
.btn-secondary:hover { background: rgba(28, 38, 32, 0.1); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--forest);
  color: var(--forest);
}
.btn-outline:hover { background: var(--forest); color: var(--cream); }

/* Cards */
.card {
  background: var(--white);
  border-radius: 1.5rem;
  border: 1px solid var(--sand);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.card:hover { box-shadow: 0 8px 30px rgba(28, 38, 32, 0.08); }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Product card image */
.product-image {
  aspect-ratio: 1 / 1;
  background: var(--sand);
  overflow: hidden;
  position: relative;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-image img { transform: scale(1.05); }

/* Badge */
.badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--forest);
  color: var(--cream);
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.025em;
  z-index: 10;
}

/* Stars */
.stars { color: var(--terra); letter-spacing: -0.05em; }

/* Utilities */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  background: var(--ink);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 100;
  pointer-events: none;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Announcement bar */
.announcement {
  background: var(--forest);
  color: var(--cream);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  letter-spacing: 0.025em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand);
}

/* Marquee */
.marquee {
  display: flex;
  gap: 3rem;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Fade in */
.fade-in {
  animation: fadeIn 0.4s ease both;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* Accordion */
details summary::-webkit-details-marker { display: none; }
details summary { list-style: none; }

/* Policy pages */
.policy-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.policy-content h3 {
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.policy-content p,
.policy-content li {
  color: rgba(28, 38, 32, 0.7);
  font-size: 0.9375rem;
  line-height: 1.75;
}
.policy-content ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}
.policy-content li { margin-bottom: 0.25rem; }