/* Second Hand Blues — Midnight still life palette */
:root {
  --olive-black: #23221A;
  --olive-line: #3A3829;
  --cream: #F5F1E8;
  --thread: #EDE6D3;
  --thread-muted: #CFC8B4;
  --ink: #1F3A5F;
  --ink-soft: #C9D3DE;
  --berry: #7A3B4B;
  --ochre: #C49A45;
  --dusty: #DDE3E6;
  --text: #23221A;
  --text-muted: #5C5A4E;
  --line: #D9D2C2;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--cream);
  color: var(--text);
}

img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--berry); }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

/* Announcement bar */
.announce {
  background: var(--berry);
  color: var(--thread);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 10px 16px;
}

/* Header */
.site-header { background: var(--olive-black); color: var(--thread); }
.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
}
.logo img { height: 92px; width: auto; }
.main-nav {
  width: 100%;
  border-top: 1px solid var(--olive-line);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 36px;
  padding: 8px 0;
}
.main-nav a {
  color: var(--thread);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--thread); border-bottom-color: var(--ochre); }
.main-nav a.active { border-bottom-color: var(--ochre); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-cream { background: var(--thread); color: var(--ink); }
.btn-cream:hover { background: #FFFFFF; color: var(--ink); }
.btn-outline { border-color: var(--thread); color: var(--thread); }
.btn-outline:hover { background: var(--thread); color: var(--olive-black); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: #2A4C78; color: var(--cream); }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre);
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; }

/* Hero */
.hero { background: var(--olive-black); color: var(--thread); padding-bottom: 4rem; }
.hero-inner { display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; }
.hero-copy {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 3rem 0;
}
.hero-copy h1 { font-size: clamp(40px, 5vw, 64px); }
.hero-copy p { color: var(--thread-muted); font-size: 17px; max-width: 440px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-inner { justify-content: center; text-align: center; }
.hero-inner .hero-copy { align-items: center; max-width: 760px; }
.hero-inner .hero-copy p { margin: 0 auto; }
.hero-inner .hero-actions { justify-content: center; }
.split-solo { justify-content: center; text-align: center; background: var(--dusty); border-radius: 8px; padding: 3.5rem 2rem; }
.split-solo .split-copy { align-items: center; max-width: 640px; }
.split-solo .split-copy p { color: #3C3A30; }
.hero-photo { flex: 1 1 420px; min-height: 480px; border-radius: 4px; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
.section { padding: 4rem 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.section-head h2 { font-size: 32px; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.category-card {
  background: var(--dusty);
  border-radius: 4px;
  padding: 28px 22px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s ease;
}
.category-card:hover { background: #CDD6DB; color: var(--text); }
.category-card span:first-child { font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.category-card span:last-child { font-size: 14px; color: var(--ink); }

/* Feature bands */
.band { padding: 4rem 0; }
.band-ink { background: var(--ink); color: var(--thread); }
.band-ink p { color: var(--ink-soft); }
.band-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.band-copy { flex: 1 1 460px; display: flex; flex-direction: column; gap: 12px; }
.band-copy h2 { font-size: 40px; line-height: 1.15; }
.band-copy p { max-width: 540px; }

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}
.split-photo { flex: 1 1 400px; border-radius: 4px; overflow: hidden; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-copy { flex: 1 1 400px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.split-copy h2 { font-size: 36px; }
.split-copy p { color: var(--text-muted); max-width: 480px; }

/* Page header for inner pages */
.page-header { padding: 3.5rem 0 1.5rem; text-align: center; }
.page-header h1 { font-size: clamp(36px, 4.5vw, 52px); margin-top: 8px; }
.page-header p { color: var(--text-muted); margin-top: 10px; font-size: 17px; }

/* Shop */
.collection-block { margin-top: 3.5rem; }
.collection-block h2 {
  font-size: 28px;
  padding-bottom: 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.collection-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 1.5rem;
}
.collection-nav a {
  border: 1px solid var(--text);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
}
.collection-nav a:hover { background: var(--text); color: var(--cream); }

/* Forms */
.form-card {
  background: #FFFDF8;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2rem;
}
.form-card h2, .form-card h3 { font-size: 28px; margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group > label, .field-label { font-size: 14px; font-weight: 500; }
input[type="text"], input[type="email"], input[type="url"], select, textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text);
  background: #FFFFFF;
  border: 1px solid #C9C1AE;
  border-radius: 6px;
  padding: 12px 14px;
  min-height: 44px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.contact-form input, .contact-form textarea { margin-bottom: 14px; }

.bundle-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.bundle-option { cursor: pointer; }
.bundle-option input { position: absolute; opacity: 0; pointer-events: none; }
.bundle-card {
  height: 100%;
  background: var(--dusty);
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 18px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.bundle-card h4 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin-bottom: 6px; }
.bundle-card ul { list-style: none; font-size: 14px; color: var(--text-muted); }
.bundle-card p { font-size: 14px; color: var(--text-muted); }
.bundle-option input:checked + .bundle-card { border-color: var(--ink); background: #CDD6DB; }
.bundle-option input:focus-visible + .bundle-card { outline: 2px solid var(--ink); outline-offset: 2px; }
.checkbox-group label { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 400; }
.checkbox-group input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); }

/* About */
.about-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-bottom: 4rem; }
.about-photo {
  flex: 1 1 300px;
  max-width: 420px;
  background: var(--dusty);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.about-photo img { max-height: 640px; width: auto; }
.about-right { flex: 999 1 420px; display: flex; flex-direction: column; gap: 32px; }
.about-bio h2 { font-size: 34px; margin-bottom: 14px; }
.about-bio p { font-size: 17px; color: #3C3A30; max-width: 620px; }

/* Footer */
.site-footer { background: var(--olive-black); color: var(--thread-muted); padding: 3.5rem 0 2rem; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.footer-brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; }
.footer-brand img { width: 220px; height: auto; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col strong { color: var(--thread); font-weight: 500; }
.footer-col a { color: var(--thread-muted); text-decoration: none; }
.footer-col a:hover { color: var(--thread); }
.footer-bottom { border-top: 1px solid var(--olive-line); margin-top: 2.5rem; padding-top: 1.25rem; font-size: 13px; color: #A39E8A; }

@media (max-width: 640px) {
  .wrap { padding: 0 1.25rem; }
  .logo img { height: 64px; }
  .main-nav { gap: 2px 20px; }
  .main-nav a { font-size: 13px; }
  .hero-photo { min-height: 320px; }
  .band-copy h2 { font-size: 32px; }
  .form-card { padding: 1.25rem; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .category-card { min-height: 112px; padding: 18px 16px; }
  .category-card span:first-child { font-size: 19px; }
}

/* ---------- Homepage logo hero ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.home .site-header .logo { display: none; }
.home .header-inner { padding-top: 6px; }
.hero-logo { min-height: calc(100vh - 100px); min-height: calc(100svh - 100px); display: flex; align-items: center; padding: 2rem 0 3.5rem; }
.hero-logo-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.75rem; width: 100%; }
.hero-logo-img { width: min(92vw, 1180px); height: auto; }
.hero-tagline { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 30px); color: var(--thread); margin: 0; max-width: 900px; }
.hero-tagline span { color: var(--ochre); padding: 0 .35em; }
.lead-strong { font-family: var(--serif); font-size: 24px; color: var(--berry) !important; }

/* ---------- Shop filters ---------- */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: 16px; }
.filters-toggle { display: none; width: 100%; }
.filter-group { margin-bottom: 1.75rem; }
.filter-title { display: block; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 .6rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.cat-tree, .sub-list { list-style: none; margin: 0; padding: 0; }
.cat-btn, .sub-btn { font: inherit; display: flex; justify-content: space-between; width: 100%; text-align: left; background: none; border: 0; padding: 7px 0; cursor: pointer; color: var(--text); }
.cat-btn { font-family: var(--serif); font-size: 19px; border-bottom: 1px solid var(--line); }
.cat-btn[aria-pressed="true"], .cat-btn[aria-expanded="true"] { color: var(--ink); }
.sub-list { padding: 4px 0 8px 14px; border-left: 2px solid var(--ink-soft); margin: 6px 0 4px; }
.sub-btn { font-size: 15px; padding: 5px 0; color: var(--text-muted); }
.sub-btn:hover:not(:disabled), .cat-btn:hover { color: var(--berry); }
.sub-btn[aria-pressed="true"] { color: var(--ink); font-weight: 500; }
.sub-btn:disabled { opacity: .4; cursor: default; }
.count { font-family: var(--sans); font-size: 13px; color: var(--text-muted); font-weight: 400; }
#sortSelect { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--text); }
.check { display: flex; gap: 8px; align-items: center; font-size: 15px; cursor: pointer; }
.link-btn { font: inherit; font-size: 14px; background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; cursor: pointer; }
.results-bar { font-size: 15px; color: var(--text-muted); margin-bottom: 1.25rem; }
#activeFilters { color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 20px; }
.product-card { font: inherit; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; gap: 6px; color: var(--text); }
.product-img { position: relative; display: block; aspect-ratio: 1 / 1; background: #C6D6E4; border-radius: 6px; overflow: hidden; margin-bottom: 6px; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-img img { transform: scale(1.03); }
.product-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 6px; }
.product-title { font-family: var(--serif); font-size: 17px; line-height: 1.25; }
.product-price { font-size: 15px; color: var(--text-muted); }
.is-sold .product-img img { opacity: .55; }
.sold-badge { position: absolute; top: 10px; left: 10px; background: var(--olive-black); color: var(--thread); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.empty { grid-column: 1 / -1; color: var(--text-muted); padding: 2rem 0; }
@media (max-width: 820px) {
  .shop-layout { grid-template-columns: 1fr; gap: 20px; }
  .filters { position: static; }
  .filters-toggle { display: block; }
  .filter-panel { display: none; padding-top: 1.25rem; }
  .filters.open .filter-panel { display: block; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
}
.home .main-nav { border-top: 0; }
.hero-logo .hero-actions { justify-content: center; }
.about-bio p + p { margin-top: 1em; }
.about-bio p { line-height: 1.65; }
@media (max-width: 600px) {
  .hero-tagline span { display: block; height: 0; overflow: hidden; }
}

/* ======== Nov 24 redesign ======== */
/* Header: berry bar, logo left, nav inline, favorites heart right */
.site-header { background: var(--berry); color: var(--thread); position: sticky; top: 0; z-index: 40; }
.header-bar { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; flex-direction: row; }
.site-header .logo { display: block; flex: 0 0 auto; }
.site-header .logo img { height: 34px; width: auto; display: block; }
.home .site-header .logo { display: none; }
.site-header .main-nav { width: auto; border-top: 0; padding: 0; justify-content: flex-start; gap: 4px 28px; flex: 1 1 auto; }
.main-nav a { color: var(--thread); border-bottom: 2px solid transparent; padding: 4px 0; }
.main-nav a:hover, .main-nav a.active { color: #fff; border-bottom-color: var(--ochre); }
.fav-toggle { position: relative; margin-left: auto; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--thread); line-height: 0; }
.fav-toggle svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.fav-toggle:hover svg { fill: currentColor; }
.fav-count { position: absolute; top: -2px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; background: var(--ochre); color: var(--olive-black); font-size: 11px; font-weight: 500; line-height: 18px; text-align: center; }

/* Square buttons everywhere */
.btn, .chip, button.btn, .filters-toggle, .carousel-arrow, #sortSelect { border-radius: 0 !important; }

/* Hero with photo */
.hero-photo-band { position: relative; min-height: calc(100vh - 62px); min-height: calc(100svh - 62px); display: flex; align-items: center; justify-content: center;
  background: url('hero-rack.jpg') center 45% / cover no-repeat; }
.hero-photo-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,34,26,.55), rgba(35,34,26,.45) 55%, rgba(35,34,26,.65)); }
.hero-overlay { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; padding: 3rem 1.25rem; width: 100%; }
.hero-photo-band .hero-logo-img { width: min(90vw, 1000px); height: auto; filter: drop-shadow(0 4px 18px rgba(0,0,0,.45)); }
.hero-photo-band .hero-tagline { color: var(--thread); text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.hero-photo-band .hero-actions { justify-content: center; }

.section-tight { padding-top: 1rem; }
.section-sub { color: var(--text-muted); margin: -0.5rem 0 1.25rem; }
.cat-row { margin-bottom: 2.75rem; }

/* Carousel */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item { scroll-snap-align: start; min-width: 0; }
.carousel-arrow { position: absolute; top: calc(50% - 40px); transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--cream); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.carousel-arrow:hover:not(:disabled) { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.carousel-arrow:disabled { opacity: 0; pointer-events: none; }
.carousel-arrow.prev { left: -14px; } .carousel-arrow.next { right: -14px; }

/* Product cards: hover second photo + heart */
.product-card { position: relative; display: block; }
.product-open { font: inherit; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; gap: 6px; color: var(--text); width: 100%; }
.product-open:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.product-img { position: relative; display: block; aspect-ratio: 1 / 1; background: #C6D6E4; overflow: hidden; margin-bottom: 6px; border-radius: 0; }
.product-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s ease, transform .35s ease; }
.product-img .img-alt { opacity: 0; }
.product-card:hover .has-alt .img-alt, .product-open:focus-visible .has-alt .img-alt { opacity: 1; }
.product-card:hover .has-alt .img-main { opacity: 0; }
.product-card:hover .product-img img { transform: none; }
.heart-btn { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: rgba(245,241,232,.85); border: 0; cursor: pointer; color: var(--berry); padding: 0; }
.heart-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: fill .15s ease; }
.heart-btn:hover svg, .heart-btn.is-fav svg { fill: currentColor; }
.heart-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Favorites drawer */
.fav-scrim { position: fixed; inset: 0; background: rgba(35,34,26,.45); z-index: 60; }
.fav-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 92vw); background: var(--cream); z-index: 70; box-shadow: -8px 0 30px rgba(0,0,0,.18); display: flex; flex-direction: column; }
.fav-drawer[hidden], .fav-scrim[hidden] { display: none; }
.fav-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.fav-drawer-head h2 { font-size: 26px; margin: 0; }
.fav-close { background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; color: var(--text); }
.fav-list { overflow-y: auto; padding: 14px 22px; display: flex; flex-direction: column; gap: 14px; }
.fav-item { display: flex; align-items: center; gap: 10px; }
.fav-open { flex: 1; display: flex; gap: 14px; align-items: center; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font: inherit; color: var(--text); }
.fav-open img { width: 80px; height: 80px; object-fit: cover; background: #C6D6E4; }
.fav-text { display: flex; flex-direction: column; gap: 4px; }
.fav-title { font-family: var(--serif); font-size: 16px; line-height: 1.25; }
.fav-price { font-size: 14px; color: var(--text-muted); }
.fav-remove { background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--text-muted); padding: 4px 8px; }
.fav-empty { color: var(--text-muted); }

/* Footer logo */
.footer-brand img { height: 30px; width: auto; }

@media (max-width: 820px) {
  .header-bar { gap: 14px; flex-wrap: wrap; }
  .site-header .logo img { height: 24px; }
  .site-header .main-nav { order: 3; flex-basis: 100%; gap: 4px 20px; }
  .home .site-header .main-nav { order: 0; flex-basis: auto; }
  .carousel-track { grid-auto-columns: 70%; gap: 14px; }
  .carousel-arrow { display: none; }
}
.hero-photo-band::before { background: linear-gradient(180deg, rgba(35,34,26,.68), rgba(35,34,26,.58) 50%, rgba(35,34,26,.75)); }
.hero-photo-band .hero-logo-img { filter: drop-shadow(0 2px 3px rgba(0,0,0,.7)) drop-shadow(0 6px 24px rgba(0,0,0,.55)); }
@media (max-width: 820px) {
  .home .header-bar { flex-wrap: nowrap; }
  .home .site-header .main-nav { flex-wrap: nowrap; gap: 14px; }
  .home .main-nav a { font-size: 13px; letter-spacing: .04em; }
}

/* ===== Nov 24 v2: centered nav, shop dropdown, cart, heart, filter chips ===== */
.header-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.site-header .logo, .logo-spacer { justify-self: start; }
.home .site-header .logo { display: none; }
.site-header .main-nav { justify-self: center; justify-content: center; flex: none; align-items: center; }
.header-icons { justify-self: end; display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--thread); line-height: 0; margin: 0; }
.icon-btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.fav-toggle:hover svg { fill: currentColor; }
.cart-toggle:hover { color: #fff; }
.fav-count, .cart-count { position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 4px; background: var(--ochre); color: var(--olive-black); font-size: 11px; font-weight: 500; line-height: 18px; text-align: center; border-radius: 9px; }
.fav-count[hidden], .cart-count[hidden] { display: none; }
.shopify-buy-frame--toggle { display: none !important; }

/* Shop dropdown */
.nav-dd { position: relative; display: flex; align-items: center; gap: 2px; }
.dd-caret { background: none; border: 0; color: var(--thread); cursor: pointer; padding: 4px; line-height: 0; }
.dd-caret svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .2s ease; }
.nav-dd.open .dd-caret svg, .nav-dd:hover .dd-caret svg { transform: rotate(180deg); }
.dd-panel { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 16px; z-index: 50; display: none; }
.nav-dd:hover .dd-panel, .nav-dd.open .dd-panel { display: block; }
.dd-inner { background: var(--cream); color: var(--text); border-top: 3px solid var(--berry); box-shadow: 0 14px 34px rgba(0,0,0,.18); padding: 26px 30px; display: grid; grid-template-columns: repeat(5, minmax(120px, auto)); gap: 28px; width: max-content; max-width: 94vw; }
.dd-col ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.main-nav .dd-inner a { color: var(--text); border: 0; padding: 0; font-size: 14px; letter-spacing: 0; text-transform: none; }
.main-nav .dd-inner a.dd-cat { font-family: var(--serif); font-size: 18px; color: var(--ink); }
.main-nav .dd-inner a:hover { color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }

/* Heart: heart-shaped, appears on hover */
.heart-btn { background: none; width: 40px; height: 40px; top: 6px; right: 6px; opacity: 0; transition: opacity .15s ease; }
.heart-btn svg { width: 26px; height: 26px; filter: drop-shadow(0 1px 2px rgba(35,34,26,.25)); }
.product-card:hover .heart-btn, .heart-btn:focus-visible { opacity: 1; }
@media (hover: none) { .heart-btn { opacity: 1; } }

/* Footer: unstretched logo */
.footer-brand img { align-self: flex-start; height: 30px; width: auto; max-width: 100%; object-fit: contain; }

/* Active filter chips */
.results-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.active-filters { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { font: inherit; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; background: var(--dusty); color: var(--ink); border: 0; padding: 4px 10px; cursor: pointer; }
.chip-x { display: inline-block; width: 0; overflow: hidden; opacity: 0; font-size: 17px; line-height: 1; transition: width .15s ease, opacity .15s ease; }
.filter-chip:hover .chip-x, .filter-chip:focus-visible .chip-x { width: 12px; opacity: 1; }
.filter-chip:hover { background: var(--ink-soft); }
@media (hover: none) { .chip-x { width: 12px; opacity: 1; } }
.filter-group select { width: 100%; }

/* No results */
.empty-search { text-align: center; padding: 3.5rem 1rem; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty-search h2 { font-size: 28px; color: var(--text); }
.empty-search p { max-width: 420px; }

@media (max-width: 760px) {
  .header-bar { grid-template-columns: 1fr auto; row-gap: 8px; }
  .site-header .main-nav { grid-column: 1 / -1; grid-row: 2; order: 0; flex-basis: auto; }
  .home .header-bar { grid-template-columns: 1fr auto; }
  .home .site-header .main-nav { grid-column: 1; grid-row: 1; justify-self: start; }
  .logo-spacer { display: none; }
  .dd-panel { position: fixed; left: 0; right: 0; transform: none; top: auto; padding-top: 10px; }
  .dd-inner { grid-template-columns: repeat(2, 1fr); width: auto; max-width: none; gap: 20px; padding: 20px; }
  .nav-dd:hover .dd-panel { display: none; }
  .nav-dd.open .dd-panel { display: block; }
}
