/* Fantom header, drawers, search and home page. Tokens only. */

.ftm-locked { overflow: hidden; }

/* --- Announcement bar ----------------------------------------------------- */
.ftm-announce {
  background: var(--ftm-accent);
  color: var(--ftm-accent-ink);      /* never white on amber */
  text-align: center;
  font-size: var(--ftm-text-xs);
  font-weight: var(--ftm-weight-medium);
  letter-spacing: 0.04em;
  padding: var(--ftm-space-2) var(--ftm-gutter);
}
.ftm-announce a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* --- Header --------------------------------------------------------------- */
/* Sticky header.
 *
 * Two things were stopping this, neither visible without measuring:
 *
 * 1. Blocksy styles the element as `#header { position: relative }`. An ID
 *    beats a class, so the plain `.ftm-header` rule never applied - the
 *    computed position was `relative` and the z-index was Blocksy's 50, not
 *    the 100 set here. Hence `#header.ftm-header`.
 *
 * 2. `position: sticky` is inert inside any ancestor whose overflow is not
 *    `visible`. Blocksy sets `overflow: clip` on #main-container and
 *    `overflow-x: hidden` on body, both of which make the nearest scroll
 *    container an ancestor rather than the viewport. Those are cleared below.
 *    Safe here because the layout is verified free of horizontal overflow at
 *    360, 390, 414 and 1440px - the clipping was belt-and-braces, not load
 *    bearing.
 */
#header.ftm-header {
  position: sticky;
  top: 0;
  z-index: 100;
}
html, body { overflow-x: visible; }
#main-container { overflow: visible; }
.ftm-header__bar { background: var(--ftm-nav-bg); color: var(--ftm-nav-ink); }
.ftm-header__inner {
  width: min(100% - (2 * var(--ftm-gutter)), var(--ftm-max-width));
  margin-inline: auto;
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  gap: var(--ftm-space-6);
}
@media (min-width: 1024px) {
  .ftm-header__inner { min-height: 5.5rem; width: min(100% - (2 * var(--ftm-gutter-lg)), var(--ftm-max-width)); }
}

.ftm-header__logo {
  display: flex; align-items: center; flex: 0 0 auto;
  min-height: 44px;   /* the mark is 30px tall; the hit area must not be */
}
.ftm-header__logo img, .ftm-logo { width: auto; height: 1.9rem; display: block; }
@media (min-width: 1024px) { .ftm-header__logo img, .ftm-logo { height: 2.4rem; } }
.ftm-logo-text { color: var(--ftm-nav-ink); font-weight: var(--ftm-weight-bold); font-size: var(--ftm-text-lg); }

.ftm-header__nav { display: none; flex: 1 1 auto; }
@media (min-width: 1024px) { .ftm-header__nav { display: block; } }
.ftm-nav__list {
  display: flex; align-items: center; gap: var(--ftm-space-8);
  list-style: none; margin: 0; padding: 0;
}
.ftm-nav__list a {
  color: var(--ftm-nav-ink);
  text-decoration: none;
  font-size: var(--ftm-text-xs);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: var(--ftm-weight-medium);
  display: flex; align-items: center; min-height: 44px;
  white-space: nowrap;
}
.ftm-nav__list a:hover { color: var(--ftm-accent); }
.ftm-nav__list .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--ftm-accent); }
.ftm-nav__list .sub-menu { display: none; }

.ftm-header__actions { display: flex; align-items: center; gap: var(--ftm-space-2); margin-left: auto; flex: 0 0 auto; }
.ftm-header__icon {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
  background: none; border: none; cursor: pointer;
  color: var(--ftm-nav-ink); text-decoration: none;
}
.ftm-header__icon:hover { color: var(--ftm-accent); }
.ftm-cart-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--ftm-accent); color: var(--ftm-accent-ink);
  font-size: 0.6875rem; font-weight: var(--ftm-weight-bold);
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.ftm-cart-count.is-empty { display: none; }

/* Burger */
.ftm-header__menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; margin-left: calc(var(--ftm-space-3) * -1);
  background: none; border: none; cursor: pointer; color: var(--ftm-nav-ink);
}
@media (min-width: 1024px) { .ftm-header__menu-toggle { display: none; } }
.ftm-burger, .ftm-burger::before, .ftm-burger::after {
  display: block; width: 20px; height: 2px; background: currentColor; transition: transform .18s ease, opacity .18s ease;
}
.ftm-burger { position: relative; }
.ftm-burger::before, .ftm-burger::after { content: ""; position: absolute; left: 0; }
.ftm-burger::before { top: -6px; }
.ftm-burger::after { top: 6px; }
.is-open .ftm-burger { background: transparent; }
.is-open .ftm-burger::before { transform: translateY(6px) rotate(45deg); }
.is-open .ftm-burger::after { transform: translateY(-6px) rotate(-45deg); }

.ftm-mobile-nav { background: var(--ftm-nav-bg); border-top: 1px solid rgba(255,255,255,.12); }
.ftm-mobile-nav__list { list-style: none; margin: 0; padding: var(--ftm-space-2) var(--ftm-gutter) var(--ftm-space-4); }
.ftm-mobile-nav__list a {
  display: flex; align-items: center; min-height: 48px;
  color: var(--ftm-nav-ink); text-decoration: none;
  font-size: var(--ftm-text-sm); letter-spacing: 0.06em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* --- Drawer + search overlay ---------------------------------------------- */
.ftm-drawer, .ftm-search { position: fixed; inset: 0; z-index: 200; }
.ftm-drawer__scrim, .ftm-search__scrim { position: absolute; inset: 0; background: rgba(38,38,38,.6); }
.ftm-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(24rem, 100%); background: var(--ftm-bg);
  display: flex; flex-direction: column;
}
.ftm-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--ftm-space-4) var(--ftm-space-6);
  border-bottom: 1px solid var(--ftm-border);
}
.ftm-drawer__head h2 { margin: 0; font-size: var(--ftm-text-lg); }
.ftm-drawer__close, .ftm-search__close {
  background: none; border: none; cursor: pointer; color: var(--ftm-ink);
  min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
}
.ftm-drawer__body { flex: 1 1 auto; overflow-y: auto; }
.ftm-drawer__empty { padding: var(--ftm-space-12) var(--ftm-space-6); text-align: center; }
.ftm-drawer__empty p { color: var(--ftm-ink-muted); margin-bottom: var(--ftm-space-6); }
.ftm-drawer__items { list-style: none; margin: 0; padding: 0; }
.ftm-drawer__item {
  display: grid; grid-template-columns: 4rem 1fr auto; gap: var(--ftm-space-3);
  align-items: center;
  padding: var(--ftm-space-4) var(--ftm-space-6);
  border-bottom: 1px solid var(--ftm-border);
}
.ftm-drawer__thumb img { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--ftm-surface-alt); display: block; }
.ftm-drawer__meta { min-width: 0; }
.ftm-drawer__name { display: block; color: var(--ftm-ink); text-decoration: none; font-size: var(--ftm-text-sm); line-height: 1.35; }
.ftm-drawer__qty { display: block; font-size: var(--ftm-text-xs); color: var(--ftm-ink-muted); margin-top: 2px; }
.ftm-drawer__remove {
  color: var(--ftm-ink-subtle); text-decoration: none; font-size: 1.25rem; line-height: 1;
  min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
}
.ftm-drawer__remove:hover { color: var(--ftm-danger); }
.ftm-drawer__foot { border-top: 1px solid var(--ftm-border); padding: var(--ftm-space-6); }
.ftm-drawer__total { display: flex; justify-content: space-between; margin: 0 0 var(--ftm-space-1); font-size: var(--ftm-text-lg); }
.ftm-drawer__note { margin: 0 0 var(--ftm-space-4); font-size: var(--ftm-text-xs); color: var(--ftm-ink-muted); }
.ftm-drawer__checkout { display: block; width: 100%; text-align: center; }
.ftm-drawer__viewcart {
  display: block; text-align: center; margin-top: var(--ftm-space-3);
  font-size: var(--ftm-text-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--ftm-ink-muted);
}

/* --- Search --------------------------------------------------------------- */
.ftm-search__panel {
  position: absolute; top: 0; left: 0; right: 0;
  background: var(--ftm-bg); padding: var(--ftm-space-6) var(--ftm-gutter);
  max-height: 100%; overflow-y: auto;
}
.ftm-search__form {
  width: min(100%, 44rem); margin-inline: auto;
  display: flex; align-items: center; gap: var(--ftm-space-2);
  border-bottom: 2px solid var(--ftm-ink); padding-bottom: var(--ftm-space-2);
}
.ftm-search__form input[type="search"] {
  flex: 1 1 auto; border: none; outline: none; background: transparent;
  font-size: var(--ftm-text-xl); padding: var(--ftm-space-2) 0; min-height: 44px; color: var(--ftm-ink);
  -webkit-appearance: none;
}
.ftm-search__form input::placeholder { color: var(--ftm-ink-subtle); }
.ftm-search__submit { background: none; border: none; cursor: pointer; color: var(--ftm-ink); min-width: 44px; min-height: 44px; }
.ftm-search__results { width: min(100%, 44rem); margin: var(--ftm-space-4) auto 0; }
.ftm-search__none { color: var(--ftm-ink-muted); font-size: var(--ftm-text-sm); }
.ftm-suggest {
  display: grid; grid-template-columns: 3.5rem 1fr; gap: var(--ftm-space-3);
  align-items: center; padding: var(--ftm-space-3) 0;
  border-bottom: 1px solid var(--ftm-border); text-decoration: none; color: var(--ftm-ink);
}
.ftm-suggest:hover { background: var(--ftm-surface-alt); }
.ftm-suggest img, .ftm-suggest__noimg { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--ftm-surface-alt); display: block; }
.ftm-suggest__franchise { display: block; font-size: var(--ftm-text-xs); text-transform: uppercase; letter-spacing: .09em; color: var(--ftm-ink-muted); }
.ftm-suggest__name { display: block; font-size: var(--ftm-text-base); }
.ftm-suggest__price { display: block; font-size: var(--ftm-text-sm); color: var(--ftm-ink-muted); font-variant-numeric: tabular-nums; }

/* --- Home ----------------------------------------------------------------- */
.ftm-section { padding: var(--ftm-section-y) 0; }
@media (min-width: 1024px) { .ftm-section { padding: var(--ftm-space-16) 0; } }
.ftm-section__inner { width: min(100% - (2 * var(--ftm-gutter)), var(--ftm-max-width)); margin-inline: auto; }
@media (min-width: 1024px) { .ftm-section__inner { width: min(100% - (2 * var(--ftm-gutter-lg)), var(--ftm-max-width)); } }
.ftm-section__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--ftm-space-4);
  padding-bottom: var(--ftm-space-3); border-bottom: 1px solid var(--ftm-border); margin-bottom: var(--ftm-space-8);
}
.ftm-section__head h2 { margin: 0; font-size: var(--ftm-text-2xl); font-weight: var(--ftm-weight-bold); letter-spacing: -.01em; }
.ftm-section__more {
  font-size: var(--ftm-text-xs); text-transform: uppercase; letter-spacing: .08em;
  color: var(--ftm-ink-muted); text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; min-height: 44px;
}
.ftm-section__more:hover { color: var(--ftm-ink); }
.ftm-section--trust { background: var(--ftm-surface-alt); }

.ftm-cat-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--ftm-space-4); }
@media (min-width: 768px) { .ftm-cat-tiles { grid-template-columns: repeat(3, 1fr); gap: var(--ftm-space-6); } }
.ftm-cat-tile { display: block; text-decoration: none; color: var(--ftm-ink); }
.ftm-cat-tile__media {
  display: block; aspect-ratio: 1/1;   /* square: a 4:3 crop of a portrait photo cut the heads off */
  background: var(--ftm-surface-alt); overflow: hidden;
}
.ftm-cat-tile__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .18s ease; }
.ftm-cat-tile:hover .ftm-cat-tile__media img { opacity: .85; }
.ftm-cat-tile__label { display: block; margin-top: var(--ftm-space-3); font-size: var(--ftm-text-lg); }
.ftm-cat-tile__count { display: block; font-size: var(--ftm-text-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--ftm-ink-muted); }

.ftm-featured { display: grid; grid-template-columns: 1fr; gap: var(--ftm-space-8); align-items: center; }
@media (min-width: 900px) { .ftm-featured { grid-template-columns: 1fr 1fr; gap: var(--ftm-space-16); } }
.ftm-featured__media { display: block; background: var(--ftm-surface-alt); }
.ftm-featured__media img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block;
  max-height: 32rem;   /* keeps the section a screenful, not a scroll */
}
.ftm-featured__eyebrow { margin: 0 0 var(--ftm-space-4); font-size: var(--ftm-text-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--ftm-accent-ink); background: var(--ftm-accent); display: inline-block; padding: var(--ftm-space-1) var(--ftm-space-2); font-weight: var(--ftm-weight-bold); }
.ftm-featured__title { margin: 0 0 var(--ftm-space-3); font-size: var(--ftm-text-2xl); font-weight: var(--ftm-weight-bold); }
.ftm-featured__price { margin: 0 0 var(--ftm-space-2); font-size: var(--ftm-text-xl); font-weight: var(--ftm-weight-bold); font-variant-numeric: tabular-nums; }
.ftm-featured__dims { margin: 0 0 var(--ftm-space-6); font-size: var(--ftm-text-sm); color: var(--ftm-ink-muted); }

.ftm-trust { display: grid; grid-template-columns: 1fr; gap: var(--ftm-space-8); }
@media (min-width: 768px) { .ftm-trust { grid-template-columns: repeat(3, 1fr); } }
.ftm-trust__item h3 { margin: 0 0 var(--ftm-space-2); font-size: var(--ftm-text-lg); font-weight: var(--ftm-weight-bold); }
.ftm-trust__item p { margin: 0; color: var(--ftm-ink-muted); font-size: var(--ftm-text-sm); }

/* Hero. Without a background image it stays compact - a tall empty dark block
   pushes the products off the first screen for no gain. */
.ftm-hero {
  position: relative;
  background: var(--ftm-nav-bg);
  background-size: cover; background-position: center;
  display: flex; align-items: center;
  min-height: 15rem;
  padding-block: var(--ftm-space-12);
}
.ftm-hero--image { min-height: 24rem; }
@media (min-width: 1024px) {
  .ftm-hero { min-height: 18rem; padding-block: var(--ftm-space-16); }
  .ftm-hero--image { min-height: 30rem; }
}
.ftm-hero--image::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(38,38,38,.92) 0%, rgba(38,38,38,.6) 55%, rgba(38,38,38,.3) 100%);
}
.ftm-hero__inner {
  position: relative; z-index: 1;
  width: min(100% - (2 * var(--ftm-gutter)), var(--ftm-max-width));
  margin-inline: auto;
}
@media (min-width: 1024px) { .ftm-hero__inner { width: min(100% - (2 * var(--ftm-gutter-lg)), var(--ftm-max-width)); } }
.ftm-hero__eyebrow {
  margin: 0 0 var(--ftm-space-3);
  font-size: var(--ftm-text-xs); letter-spacing: .12em; text-transform: uppercase;
  color: var(--ftm-accent); font-weight: var(--ftm-weight-bold);
}
.ftm-hero__heading {
  margin: 0; color: var(--ftm-nav-ink);
  font-size: var(--ftm-text-2xl); font-weight: var(--ftm-weight-bold);
  line-height: var(--ftm-leading-tight); max-width: 20ch;
}
@media (min-width: 1024px) { .ftm-hero__heading { font-size: var(--ftm-text-3xl); } }
.ftm-hero__text {
  margin: var(--ftm-space-3) 0 0; color: var(--ftm-nav-ink);
  opacity: .85; max-width: 42ch;
}
/* White fill, ink text: near-black would vanish on the dark hero, and amber
   cannot carry white text. */
.ftm-hero__cta {
  display: inline-block; margin-top: var(--ftm-space-6);
  background: var(--ftm-nav-ink); color: var(--ftm-ink);
  border: 1px solid var(--ftm-nav-ink); border-radius: var(--ftm-radius);
  padding: var(--ftm-space-4) var(--ftm-space-8);
  font-size: var(--ftm-text-sm); font-weight: var(--ftm-weight-bold);
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.ftm-hero__cta:hover { background: var(--ftm-accent); border-color: var(--ftm-accent); color: var(--ftm-accent-ink); }

/* --- Footer ---------------------------------------------------------------
   Dark, matching the header, so the page is bookended rather than trailing
   off into white. */
.ftm-footer { background: var(--ftm-nav-bg); color: var(--ftm-nav-ink); margin-top: var(--ftm-space-16); }
.ftm-footer__inner {
  width: min(100% - (2 * var(--ftm-gutter)), var(--ftm-max-width));
  margin-inline: auto;
}
@media (min-width: 1024px) {
  .ftm-footer__inner { width: min(100% - (2 * var(--ftm-gutter-lg)), var(--ftm-max-width)); }
}
.ftm-footer__top { padding: var(--ftm-space-12) 0; }
@media (min-width: 1024px) { .ftm-footer__top { padding: var(--ftm-space-16) 0; } }
.ftm-footer__top .ftm-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ftm-space-8);
}
@media (min-width: 640px)  { .ftm-footer__top .ftm-footer__inner { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .ftm-footer__top .ftm-footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--ftm-space-12); } }

.ftm-footer__brand { grid-column: 1 / -1; }
@media (min-width: 1024px) { .ftm-footer__brand { grid-column: auto; } }
.ftm-footer__logo { display: inline-flex; align-items: center; min-height: 44px; }
.ftm-footer__logo img, .ftm-footer__logo .ftm-logo { height: 2rem; width: auto; }
.ftm-footer__blurb {
  margin: var(--ftm-space-3) 0 var(--ftm-space-4);
  color: rgba(255,255,255,.7);
  font-size: var(--ftm-text-sm);
  max-width: 34ch;
}
.ftm-footer__contact { list-style: none; margin: 0; padding: 0; }
.ftm-footer__contact a {
  color: var(--ftm-nav-ink); text-decoration: none;
  font-size: var(--ftm-text-sm);
  display: inline-flex; align-items: center; min-height: 40px;
}
.ftm-footer__contact a:hover { color: var(--ftm-accent); }

.ftm-footer__heading {
  margin: 0 0 var(--ftm-space-3);
  font-size: var(--ftm-text-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ftm-accent);
  font-weight: var(--ftm-weight-bold);
}
.ftm-footer__col ul { list-style: none; margin: 0; padding: 0; }
.ftm-footer__col a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-size: var(--ftm-text-sm);
  display: flex; align-items: center; min-height: 40px;
}
.ftm-footer__col a:hover { color: var(--ftm-nav-ink); }

.ftm-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: var(--ftm-space-6) 0; }
.ftm-footer__bottom-inner {
  display: flex; flex-wrap: wrap; gap: var(--ftm-space-3);
  align-items: center; justify-content: space-between;
}
.ftm-footer__legal, .ftm-footer__pay {
  margin: 0;
  font-size: var(--ftm-text-xs);
  color: rgba(255,255,255,.6);
}

/* --- WhatsApp ------------------------------------------------------------- */
.ftm-wa-btn {
  display: inline-flex; align-items: center; gap: var(--ftm-space-2);
  margin-top: var(--ftm-space-3);
  padding: var(--ftm-space-3) var(--ftm-space-6);
  min-height: 44px;
  background: transparent; color: var(--ftm-ink);
  border: 1px solid var(--ftm-ink); border-radius: 0;
  font-size: var(--ftm-text-sm); font-weight: var(--ftm-weight-bold);
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.ftm-wa-btn:hover { background: var(--ftm-ink); color: var(--ftm-bg); }
.ftm-wa-btn svg { flex: 0 0 auto; }

/* Floating button. Deliberately not the amber accent - amber is the store's
   own signal colour and a third-party channel should not borrow it. */
.ftm-wa-float {
  position: fixed; right: var(--ftm-space-4); bottom: var(--ftm-space-4);
  z-index: 150;
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff;
  border-radius: 50%;                       /* the one round thing on the site: it is a chat affordance, not chrome */
  box-shadow: 0 4px 14px rgba(0,0,0,.28);
  text-decoration: none;
}
.ftm-wa-float:hover { background: #1FB855; color: #fff; }
@media (min-width: 1024px) { .ftm-wa-float { right: var(--ftm-space-8); bottom: var(--ftm-space-8); } }

/* --- Trust icons ---------------------------------------------------------- */
.ftm-trust__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: var(--ftm-space-3);
  background: var(--ftm-accent); color: var(--ftm-accent-ink);
}

/* --- Centred header nav --------------------------------------------------- */
@media (min-width: 1024px) {
  .ftm-header__nav { display: flex; justify-content: center; }
  .ftm-nav__list { justify-content: center; }
}

/* --- Creator rows and origin labels --------------------------------------- */
.ftm-creators { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--ftm-space-4); }
@media (min-width: 768px) { .ftm-creators { grid-template-columns: repeat(4, 1fr); gap: var(--ftm-space-6); } }
.ftm-creator {
  display: flex; flex-direction: column; gap: var(--ftm-space-1);
  padding: var(--ftm-space-6);
  border: 1px solid var(--ftm-border);
  text-decoration: none; color: var(--ftm-ink);
  min-height: 44px;
  transition: border-color .15s ease;
}
.ftm-creator:hover { border-color: var(--ftm-ink); }
.ftm-creator__name { font-size: var(--ftm-text-lg); }
.ftm-creator__count {
  font-size: var(--ftm-text-xs); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ftm-ink-muted);
}

/* Origin label on the card. Quiet by design - it is provenance, not a sale
   badge, and it must not compete with the price. */
.ftm-card__origin {
  display: block;
  margin-top: var(--ftm-space-1);
  font-size: var(--ftm-text-xs);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ftm-ink-muted);
}
.ftm-card__origin::before { content: "◆"; margin-right: .4em; color: var(--ftm-accent); }
.ftm-card__origin--curated::before { content: "◇"; color: var(--ftm-ink-subtle); }

/* --- Creator page header -------------------------------------------------- */
.ftm-creator-head {
  position: relative;
  background: var(--ftm-surface-alt);
  background-size: cover; background-position: center;
  margin-bottom: var(--ftm-space-8);
  /* Inline padding as well as block: without it the avatar sat flush against
     the panel edge with no breathing room. */
  padding: var(--ftm-space-6) var(--ftm-space-6);
}
@media (min-width: 768px) { .ftm-creator-head { padding: var(--ftm-space-8); } }
.ftm-creator-head.has-cover { background-color: var(--ftm-nav-bg); }
@media (min-width: 768px) { .ftm-creator-head.has-cover { padding: var(--ftm-space-12) var(--ftm-space-8); } }
.ftm-creator-head.has-cover::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(38,38,38,.94) 0%, rgba(38,38,38,.7) 60%, rgba(38,38,38,.4) 100%);
}
.ftm-creator-head__inner {
  position: relative; z-index: 1;
  display: flex; align-items: flex-start; gap: var(--ftm-space-6);
  flex-wrap: wrap;
}
.ftm-creator-head__avatar { flex: 0 0 auto; width: 72px; height: 72px; overflow: hidden; background: var(--ftm-bg); }
@media (min-width: 768px) { .ftm-creator-head__avatar { width: 88px; height: 88px; } }
.ftm-creator-head__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ftm-creator-head__body { flex: 1 1 20rem; min-width: 0; }
.ftm-creator-head__eyebrow {
  margin: 0 0 var(--ftm-space-2);
  font-size: var(--ftm-text-xs); letter-spacing: .12em; text-transform: uppercase;
  font-weight: var(--ftm-weight-bold); color: var(--ftm-ink-muted);
}
.ftm-creator-head__name {
  margin: 0; font-size: var(--ftm-text-2xl); font-weight: var(--ftm-weight-bold);
  letter-spacing: -.01em; color: var(--ftm-ink);
}
.ftm-creator-head__desc { margin-top: var(--ftm-space-3); color: var(--ftm-ink-muted); max-width: 62ch; }
.ftm-creator-head__desc p { margin: 0 0 var(--ftm-space-2); }
.ftm-creator-head__count {
  margin: var(--ftm-space-3) 0 0;
  font-size: var(--ftm-text-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--ftm-ink-muted);
}
/* On a cover photo the whole block flips to light type. */
.ftm-creator-head.has-cover .ftm-creator-head__name { color: var(--ftm-nav-ink); }
.ftm-creator-head.has-cover .ftm-creator-head__eyebrow { color: var(--ftm-accent); }
.ftm-creator-head.has-cover .ftm-creator-head__desc,
.ftm-creator-head.has-cover .ftm-creator-head__count { color: rgba(255,255,255,.8); }
.ftm-creator-head.has-cover .ftm-creator-social a { color: var(--ftm-nav-ink); border-color: rgba(255,255,255,.4); }
.ftm-creator-head.has-cover .ftm-creator-social a:hover { background: var(--ftm-nav-ink); color: var(--ftm-ink); }

.ftm-creator-social { display: flex; flex-wrap: wrap; gap: var(--ftm-space-2); list-style: none; margin: var(--ftm-space-4) 0 0; padding: 0; }
.ftm-creator-social a {
  display: inline-flex; align-items: center; gap: var(--ftm-space-2); min-height: 44px;
  padding: var(--ftm-space-2) var(--ftm-space-4);
  border: 1px solid var(--ftm-border); color: var(--ftm-ink);
  font-size: var(--ftm-text-sm); text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.ftm-creator-social a:hover { background: var(--ftm-ink); color: var(--ftm-bg); border-color: var(--ftm-ink); }

/* --- Creator line on the product page ------------------------------------- */
.ftm-product-creator {
  display: inline-flex; align-items: center; gap: var(--ftm-space-3);
  margin: var(--ftm-space-4) 0 0; padding: var(--ftm-space-3) 0;
  text-decoration: none; color: var(--ftm-ink); min-height: 44px;
}
.ftm-product-creator img { width: 40px; height: 40px; object-fit: cover; display: block; }
.ftm-product-creator__text { display: flex; flex-direction: column; line-height: 1.3; }
.ftm-product-creator__label {
  font-size: var(--ftm-text-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--ftm-ink-muted);
}
.ftm-product-creator__name { font-size: var(--ftm-text-base); font-weight: var(--ftm-weight-medium); }
.ftm-product-creator:hover .ftm-product-creator__name { box-shadow: inset 0 -2px 0 var(--ftm-accent); }

/* Avatar in the home Shop-by-Creator row */
.ftm-creator__avatar { display: block; width: 48px; height: 48px; overflow: hidden; margin-bottom: var(--ftm-space-3); background: var(--ftm-surface-alt); }
.ftm-creator__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- Creators directory --------------------------------------------------- */
.ftm-creators-intro { max-width: 62ch; color: var(--ftm-ink-muted); margin-bottom: var(--ftm-space-8); }
.ftm-creator-list { display: grid; grid-template-columns: 1fr; gap: var(--ftm-space-4); }
@media (min-width: 700px)  { .ftm-creator-list { grid-template-columns: repeat(2, 1fr); gap: var(--ftm-space-6); } }
@media (min-width: 1100px) { .ftm-creator-list { grid-template-columns: repeat(3, 1fr); } }
.ftm-creator-card {
  display: flex; gap: var(--ftm-space-4); align-items: flex-start;
  padding: var(--ftm-space-6);
  border: 1px solid var(--ftm-border);
  text-decoration: none; color: var(--ftm-ink);
  transition: border-color .15s ease;
}
.ftm-creator-card:hover { border-color: var(--ftm-ink); }
.ftm-creator-card__media {
  flex: 0 0 auto; width: 64px; height: 64px; overflow: hidden; background: var(--ftm-surface-alt);
}
.ftm-creator-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ftm-creator-card__body { display: flex; flex-direction: column; gap: var(--ftm-space-1); min-width: 0; }
.ftm-creator-card__eyebrow {
  font-size: var(--ftm-text-xs); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ftm-ink-muted); font-weight: var(--ftm-weight-bold);
}
.ftm-creator-card__name { font-size: var(--ftm-text-lg); }
.ftm-creator-card__desc { font-size: var(--ftm-text-sm); color: var(--ftm-ink-muted); }
.ftm-creator-card__count {
  font-size: var(--ftm-text-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--ftm-ink-subtle);
}
