/* Alder Market Dressings — redesign prototype
   Brand pulled from current live site: Cormorant (headings) + Lato (body),
   olive green / terracotta / tan palette. */

:root {
  --olive: #3d4d33;
  --olive-dark: #2e3a26;
  --terracotta: #ac6954;
  --tan: #bd906c;
  --cream: #faf7f2;
  --ink: #2b2b28;
  --ink-soft: #5a5650;
  --white: #ffffff;
  --border: #e6ddd0;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Lato", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, .serif {
  font-family: "Cormorant", serif;
  font-weight: 500;
  color: var(--terracotta);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--terracotta); }

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 30px;
  background: var(--olive);
  color: var(--white);
  text-decoration: none;
  font-family: "Lato", sans-serif;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
  border: 1px solid var(--olive);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn:hover { background: var(--olive-dark); }

.btn-outline {
  background: transparent;
  color: var(--olive);
}

.btn-outline:hover { background: var(--olive); color: var(--white); }

.btn:disabled {
  background: #ccc;
  border-color: #ccc;
  cursor: not-allowed;
}

.btn.btn-added:disabled {
  background: var(--olive-dark);
  border-color: var(--olive-dark);
  color: var(--white);
  cursor: default;
}

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.site-header .logo img { height: 56px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav a:hover, .main-nav a.active { color: var(--terracotta); }

.main-nav a.btn { color: var(--white); }
.main-nav a.btn:hover { color: var(--white); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .main-nav a.btn { border: 1px solid var(--olive); text-align: center; margin-top: 8px; }
  .hamburger { display: flex; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--white);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero .wrap { position: relative; z-index: 1; }

.hero-copy {
  max-width: 520px;
  background: rgba(46, 58, 38, 0.82);
  padding: 40px 44px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
.hero h1 { color: var(--white); }
.hero p { color: rgba(255,255,255,0.9); font-size: 1.1rem; }

.page-hero {
  background: var(--cream);
  padding: 64px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero p { max-width: 620px; margin-left: auto; margin-right: auto; }

/* ---------- Sections ---------- */

section { padding: 72px 0; }
.section-alt { background: var(--cream); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 800px) {
  .grid-2 { grid-template-columns: 1fr; }
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.8rem; }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--olive);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

/* ---------- Forms ---------- */

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  color: var(--ink);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 2px solid var(--olive);
  outline-offset: 1px;
}
.form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.form-row .form-field { flex: 1 1 200px; }

.form-note { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Order flow ---------- */

.order-box {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px;
  max-width: 560px;
  margin: 0 auto;
}

.order-options { display: grid; gap: 16px; margin: 28px 0; }

.order-option {
  border: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.order-option .opt-name { font-family: "Cormorant", serif; font-size: 1.3rem; color: var(--ink); }
.order-option .opt-price { color: var(--olive); font-weight: 700; }
.order-option .opt-sub { font-size: 0.82rem; color: var(--ink-soft); }

.notice-box {
  background: var(--cream);
  border-left: 4px solid var(--olive);
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 0.95rem;
}

.notice-box strong { color: var(--olive); }

.size-group { margin: 28px 0; }

.size-group h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.size-group .size-sub {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.carrier-option {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  padding: 16px 20px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.carrier-option:hover { border-color: var(--tan); }

.carrier-option input[type="radio"] { width: 18px; height: 18px; accent-color: var(--olive); flex-shrink: 0; }

.carrier-option.selected {
  border-color: var(--olive);
  background: var(--cream);
}

.carrier-option .carrier-info { flex: 1; }

.carrier-option .carrier-name {
  font-family: "Cormorant", serif;
  font-size: 1.15rem;
  color: var(--ink);
}

.carrier-option .carrier-sub { font-size: 0.82rem; color: var(--ink-soft); }
.carrier-option .carrier-price { color: var(--olive); font-weight: 700; text-align: right; white-space: nowrap; }
.carrier-option .carrier-perbottle { font-size: 0.82rem; color: var(--ink-soft); text-align: right; white-space: nowrap; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--tan);
  color: var(--white);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

.site-footer h4 {
  font-family: "Cormorant", serif;
  font-size: 1.15rem;
  margin: 0 0 14px;
  color: var(--white);
}

.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-nav a:hover { text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a { color: rgba(255,255,255,0.85); }

/* ---------- Editorial / draft notes ---------- */

.placeholder-note {
  background: #fff8ec;
  border: 1px dashed var(--tan);
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
}

.placeholder-note strong { color: var(--terracotta); }

.photo-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 10px;
}
