/*
Theme Name: Eden & Brooks
Theme URI: https://edenandbrooks.com
Author: Miller Mayers Private Limited
Description: Custom theme for Eden & Brooks — a minimal lifestyle brand crafting sophisticated home and kitchen products for modern living.
Version: 1.0.0
License: Proprietary
Text Domain: eden-brooks
Tags: woocommerce, custom-colors, custom-logo, custom-menu, featured-images, full-width-template
*/

/* ============================================
   EDEN & BROOKS — LOCKED DESIGN SYSTEM
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap');

:root {
  --eb-cream: #fafaf7;
  --eb-cream-warm: #f1e8dc;
  --eb-footer-bg: #f2ede3;
  --eb-black: #1a1a1a;
  --eb-text-secondary: #6b6056;
  --eb-text-body: #4a4036;
  --eb-olive: #6b8f3c;
  --eb-terracotta: #b85540;
  --eb-mustard: #c89a3e;
  --eb-serif: Georgia, 'Times New Roman', serif;
  --eb-sans: 'Poppins', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background: var(--eb-cream);
  font-family: var(--eb-sans);
  font-weight: 400;
  color: var(--eb-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.eb-site-wrap { max-width: 1240px; margin: 0 auto; }

/* ============================================
   HEADER
   ============================================ */

.eb-utility {
  padding: 14px 36px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--eb-text-secondary);
}

.eb-wordmark-area {
  padding: 28px 32px 24px;
  text-align: center;
}

.eb-wordmark { height: 64px; width: auto; display: inline-block; }

.eb-nav {
  padding: 0 32px 36px;
  display: flex;
  justify-content: center;
  gap: 48px;
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--eb-black);
}

.eb-nav a:hover { color: var(--eb-olive); }

/* ============================================
   HERO
   ============================================ */

.eb-hero-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.eb-hero-text {
  padding: 80px 32px 96px;
  text-align: center;
}

.eb-hero-eyebrow {
  font-size: 10px;
  letter-spacing: 3.5px;
  color: var(--eb-olive);
  margin-bottom: 26px;
  font-weight: 500;
}

.eb-hero-title {
  font-family: var(--eb-serif);
  font-size: 46px;
  font-style: italic;
  line-height: 1.1;
  margin: 0 0 28px;
  letter-spacing: -0.5px;
}

.eb-hero-sub {
  font-size: 14px;
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto 36px;
  color: var(--eb-text-body);
}

.eb-cta {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--eb-black);
  border-bottom: 0.5px solid var(--eb-black);
  padding-bottom: 4px;
  font-weight: 500;
  transition: color 0.2s, border-color 0.2s;
}

.eb-cta:hover { color: var(--eb-olive); border-color: var(--eb-olive); }

/* ============================================
   SECTION HEADERS
   ============================================ */

.eb-section-h {
  padding: 24px 32px 56px;
  text-align: center;
}

.eb-section-eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--eb-olive);
  margin-bottom: 18px;
  font-weight: 500;
}

.eb-section-title {
  font-family: var(--eb-serif);
  font-size: 26px;
  line-height: 1.2;
  margin: 0;
  font-weight: 400;
}

.eb-section-title em { font-style: italic; }

/* ============================================
   PRODUCT GRID (homepage best sellers + archive)
   ============================================ */

.eb-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 0 36px 96px;
}

.eb-prod-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 18px;
  background: #f4ede1;
}

.eb-prod-name {
  font-size: 12px;
  color: var(--eb-black);
  line-height: 1.5;
  margin-bottom: 5px;
}

.eb-prod-price {
  font-size: 12px;
  color: var(--eb-text-secondary);
}

/* ============================================
   BRAND QUOTE BAND
   ============================================ */

.eb-quote {
  padding: 96px 80px;
  text-align: center;
}

.eb-quote-text {
  font-family: var(--eb-serif);
  font-size: 24px;
  line-height: 1.45;
  font-style: italic;
  margin: 0 auto 24px;
  max-width: 580px;
}

.eb-quote-text::before,
.eb-quote-text::after {
  font-size: 32px;
  color: var(--eb-olive);
  line-height: 0.5;
  vertical-align: -8px;
}
.eb-quote-text::before { content: '"'; margin-right: 4px; }
.eb-quote-text::after { content: '"'; margin-left: 4px; }

.eb-quote-attr {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--eb-olive);
  font-weight: 500;
}

/* ============================================
   EDITORIAL MOMENT (image + text split)
   ============================================ */

.eb-edit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
}

.eb-edit-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eb-edit-content {
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--eb-cream-warm);
}

.eb-edit-eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--eb-mustard);
  margin-bottom: 22px;
  font-weight: 500;
}

.eb-edit-h {
  font-family: var(--eb-serif);
  font-size: 26px;
  line-height: 1.3;
  margin: 0 0 22px;
  font-style: italic;
  font-weight: 400;
}

.eb-edit-text {
  font-size: 13px;
  line-height: 1.75;
  color: var(--eb-text-body);
  margin: 0 0 28px;
}

/* ============================================
   FOOTER
   ============================================ */

.eb-footer {
  padding: 80px 32px 56px;
  text-align: center;
  background: var(--eb-footer-bg);
}

.eb-footer-circle {
  height: 72px;
  width: 72px;
  display: inline-block;
  margin-bottom: 32px;
}

.eb-footer-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--eb-text-body);
  margin-bottom: 32px;
}

.eb-footer-copy {
  font-size: 10px;
  color: #8b8276;
  letter-spacing: 1.5px;
}

/* ============================================
   COLLECTION ACCENT COLORS (per Brand Architecture)
   ============================================ */

.eb-collection-home-essentials { --eb-collection-accent: var(--eb-olive); }
.eb-collection-ceramics { --eb-collection-accent: var(--eb-terracotta); }
.eb-collection-moments { --eb-collection-accent: var(--eb-mustard); }

/* ============================================
   WOOCOMMERCE OVERRIDES
   ============================================ */

.woocommerce-page,
.woocommerce {
  font-family: var(--eb-sans);
}

.woocommerce-Price-amount { font-family: var(--eb-sans); }

.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--eb-sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--eb-black);
}

.woocommerce .button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--eb-black);
  color: var(--eb-cream);
  font-family: var(--eb-sans);
  font-size: 11px;
  letter-spacing: 2px;
  padding: 12px 24px;
  border-radius: 0;
  font-weight: 500;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .eb-products { grid-template-columns: repeat(2, 1fr); padding: 0 24px 64px; }
  .eb-edit { grid-template-columns: 1fr; }
  .eb-edit-content { padding: 48px 32px; }
  .eb-hero-title { font-size: 32px; }
  .eb-hero-text { padding: 48px 24px 64px; }
  .eb-quote { padding: 64px 32px; }
  .eb-quote-text { font-size: 20px; }
  .eb-nav { gap: 24px; font-size: 10px; }
}

@media (max-width: 600px) {
  .eb-products { grid-template-columns: 1fr; }
  .eb-wordmark { height: 48px; }
  .eb-hero-title { font-size: 28px; }
  .eb-nav { padding: 0 16px 24px; gap: 18px; }
}
