/* Morrison Design System — morrison.css */
:root {
  --green:       #2c3e2e;
  --green-mid:   #506351;
  --orange:      #e09306;
  --orange-light:#f9a826;
  --cream:       #fcf9f2;
  --cream-2:     #f4f1ea;
  --cream-3:     #f1eee7;
  --cream-4:     #ebe8e1;
  --text:        #1c1c18;
  --text-mid:    #434842;
  --text-light:  #737872;
  --white:       #ffffff;
  --radius-sm:   0.5rem;
  --radius-md:   0.75rem;
  --radius-lg:   1rem;
  --radius-full: 9999px;
  --shadow-card: 0 2px 8px rgba(28,28,24,.07), 0 1px 2px rgba(28,28,24,.04);
  --shadow-hover: 0 8px 24px rgba(28,28,24,.12), 0 2px 6px rgba(28,28,24,.06);
  --transition:  all .2s cubic-bezier(.4,0,.2,1);
}

/* ── Typography ── */
body { font-family: 'DM Sans', 'Inter', system-ui, sans-serif; background: var(--cream); color: var(--text); }
.font-display { font-family: 'Syne', 'Space Grotesk', system-ui, sans-serif; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--cream-4); border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* ── Nav ── */
.morrison-nav {
  position: fixed; top: 0; width: 100%; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 2rem; height: 60px;
  background: rgba(244,241,234,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(28,28,24,.06);
}
.morrison-nav .logo {
  font-family: 'Syne', 'Space Grotesk', sans-serif;
  font-weight: 800; font-size: 1.4rem;
  color: var(--green); text-decoration: none;
  letter-spacing: -.02em;
}
.nav-link {
  font-weight: 600; font-size: .875rem;
  color: var(--text-mid); text-decoration: none;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}
.nav-link:hover { color: var(--green); }
.nav-link.active { color: var(--orange); border-color: var(--orange); }

/* ── Buttons ── */
.btn-primary {
  background: var(--orange); color: white;
  font-weight: 700; font-size: .9rem;
  border: none; border-radius: var(--radius-full);
  padding: .75rem 1.75rem; cursor: pointer;
  transition: var(--transition);
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-primary:active { transform: scale(.97); }

.btn-secondary {
  background: var(--green); color: white;
  font-weight: 700; font-size: .9rem;
  border: none; border-radius: var(--radius-full);
  padding: .75rem 1.75rem; cursor: pointer;
  transition: var(--transition);
}
.btn-secondary:hover { background: #1e2c20; }

.btn-ghost {
  background: transparent; color: var(--green);
  font-weight: 600; font-size: .875rem;
  border: 2px solid var(--green);
  border-radius: var(--radius-full);
  padding: .6rem 1.5rem; cursor: pointer;
  transition: var(--transition);
}
.btn-ghost:hover { background: var(--green); color: white; }

/* ── Cards ── */
.product-card {
  background: white; border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  overflow: hidden;
}
.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* ── Badges ── */
.badge {
  display: inline-flex; align-items: center;
  padding: .15rem .6rem;
  border-radius: var(--radius-full);
  font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
}
.badge-green { background: var(--green); color: white; }
.badge-orange { background: var(--orange); color: white; }
.badge-discount { background: #dcfce7; color: #166534; }

/* ── Inputs ── */
.morrison-input {
  background: var(--cream-3); border: none;
  border-radius: var(--radius-full);
  padding: .5rem 1rem; font-size: .875rem;
  color: var(--text); outline: none;
  transition: var(--transition);
  width: 100%;
}
.morrison-input:focus { box-shadow: 0 0 0 2px var(--orange); }

.morrison-select {
  background: var(--cream-3); border: none;
  border-radius: var(--radius-sm);
  padding: .4rem .75rem; font-size: .8rem;
  font-weight: 600; color: var(--text);
  outline: none; cursor: pointer;
  transition: var(--transition);
}
.morrison-select:focus { box-shadow: 0 0 0 2px var(--orange); }

/* ── Footer ── */
.morrison-footer {
  background: var(--green); color: rgba(244,241,234,.9);
  padding: 3.5rem 2rem 2rem;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.fade-up { animation: fadeUp .3s ease both; }
.skeleton {
  background: linear-gradient(90deg, var(--cream-3) 25%, var(--cream-4) 50%, var(--cream-3) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

/* ── Sidebar ── */
.sidebar-btn {
  display: flex; align-items: center; gap: .6rem;
  width: 100%; padding: .5rem .75rem;
  border-radius: .5rem; border: none; background: transparent;
  font-size: .8125rem; font-weight: 500; color: rgba(28,28,24,.6);
  cursor: pointer; text-align: left;
  transition: var(--transition);
}
.sidebar-btn:hover { background: rgba(44,62,46,.06); color: var(--green); }
.sidebar-btn.active { background: var(--green); color: white; }

/* ── Size selector ── */
.size-btn {
  padding: .6rem; text-align: center;
  border-radius: .625rem; border: 2px solid var(--cream-4);
  font-weight: 700; font-size: .8125rem;
  background: white; cursor: pointer;
  transition: var(--transition);
}
.size-btn:hover { border-color: var(--green-mid); }
.size-btn.active { background: var(--green); color: white; border-color: var(--green); }

/* ── Toast ── */
#_morrison_toast {
  font-family: 'Syne', 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: .875rem;
}
