@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Work+Sans:wght@300;400;500;600&display=swap');

:root{
  --bg: #FFFFFF;
  --bg-alt: #F1EFEA;
  --ink: #17140F;
  --ink-muted: #6B655C;
  --accent: #B96A2C;
  --line: #DFDBD3;
  --dark: #141210;
  --dark-ink: #EDE8E0;
  color-scheme: light only;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; color-scheme: light only; overflow-x: hidden; }
body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
img{ display:block; max-width:100%; }
a{ color: inherit; }

h1,h2,h3{
  font-family: 'Fraunces', serif;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}

.wrap{ max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px){
  .wrap{ padding: 0 20px; }
  .header-inner{ padding: 16px 20px; }
  .hero-content{ left: 20px; right: 20px; }
}

/* ---------- HEADER ---------- */
header.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content: space-between;
  padding: 18px 32px;
  max-width: 1200px; margin: 0 auto;
}
.logo{
  font-family:'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.logo span{ color: var(--accent); font-style: italic; }
.main-nav{ display:flex; align-items:center; gap: 32px; }
.main-nav a{
  font-size: 14px;
  text-decoration:none;
  color: var(--ink-muted);
  transition: color .2s ease;
}
.main-nav a:hover, .main-nav a.active{ color: var(--ink); }
.header-actions{ display:flex; align-items:center; gap: 18px; }
.icon-link{ color: var(--ink); text-decoration:none; }
.btn-catalog{
  background: var(--ink); color:#fff; text-decoration:none;
  padding: 10px 20px; font-size: 13.5px; border-radius: 2px;
  transition: background .2s ease;
}
.btn-catalog:hover{ background: var(--accent); }

.burger{
  width: 30px; height: 20px;
  display:flex; flex-direction: column; justify-content: space-between;
  background:none; border:none; padding:0; cursor:pointer;
}
.burger span{ display:block; height: 1.4px; width:100%; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
.burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(9.3px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-9.3px) rotate(-45deg); }

.menu-overlay{
  position: fixed; inset:0; background: var(--dark); color: var(--dark-ink);
  z-index: 60; display:flex; flex-direction:column; justify-content:center;
  padding: 40px; transform: translateY(-100%);
  transition: transform .5s cubic-bezier(.76,0,.24,1);
}
.menu-overlay.open{ transform: translateY(0); }
.menu-overlay .menu-links{ display:flex; flex-direction:column; gap: 20px; margin-bottom: 50px; }
.menu-overlay .menu-links a{
  font-family:'Fraunces', serif; font-size: clamp(30px, 8vw, 46px);
  color: var(--dark-ink); text-decoration:none; font-style: italic;
}
.menu-overlay .menu-bottom{ display:flex; flex-direction:column; gap: 10px; font-size: 15px; }
.menu-overlay .menu-bottom a{ color:#B9B2A6; text-decoration:none; }

@media (max-width: 900px){
  .main-nav{ display:none; }
  .header-actions .btn-catalog{ display:none; }
}

/* ---------- REVEAL (light touch) ---------- */
[data-reveal]{ opacity:0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in-view{ opacity:1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity:1 !important; transform:none !important; transition:none !important; }
}

/* ---------- HERO SLIDER ---------- */
.hero{ position: relative; height: 88vh; min-height: 520px; overflow:hidden; }
.hero-track{ display:flex; width:100%; height:100%; transition: transform .55s cubic-bezier(.65,0,.35,1); touch-action: pan-y; }
.hero-slide{ position:relative; flex: 0 0 100%; width:100%; height:100%; }
.hero-slide img{ width:100%; height:100%; object-fit: cover; object-position: center 20%; max-width: 2200px; margin: 0 auto; }
.hero::after{ content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(20,18,16,0.12) 0%, rgba(20,18,16,0.06) 40%, rgba(20,18,16,0.72) 100%); pointer-events:none; z-index:1; }
.hero-content{ position:absolute; left:24px; right:24px; bottom:52px; color:#fff; display:flex; justify-content:space-between; align-items:flex-end; gap:24px; flex-wrap:wrap; z-index:2; }
.hero-title{ font-size: clamp(30px, 5.6vw, 58px); line-height: 1.05; max-width: 680px; font-style: italic; font-weight: 400; text-shadow: 0 2px 18px rgba(0,0,0,.28); }
.hero-tagline{ font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color:#fff; margin-bottom: 14px; opacity: .92; }
.hero-sub{
  max-width: 360px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: #fff;
  padding-bottom: 6px;
  text-shadow: 0 1px 14px rgba(0,0,0,.4), 0 1px 3px rgba(0,0,0,.5);
}
.hero-sub strong{ font-weight: 600; }

.hero-dots{
  position:absolute; left:50%; transform:translateX(-50%); bottom: 18px; z-index:3;
  display:flex; gap:8px;
}
.hero-dots button{
  width:7px; height:7px; border-radius:50%; border:1px solid rgba(255,255,255,.8);
  background: rgba(255,255,255,.25); padding:0; cursor:pointer; transition: background .2s ease, transform .2s ease;
}
.hero-dots button.active{ background:#fff; transform: scale(1.2); }

.hero-arrow{
  position:absolute; top:50%; transform: translateY(-50%); z-index:3;
  width:40px; height:40px; border-radius:50%; border:1px solid rgba(255,255,255,.5);
  background: rgba(20,18,16,.25); color:#fff; font-size:18px; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.hero-arrow.left{ left:16px; }
.hero-arrow.right{ right:16px; }
@media (max-width: 720px){ .hero-arrow{ display:none; } }

/* ---------- CATEGORY BLOCKS ---------- */
.categories{ padding: 90px 0; }
.categories-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.categories-grid.cols-3{ grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 900px){ .categories-grid.cols-3{ grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px){
  .categories-grid:not(.cols-3){ max-width: 780px; margin: 0 auto; }
}
.category-card{ display:flex; flex-direction:column; border-radius: 2px; overflow:hidden; text-decoration:none; }
.category-card .cat-photo{ position:relative; aspect-ratio: 3/4; overflow:hidden; background: var(--bg-alt); }
@media (min-width: 900px){
  .category-card .cat-photo{ aspect-ratio: 4/3.6; }
}
.category-card .cat-photo img{ width:100%; height:100%; object-fit:cover; transition: transform .6s ease; }
.category-card:hover .cat-photo img{ transform: scale(1.04); }
.category-card .cat-content{ padding: 20px 4px 0; color: var(--ink); }
.category-card h3{ font-size: clamp(20px, 2.6vw, 26px); margin-bottom: 6px; }
.category-card p{ font-size: 14px; color: var(--ink-muted); margin: 0 0 16px; }
.category-card .cat-btn{
  display:inline-block; background: var(--ink); color:#fff; text-decoration:none;
  padding: 12px 24px; font-size: 13.5px; border-radius: 2px; transition: background .2s ease, color .2s ease;
}
.category-card .cat-btn:hover{ background: var(--accent); color:#fff; }

@media (max-width: 720px){ .categories-grid{ grid-template-columns: 1fr; } }

/* ---------- GENERIC KICKER ---------- */
.kicker{ font-size:13px; color: var(--accent); font-weight:500; letter-spacing: 0.04em; margin-bottom: 14px; text-transform: uppercase; }

/* ---------- CATALOG CONTACTS BLOCK ---------- */
.catalog-contacts{
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 28px 28px;
  display:flex;
  flex-wrap: wrap;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 56px;
}
.catalog-contacts .cc-text{ font-size: 14px; color: var(--ink-muted); }
.catalog-contacts .cc-links{ display:flex; flex-wrap: wrap; gap: 14px; }
.catalog-contacts .cc-links a{
  display:inline-flex; align-items:center; gap:8px;
  background: #fff; border:1px solid var(--line); color: var(--ink);
  text-decoration:none; padding: 11px 18px; font-size: 13.5px; border-radius: 2px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.catalog-contacts .cc-links a:hover{ background: var(--ink); color:#fff; border-color: var(--ink); }
@media (max-width: 640px){
  .catalog-contacts{ padding: 22px 18px; flex-direction: column; align-items: flex-start; }
}

/* ---------- SECTION HEAD ---------- */
.section-head{ margin-bottom: 44px; }
.section-head h2{ font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 10px; }
.section-head p{ color: var(--ink-muted); font-size: 15px; max-width: 480px; }
.section-head.center{ text-align:center; }
.section-head.center p{ margin: 0 auto; }

/* ---------- BREADCRUMB / PAGE HERO ---------- */
.page-hero{ padding: 56px 0 20px; border-bottom: 1px solid var(--line); }
.breadcrumb{ font-size: 13px; color: var(--ink-muted); margin-bottom: 18px; }
.breadcrumb a{ text-decoration:none; color: var(--ink-muted); }
.breadcrumb a:hover{ color: var(--ink); }
.page-hero h1{ font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 12px; }
.page-hero p{ color: var(--ink-muted); font-size: 15px; max-width: 520px; }
.catalog-switch{ display:flex; gap: 18px; margin-top: 22px; }
.catalog-switch a{
  font-size: 13.5px; text-decoration:none; padding: 8px 0;
  border-bottom: 2px solid transparent; color: var(--ink-muted);
}
.catalog-switch a.active{ color: var(--ink); border-color: var(--accent); }

/* ---------- PRODUCT GRID ---------- */
.product-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px;
  padding: 56px 0 100px;
}
.product-card{ display:flex; flex-direction:column; }
.product-photo{ aspect-ratio: 4/5; overflow:hidden; background: var(--bg-alt); border-radius: 2px; margin-bottom: 16px; }
.product-photo img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.product-card:hover .product-photo img{ transform: scale(1.03); }
.product-card h3{ font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.product-meta{ font-size: 13px; color: var(--ink-muted); margin-bottom: 4px; }
.product-meta .label{ color: var(--ink); font-weight:500; }
.product-price{ font-family:'Fraunces', serif; font-size: 16px; margin: 8px 0 12px; }
.product-order{
  align-self:flex-start; font-size: 13px; text-decoration:none; color: var(--ink);
  border-bottom: 1px solid var(--ink); padding-bottom: 2px; transition: color .2s ease, border-color .2s ease;
}
.product-order:hover{ color: var(--accent); border-color: var(--accent); }

@media (max-width: 900px){ .product-grid{ grid-template-columns: 1fr 1fr; gap: 30px 20px; } }
@media (max-width: 560px){ .product-grid{ grid-template-columns: 1fr; } }

/* ---------- SPLIT (about / process) ---------- */
.split{ display:grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items:center; padding: 100px 0; }
.split.reverse .split-img{ order:2; }
.split.reverse .split-text{ order:1; }
.split-img img{ border-radius: 2px; }
.split-text .kicker{ font-size:13px; color: var(--accent); margin-bottom: 16px; font-weight:500; }
.split-text h2{ font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 20px; }
.split-text p{ color: var(--ink-muted); font-size: 16px; max-width: 460px; }
.split-text p + p{ margin-top: 12px; }
@media (max-width: 860px){
  .split{ grid-template-columns: 1fr; gap: 32px; padding: 64px 0; }
  .split.reverse .split-img{ order:1; }
  .split.reverse .split-text{ order:2; }
}

/* ---------- PERKS ---------- */
.perks{ border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.perks-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 0; }
.perk{ display:flex; flex-direction:column; gap: 8px; }
.perk svg{ width:24px; height:24px; stroke: var(--accent); }
.perk .perk-title{ font-size: 14px; font-weight:500; }
.perk .perk-sub{ font-size: 12px; color: var(--ink-muted); }
@media (max-width: 720px){ .perks-grid{ grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ ---------- */
.faq{ padding: 90px 0; }
.faq-item{ border-top: 1px solid var(--line); }
.faq-item:last-child{ border-bottom: 1px solid var(--line); }
.faq-item summary{
  cursor:pointer; list-style:none; padding: 20px 0;
  display:flex; justify-content:space-between; align-items:center;
  font-size: 15.5px; font-weight:500;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary .plus{ font-family:'Fraunces', serif; font-size: 20px; color: var(--accent); transition: transform .3s ease; }
.faq-item[open] summary .plus{ transform: rotate(45deg); }
.faq-item p{ margin: 0 0 22px; color: var(--ink-muted); font-size: 14.5px; max-width: 560px; }

/* ---------- LOCATION ---------- */
.location{ padding: 90px 0; background: var(--bg-alt); }
.location-wrap{ display:grid; grid-template-columns: 1.2fr 0.8fr; border: 1px solid var(--line); background: #fff; }
.location-map{ position:relative; min-height: 400px; background: var(--bg-alt); }
.location-map iframe, .location-map img{ position:absolute; inset:0; width:100%; height:100%; border:0; object-fit:cover; }
.location-card{ padding: 52px 44px; display:flex; flex-direction:column; justify-content:center; border-left: 1px solid var(--line); }
.location-card .kicker{ font-size:13px; color: var(--accent); font-weight:500; margin-bottom: 14px; }
.location-card h2{ font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.location-card .addr{ color: var(--ink-muted); font-size: 15px; margin: 0 0 24px; }
.hours-row{ display:flex; justify-content:space-between; font-size: 14px; padding: 8px 0; border-top: 1px solid var(--line); }
.hours-row:last-child{ border-bottom: 1px solid var(--line); }
.status{ font-size: 13px; font-weight:500; margin: 18px 0; display:flex; align-items:center; gap:8px; }
.status .dot{ width:7px; height:7px; border-radius:50%; background: var(--ink-muted); }
.status.open .dot{ background:#5C7A4E; }
.status.closed .dot{ background:#B3402F; }
.phone-line{ font-size: 14px; color: var(--ink-muted); margin: 0 0 20px; }
.phone-line a{ color: var(--ink); border-bottom: 1px solid var(--line); text-decoration:none; }
.btn-outline{
  background: transparent; color: var(--ink); border: 1px solid var(--ink);
  display:inline-flex; align-self:flex-start; padding: 12px 24px; text-decoration:none;
  font-size: 13.5px; border-radius: 2px; transition: background .2s ease, color .2s ease;
}
.btn-outline:hover{ background: var(--ink); color:#fff; }
@media (max-width: 860px){
  .location-wrap{ grid-template-columns: 1fr; }
  .location-card{ border-left:none; border-top: 1px solid var(--line); }
}

/* ---------- NEWSLETTER ---------- */
.newsletter{ background: var(--dark); color: var(--dark-ink); padding: 100px 32px; text-align:center; }
.newsletter-inner{ max-width: 460px; margin:0 auto; }
.newsletter .kicker{ color: var(--accent); font-size:13px; font-weight:500; margin-bottom:16px; }
.newsletter h2{ color: var(--dark-ink); font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; }
.newsletter-inner p{ color:#B9B2A6; font-size:14.5px; margin-bottom: 30px; }
.newsletter-form{ display:flex; gap:10px; margin-bottom:16px; }
.newsletter-form input[type="email"]{
  flex:1; background:transparent; border:1px solid #514C44; color: var(--dark-ink);
  padding: 13px 15px; font-size:14.5px; border-radius:2px; font-family:inherit;
}
.newsletter-form input::placeholder{ color:#8B8578; }
.newsletter-form input:focus{ outline:none; border-color: var(--accent); }
.consent{ display:flex; align-items:flex-start; gap:9px; font-size:12px; color:#9A9488; text-align:left; cursor:pointer; }
.consent input{ margin-top:2px; accent-color: var(--accent); }
.newsletter-success{ font-family:'Fraunces', serif; font-size:19px; color: var(--dark-ink); padding: 16px 0 4px; }
@media (max-width: 560px){ .newsletter-form{ flex-direction:column; } }

/* ---------- FOOTER ---------- */
footer.site-footer{ border-top: 1px solid var(--line); padding: 40px 0; }
.footer-inner{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; font-size:13px; color: var(--ink-muted); }
.footer-inner a{ color: var(--ink); text-decoration:none; border-bottom:1px solid var(--line); }
.footer-links{ display:flex; gap:20px; flex-wrap:wrap; }

.btn{
  display:inline-flex; align-items:center; gap:10px; background: var(--ink); color:#fff;
  text-decoration:none; padding:15px 30px; border-radius:2px; font-size:14.5px; transition: background .2s ease;
}
.btn:hover{ background: var(--accent); }

/* ---------- PRODUCT DETAIL (single product, swatches) ---------- */
.pd-wrap{ display:grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 50px 0 100px; align-items: start; }
.pd-wrap.pd-info-only{ grid-template-columns: 1fr; max-width: 480px; padding-top: 24px; }
.pd-photo{ aspect-ratio: 4/5; overflow:hidden; background: var(--bg-alt); border-radius: 2px; }
.pd-photo img{ width:100%; height:100%; object-fit:cover; transition: opacity .25s ease; }
.pd-info h2{ font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.pd-price{ font-family:'Fraunces', serif; font-size: 22px; color: var(--ink); margin: 0 0 24px; }
.pd-block{ margin-bottom: 26px; }
.pd-block .pd-label{ font-size: 13px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.pd-sizes{ display:flex; gap: 10px; flex-wrap: wrap; }
.pd-sizes span{ border:1px solid var(--line); padding: 8px 16px; font-size: 14px; border-radius: 2px; }

.swatches{ display:flex; gap: 12px; align-items:center; }
.swatch{
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.12);
  cursor: pointer; padding: 0; position: relative;
  box-shadow: 0 0 0 1px var(--bg) inset;
  transition: transform .15s ease, box-shadow .15s ease;
}
.swatch:hover{ transform: scale(1.08); }
.swatch.active{ box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--ink); }

.pd-fabric p{ font-size: 14.5px; color: var(--ink-muted); margin: 0 0 4px; }
.pd-fabric .fabric-label{ color: var(--ink); font-weight: 500; }

.pd-order{
  display:block; text-align:center; margin-top: 22px;
  background: var(--ink); color:#fff !important; text-decoration:none;
  border-bottom:none !important; padding: 16px 24px; font-size: 15px; font-weight:500;
  border-radius: 2px; transition: background .2s ease;
}
.pd-order:hover{ background: var(--accent); color:#fff !important; }

/* photo gallery (swipeable) */
.pd-gallery{ position: relative; overflow: hidden; }
.pd-gallery-track{ display:flex; height:100%; transition: transform .45s cubic-bezier(.65,0,.35,1); }
.pd-gallery-track .pd-slide{ flex: 0 0 100%; width:100%; height:100%; }
.pd-gallery-track .pd-slide img{ width:100%; height:100%; object-fit:cover; }
.pd-gallery-dots{
  position:absolute; left:50%; bottom:14px; transform:translateX(-50%);
  display:flex; gap:7px; z-index:2;
}
.pd-gallery-dots button{
  width:6px; height:6px; border-radius:50%; border:1px solid rgba(255,255,255,.8);
  background: rgba(255,255,255,.3); padding:0; cursor:pointer;
}
.pd-gallery-dots button.active{ background:#fff; }
.pd-gallery-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:2;
  width:32px; height:32px; border-radius:50%; border:1px solid rgba(255,255,255,.5);
  background: rgba(20,18,16,.28); color:#fff; font-size:15px; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.pd-gallery-arrow.left{ left:10px; }
.pd-gallery-arrow.right{ right:10px; }
@media (max-width: 720px){ .pd-gallery-arrow{ display:none; } }

/* stacked product blocks on a catalog page */
.product-block{ padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.product-block:first-of-type{ border-top: none; }

@media (max-width: 860px){
  .pd-wrap{ grid-template-columns: 1fr; gap: 28px; padding: 30px 0 70px; }
  .pd-photo{ position: static; }
}

/* ---------- COMING SOON ---------- */
.coming-soon{
  padding: 140px 0;
  text-align: center;
}
.coming-soon .kicker{ justify-content: center; display:flex; }
.coming-soon h2{
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(28px, 5vw, 46px);
  color: var(--ink);
}

/* ---------- EMBROIDERY CATALOG ---------- */
.stitch-table{
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 70px;
}
.stitch-table-row{
  display:grid; grid-template-columns: 1fr auto;
  padding: 12px 20px; font-size: 14px;
  border-top: 1px solid var(--line);
}
.stitch-table-row:first-child{ border-top:none; background: var(--bg-alt); font-weight:500; }
.stitch-table-row .st-price{ font-family:'Fraunces', serif; }

.emb-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px;
  padding-bottom: 100px;
}
.emb-card{ display:flex; flex-direction:column; }
.emb-photo{ aspect-ratio: 1/1; overflow:hidden; background: var(--bg-alt); border-radius:2px; margin-bottom:14px; }
.emb-photo img{ width:100%; height:100%; object-fit:cover; transition: transform .4s ease; }
.emb-card:hover .emb-photo img{ transform: scale(1.04); }
.emb-card h3{ font-size:16px; margin-bottom:6px; }
.emb-spec{ font-size:12.5px; color: var(--ink-muted); margin-bottom: 10px; }
.emb-realized{
  display: inline-block;
  align-self: flex-start; 
  font-size: 12.5px; 
  text-decoration: none; 
  color: var(--ink);
  border: 1px solid var(--ink); 
  border-radius: 2px; 
  padding: 8px 14px;
  box-sizing: border-box;
  transition: background .2s ease, color .2s ease;
}
.emb-realized:hover{ background: var(--ink); color:#fff; }
.emb-realized-row{ display:flex; flex-wrap:wrap; gap:8px; }
@media (max-width: 560px){
  .emb-realized-row{ flex-direction:column; gap:8px; }
  .emb-realized{ align-self:stretch; width:100%; text-align:center; }
}
@media (max-width: 900px){ .emb-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){
  .emb-grid{ grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .stitch-table-row{ padding: 10px 14px; font-size: 13px; }
}

/* ---------- EMPTY STATE ---------- */
.empty-note{ color: var(--ink-muted); font-size: 14px; padding: 20px 0 60px; }

/* ---------- DYNAMIC HEADER ---------- */
header.site-header{ transition: box-shadow .3s ease, padding .3s ease; }
header.site-header.scrolled{
  box-shadow: 0 1px 0 var(--line), 0 8px 20px -12px rgba(20,18,16,.15);
}
header.site-header.scrolled .header-inner{ padding-top: 12px; padding-bottom: 12px; }
.main-nav a{ position: relative; padding-bottom: 2px; }
.main-nav a::after{
  content:''; position:absolute; left:0; right:100%; bottom:-2px; height:1.5px;
  background: var(--accent); transition: right .25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after{ right:0; }

/* ---------- BURGER MENU PHOTO BACKGROUND ---------- */
.menu-overlay{
  background-color: var(--dark);
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}
.menu-overlay::before{
  content:''; position:absolute; inset:0; background: rgba(10,9,8,.45); z-index:0;
}
.menu-overlay .menu-links, .menu-overlay .menu-bottom{ position: relative; z-index: 1; }

/* ---------- CATALOG FILTER BAR ---------- */
.catalog-filter{
  display:flex; align-items:center; justify-content: space-between;
  gap: 14px; margin-bottom: 26px; flex-wrap: wrap;
}
.filter-btn{
  display:inline-flex; align-items:center; gap:8px;
  background:#fff; border:1px solid var(--line); color: var(--ink);
  padding: 11px 18px; font-size: 13.5px; border-radius: 2px; cursor:pointer;
  transition: background .2s ease, color .2s ease;
}
.filter-btn:hover{ background: var(--ink); color:#fff; }
.filter-btn svg{ width:15px; height:15px; }
.filter-count{
  background: var(--accent); color:#fff; font-size: 11px; line-height:1;
  border-radius: 50%; width:16px; height:16px; display:flex; align-items:center; justify-content:center;
}

.filter-panel{
  position: fixed; inset: 0; z-index: 70; display:none;
}
.filter-panel.open{ display:block; }
.filter-panel .filter-backdrop{
  position:absolute; inset:0; background: rgba(20,18,16,.45);
}
.filter-sheet{
  position:absolute; left:0; right:0; bottom:0;
  background:#fff; border-radius: 16px 16px 0 0;
  padding: 26px 24px 32px; max-height: 82vh; overflow-y:auto;
  transform: translateY(100%); transition: transform .35s cubic-bezier(.65,0,.35,1);
}
.filter-panel.open .filter-sheet{ transform: translateY(0); }
.filter-sheet-handle{ width:36px; height:4px; background: var(--line); border-radius:2px; margin: 0 auto 20px; }
.filter-section{ margin-bottom: 26px; }
.filter-section .filter-heading{ font-size: 13px; text-transform: uppercase; letter-spacing:.04em; color: var(--ink-muted); margin-bottom: 14px; }
.filter-options{ display:flex; flex-direction: column; gap: 10px; }
.filter-option{
  display:flex; align-items:center; justify-content: space-between;
  border: 1px solid var(--line); border-radius: 2px;
  padding: 15px 18px; font-size: 15px; cursor:pointer;
  background:#fff; transition: border-color .2s ease, background .2s ease;
}
.filter-option.active{ border-color: var(--ink); background: var(--bg-alt); font-weight:500; }
.filter-option .check{ width:18px; height:18px; border-radius:50%; border:1.5px solid var(--line); flex-shrink:0; position:relative; }
.filter-option.active .check{ border-color: var(--ink); }
.filter-option.active .check::after{
  content:''; position:absolute; inset:3px; border-radius:50%; background: var(--ink);
}
.filter-actions{ display:flex; gap: 10px; margin-top: 6px; }
.filter-reset{
  flex: 1; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius:2px;
  padding: 16px; font-size: 15px; cursor:pointer;
}
.filter-reset:hover{ border-color: var(--ink); }
.filter-apply{
  flex: 1.4; background: var(--ink); color:#fff; border:none; border-radius:2px;
  padding: 16px; font-size: 15px; cursor:pointer;
}
.filter-apply:hover{ background: var(--accent); }
.filter-close{
  position:absolute; top:20px; right:20px; background:none; border:none; font-size:22px; cursor:pointer; color: var(--ink-muted);
}

@media (min-width: 720px){
  .filter-sheet{
    left:auto; right: 32px; bottom:auto; top: 90px;
    width: 340px; border-radius: 4px; transform: translateY(-12px); opacity:0;
    transition: transform .25s ease, opacity .25s ease; max-height: 70vh;
  }
  .filter-panel.open .filter-sheet{ transform: translateY(0); opacity:1; }
  .filter-sheet-handle{ display:none; }
}

/* ---------- CATALOG VIEW MODES: list / grid ---------- */
.catalog-body.view-grid .product-block{ display:none; }
.catalog-body.view-grid .tile-grid{ display:grid; }
.tile-grid{ display:none; grid-template-columns: repeat(4, 1fr); gap: 22px 18px; padding: 8px 0 60px; }
.tile-card{ cursor:pointer; }
.tile-photo{ aspect-ratio: 4/5; overflow:hidden; background: var(--bg-alt); border-radius:2px; margin-bottom:10px; }
.tile-photo img{ width:100%; height:100%; object-fit:cover; }
.tile-title{ font-size: 13px; margin-bottom: 3px; }
.tile-price{ font-family:'Fraunces', serif; font-size: 13.5px; color: var(--ink-muted); }
.catalog-body.detail-open .tile-grid{ display:none !important; }
.catalog-body.detail-open .product-block{ display:none; }
.catalog-body.detail-open .product-block.detail-active{ display:block; }
.back-to-catalog{
  display:none; align-items:center; gap:8px; font-size: 13.5px; color: var(--ink-muted);
  text-decoration:none; margin: 0 0 30px; cursor:pointer; border:none; background:none; padding:0;
}
.catalog-body.detail-open .back-to-catalog{ display:inline-flex; }

@media (max-width: 900px){ .tile-grid{ grid-template-columns: repeat(2, 1fr); } }

/* ---------- SIZE CHART LINK + MODAL ---------- */
.size-chart-link{
  display:inline-flex; align-items:center; gap:6px;
  font-size: 13.5px; color: var(--ink); text-decoration:none;
  border-bottom: 1px solid var(--ink); padding-bottom:2px; cursor:pointer; background:none; border-top:none; border-left:none; border-right:none;
  margin: 4px 0 22px;
}
.size-chart-link:hover{ color: var(--accent); border-color: var(--accent); }

.size-modal{ position:fixed; inset:0; z-index:80; display:none; align-items:center; justify-content:center; padding: 20px; }
.size-modal.open{ display:flex; }
.size-modal-backdrop{ position:absolute; inset:0; background: rgba(20,18,16,.7); }
.size-modal-inner{ position:relative; max-width: 480px; width:100%; background:#fff; border-radius:4px; padding: 16px; z-index:1; }
.size-modal-inner img{ width:100%; border-radius:2px; }
.size-modal-close{
  position:absolute; top:-14px; right:-14px; width:34px; height:34px; border-radius:50%;
  background:#fff; border:1px solid var(--line); font-size:18px; cursor:pointer; z-index:2;
}

/* ---------- PAIRS DESCRIPTION LINKS ---------- */
.pairs-links{ display:flex; gap:12px; margin: 6px 0 22px; flex-wrap:wrap; }
.pairs-links a{
  background: var(--bg-alt); border:1px solid var(--line); color: var(--ink); text-decoration:none;
  padding: 11px 20px; font-size: 13.5px; border-radius:2px; transition: background .2s ease, color .2s ease;
}
.pairs-links a:hover{ background: var(--ink); color:#fff; }
