/* Furniture section only. Loaded after the shared /styles.css; every rule is scoped to body.fx
   so no other page is affected. Original stylesheet for Joshua Deatherage Home Emporium. */
body.fx { background: #fff; color: #1f1d1a; }
body.fx .nav { background: rgba(255,255,255,.94); }
.fx main { font-size: 1rem; }
.fx .fx-wrap { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.fx .fx-narrow { width: min(760px, calc(100% - 48px)); margin: 0 auto; }
.fx section { padding: 0; }
.fx h1, .fx h2, .fx h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; letter-spacing: .005em; color: #1f1d1a; }
.fx h1 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1.08; margin: 0 0 18px; }
.fx h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.15; margin: 0 0 14px; }
.fx h3 { font-size: 1.35rem; margin: 0 0 8px; }
.fx p { color: #45413a; }
.fx .eyebrow { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #6f685c; margin-bottom: 14px; display: block; }
.fx .crumbs { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #6f685c; padding: 26px 0 8px; }
.fx .crumbs a { text-decoration: none; color: #3b372f; }
.fx .crumbs a:hover { text-decoration: underline; }
.fx .crumbs span[aria-hidden] { margin: 0 10px; color: #a59c8c; }
.fx .lede { font-size: 1.08rem; line-height: 1.75; max-width: 62ch; }
.fx .rule { border: 0; border-top: 1px solid #e7e1d6; margin: 0; }
.fx .block { padding: 72px 0; }
.fx .block-tight { padding: 40px 0; }
.fx .muted { color: #6f685c; }
.fx .fine-print { font-size: .82rem; color: #6f685c; line-height: 1.6; }

/* Buttons */
.fx .fx-btn { display: inline-block; padding: 14px 28px; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border: 1px solid #1f1d1a; background: #1f1d1a; color: #fff; cursor: pointer; font-family: inherit; border-radius: 0; transition: background .2s, color .2s; }
.fx .fx-btn:hover { background: #fff; color: #1f1d1a; }
.fx .fx-btn.ghost { background: transparent; color: #1f1d1a; }
.fx .fx-btn.ghost:hover { background: #1f1d1a; color: #fff; }
.fx .fx-link { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: #1f1d1a; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.fx .actions-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 26px; }

/* Hero */
.fx .fx-hero { position: relative; min-height: min(78vh, 720px); display: grid; align-items: end; color: #fff; overflow: hidden; background: #2a2620; }
.fx .fx-hero picture, .fx .fx-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fx .fx-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(20,16,12,.62) 100%); }
.fx .fx-hero .fx-wrap { position: relative; z-index: 1; padding: 0 0 64px; }
.fx .fx-hero h1, .fx .fx-hero p, .fx .fx-hero .eyebrow { color: #fff; }
.fx .fx-hero h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); max-width: 16ch; }
.fx .fx-hero p { max-width: 54ch; font-size: 1.08rem; }
.fx .fx-hero .fx-btn { background: #fff; color: #1f1d1a; border-color: #fff; }
.fx .fx-hero .fx-btn:hover { background: transparent; color: #fff; }
.fx .fx-hero .fx-btn.ghost { background: transparent; color: #fff; border-color: #fff; }

/* Category tiles */
.fx .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 24px; }
.fx .tile { text-decoration: none; color: inherit; display: block; }
.fx .tile .ph { background: #f4f2ee; aspect-ratio: 4 / 3; overflow: hidden; }
.fx .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.fx .tile:hover img { transform: scale(1.03); }
.fx .tile h3 { margin: 14px 0 2px; font-size: 1.3rem; }
.fx .tile p { font-size: .9rem; margin: 0; }

/* Product grid */
.fx .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 26px; }
.fx .grid.two { grid-template-columns: repeat(2, 1fr); }
.fx .card-p { text-decoration: none; color: inherit; display: block; }
.fx .card-p .ph { background: #f4f2ee; aspect-ratio: 3 / 2; overflow: hidden; }
.fx .card-p img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.fx .card-p:hover img { transform: scale(1.03); }
.fx .card-p .nm { margin-top: 14px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #1f1d1a; }
.fx .card-p .pr { font-size: .9rem; color: #6f685c; margin-top: 3px; }
.fx .card-p .sh { font-size: .78rem; color: #8b8375; }
.fx .cat-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 6px 0 34px; border-bottom: 1px solid #e7e1d6; margin-bottom: 44px; }
.fx .cat-nav a { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: #6f685c; padding: 6px 0; }
.fx .cat-nav a:hover, .fx .cat-nav a[aria-current] { color: #1f1d1a; border-bottom: 1px solid #1f1d1a; }

/* Product detail */
.fx .pdp { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr); gap: 56px; padding: 18px 0 72px; align-items: start; }
.fx .pdp-gallery .main { background: #f4f2ee; }
.fx .pdp-gallery .main img { width: 100%; height: auto; }
.fx .pdp-gallery figcaption { font-size: .78rem; color: #8b8375; margin-top: 8px; }
.fx .thumbs { display: flex; gap: 12px; margin-top: 14px; }
.fx .thumbs button { padding: 0; border: 1px solid #e7e1d6; background: #f4f2ee; width: 108px; cursor: pointer; border-radius: 0; }
.fx .thumbs button[aria-pressed="true"] { border-color: #1f1d1a; }
.fx .thumbs img { width: 100%; height: auto; display: block; }
.fx .buy { position: sticky; top: 110px; }
.fx .buy h1 { font-size: clamp(2rem, 3vw, 2.6rem); }
.fx .price { font-size: 1.25rem; color: #1f1d1a; margin: 6px 0 4px; font-family: "Cormorant Garamond", Georgia, serif; }
.fx .price small { font-family: "Source Sans 3", sans-serif; font-size: .78rem; color: #6f685c; letter-spacing: .04em; }
.fx .opt { margin: 22px 0 0; border: 0; padding: 0; }
.fx .opt legend { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #3b372f; margin-bottom: 10px; }
.fx .opt legend output { color: #6f685c; letter-spacing: .08em; margin-left: 6px; text-transform: none; font-size: .86rem; }
.fx .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fx .chips label { position: relative; cursor: pointer; font-size: .84rem; color: #1f1d1a; }
.fx .chips input { position: absolute; opacity: 0; pointer-events: none; }
.fx .chips .chip { display: inline-block; padding: 8px 14px; border: 1px solid #d9d2c4; background: #fff; }
.fx .chips input:checked + .chip { border-color: #1f1d1a; box-shadow: inset 0 0 0 1px #1f1d1a; }
.fx .chips input:focus-visible + .chip, .fx .chips input:focus-visible + .sw { outline: 2px solid #8b5a2b; outline-offset: 2px; }
.fx .chips .sw { display: block; width: 38px; height: 38px; border: 1px solid #d9d2c4; }
.fx .chips input:checked + .sw { box-shadow: 0 0 0 2px #fff, 0 0 0 3px #1f1d1a; }
.fx .lead-note { margin-top: 18px; font-size: .9rem; }
.fx .stripe-slot { margin-top: 12px; }
.fx details.acc { border-top: 1px solid #e7e1d6; padding: 16px 0; }
.fx details.acc:last-of-type { border-bottom: 1px solid #e7e1d6; }
.fx details.acc summary { cursor: pointer; list-style: none; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; display: flex; justify-content: space-between; }
.fx details.acc summary::-webkit-details-marker { display: none; }
.fx details.acc summary::after { content: "+"; font-size: 1rem; line-height: 1; }
.fx details.acc[open] summary::after { content: "–"; }
.fx details.acc > div { padding-top: 14px; font-size: .94rem; }
.fx dl.specs { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; margin: 0; }
.fx dl.specs dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #6f685c; padding-top: 3px; }
.fx dl.specs dd { margin: 0; color: #2b2823; }
.fx table.t { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 6px 0 10px; }
.fx table.t th, .fx table.t td { text-align: left; padding: 9px 10px 9px 0; border-bottom: 1px solid #eee8de; vertical-align: top; }
.fx table.t th { font-weight: 500; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #6f685c; }
.fx table.t td.num, .fx table.t th.num { text-align: right; white-space: nowrap; }
.fx ul.plain { list-style: none; padding: 0; margin: 0; }
.fx ul.plain li { padding: 6px 0; border-bottom: 1px solid #f0ebe2; color: #3b372f; }
.fx ul.dots { padding-left: 18px; color: #3b372f; }
.fx ul.dots li { margin: 6px 0; }

/* Story split */
.fx .split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.fx .split img { width: 100%; height: auto; }
.fx .split.flip > :first-child { order: 2; }
.fx .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.fx .stats strong { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 2.2rem; font-weight: 500; }
.fx .stats span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #6f685c; }
.fx .band { background: #f6f3ee; }

/* Swatches page */
.fx .swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.fx .swatches figure { margin: 0; }
.fx .swatches .sq { aspect-ratio: 1; border: 1px solid #e0d9cc; }
.fx .swatches figcaption { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 8px; color: #3b372f; }
.fx .species { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 28px; }

/* Inquiry form (same field ids as the existing site form so the shared script works) */
.fx .inquiry { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.fx .inquiry form { display: grid; gap: 12px; }
.fx .inquiry label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #6f685c; }
.fx .inquiry input, .fx .inquiry textarea, .fx .inquiry select { width: 100%; border: 1px solid #d9d2c4; border-radius: 0; padding: 12px; font: inherit; background: #fff; }
.fx .inquiry button[type=submit] { justify-self: start; padding: 14px 28px; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; border: 1px solid #1f1d1a; background: #1f1d1a; color: #fff; border-radius: 0; }
.fx .video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.fx .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 960px) {
  .fx .tiles, .fx .grid { grid-template-columns: repeat(2, 1fr); }
  .fx .pdp, .fx .split, .fx .inquiry { grid-template-columns: 1fr; gap: 36px; }
  .fx .split.flip > :first-child { order: 0; }
  .fx .buy { position: static; }
  .fx .swatches { grid-template-columns: repeat(4, 1fr); }
  .fx .species { grid-template-columns: 1fr 1fr; }
  .fx .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .fx .tiles, .fx .grid, .fx .grid.two, .fx .species { grid-template-columns: 1fr; }
  .fx .swatches { grid-template-columns: repeat(3, 1fr); }
  .fx .block { padding: 52px 0; }
  .fx dl.specs { grid-template-columns: 110px 1fr; }
}
