@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #faf5ee;
  --card: #ffffff;
  --card-soft: #fdf8f1;
  --border: #e9dfd0;
  --text: #2c2620;
  --text-dim: #756a5d;
  --accent: #c1592f;
  --accent-soft: #d97a4f;
  --accent-deep: #9c451f;
  --accent-ink: #fff8f3;
  --sage: #7c9473;
  --sage-deep: #5f7857;
  --sage-soft: #eef2ea;
  --shadow: 0 2px 14px rgba(44, 38, 32, 0.06);
  --shadow-card: 0 1px 2px rgba(44, 38, 32, 0.05), 0 10px 26px -8px rgba(44, 38, 32, 0.14);
  --shadow-card-hover: 0 2px 4px rgba(44, 38, 32, 0.07), 0 24px 46px -12px rgba(193, 89, 47, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
}
h1, h2, h3, .font-serif {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
ul { margin: 0; padding: 0; }
li { list-style: none; }

/* ---------- Topbar / disclosure ---------- */
.topbar {
  background: var(--text);
  color: #f1e9dd;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
}
.topbar a { color: #f6d3b8; }

/* ---------- Header ---------- */
.site-header {
  background: rgba(250, 245, 238, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.logo { font-family: 'Fraunces', serif; font-weight: 700; font-size: 23px; color: var(--text); }
.logo span { color: var(--accent); }
nav.main-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
nav.main-nav a { color: var(--text); font-weight: 600; font-size: 15px; }
nav.main-nav a:hover { color: var(--accent); text-decoration: none; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  color: var(--text); font-size: 20px; border-radius: 8px; padding: 4px 10px; cursor: pointer;
}
@media (max-width: 760px) {
  nav.main-nav { display: none; width: 100%; }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; gap: 4px; padding: 10px 0; }
  nav.main-nav a { display: block; padding: 10px 4px; border-top: 1px solid var(--border); }
  .nav-toggle { display: inline-block; }
  .nav-row { flex-wrap: wrap; }
}

/* ---------- Home profile bar (Home Style Finder) ---------- */
.profile-bar {
  background: var(--sage-soft);
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.profile-bar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; flex-wrap: wrap; }
.profile-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 999px; padding: 5px 12px; color: var(--text);
}
.profile-link { color: var(--sage); font-weight: 600; }
.profile-panel {
  display: none; background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow); padding: 20px; margin: 10px 0 16px;
}
.profile-panel.open { display: block; }
.pfields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
@media (max-width: 700px) { .pfields { grid-template-columns: 1fr; } }
.psel { display: flex; flex-direction: column; gap: 6px; }
.psel label { font-size: 12.5px; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.03em; }
.psel select {
  padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--card-soft); color: var(--text); font-size: 14.5px;
}
.pactions { display: flex; gap: 10px; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 56px; position: relative; overflow: hidden; }
.hero-art {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, #faf5ee 0%, #faf5ee 34%, rgba(250,245,238,0.78) 54%, rgba(250,245,238,0.3) 80%, rgba(250,245,238,0.1) 100%),
    radial-gradient(ellipse 620px 420px at 88% 8%, rgba(193,89,47,0.14) 0, transparent 60%),
    radial-gradient(ellipse 520px 460px at 6% 92%, rgba(124,148,115,0.16) 0, transparent 60%),
    url('../images/hero-photo.jpg');
  background-size: cover, auto, auto, cover;
  background-position: center, center, center, right center;
  background-repeat: no-repeat;
}
.hero-blob {
  position: absolute; z-index: 0; top: -8%; right: -8%; width: min(58vw, 640px); height: auto;
  opacity: 0.55; pointer-events: none;
}
.hero-blob-2 {
  position: absolute; z-index: 0; bottom: -12%; left: -10%; width: min(40vw, 420px); height: auto;
  opacity: 0.5; pointer-events: none; transform: rotate(8deg);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(36px, 6vw, 58px); margin: 0 0 18px; max-width: 760px; }
.hero .accent {
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--sage));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .lede { font-size: 18.5px; color: var(--text-dim); max-width: 620px; margin: 0 0 30px; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badge {
  background: var(--card); border: 1px solid var(--border); color: var(--text-dim);
  font-size: 13px; padding: 6px 13px; border-radius: 999px; box-shadow: 0 2px 8px rgba(44,38,32,.05);
}
.hero-wave { position: absolute; left: 0; right: 0; bottom: -2px; z-index: 2; line-height: 0; }
.hero-wave svg { display: block; width: 100%; height: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: linear-gradient(135deg, var(--accent-soft), var(--accent-deep));
  color: #fff8f3; font-weight: 700;
  padding: 12px 22px; border-radius: 10px; border: none; cursor: pointer; font-size: 15px;
  box-shadow: 0 6px 18px -6px rgba(193,89,47,0.55);
  transition: box-shadow .2s ease, transform .18s ease, background .2s ease;
}
.btn:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  text-decoration: none; transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px rgba(193,89,47,0.6);
}
.btn:active { transform: translateY(0); }
.btn-outline {
  background: transparent; border: 1.5px solid var(--accent); color: var(--accent);
  box-shadow: none;
}
.btn-outline:hover { background: var(--accent-ink); box-shadow: 0 6px 16px -8px rgba(193,89,47,.35); }
.btn-sage { background: linear-gradient(135deg, var(--sage), var(--sage-deep)); box-shadow: 0 6px 18px -6px rgba(124,148,115,0.5); }
.btn-sage:hover { background: linear-gradient(135deg, #8ba680, var(--sage-deep)); box-shadow: 0 12px 26px -8px rgba(124,148,115,.55); }
.btn-small { padding: 8px 16px; font-size: 13px; }

/* ---------- Sections ---------- */
section { padding: 60px 0; position: relative; }
.section-tight { padding: 34px 0; }
h2.section-title { font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 10px; }
p.section-sub { color: var(--text-dim); max-width: 640px; margin: 0 0 34px; font-size: 16px; }

/* Soft dot-grid texture used to alternate section rhythm down the page */
.section-texture {
  background-color: var(--card-soft);
  background-image: radial-gradient(rgba(193, 89, 47, 0.14) 1px, transparent 1.4px);
  background-size: 22px 22px;
}
.section-texture.sage {
  background-image: radial-gradient(rgba(124, 148, 115, 0.16) 1px, transparent 1.4px);
}

/* ---------- Scroll reveal (progressive enhancement) ---------- */
.reveal.js-reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
.reveal.js-reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal.js-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Grids ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Icon badge system (category / product SVG icons) ---------- */
.icon-badge {
  width: 58px; height: 58px; border-radius: 17px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(193,89,47,0.16), rgba(124,148,115,0.20));
  border: 1px solid rgba(193,89,47,0.14);
  margin-bottom: 14px;
}
.icon-badge svg { width: 28px; height: 28px; stroke: var(--accent); fill: none; }
.cat-card:nth-child(even) .icon-badge {
  background: linear-gradient(135deg, rgba(124,148,115,0.22), rgba(193,89,47,0.12));
}
.cat-card:nth-child(even) .icon-badge svg { stroke: var(--sage-deep); }

/* ---------- Category cards ---------- */
.cat-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 26px; box-shadow: var(--shadow-card); position: relative; overflow: hidden;
  transition: transform .22s cubic-bezier(.22,.61,.36,1), box-shadow .22s ease;
}
.cat-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--sage));
  opacity: 0; transition: opacity .2s ease;
}
.cat-card:hover::before { opacity: 1; }
.cat-card.recommended { border-color: var(--accent); box-shadow: 0 4px 20px rgba(193,89,47,0.14); }
.cat-card.recommended::before { opacity: 1; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.cat-card .icon { font-size: 30px; margin-bottom: 12px; }
.cat-card h3 { font-size: 19px; margin: 0 0 8px; }
.cat-card p { color: var(--text-dim); font-size: 14.5px; margin: 0 0 18px; min-height: 42px; }
.recommend-tag {
  display: inline-block; background: var(--accent-ink); color: var(--accent);
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 3px 9px; border-radius: 999px; margin-bottom: 10px;
}

/* ---------- Category photos (homepage cards + category-page banners) ---------- */
.cat-photo {
  height: 140px;
  margin: -26px -26px 16px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.cat-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(44,38,32,0) 40%, rgba(44,38,32,.72) 100%);
}
.cat-card:hover .cat-photo { filter: brightness(1.06); }

.cat-banner {
  height: 200px;
  border-radius: 18px;
  margin-bottom: 22px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.cat-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(44,38,32,.10) 0%, rgba(44,38,32,.45) 65%, var(--card-soft) 100%);
}
@media (max-width: 700px) {
  .cat-photo { height: 110px; }
  .cat-banner { height: 130px; }
}

/* ---------- Product cards ---------- */
.product-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 24px; box-shadow: var(--shadow-card); display: flex; flex-direction: column;
  transition: transform .22s cubic-bezier(.22,.61,.36,1), box-shadow .22s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.product-swatch {
  height: 86px; margin: -24px -24px 18px; border-radius: 16px 16px 0 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent) 55%, var(--sage) 130%);
  position: relative; overflow: hidden;
}
.product-swatch::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 25% 20%, rgba(255,255,255,0.28), transparent 55%);
}
.product-swatch svg { width: 32px; height: 32px; stroke: #fff8f3; fill: none; position: relative; z-index: 1; }
.product-card .kicker {
  color: var(--accent); font-size: 12.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; margin-bottom: 8px;
}
.product-card h3 { font-size: 18.5px; margin: 0 0 10px; }
.product-card p { color: var(--text-dim); font-size: 14.5px; margin: 0 0 14px; }
.product-card ul { margin: 0 0 16px; }
.product-card li {
  font-size: 13.5px; color: var(--text-dim); padding-left: 18px; position: relative; margin-bottom: 6px;
}
.product-card li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 700; }
.cta-row { display: flex; align-items: center; gap: 12px; margin-top: auto; flex-wrap: wrap; }
.price-note { font-size: 12.5px; color: var(--text-dim); }
.fit-tag {
  background: var(--sage-soft); color: #4d6146; font-size: 12px; border-radius: 8px;
  padding: 6px 10px; margin-bottom: 12px;
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: linear-gradient(135deg, #2c2620, #3a2f26 55%, #2c2620);
  color: #f1e9dd; position: relative; overflow: hidden;
}
.trust-bar::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 500px 200px at 15% 0%, rgba(193,89,47,0.22), transparent 60%),
              radial-gradient(ellipse 500px 200px at 90% 100%, rgba(124,148,115,0.2), transparent 60%);
}
.trust-bar .grid-4 { padding: 38px 0; position: relative; z-index: 1; }
.trust-item { text-align: center; }
.trust-item .num { font-family: 'Fraunces', serif; font-size: 32px; color: var(--accent-soft); }
.trust-item .label { font-size: 13px; color: #cfc3b3; margin-top: 4px; }

/* ---------- Blog ---------- */
.blog-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-card); transition: transform .22s cubic-bezier(.22,.61,.36,1), box-shadow .22s ease;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.blog-card .thumb {
  height: 130px; display: flex; align-items: center; justify-content: center; font-size: 44px;
  background: linear-gradient(135deg, var(--sage-soft), var(--accent-ink));
  position: relative; overflow: hidden;
}
.blog-card .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(193,89,47,0.16), transparent 60%);
}
.blog-card .content { padding: 20px; }
.blog-card .tag { color: var(--accent); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.blog-card h3 { font-size: 17px; margin: 0 0 8px; }
.blog-card p { color: var(--text-dim); font-size: 14px; margin: 0 0 12px; }
.read-more { font-weight: 700; font-size: 14px; }
article.post h1 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 10px; }
article.post .meta { color: var(--text-dim); font-size: 13.5px; margin-bottom: 30px; }
article.post h2 { font-size: 22px; margin: 34px 0 12px; }
article.post p { font-size: 16px; margin: 0 0 16px; }
article.post ul { margin: 0 0 18px; padding-left: 20px; }
article.post li { list-style: disc; margin-bottom: 8px; font-size: 15.5px; }
.callout {
  background: var(--sage-soft); border-left: 4px solid var(--sage); border-radius: 10px;
  padding: 16px 20px; margin: 26px 0; font-size: 15px;
}

/* ---------- Disclosure / FAQ ---------- */
.disclosure-banner {
  background: var(--accent-ink); border: 1px solid #f0d3bd; border-radius: 14px;
  padding: 16px 20px; font-size: 14px; color: #7a3e1f;
}
.faq-block { margin-top: 48px; max-width: 760px; }
.faq-item { border-top: 1px solid var(--border); padding: 20px 0; }
.faq-item h3 { font-size: 16.5px; margin: 0 0 8px; font-family: 'Inter', sans-serif; font-weight: 700; }
.faq-item p { color: var(--text-dim); font-size: 15px; margin: 0; }
.crumb { font-size: 13.5px; color: var(--text-dim); margin-bottom: 18px; }
.crumb a { color: var(--text-dim); }

/* ---------- Simple pages ---------- */
.simple-page { max-width: 760px; }
.simple-page h1 { margin: 0 0 18px; }
.simple-page h2 { font-size: 21px; margin: 30px 0 10px; }
.simple-page p { font-size: 15.5px; color: var(--text-dim); margin: 0 0 14px; }
.simple-page ul { padding-left: 20px; margin: 0 0 16px; }
.simple-page li { list-style: disc; color: var(--text-dim); font-size: 15px; margin-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--text); color: #d8cdbc; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding: 50px 0 30px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: 'Fraunces', serif; color: #f1e9dd; font-size: 15px; margin: 0 0 14px; }
.site-footer p { font-size: 13.5px; color: #b6a996; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer a { color: #d8cdbc; font-size: 13.5px; display: inline-flex; align-items: center; gap: 7px; }
.site-footer a:hover { color: var(--accent-soft); }
.footer-cat-icon { width: 15px; height: 15px; stroke: var(--accent-soft); fill: none; flex-shrink: 0; opacity: .85; }
.footer-bottom {
  border-top: 1px solid #45403a; padding: 20px 0; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: #9c8f7c;
}

/* Category photo images */
.cat-img-appliances { background-image: url('../images/categories/appliances.jpg'); }
.cat-img-kitchen-storage { background-image: url('../images/categories/kitchen-storage.jpg'); }
.cat-img-bedding { background-image: url('../images/categories/bedding.jpg'); }
.cat-img-cookware { background-image: url('../images/categories/cookware.jpg'); }
.cat-img-drinkware { background-image: url('../images/categories/drinkware.jpg'); }
.cat-img-organization { background-image: url('../images/categories/organization.jpg'); }
