/* ==========================================================================
   Flamax — Editorial Luxury Home
   High-end window treatments aesthetic · WordPress-ready (.fx-)
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Outfit:wght@300;400;500;600;700&display=swap");

:root {
  --fx-bg: #f3eee6;
  --fx-bg-deep: #ebe4d8;
  --fx-bg-alt: #faf7f2;
  --fx-ink: #141210;
  --fx-ink-soft: #4a453e;
  --fx-muted: #8a8276;
  --fx-line: rgba(20, 18, 16, 0.1);
  --fx-line-strong: rgba(20, 18, 16, 0.16);
  --fx-brand: #1a2c24;
  --fx-brand-mid: #2a4538;
  --fx-gold: #a67c52;
  --fx-gold-soft: #e8d5bc;
  --fx-gold-bright: #c9a27a;
  --fx-cream: #f7f2ea;
  --fx-white: #fffcf7;
  --fx-amazon: #e47911;
  --fx-amazon-ink: #0f1111;
  --fx-radius: 2px;
  --fx-radius-lg: 4px;
  --fx-shadow: 0 1px 0 rgba(20, 18, 16, 0.04), 0 18px 50px rgba(20, 18, 16, 0.07);
  --fx-shadow-hover: 0 1px 0 rgba(20, 18, 16, 0.05), 0 28px 70px rgba(20, 18, 16, 0.12);
  --fx-max: 1240px;
  --fx-font: "Outfit", system-ui, sans-serif;
  --fx-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --fx-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--fx-font);
  color: var(--fx-ink);
  background: var(--fx-bg);
  line-height: 1.65;
  font-weight: 400;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}

/* subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--fx-brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.25s var(--fx-ease);
}

a:hover {
  color: var(--fx-gold);
}

::selection {
  background: var(--fx-gold-soft);
  color: var(--fx-ink);
}

/* Layout ----------------------------------------------------------------- */

.fx-container {
  width: min(100% - 2.5rem, var(--fx-max));
  margin-inline: auto;
}

.fx-section {
  padding: 6.5rem 0;
  position: relative;
}

.fx-section--tight {
  padding: 3.5rem 0 5rem;
}

.fx-section--alt {
  background: var(--fx-bg-alt);
}

.fx-section--dark {
  background: var(--fx-brand);
  color: var(--fx-cream);
}

.fx-section--dark .fx-section__title,
.fx-section--dark .fx-section__eyebrow {
  color: var(--fx-cream);
}

.fx-section--dark .fx-section__desc {
  color: rgba(247, 242, 234, 0.72);
}

.fx-section__head {
  max-width: 620px;
  margin: 0 0 3.25rem;
}

.fx-section__head--center {
  margin-inline: auto;
  text-align: center;
}

.fx-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fx-gold);
  margin-bottom: 1.1rem;
}

.fx-section__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--fx-gold);
}

.fx-section__head--center .fx-section__eyebrow {
  justify-content: center;
}

.fx-section__title {
  font-family: var(--fx-serif);
  font-size: clamp(2.1rem, 3.6vw, 3.15rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  color: var(--fx-ink);
}

.fx-section__desc {
  margin: 0;
  color: var(--fx-ink-soft);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 36rem;
}

.fx-section__head--center .fx-section__desc {
  margin-inline: auto;
}

/* Header ----------------------------------------------------------------- */

.fx-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 238, 230, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.fx-header.is-scrolled,
.fx-header {
  border-bottom-color: var(--fx-line);
}

.fx-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.fx-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--fx-ink);
}

.fx-logo:hover {
  color: var(--fx-ink);
}

.fx-logo__mark {
  width: 36px;
  height: 36px;
  border: 1px solid var(--fx-ink);
  display: grid;
  place-items: center;
  font-family: var(--fx-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.3s var(--fx-ease), color 0.3s var(--fx-ease);
}

.fx-logo:hover .fx-logo__mark {
  background: var(--fx-ink);
  color: var(--fx-cream);
}

.fx-logo__text {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.fx-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 2rem;
}

.fx-nav a:not(.fx-btn) {
  text-decoration: none;
  color: var(--fx-ink-soft);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding: 0.35rem 0;
}

.fx-nav a:not(.fx-btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--fx-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--fx-ease);
}

.fx-nav a:not(.fx-btn):hover,
.fx-nav a:not(.fx-btn).is-active {
  color: var(--fx-ink);
}

.fx-nav a:not(.fx-btn):hover::after,
.fx-nav a:not(.fx-btn).is-active::after {
  transform: scaleX(1);
}

.fx-nav-toggle {
  display: none;
  border: 1px solid var(--fx-line-strong);
  background: transparent;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
}

.fx-nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: var(--fx-ink);
  transition: transform 0.3s ease;
}

/* Buttons ---------------------------------------------------------------- */

.fx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid transparent;
  border-radius: var(--fx-radius);
  padding: 0.95rem 1.6rem;
  font: inherit;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.35s var(--fx-ease),
    background 0.35s var(--fx-ease),
    color 0.35s var(--fx-ease),
    border-color 0.35s var(--fx-ease),
    box-shadow 0.35s var(--fx-ease);
  white-space: nowrap;
}

.fx-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.fx-btn--primary {
  background: var(--fx-brand);
  color: var(--fx-cream);
  border-color: var(--fx-brand);
}

.fx-btn--primary:hover {
  background: #0f1a15;
  color: var(--fx-cream);
  border-color: #0f1a15;
}

.fx-btn--amazon {
  background: var(--fx-ink);
  color: var(--fx-cream);
  border-color: var(--fx-ink);
  position: relative;
}

.fx-btn--amazon::after {
  content: "→";
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.3s var(--fx-ease);
}

.fx-btn--amazon:hover {
  background: var(--fx-gold);
  border-color: var(--fx-gold);
  color: var(--fx-ink);
}

.fx-btn--amazon:hover::after {
  transform: translateX(3px);
}

.fx-btn--ghost {
  background: transparent;
  color: var(--fx-ink);
  border-color: var(--fx-line-strong);
}

.fx-btn--ghost:hover {
  background: var(--fx-ink);
  color: var(--fx-cream);
  border-color: var(--fx-ink);
}

.fx-btn--light {
  background: transparent;
  color: var(--fx-cream);
  border-color: rgba(247, 242, 234, 0.35);
}

.fx-btn--light:hover {
  background: var(--fx-cream);
  color: var(--fx-ink);
  border-color: var(--fx-cream);
}

.fx-btn--sm {
  padding: 0.7rem 1.15rem;
  font-size: 0.72rem;
}

.fx-btn--block {
  width: 100%;
}

/* Hero ------------------------------------------------------------------- */

.fx-hero {
  padding: 2rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.fx-hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 120%;
  background:
    radial-gradient(ellipse at 40% 40%, rgba(166, 124, 82, 0.12), transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(26, 44, 36, 0.06), transparent 55%);
  pointer-events: none;
}

.fx-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
}

.fx-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fx-gold);
  margin-bottom: 1.5rem;
}

.fx-hero__eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.fx-hero h1 {
  font-family: var(--fx-serif);
  font-size: clamp(2.75rem, 5.5vw, 4.35rem);
  line-height: 1.05;
  margin: 0 0 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fx-ink);
}

.fx-hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--fx-brand-mid);
}

.fx-hero__lead {
  font-size: 1.08rem;
  font-weight: 300;
  color: var(--fx-ink-soft);
  max-width: 32rem;
  margin: 0 0 2rem;
  line-height: 1.75;
}

.fx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.fx-hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--fx-line);
  max-width: 34rem;
}

.fx-hero__meta strong {
  color: var(--fx-ink);
  display: block;
  font-family: var(--fx-serif);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
  letter-spacing: 0;
}

.fx-hero__meta span,
.fx-hero__meta {
  color: var(--fx-muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.fx-hero__meta > div {
  font-size: 0.78rem;
  color: var(--fx-muted);
  line-height: 1.4;
}

/* Premium room visual */
.fx-hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 620px;
  border-radius: var(--fx-radius-lg);
  overflow: hidden;
  background: linear-gradient(165deg, #d9cfc0 0%, #c4b5a0 40%, #a89880 100%);
  box-shadow: var(--fx-shadow-hover);
}

.fx-hero__visual-frame {
  position: absolute;
  inset: 8% 10% 14%;
  background:
    linear-gradient(180deg, #8eb4c8 0%, #b8d4e0 35%, #d4e4d8 70%, #e8efe4 100%);
  box-shadow:
    inset 0 0 0 12px #f5f0e8,
    inset 0 0 0 13px rgba(20, 18, 16, 0.12),
    0 30px 60px rgba(20, 18, 16, 0.15);
}

.fx-hero__visual-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.25) 48%, transparent 56%);
  animation: fx-shine 8s ease-in-out infinite;
}

.fx-hero__shade {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  height: 48%;
  background:
    repeating-linear-gradient(
      180deg,
      #f4efe6 0 10px,
      #e6dccb 10px 11px,
      #f0e9dc 11px 21px,
      #ddd2bf 21px 22px
    );
  box-shadow: 0 12px 28px rgba(20, 18, 16, 0.12);
}

.fx-hero__shade::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 6px;
  background: linear-gradient(90deg, #8a7a62, #c4b59a, #8a7a62);
}

.fx-hero__badge {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(20, 18, 16, 0.08);
  padding: 1.15rem 1.35rem;
  max-width: 200px;
  box-shadow: var(--fx-shadow);
}

.fx-hero__badge strong {
  display: block;
  font-family: var(--fx-serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  letter-spacing: 0;
}

.fx-hero__badge span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fx-muted);
}

.fx-hero__float {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(20, 18, 16, 0.45);
  font-weight: 500;
}

@keyframes fx-shine {
  0%,
  100% {
    opacity: 0.4;
    transform: translateX(-8%);
  }
  50% {
    opacity: 1;
    transform: translateX(8%);
  }
}

/* Marquee strip ---------------------------------------------------------- */

.fx-marquee {
  border-block: 1px solid var(--fx-line);
  background: var(--fx-bg-alt);
  overflow: hidden;
  padding: 1rem 0;
}

.fx-marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: fx-marquee 40s linear infinite;
}

.fx-marquee__track span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fx-muted);
  white-space: nowrap;
}

.fx-marquee__track span::before {
  content: "◆";
  margin-right: 3rem;
  color: var(--fx-gold);
  font-size: 0.5rem;
  vertical-align: middle;
}

@keyframes fx-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Feature grid ----------------------------------------------------------- */

.fx-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--fx-line);
  border: 1px solid var(--fx-line);
}

.fx-feature {
  background: var(--fx-bg-alt);
  padding: 2.25rem 1.85rem;
  transition: background 0.4s var(--fx-ease);
}

.fx-feature:hover {
  background: var(--fx-white);
}

.fx-feature__icon {
  font-family: var(--fx-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--fx-gold);
  margin-bottom: 1.35rem;
  font-weight: 500;
}

.fx-feature h3 {
  margin: 0 0 0.65rem;
  font-family: var(--fx-serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.fx-feature p {
  margin: 0;
  color: var(--fx-ink-soft);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
}

/* Category cards --------------------------------------------------------- */

.fx-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.fx-cat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: inherit;
  min-height: 220px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--fx-line);
  background: var(--fx-bg-alt);
  transition: transform 0.45s var(--fx-ease), box-shadow 0.45s var(--fx-ease);
}

.fx-cat::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.55;
  transition: opacity 0.45s var(--fx-ease), transform 0.6s var(--fx-ease);
  transform: scale(1.02);
}

.fx-cat:nth-child(1)::before {
  background: linear-gradient(160deg, #e8efe9, #b7c9b8 60%, #7a9580);
}
.fx-cat:nth-child(2)::before {
  background: linear-gradient(160deg, #f0ebe3, #d4c4a8 50%, #a89880);
}
.fx-cat:nth-child(3)::before {
  background:
    repeating-linear-gradient(180deg, #f4efe6 0 14px, #2a4538 14px 22px);
}
.fx-cat:nth-child(4)::before {
  background: linear-gradient(180deg, #dce8ef 0%, #c5d4c8 50%, #f0ebe3 50% 100%);
}

.fx-cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(20, 18, 16, 0.72) 100%);
  z-index: 1;
}

.fx-cat:hover {
  transform: translateY(-4px);
  box-shadow: var(--fx-shadow-hover);
  color: inherit;
  text-decoration: none;
}

.fx-cat:hover::before {
  opacity: 0.75;
  transform: scale(1.08);
}

.fx-cat strong,
.fx-cat span {
  position: relative;
  z-index: 2;
  color: #fff;
}

.fx-cat strong {
  display: block;
  font-family: var(--fx-serif);
  font-size: 1.55rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  letter-spacing: 0;
}

.fx-cat span {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  opacity: 0.85;
  font-weight: 300;
}

.fx-cat__num {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  z-index: 2;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* Product cards ---------------------------------------------------------- */

.fx-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.fx-product {
  background: var(--fx-bg-alt);
  border: 1px solid var(--fx-line);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.45s var(--fx-ease),
    box-shadow 0.45s var(--fx-ease),
    border-color 0.45s var(--fx-ease);
  position: relative;
}

.fx-product:hover {
  transform: translateY(-6px);
  box-shadow: var(--fx-shadow-hover);
  border-color: transparent;
}

.fx-product__media {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: end start;
  padding: 1.25rem;
}

.fx-product__media-label {
  position: relative;
  z-index: 2;
  font-family: var(--fx-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
  max-width: 90%;
  line-height: 1.2;
}

.fx-product__media::before {
  content: "";
  position: absolute;
  inset: 0;
  transition: transform 0.7s var(--fx-ease);
}

.fx-product:hover .fx-product__media::before {
  transform: scale(1.05);
}

.fx-product__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(20, 18, 16, 0.55) 100%);
  z-index: 1;
}

.fx-product__media--zebra::before {
  background:
    repeating-linear-gradient(180deg, #f4efe6 0 16px, #1a2c24 16px 26px),
    #e8dfd0;
}

.fx-product__media--cellular::before {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.35), transparent 50%),
    linear-gradient(165deg, #e4ece6 0%, #b8c9ba 45%, #7d9684 100%);
}

.fx-product__media--roller::before {
  background:
    linear-gradient(180deg, #f8f4ed 0 22%, #d5c9b4 22% 24%, #c5ddd6 24% 100%);
}

.fx-product__media--tdbu::before {
  background:
    linear-gradient(180deg, #f3efe7 0 18%, transparent 18%),
    linear-gradient(0deg, #f3efe7 0 22%, transparent 22%),
    linear-gradient(165deg, #c5d8e4, #a8bdaa 55%, #d8cfc0);
}

.fx-product__body {
  padding: 1.4rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.85rem;
  background: var(--fx-white);
}

.fx-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.fx-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 0;
  padding: 0.28rem 0.55rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  color: var(--fx-muted);
  border: 1px solid var(--fx-line-strong);
}

.fx-tag--drill {
  border-color: rgba(20, 18, 16, 0.2);
  color: var(--fx-ink-soft);
}

.fx-tag--nodrill {
  border-color: rgba(42, 69, 56, 0.35);
  color: var(--fx-brand-mid);
}

.fx-product h3 {
  margin: 0;
  font-family: var(--fx-serif);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.fx-product h3 a {
  text-decoration: none;
  color: inherit;
}

.fx-product h3 a:hover {
  color: var(--fx-gold);
}

.fx-product p {
  margin: 0;
  color: var(--fx-ink-soft);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
  flex: 1;
}

.fx-product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--fx-line);
}

/* Filters ---------------------------------------------------------------- */

.fx-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 2.25rem;
  justify-content: flex-start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--fx-line);
}

.fx-filter {
  border: 1px solid var(--fx-line-strong);
  background: transparent;
  color: var(--fx-ink-soft);
  border-radius: 0;
  padding: 0.65rem 1.05rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--fx-ease);
}

.fx-filter:hover,
.fx-filter.is-active {
  background: var(--fx-ink);
  border-color: var(--fx-ink);
  color: var(--fx-cream);
}

.fx-product.is-hidden {
  display: none;
}

/* Product detail --------------------------------------------------------- */

.fx-breadcrumb {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fx-muted);
  margin-bottom: 2rem;
}

.fx-breadcrumb a {
  color: var(--fx-muted);
  text-decoration: none;
}

.fx-breadcrumb a:hover {
  color: var(--fx-ink);
}

.fx-detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: start;
}

.fx-detail__gallery {
  overflow: hidden;
  border: 1px solid var(--fx-line);
  background: var(--fx-bg-alt);
  position: sticky;
  top: 100px;
}

.fx-detail__media {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: end start;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}

.fx-detail__media::before {
  content: "";
  position: absolute;
  inset: 0;
}

.fx-detail__media.fx-product__media--zebra::before,
.fx-detail__media.fx-product__media--cellular::before,
.fx-detail__media.fx-product__media--roller::before,
.fx-detail__media.fx-product__media--tdbu::before {
  /* reuse product media patterns via same classes on detail */
}

.fx-detail__media.fx-product__media--zebra::before {
  background: repeating-linear-gradient(180deg, #f4efe6 0 16px, #1a2c24 16px 26px);
}
.fx-detail__media.fx-product__media--cellular::before {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.35), transparent 50%),
    linear-gradient(165deg, #e4ece6 0%, #b8c9ba 45%, #7d9684 100%);
}
.fx-detail__media.fx-product__media--roller::before {
  background: linear-gradient(180deg, #f8f4ed 0 22%, #d5c9b4 22% 24%, #c5ddd6 24% 100%);
}
.fx-detail__media.fx-product__media--tdbu::before {
  background:
    linear-gradient(180deg, #f3efe7 0 18%, transparent 18%),
    linear-gradient(0deg, #f3efe7 0 22%, transparent 22%),
    linear-gradient(165deg, #c5d8e4, #a8bdaa 55%, #d8cfc0);
}

.fx-detail__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(20, 18, 16, 0.45) 100%);
}

.fx-detail__media-inner {
  position: relative;
  z-index: 2;
  color: #fff;
}

.fx-detail__media-inner strong {
  display: block;
  font-family: var(--fx-serif);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.fx-detail__media-inner span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}

.fx-detail__content h1 {
  font-family: var(--fx-serif);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  line-height: 1.1;
  margin: 0 0 1.15rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.fx-detail__lead {
  color: var(--fx-ink-soft);
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.75;
  margin: 0 0 1.75rem;
}

.fx-detail__cta {
  margin: 0 0 2rem;
  padding: 1.5rem;
  background: var(--fx-bg-deep);
  border: 1px solid var(--fx-line);
}

.fx-detail__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.fx-detail__note {
  font-size: 0.78rem;
  color: var(--fx-muted);
  margin: 0;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.fx-detail__content h2 {
  font-family: var(--fx-serif);
  font-size: 1.55rem;
  font-weight: 500;
  margin: 2rem 0 1rem;
}

.fx-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fx-bullets li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.4rem;
  border-bottom: 1px solid var(--fx-line);
  color: var(--fx-ink-soft);
  font-weight: 300;
  font-size: 0.98rem;
  line-height: 1.55;
}

.fx-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 6px;
  height: 1px;
  background: var(--fx-gold);
}

.fx-specs {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
  font-size: 0.92rem;
}

.fx-specs th,
.fx-specs td {
  text-align: left;
  padding: 0.95rem 0.35rem;
  border-bottom: 1px solid var(--fx-line);
  vertical-align: top;
}

.fx-specs th {
  width: 36%;
  color: var(--fx-muted);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fx-specs td {
  font-weight: 300;
  color: var(--fx-ink);
}

/* Compare table ---------------------------------------------------------- */

.fx-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--fx-line);
  background: var(--fx-white);
}

.fx-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 0.92rem;
}

.fx-table th,
.fx-table td {
  padding: 1.1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--fx-line);
}

.fx-table th {
  background: var(--fx-brand);
  color: var(--fx-cream);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fx-table td {
  font-weight: 300;
  color: var(--fx-ink-soft);
}

.fx-table td:first-child {
  font-weight: 500;
  color: var(--fx-ink);
  font-family: var(--fx-serif);
  font-size: 1.1rem;
}

.fx-table tr:last-child td {
  border-bottom: none;
}

.fx-table tbody tr {
  transition: background 0.25s ease;
}

.fx-table tbody tr:hover {
  background: rgba(166, 124, 82, 0.06);
}

/* Content pages ---------------------------------------------------------- */

.fx-page-hero {
  padding: 4rem 0 2rem;
  position: relative;
}

.fx-page-hero::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: var(--fx-gold);
  margin-top: 1.75rem;
}

.fx-page-hero h1 {
  font-family: var(--fx-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  margin: 0 0 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.fx-page-hero p {
  margin: 0;
  color: var(--fx-ink-soft);
  max-width: 38rem;
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.7;
}

.fx-prose {
  max-width: 720px;
}

.fx-prose h2 {
  font-family: var(--fx-serif);
  font-size: 1.75rem;
  font-weight: 500;
  margin: 2.25rem 0 0.85rem;
}

.fx-prose p,
.fx-prose li {
  color: var(--fx-ink-soft);
  font-weight: 300;
  line-height: 1.75;
}

.fx-prose ul {
  padding-left: 1.15rem;
}

.fx-card {
  background: var(--fx-white);
  border: 1px solid var(--fx-line);
  padding: 2.25rem;
  box-shadow: var(--fx-shadow);
}

.fx-steps {
  display: grid;
  gap: 1rem;
}

.fx-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.35rem;
  align-items: start;
  background: var(--fx-white);
  border: 1px solid var(--fx-line);
  padding: 1.65rem 1.5rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.fx-step:hover {
  border-color: var(--fx-gold-soft);
  box-shadow: var(--fx-shadow);
}

.fx-step__num {
  width: 40px;
  height: 40px;
  border: 1px solid var(--fx-ink);
  display: grid;
  place-items: center;
  font-family: var(--fx-serif);
  font-weight: 500;
  font-size: 1.05rem;
  font-style: italic;
}

.fx-step h3 {
  margin: 0 0 0.4rem;
  font-family: var(--fx-serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.fx-step p {
  margin: 0;
  color: var(--fx-ink-soft);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.65;
}

/* CTA band --------------------------------------------------------------- */

.fx-cta-band {
  background: var(--fx-brand);
  color: var(--fx-cream);
  padding: 3.25rem 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.fx-cta-band::before {
  content: "";
  position: absolute;
  right: -5%;
  top: -40%;
  width: 40%;
  height: 180%;
  background: radial-gradient(circle, rgba(166, 124, 82, 0.2), transparent 65%);
  pointer-events: none;
}

.fx-cta-band h2 {
  font-family: var(--fx-serif);
  margin: 0 0 0.55rem;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  position: relative;
}

.fx-cta-band p {
  margin: 0;
  opacity: 0.78;
  max-width: 34rem;
  font-weight: 300;
  line-height: 1.65;
  position: relative;
}

.fx-cta-band .fx-btn {
  position: relative;
  flex-shrink: 0;
}

/* Footer ----------------------------------------------------------------- */

.fx-footer {
  margin-top: 0;
  background: #0e0d0c;
  color: rgba(247, 242, 234, 0.65);
  padding: 4.5rem 0 1.75rem;
}

.fx-footer a {
  color: rgba(247, 242, 234, 0.78);
  text-decoration: none;
  transition: color 0.25s ease;
}

.fx-footer a:hover {
  color: #fff;
}

.fx-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.fx-footer__brand {
  font-family: var(--fx-serif);
  font-weight: 500;
  color: #fff;
  font-size: 1.65rem;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.fx-footer p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
}

.fx-footer h4 {
  margin: 0 0 1.1rem;
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.fx-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fx-footer li {
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
  font-weight: 300;
}

.fx-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(247, 242, 234, 0.4);
  letter-spacing: 0.04em;
}

.fx-affiliate-note {
  font-size: 0.78rem;
  color: rgba(247, 242, 234, 0.4);
  max-width: 52rem;
  margin: 0 0 1.5rem;
  line-height: 1.6;
  font-weight: 300;
}

/* Utilities -------------------------------------------------------------- */

.fx-center {
  text-align: center;
}

.fx-mt {
  margin-top: 2.5rem;
}

.fx-mb {
  margin-bottom: 2.5rem;
}

.fx-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.fx-split-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.fx-split-head .fx-section__head {
  margin: 0;
}

/* Entrance motion (subtle) ----------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .fx-hero__grid > *,
  .fx-feature,
  .fx-product,
  .fx-cat {
    animation: fx-rise 0.9s var(--fx-ease) both;
  }

  .fx-hero__grid > *:nth-child(2) {
    animation-delay: 0.12s;
  }

  .fx-feature:nth-child(2),
  .fx-product:nth-child(2),
  .fx-cat:nth-child(2) {
    animation-delay: 0.08s;
  }

  .fx-feature:nth-child(3),
  .fx-product:nth-child(3),
  .fx-cat:nth-child(3) {
    animation-delay: 0.16s;
  }

  .fx-product:nth-child(4),
  .fx-cat:nth-child(4) {
    animation-delay: 0.22s;
  }

  .fx-product:nth-child(5) {
    animation-delay: 0.28s;
  }

  .fx-product:nth-child(6) {
    animation-delay: 0.34s;
  }

  .fx-product:nth-child(7) {
    animation-delay: 0.4s;
  }
}

@keyframes fx-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1024px) {
  .fx-hero__grid,
  .fx-detail {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .fx-detail__gallery {
    position: static;
  }

  .fx-hero__visual {
    max-height: none;
    aspect-ratio: 5 / 4;
  }

  .fx-products,
  .fx-features,
  .fx-related {
    grid-template-columns: repeat(2, 1fr);
  }

  .fx-cats {
    grid-template-columns: 1fr 1fr;
  }

  .fx-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .fx-hero__meta {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

@media (max-width: 720px) {
  .fx-nav-toggle {
    display: inline-block;
  }

  .fx-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(243, 238, 230, 0.98);
    border-bottom: 1px solid var(--fx-line);
    padding: 1.25rem 1.25rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    backdrop-filter: blur(16px);
  }

  .fx-nav.is-open {
    display: flex;
  }

  .fx-nav a:not(.fx-btn) {
    padding: 0.85rem 0.25rem;
  }

  .fx-nav .fx-btn {
    margin-top: 0.75rem;
    width: 100%;
  }

  .fx-products,
  .fx-features,
  .fx-cats,
  .fx-related,
  .fx-footer__grid {
    grid-template-columns: 1fr;
  }

  .fx-section {
    padding: 4.5rem 0;
  }

  .fx-cta-band {
    padding: 2rem 1.5rem;
  }

  .fx-hero h1 {
    font-size: clamp(2.35rem, 10vw, 3rem);
  }

  .fx-container {
    width: min(100% - 1.75rem, var(--fx-max));
  }
}

/* Real product photos (Agnes / featured image) */
.fx-product__media--photo,
.fx-detail__media.fx-product__media--photo {
  background: #1a1a1a;
}

.fx-product__media--photo::before,
.fx-detail__media.fx-product__media--photo::before {
  display: none;
}

.fx-product__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.fx-product__media--photo .fx-product__media-label,
.fx-detail__media.fx-product__media--photo .fx-detail__media-inner {
  z-index: 2;
}

/* Homepage real photos */
.fx-hero__visual--photo {
  background: #1c1b19;
  padding: 0;
}

.fx-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fx-hero__visual--photo .fx-hero__float,
.fx-hero__visual--photo .fx-hero__badge {
  z-index: 2;
}

.fx-cat--photo {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 0;
  min-height: 240px;
  position: relative;
}

.fx-cat--photo::before {
  display: none !important;
}

.fx-cat--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(20, 18, 16, 0.8) 100%);
  z-index: 1;
  opacity: 1;
  transform: none;
}

.fx-cat__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--fx-ease);
  z-index: 0;
}

.fx-cat--photo:hover .fx-cat__img {
  transform: scale(1.06);
}

.fx-cat--photo .fx-cat__num {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  z-index: 2;
  color: rgba(255, 255, 255, 0.8);
}

.fx-cat--photo strong,
.fx-cat--photo > span:not(.fx-cat__num) {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.fx-cat--photo strong {
  margin-top: auto;
  padding-bottom: 0.25rem;
  font-size: 1.55rem;
}

.fx-cat--photo > span:not(.fx-cat__num) {
  padding-bottom: 1.35rem;
  opacity: 0.9;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
