/* TACTILE — identity row + one featured product card. Then collections and a card grid. */
body[data-arch="tactile"],
body[data-layout="tactile"] {
  /* Niche tokens from the page. */
}

/* Beat leftover variant rules in _shared/tactile.css (stack/bench/tray .tx-hero). */
body[data-arch="tactile"] .tx-hero,
body[data-layout="tactile"] .tx-hero,
body[data-variant="stack"] .tx-hero,
body[data-variant="bench"] .tx-hero,
body[data-variant="tray"] .tx-hero {
  display: block;
  position: relative;
  min-height: 0;
  padding: 0 0 36px;
  background: var(--surface);
  color: var(--fg, var(--ink));
  overflow: visible;
  border-bottom: 0;
  grid-template-columns: none;
  gap: 0;
  align-items: stretch;
}
body[data-variant="stack"] .tx-hero .copy,
body[data-variant="bench"] .tx-hero .copy,
body[data-variant="tray"] .tx-hero .copy {
  display: contents;
  padding: 0;
}

.tx-hero {
  padding: 0 0 36px;
  background: var(--surface);
  color: var(--fg, var(--ink));
}
.tx-hero-stage {
  position: relative;
  min-height: min(72vh, 740px);
  overflow: hidden;
  color: var(--on-ink, #f6f1ea);
}
.tx-hero-photo,
body[data-arch="tactile"] .tx-hero-photo,
body[data-layout="tactile"] .tx-hero-photo,
body[data-variant="stack"] .tx-hero-stage img,
body[data-variant="bench"] .tx-hero-stage img,
body[data-variant="tray"] .tx-hero-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: cover;
  aspect-ratio: auto;
  display: block;
}
.tx-hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, color-mix(in srgb, #111 22%, transparent) 0%, color-mix(in srgb, #111 62%, transparent) 100%);
}
.tx-hero-id {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 1120px;
  min-height: min(72vh, 740px);
  padding: 40px 24px 36px;
  color: var(--on-ink, #f6f1ea);
}
.tx-hero-id > div { flex: 1 1 18rem; min-width: 0; }
.tx-hero-id h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 4px 0 8px;
  color: var(--on-ink, #f6f1ea);
}
body[data-variant="stack"] .tx-hero-id h1,
body[data-variant="bench"] .tx-hero-id h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 0.92;
}
.tx-hero-id .lead {
  margin: 0;
  max-width: 36rem;
  line-height: 1.5;
  opacity: 0.88;
  color: var(--on-ink, #f6f1ea);
}
.tx-hero-id .sth-kicker,
.tx-hero-id .kicker {
  color: color-mix(in srgb, var(--on-ink, #f6f1ea) 70%, var(--accent));
}
.tx-hero-id .btn,
.tx-hero-id .btn-primary {
  flex: 0 0 auto;
  min-height: 44px;
  align-self: flex-end;
}

.tx-hero-feature.tx-card,
html body .store-luxe .tx-hero-feature.tx-card,
html body .tx-hero-feature.tx-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
  height: auto !important;
  max-width: min(1120px, calc(100% - 40px));
  margin: 24px auto 0;
  overflow: hidden !important;
  flex-direction: unset;
}
.tx-hero-feature .tx-card-media {
  min-height: 0;
  height: 100%;
  background: color-mix(in srgb, var(--surface) 70%, #ccc);
}
.tx-hero-feature .tx-card-media img {
  width: 100%;
  height: 100% !important;
  min-height: 440px !important;
  max-height: 640px !important;
  aspect-ratio: auto;
  object-fit: cover;
  display: block;
}
.tx-hero-copy {
  padding: 32px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  background: var(--surface);
  color: var(--fg, var(--ink));
}
.tx-hero-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  margin: 0;
  line-height: 1.05;
}
.tx-hero-copy .price { font-size: 1.6rem; margin: 0; }
.tx-hero-copy .product-card-blurb {
  -webkit-line-clamp: 5;
  max-width: 36rem;
  opacity: 0.82;
}
.tx-hero-copy .product-stars { margin: 0; }
.tx-hero-actions,
.tx-hero-copy .card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.tx-hero-actions .btn-primary,
.tx-hero-actions .btn-ghost,
.tx-hero-copy .card-actions .btn { min-height: 44px; }

.tx-specs,
.tx-hero-copy .sth-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 4px 0;
  font-size: 13px;
}
.tx-specs > div,
.tx-hero-copy .sth-specs > div {
  padding: 10px 12px;
  background: color-mix(in srgb, var(--ink) 6%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}
.tx-specs .kicker,
.tx-hero-copy .sth-specs .sth-kicker {
  margin: 0 0 2px;
  font-size: 10px;
}
.tx-specs strong,
.tx-hero-copy .sth-specs strong { font-size: 13px; }

.tx-drawers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  background: var(--surface);
  color: var(--fg, var(--ink));
}
.tx-drawers a {
  padding: 18px 16px;
  border-right: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  min-height: 72px;
  display: flex;
  align-items: center;
}
.tx-drawers h3 { font-size: 1.05rem; margin: 0; font-weight: 600; }

.tx-inspect {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 28px 20px 56px;
  background: color-mix(in srgb, var(--surface) 88%, var(--ink));
  color: var(--fg, var(--ink));
}
html body .tx-card,
html body .store-luxe .tx-card,
.tx-inspect .tx-card,
.tx-inspect .tx-piece {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden !important;
  background: var(--surface) !important;
  color: var(--fg, var(--ink)) !important;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent) !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 32px color-mix(in srgb, var(--ink) 12%, transparent) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html body .store-luxe .tx-card::after {
  display: none !important;
}
.tx-card-media {
  overflow: hidden;
  background: color-mix(in srgb, var(--surface) 70%, #ccc);
}
.tx-card-media img,
.tx-inspect .tx-card img,
.tx-inspect .tx-piece > img {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.tx-hero-feature .tx-card-media img {
  height: 100% !important;
  min-height: 440px !important;
  max-height: 640px !important;
  aspect-ratio: auto;
}
.tx-card-body,
.tx-inspect .tx-pad {
  padding: 16px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.tx-card-body .font-semibold,
.tx-pad h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}
.product-card-blurb {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  opacity: 0.78;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tx-card .product-stars,
.tx-inspect .product-stars {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0;
  font-size: 13px;
}
.tx-card .star-track,
.tx-inspect .star-track {
  position: relative;
  display: inline-block;
  line-height: 1;
  letter-spacing: 1px;
}
.tx-card .star-base,
.tx-inspect .star-base { color: color-mix(in srgb, currentColor 22%, transparent); }
.tx-card .star-fill,
.tx-inspect .star-fill {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--accent, var(--gold, #c59d5f));
}
.tx-inspect .product-card-actions {
  padding: 0 16px 16px;
  margin-top: auto;
}
.tx-inspect .tx-pad .price { font-size: 1.2rem; margin: 0; }
.tx-inspect .card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding: 8px 0 0;
}
.tx-inspect .card-actions .btn { flex: 1; min-height: 40px; }

.tx-table { padding: 36px 20px 48px; overflow-x: auto; }
.tx-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tx-table th, .tx-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  vertical-align: top;
}
.tx-table th { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.tx-material {
  max-width: 38rem;
  padding: 8px 20px 56px;
  line-height: 1.6;
  opacity: 0.85;
}
.tx-foot { padding: 20px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; }

.sth-hero-logo { height: 40px; width: auto; max-width: 140px; object-fit: contain; }
.tx-hero-id .sth-hero-logo {
  position: absolute;
  top: 28px;
  left: 24px;
  margin: 0;
  flex: 0 0 auto;
  filter: drop-shadow(0 1px 8px rgba(0,0,0,.35));
}

@media (max-width: 900px) {
  .tx-hero,
  body[data-arch="tactile"] .tx-hero,
  body[data-layout="tactile"] .tx-hero,
  body[data-variant="stack"] .tx-hero,
  body[data-variant="bench"] .tx-hero,
  body[data-variant="tray"] .tx-hero {
    padding: 0 0 24px;
  }
  .tx-hero-stage,
  .tx-hero-id { min-height: min(62vh, 560px); }
  .tx-hero-id { padding: 28px 16px 24px; }
  .tx-hero-feature.tx-card,
  html body .store-luxe .tx-hero-feature.tx-card,
  html body .tx-hero-feature.tx-card {
    grid-template-columns: 1fr !important;
  }
  .tx-hero-feature .tx-card-media img {
    min-height: 280px !important;
    max-height: 52vh !important;
    aspect-ratio: 4 / 5;
  }
  .tx-hero-copy { padding: 18px 16px 20px; }
  .tx-hero-actions,
  .tx-hero-copy .card-actions { flex-direction: column; }
  .tx-hero-actions .btn-primary,
  .tx-hero-actions .btn-ghost,
  .tx-hero-copy .card-actions .btn { width: 100%; }
  .tx-drawers { grid-template-columns: 1fr 1fr; }
  .tx-inspect { grid-template-columns: 1fr 1fr; padding: 16px 12px 32px; }
}
@media (max-width: 560px) {
  .tx-inspect { grid-template-columns: 1fr; }
  .tx-specs,
  .tx-hero-copy .sth-specs { grid-template-columns: 1fr 1fr; }
}
