/* ==========================================================================
   HOMELYVILA 2026 OFFICIAL THEME STYLESHEET
   Inspired by Houzz.com Architectural Clean Aesthetics & Warm Japandi Living
   ========================================================================== */

:root {
  --cream: #F7F1E7;
  --cream-soft: #FAF7F2;
  --brown: #5A4A3F;
  --brown-dark: #3E322A;
  --brown-light: #8A7A6C;
  --sage: #A3B18A;
  --sage-dark: #4A5333;
  --terra: #D4A373;
  --terra-dark: #BC8A5F;
  --white: #FFFFFF;
  --gray-border: #E8E2DA;
  --gray-light: #F4EFEB;
  --footer-bg: #2B2520;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --shadow-subtle: 0 4px 20px rgba(90, 74, 63, 0.06);
  --shadow-hover: 0 10px 30px rgba(90, 74, 63, 0.12);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1240px;
}

/* === BASE RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: #FCFBF9;
  color: var(--brown);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; display: block; object-fit: cover; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* === SECTION HEADINGS === */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-border);
}
.sec-head .eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terra);
  margin-bottom: 4px;
}
.sec-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 600;
  color: var(--brown-dark);
  line-height: 1.25;
}
.sec-head .view-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--brown);
  white-space: nowrap;
  padding-bottom: 4px;
}
.sec-head .view-all:hover { color: var(--terra); transform: translateX(3px); }

/* ==========================================================================
   1. GLOBAL HEADER (HOUZZ-INSPIRED CLEAN & ARCHITECTURAL)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  box-shadow: 0 2px 12px rgba(90, 74, 63, 0.04);
}

.header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 104px;
  gap: 16px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brown-dark);
  white-space: nowrap;
}
.site-logo img {
  height: 84px;
  width: auto;
  display: block;
}
.footer-brand .site-logo {
  display: inline-flex;
  background: #F7F4EF;
  border-radius: 14px;
  padding: 8px 12px;
  margin-bottom: 14px;
}
.footer-brand .site-logo img { height: 64px; }

.header-tools { display: flex; align-items: center; justify-self: end; gap: 2px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: transparent; color: var(--brown-dark); cursor: pointer;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--gray-light); }
.header-search-pop { background: var(--white); border-top: 1px solid var(--gray-border); padding: 12px 0 16px; }
.header-search-pop[hidden] { display: none !important; }
.header-search-pop .header-search-form { max-width: 640px; margin: 0 auto; }
.nav-caret {
  display: inline-block; width: 0; height: 0; margin-left: 6px;
  border-left: 3.5px solid transparent; border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor; vertical-align: 2px;
}
.header-search-form {
  display: flex;
  align-items: center;
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-pill);
  padding: 4px 6px 4px 16px;
  transition: var(--transition);
}
.header-search-form:focus-within {
  background: var(--white);
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.18);
}
.header-search-icon { width: 16px; height: 16px; opacity: 0.55; margin-right: 8px; flex-shrink: 0; }
.header-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 13.5px;
  color: var(--brown-dark);
  outline: none;
  font-family: var(--font-sans);
}
.header-search-input::placeholder { color: var(--brown-light); opacity: 0.8; }
.header-search-btn {
  background: var(--brown-dark);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}
.header-search-btn:hover { background: var(--terra); }

/* Nav Links */
.header-nav { display: flex; align-items: center; justify-content: center; gap: 2px; }
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--brown-dark);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nav-link:hover { color: var(--brown); }

.header-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-icons .icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-light);
  font-size: 15px;
  transition: var(--transition);
}
.header-icons .icon-btn:hover {
  background: var(--cream);
  color: var(--terra);
  transform: translateY(-2px);
}

/* ==========================================================================
   BROWSE BY IDEAS FILTER BAR (HOUZZ STYLE)
   ========================================================================== */
.browse-filter-bar {
  background: #FAF8F5;
  border-top: 1px solid rgba(232, 226, 218, 0.6);
  padding: 8px 0;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.browse-filter-bar::-webkit-scrollbar { display: none; }
.browse-track {
  display: flex;
  align-items: center;
  gap: 8px;
}
.browse-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--brown);
  transition: var(--transition);
  flex-shrink: 0;
}
.browse-pill:hover, .browse-pill.active {
  background: var(--brown-dark);
  color: var(--white);
  border-color: var(--brown-dark);
}
.browse-pill.active { box-shadow: 0 4px 12px rgba(62, 50, 42, 0.2); }

/* ==========================================================================
   2. HERO SECTION (EDITORIAL FULL-WIDTH COVER)
   ========================================================================== */
.hero-wrap {
  position: relative;
  width: 100%;
  min-height: 560px;
  margin-bottom: 36px;
  background: #2D251F;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(32, 24, 18, 0.46) 0%, rgba(32, 24, 18, 0.18) 46%, rgba(32, 24, 18, 0.05) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 72px 24px;
  text-align: left;
}
.hero-content small {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #F3D9BA;
  margin-bottom: 12px;
}
.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 14px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.28);
}
.hero-content p {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  opacity: 0.92;
  margin-bottom: 24px;
  font-weight: 400;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #4A5333;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  transition: var(--transition);
}
.hero-btn:hover {
  background: #3B4328;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* ==========================================================================
   CAROUSEL CORE (ROUND ARROWS & TRACK)
   ========================================================================== */
.carousel {
  position: relative;
  margin-bottom: 56px;
}
.carousel .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-border);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  color: var(--brown-dark);
  z-index: 10;
  cursor: pointer;
  transition: var(--transition);
}
.carousel .arrow:hover {
  background: var(--brown-dark);
  color: var(--white);
  border-color: var(--brown-dark);
  transform: translateY(-50%) scale(1.08);
}
.carousel .arrow.prev { left: -18px; }
.carousel .arrow.next { right: -18px; }

.carousel .track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 6px 2px 14px;
}
.carousel .track::-webkit-scrollbar { display: none; }

/* ==========================================================================
   3. EXPLORE BY CATEGORY CARDS
   ========================================================================== */
.cat-card {
  position: relative;
  min-width: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.cat-card img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cat-card .overlay {
  background: var(--white);
  padding: 10px 12px 12px;
  color: var(--brown-dark);
}
.cat-card h3 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.cat-card:hover img { transform: scale(1.06); }

/* ==========================================================================
   4. FEATURED GUIDES (1 BIG LEFT + 4 SMALL RIGHT GRID)
   ========================================================================== */
.guides-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}

.guide-big {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 460px;
  box-shadow: var(--shadow-subtle);
  display: flex;
  align-items: flex-end;
}
.guide-big img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.guide-big .overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 32px 28px;
  background: linear-gradient(180deg, transparent 10%, rgba(0,0,0,0.62) 100%);
  color: var(--white);
}
.guide-big h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
}
.guide-big:hover img { transform: scale(1.05); }

.tag-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--terra);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 10px;
}
.tag-badge.editor { background: #A3B18A; color: #2B331A; }
.meta-read { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; opacity: 0.85; font-weight: 500; }
.meta-read svg { width: 14px; height: 14px; }
.tag-label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #8a8178; margin-bottom: 6px;
}
.guide-big .tag-badge { background: rgba(255,255,255,0.92); color: var(--brown-dark); }

.small-guides-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.guide-small {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.guide-small .thumb-wrap {
  position: relative;
  height: 130px;
  overflow: hidden;
}
.guide-small .thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.guide-small .body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.guide-small h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--brown-dark);
  margin-bottom: 8px;
}
.guide-small:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(212, 163, 115, 0.4);
}
.guide-small:hover img { transform: scale(1.06); }

/* ==========================================================================
   5. CURATED SHOP PICKS (PRODUCT CAROUSEL)
   ========================================================================== */
.prod-card {
  position: relative;
  flex: 0 0 calc(20% - 16px);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.prod-card .thumb-wrap {
  position: relative;
  height: 200px;
  background: var(--gray-light);
  overflow: hidden;
}
.prod-card .thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.prod-card .heart {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--brown-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: var(--transition);
}
.prod-card .heart:hover { transform: scale(1.15); color: var(--terra); }
.prod-card .body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.prod-card small {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 4px;
}
.prod-card h3 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 8px;
  line-height: 1.35;
}
.prod-card .price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-top: auto;
}
.prod-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(212, 163, 115, 0.4);
}
.prod-card:hover img { transform: scale(1.06); }

/* ==========================================================================
   6. POPULAR STORIES CAROUSEL
   ========================================================================== */
.story-card {
  flex: 0 0 calc(25% - 15px);
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.story-card .thumb-wrap {
  height: 160px;
  overflow: hidden;
}
.story-card .thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.story-card .body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.story-card small {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 4px;
}
.story-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 8px;
  line-height: 1.35;
}
.story-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.story-card:hover img { transform: scale(1.06); }

/* ==========================================================================
   7. GET INSPIRED (VISUAL MASONRY / PHOTO CAROUSEL)
   ========================================================================== */
.insp-card {
  flex: 0 0 calc(14.28% - 17px);
  min-width: 170px;
  height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  display: block;
}
.insp-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.insp-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.insp-card:hover img { transform: scale(1.08); }

/* ==========================================================================
   8. NEWSLETTER (EARTHY SAGE GREEN BANNER)
   ========================================================================== */
.newsletter-section {
  background: #E4EBD4;
  color: #3E322A;
  padding: 36px 0;
  margin-top: 8px;
}
.news-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.news-leaf { color: #6B7A4F; display: flex; }
.news-leaf svg { width: 46px; height: 46px; }
.news-text { max-width: 460px; flex: 1; }
.news-text h2 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #3E322A;
}
.news-text p { font-size: 14px; color: #5A4A3F; }
.news-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 480px;
}
.news-form input {
  flex: 1;
  padding: 12px 18px;
  border-radius: 6px;
  border: 1px solid #D9D9D9;
  background: var(--white);
  color: var(--brown-dark);
  font-size: 13.5px;
  outline: none;
}
.news-form button {
  background: #3E322A;
  color: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.news-form button:hover { background: #1C2011; }
.news-msg { font-size: 13px; margin-top: 6px; }

/* ==========================================================================
   9. FOOTER (DEEP ARCHITECTURAL BROWN)
   ========================================================================== */
.site-footer {
  background: var(--footer-bg);
  color: #DDD4CB;
  padding: 56px 0 28px;
  font-size: 13.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .site-logo { color: var(--white); margin-bottom: 12px; }
.footer-brand .site-logo svg { fill: #fff; }
.footer-brand p { font-size: 13.5px; color: #AFA498; margin-bottom: 20px; line-height: 1.5; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}
.footer-socials a:hover { background: var(--terra); color: var(--white); }

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #BBB0A3; }
.footer-col a:hover { color: var(--terra); }

.footer-motto { color: #E7E0D6; text-align: left; }
.footer-motto svg { width: 54px; height: 54px; margin-bottom: 12px; }
.footer-motto p { font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.45; color: #F3EEE8; }
.footer-socials svg { width: 16px; height: 16px; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 12.5px;
  color: #8C8072;
}

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 1024px) {
  .header-top { display: flex; justify-content: space-between; }
  .header-nav { display: none; }
  .guides-grid { grid-template-columns: 1fr; }
  .story-card { flex: 0 0 calc(50% - 10px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .home-cats { grid-template-columns: repeat(3, 1fr); }
  .home-trends, .home-inspire { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .header-top { height: 68px; }
  .header-top .site-logo img { height: 42px; }
  .mobile-panel .header-search-form { display: flex; }
  .story-card { flex: 0 0 85%; }
  .small-guides-list { grid-template-columns: 1fr; }
  .news-inner { flex-direction: column; text-align: center; }
  .news-form { width: 100%; flex-direction: column; }
  .news-leaf { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .carousel .arrow { display: none; }
  .hero-wrap { min-height: 440px; }
  .hero-content { padding: 48px 20px; }
  .home-cats, .home-shop, .home-inspire { grid-template-columns: 1fr 1fr; }
  .home-trends { grid-template-columns: 1fr; }
}

/* === Shared chrome added for filters and navigation === */
:focus-visible { outline: 2px solid var(--brown-dark); outline-offset: 2px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.nav-toggle {
  display: none; border: 1px solid var(--gray-border); background: var(--white);
  border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 13px; color: var(--brown-dark);
}
.nav-drop { position: relative; }
.nav-menu {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 30;
  background: var(--white); border: 1px solid var(--gray-border); border-radius: 10px;
  min-width: 210px; padding: 8px; box-shadow: var(--shadow-hover);
  flex-direction: column;
}
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { display: flex; }
.nav-menu a { display: block; padding: 8px 10px; border-radius: 6px; font-size: 14px; font-weight: 600; }
.nav-menu a:hover { background: var(--cream); }
.home-cats, .home-shop, .home-trends, .home-inspire { display: grid; gap: 16px; margin-bottom: 52px; }
.home-cats { grid-template-columns: repeat(6, 1fr); }
.home-shop { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.home-trends { grid-template-columns: repeat(4, 1fr); }
.home-inspire { grid-template-columns: repeat(6, 1fr); }
.home-shop .prod-card, .home-inspire .insp-card { flex: none; min-width: 0; width: 100%; box-shadow: none; }
.home-inspire .insp-card { height: 148px; border-radius: 8px; }
.trend-card { position: relative; display: block; height: 230px; border-radius: 10px; overflow: hidden; }
.trend-card img, .trend-card .media-fallback { width: 100%; height: 100%; object-fit: cover; }
.trend-card span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 14px;
  color: #fff; font-family: var(--font-serif); font-size: 1.05rem; line-height: 1.3;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
}
body.home .sec-head { border: 0; margin-bottom: 14px; }
body.home .sec-head .eyebrow { color: #8d847b; letter-spacing: 0.16em; }
body.home .sec-head h2 { font-size: clamp(1.55rem, 2.4vw, 2rem); }
.stars { color: #C4A574; letter-spacing: 1px; font-size: 13px; margin-bottom: 6px; }
.rating-count { color: #8A7A6C; letter-spacing: 0; }
.account-wrap { padding: 36px 24px 64px; max-width: 820px; }
.account-wrap h1 { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 8px; }
.account-lead { color: #8A7A6C; margin-bottom: 18px; }
.account-error { color: #8C3A32; margin-bottom: 12px; }
.account-form { display: grid; gap: 12px; max-width: 460px; margin: 18px 0 28px; }
.account-form input, .account-form textarea {
  width: 100%; margin-top: 4px; border: 1px solid #E6DFD6; border-radius: 10px; padding: 10px 12px; font: inherit;
}
.sitemap-list { margin-top: 18px; padding-left: 18px; }
.sitemap-list li { margin: 6px 0; }
.comment { border-top: 1px solid #E6DFD6; padding: 12px 0; }
.comment p { margin-top: 4px; }

body.contact-page { background: #F7F4EF; }
.contact-stage {
  width: min(1120px, calc(100% - 48px));
  margin: 28px auto 72px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 48px;
  align-items: start;
}
.contact-kicker {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  color: #A68462;
  margin-bottom: 14px;
}
.contact-copy h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: 0.95;
  color: #2B2520;
  font-weight: 600;
  margin-bottom: 18px;
}
.contact-intro {
  color: #5C5148;
  font-size: 1.08rem;
  line-height: 1.7;
  white-space: pre-wrap;
  max-width: 38ch;
}
.contact-points { list-style: none; margin-top: 32px; display: grid; gap: 16px; }
.contact-points li {
  padding-top: 14px;
  border-top: 1px solid #E4DCD2;
}
.contact-points span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #A68462;
  margin-bottom: 4px;
}
.contact-points a, .contact-points p { color: #2B2520; font-size: 1.05rem; }
.contact-card {
  background: #fff;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(43, 37, 32, 0.08);
}
.contact-card h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: #2B2520;
}
.contact-topics { border: 0; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.contact-topics legend {
  width: 100%;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8A7A6C;
  margin-bottom: 8px;
}
.contact-topics label { cursor: pointer; }
.contact-topics input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.contact-topics span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #E4DCD2;
  background: #FBF9F6;
  color: #3E322A;
  font-size: 14px;
}
.contact-topics input:checked + span { background: #2B2520; color: #fff; border-color: #2B2520; }
.contact-topics input:focus-visible + span { outline: 2px solid #A68462; outline-offset: 2px; }
.contact-card label { display: grid; gap: 6px; margin-bottom: 14px; font-size: 13px; color: #6F6258; }
.contact-card input:not([type="radio"]), .contact-card textarea {
  width: 100%;
  border: 1px solid #E6DFD6;
  background: #FCFBF9;
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  color: #2B2520;
  font-size: 16px;
}
.contact-card input:focus, .contact-card textarea:focus { outline: 2px solid #D4A373; border-color: transparent; }
.contact-card button {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: #2B2520;
  color: #fff;
  min-height: 52px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.contact-card button:hover { background: #433830; }
.contact-status { margin-top: 14px; color: #3B4328; }
.contact-card.is-sent .contact-topics,
.contact-card.is-sent > label,
.contact-card.is-sent > button { display: none; }
.contact-card.is-sent .contact-status { font-family: var(--font-serif); font-size: 1.7rem; line-height: 1.35; color: #2B2520; }
@media (max-width: 800px) {
  .contact-stage { grid-template-columns: 1fr; width: min(100% - 32px, 640px); gap: 28px; }
  .contact-card { padding: 22px; }
}

body.about-page { background: #F7F4EF; }
.about-stage { width: min(1120px, calc(100% - 48px)); margin: 18px auto 72px; }
.about-hero { max-width: 760px; padding: 28px 0 10px; }
.about-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 7vw, 5.4rem);
  line-height: 0.92;
  font-weight: 600;
  color: #2B2520;
  margin-bottom: 22px;
}
.about-lead { font-size: 1.2rem; line-height: 1.65; color: #5C5148; max-width: 42ch; margin-top: 14px; }
.about-prose, .about-founder, .about-principles, .about-stories { margin-top: 54px; }
.about-prose { max-width: 680px; }
.about-prose h2, .about-principles h2, .about-stories h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: #2B2520;
  margin-bottom: 16px;
}
.about-prose p { color: #5C5148; font-size: 1.08rem; line-height: 1.75; margin-top: 12px; }
.about-founder {
  background: #fff;
  border-radius: 28px;
  padding: 36px 40px;
  box-shadow: 0 18px 50px rgba(43, 37, 32, 0.06);
}
.about-founder h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 600;
  color: #2B2520;
  margin: 8px 0 12px;
}
.about-founder p { color: #5C5148; max-width: 46ch; line-height: 1.7; }
.about-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about-cards article {
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  min-height: 180px;
}
.about-cards h3 { font-family: var(--font-serif); font-size: 1.55rem; font-weight: 600; color: #2B2520; margin-bottom: 10px; }
.about-cards p { color: #6F6258; line-height: 1.6; }
.about-story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about-story-grid a { color: inherit; text-decoration: none; }
.about-story-grid img { width: 100%; height: 210px; object-fit: cover; border-radius: 18px; display: block; background: #EFE8DF; }
.about-story-grid span { display: block; margin-top: 10px; font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.3; color: #2B2520; }
.about-close {
  margin-top: 64px;
  background: #2B2520;
  color: #F7F4EF;
  border-radius: 28px;
  padding: 36px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.about-close p { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.about-close div { display: flex; gap: 10px; flex-wrap: wrap; }
.about-close a {
  color: #2B2520;
  background: #F7F4EF;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
}
body.legal-page, body.account-page { background: #F7F4EF; }
.legal-stage { width: min(1120px, calc(100% - 48px)); margin: 12px auto 72px; }
.legal-hero { max-width: 720px; padding: 24px 0 8px; }
.legal-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 4.8rem);
  line-height: 0.95;
  font-weight: 600;
  color: #2B2520;
  margin-bottom: 16px;
}
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 28px; align-items: start; margin-top: 28px; }
.legal-sheet {
  background: #fff;
  border-radius: 28px;
  padding: 36px 40px;
  box-shadow: 0 18px 50px rgba(43, 37, 32, 0.06);
}
.legal-sheet h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: #2B2520;
  margin: 28px 0 8px;
}
.legal-sheet h2:first-child { margin-top: 0; }
.legal-sheet p, .legal-sheet li { color: #5C5148; line-height: 1.7; margin-top: 10px; }
.legal-sheet ul { padding-left: 18px; }
.legal-rail { display: grid; gap: 8px; position: sticky; top: 24px; }
.legal-rail p { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #A68462; margin-bottom: 6px; }
.legal-rail a {
  color: #2B2520;
  text-decoration: none;
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
}
.legal-rail a[aria-current="page"] { background: #2B2520; color: #F7F4EF; }
.account-page .contact-copy h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: 0.95;
  font-weight: 600;
  color: #2B2520;
  margin-bottom: 16px;
}
.account-error { color: #8C3A32; margin-bottom: 12px; }
.account-switch { margin-top: 16px; text-align: center; }
.account-switch a { color: #5C5148; }
.account-page .about-stage { padding-top: 28px; }
.account-page .about-stage > h1 { font-family: var(--font-serif); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; color: #2B2520; margin-bottom: 8px; }
@media (max-width: 800px) {
  .legal-stage { width: min(100% - 32px, 640px); }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-sheet { padding: 24px; }
  .legal-rail { position: static; }
}
@media (max-width: 800px) {
  .about-stage { width: min(100% - 32px, 640px); }
  .about-cards, .about-story-grid { grid-template-columns: 1fr; }
  .about-founder, .about-close { padding: 24px; }
  .about-close { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 1024px) {
  .home-cats { grid-template-columns: repeat(3, 1fr); }
  .home-shop, .home-trends, .home-inspire { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .home-cats, .home-shop, .home-inspire { grid-template-columns: 1fr 1fr; }
  .home-trends { grid-template-columns: 1fr; }
  .trend-card { height: 210px; }
}
.nav-drop-col a { display: block; padding: 6px 0; font-size: 14px; font-weight: 600; }
.nav-drop-col a:first-child { font-family: var(--font-serif); font-size: 16px; margin-bottom: 4px; }
.nav-link.is-current { color: var(--terra); }
.mobile-panel {
  display: flex; flex-direction: column; gap: 4px; padding: 8px 24px 18px; background: var(--white); border-top: 1px solid var(--gray-border);
}
.mobile-panel[hidden] { display: none !important; }
.mobile-panel a { padding: 10px 4px; font-weight: 600; border-bottom: 1px solid var(--gray-light); }
.mobile-panel .header-search-form { margin: 8px 0 12px; }
.media-fallback { width: 100%; height: 100%; min-height: 140px; background: linear-gradient(160deg, #E7E0D8, #F7F1E7); }
.cat-card .media-fallback, .guide-big .media-fallback { position: absolute; inset: 0; }
body.browse { background: #F7F4EF; }
body.browse .site-header { box-shadow: none; }
body.browse .browse-filter-bar { background: #F7F4EF; border-top: 1px solid #EFEAE4; padding: 12px 0 14px; }
.archive-head { padding: 8px 0 4px; max-width: none; }
.archive-head h1 { font-family: var(--font-serif); font-size: clamp(2.5rem, 4.4vw, 3.5rem); font-weight: 600; color: var(--brown-dark); line-height: 1.12; }
.archive-head p { color: #8A7A6C; margin-top: 8px; font-size: 1.05rem; }
.filter-form { min-width: 0; }
.filter-top, .filter-actions, .chip-row, .jump-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-top { margin: 22px 0 0; }
.filter-actions { margin: 14px 0 12px; }
.filter-search { flex: 1 1 100%; min-width: 0; }
.filter-search input { width: 100%; min-width: 0; }
.filter-search input, .filter-find {
  width: 100%; border: 1px solid #E6DFD6; background: var(--white); border-radius: 999px;
  padding: 14px 18px; font: inherit; font-size: 15px; color: var(--brown-dark);
}
.filter-search input:focus, .filter-find:focus { outline: none; border-color: #C4B4A4; }
.filter-search-btn, .filter-apply, .filter-close {
  background: var(--brown-dark); color: var(--white); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 14px;
}
.filter-open, .sort-drop > summary {
  background: var(--white); color: var(--brown-dark); border: 1px solid #E6DFD6; border-radius: 999px;
  padding: 8px 16px; font-weight: 500; font-size: 14px;
}
.result-count { margin-left: auto; font-weight: 500; font-size: 14px; color: #8A7A6C; }
.filter-groups { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; width: 100%; min-width: 0; }
.filter-drop { position: relative; }
.filter-drop summary {
  list-style: none; cursor: pointer; background: var(--white); border: 1px solid #E6DFD6;
  border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 500; color: var(--brown-dark);
}
.filter-drop summary::-webkit-details-marker { display: none; }
.filter-badge { display: inline-block; margin-left: 6px; background: var(--terra); color: white; border-radius: 99px; padding: 0 6px; font-size: 11px; }
.filter-panel {
  display: none; position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; width: min(280px, 80vw);
  background: var(--white); border: 1px solid var(--gray-border); border-radius: 14px; padding: 10px;
  box-shadow: var(--shadow-hover); max-height: 320px; overflow: auto;
}
.filter-drop[open] > .filter-panel { display: block; }
.sort-panel a, .filter-option { display: flex; align-items: center; gap: 8px; padding: 7px 4px; font-size: 14px; }
.sort-panel a[aria-current="true"] { font-weight: 800; }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); flex: none; }
.filter-option-label { flex: 1; }
.filter-count { color: var(--brown-light); font-size: 12px; }
.filter-apply { margin-top: 8px; }
.chip-row { margin-bottom: 14px; }
.filter-chip { position: relative; }
.filter-chip, .jump-row a, .filter-clear {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid #E6DFD6; background: var(--white);
  border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 500; color: var(--brown-dark);
}
.filter-chip:hover, .filter-clear:hover { border-color: var(--terra); }
.jump-row { margin-bottom: 12px; }
.jump-row span { color: var(--brown-light); }
.filter-drawer-bar, .filter-drawer-actions, .filter-backdrop { display: none; }
.filter-drawer-scroll { display: contents; }
.filter-empty-note { color: var(--brown-light); font-size: 14px; }
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 8px 0 56px; }
.listing-grid .story-card {
  flex: none; width: auto; min-width: 0; background: #fff; border: 1px solid #EFEAE4;
  border-radius: 16px; box-shadow: 0 10px 28px rgba(62, 50, 42, 0.04); overflow: hidden;
}
.listing-grid .story-card a { display: flex; flex-direction: column; height: 100%; color: inherit; }
.listing-grid .story-card h2 { font-family: var(--font-serif); font-size: 1.18rem; font-weight: 600; color: var(--brown-dark); line-height: 1.35; margin: 0 0 8px; }
.listing-grid .story-card .body { padding: 14px 16px 16px; }
.listing-grid .listing-kicker {
  display: block; margin-bottom: 6px; color: #A68462; letter-spacing: 0.12em;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.listing-grid .thumb-wrap { height: 210px; background: #E7E0D8; border-radius: 0; }
.listing-grid .meta-read { color: #8A7A6C; font-size: 13px; opacity: 1; }
.listing-price { font-weight: 700; margin-top: 6px; color: var(--brown-dark); }
.empty-state { text-align: center; padding: 48px 16px 64px; }
.empty-state h2 { font-family: var(--font-serif); margin-bottom: 8px; }
.empty-state p { color: var(--brown-light); margin-bottom: 16px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding-bottom: 48px; }
.pager a, .pager span {
  min-width: 40px; text-align: center; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--gray-border); background: white; font-weight: 700;
}
.pager span { background: var(--brown-dark); color: white; }
.facet-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 18px; }
.facet-row a { border: 1px solid var(--gray-border); border-radius: 999px; padding: 4px 10px; font-size: 12px; background: white; }
body.filters-open { overflow: hidden; }
body.filters-open .filter-backdrop { display: block; position: fixed; inset: 0; background: rgba(43, 37, 32, .45); z-index: 1100; }
body.filters-open .filter-groups {
  display: flex; flex-direction: column; flex-wrap: nowrap; position: fixed; z-index: 1200;
  top: 48px; left: 50%; transform: translateX(-50%); width: min(640px, calc(100% - 24px));
  max-height: calc(100vh - 72px); overflow: hidden; background: var(--white); border-radius: 18px; padding: 16px;
  box-shadow: var(--shadow-hover);
}
body.filters-open .filter-drawer-scroll { display: block; overflow: auto; flex: 1 1 auto; min-height: 0; }
body.filters-open .filter-panel, body.filters-open .filter-drop > .filter-panel { display: block; position: static; width: auto; max-height: none; box-shadow: none; border: 0; padding: 4px 0 12px; }
body.filters-open .filter-drawer-bar, body.filters-open .filter-drawer-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
body.filters-open .filter-drawer-actions { flex: none; background: white; padding-top: 12px; border-top: 1px solid var(--gray-border); }
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .filter-groups { display: none; }
  body.filters-open .filter-groups { display: flex; top: 0; left: 0; transform: none; width: 100%; height: 100%; max-height: none; border-radius: 0; }
  .filter-actions .result-count { margin-left: auto; width: auto; }
}
@media (max-width: 640px) {
  .listing-grid { grid-template-columns: 1fr; }
  .footer-bottom a { color: #E7D7C6; }
}
