/* Shop handoff components. Shared tokens, buttons and .tc-wrap live in the global tc files. */
body.tc-page .page-wrapper:has(> .tc-products-page) {
  padding-top: 0;
  z-index: auto;
}
.tc-products-page {
  position: relative;
  min-width: 0;
}
.tc-products-hero {
  padding: clamp(96px, 10vw, 132px) 0 24px;
}
.tc-products-hero-copy {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.tc-products-hero-kicker {
  margin-bottom: 14px;
}
.tc-products-hero-title {
  font-family: var(--tc-font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}
.tc-products-hero-description {
  margin: 16px auto 0;
  color: var(--tc-ink-2);
  font-size: 15.5px;
  line-height: 1.55;
  max-width: 56ch;
}
.tc-products-get-started {
  padding: 24px 0 48px;
}
.tc-block-sm {
  padding: clamp(64px, 8vw, 96px) 0;
}
.tc-wrap-narrow {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 32px;
}
.tc-rule {
  border: 0;
  border-top: 1px solid var(--tc-line);
  margin: 0;
}
.tc-products-rule-start {
  margin-top: 24px;
}
.tc-kicker {
  font-family: var(--tc-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--tc-ink-3);
  font-weight: 400;
  display: inline-block;
}
.tc-kicker .tc-n {
  color: var(--tc-accent);
}
.tc-serif {
  font-family: var(--tc-font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.tc-grad-text {
  background: linear-gradient(90deg, #ff85e3 0%, #b3a0f7 55%, #6744da 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.tc-h2 {
  font-family: var(--tc-font-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--tc-ink);
  margin: 0;
}
.tc-lede {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--tc-ink-2);
  line-height: 1.55;
  max-width: 52ch;
  margin: 0;
}

.tc-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1080px) { .tc-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .tc-product-grid { grid-template-columns: 1fr; } }

.tc-product-card {
  background: var(--tc-card);
  border: 1px solid var(--tc-line);
  border-radius: 20px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 320ms cubic-bezier(0.2,0.7,0.3,1), border-color 200ms;
  color: inherit;
  position: relative;
}
.tc-product-card:hover { transform: translateY(-6px); border-color: var(--tc-line-2); }
.tc-product-card .tc-p-img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--tc-canvas-2) 0%, var(--tc-canvas-3) 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.tc-product-card .tc-p-img img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 400ms cubic-bezier(0.2,0.7,0.3,1);
}
.tc-product-card .tc-p-img svg {
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
  transition: transform 400ms cubic-bezier(0.2,0.7,0.3,1);
}
.tc-product-card:hover .tc-p-img img { transform: scale(1.05); }
.tc-product-card:hover .tc-p-img svg { transform: scale(1.05) rotate(-2deg); }
/* No-image placeholder: SVG presentation attributes don't resolve var(), so the
   theme tokens are applied as CSS properties here instead. */
.tc-p-placeholder .tc-p-ph-stop-a { stop-color: var(--tc-accent); stop-opacity: .55; }
.tc-p-placeholder .tc-p-ph-stop-b { stop-color: var(--tc-pop); stop-opacity: .35; }
.tc-p-placeholder .tc-p-ph-card { stroke: var(--tc-line-2); }
.tc-p-placeholder .tc-p-ph-label { fill: var(--tc-ink-2); }
.tc-product-card .tc-p-tag {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--tc-font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tc-accent) 14%, transparent);
  color: var(--tc-accent);
  border: 1px solid color-mix(in srgb, var(--tc-accent) 25%, transparent);
  backdrop-filter: blur(4px);
}
.tc-product-card .tc-p-tag.tc-best { background: var(--tc-pop); color: #0B0C0F; border-color: color-mix(in srgb, var(--tc-pop) 30%, transparent); }
.tc-product-card .tc-p-body {
  padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.tc-product-card .tc-p-name {
  font-family: var(--tc-font-display);
  font-weight: 600; font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--tc-ink);
}
.tc-product-card .tc-p-material {
  font-family: var(--tc-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tc-ink-3);
}
.tc-product-card .tc-p-foot {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--tc-line);
}
.tc-product-card .tc-p-price {
  font-family: var(--tc-font-display);
  font-weight: 700; font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--tc-ink);
}
.tc-product-card .tc-p-price .tc-from {
  font-family: var(--tc-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tc-ink-3);
  font-weight: 400;
  margin-right: 4px;
}
.tc-product-card .tc-p-shop {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--tc-font-display);
  font-weight: 500; font-size: 13px;
  color: var(--tc-accent);
  transition: gap 200ms;
}
.tc-product-card:hover .tc-p-shop { gap: 10px; }


.tc-gs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1080px) { .tc-gs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .tc-gs-grid { grid-template-columns: 1fr; } }
.tc-gs-card {
  background: var(--tc-card);
  border: 1px solid var(--tc-line);
  border-radius: 20px;
  padding: 26px;
  display: flex; flex-direction: column;
  color: inherit;
  transition: transform 240ms var(--tc-ease-out-quart), border-color 200ms;
  position: relative;
}
.tc-gs-card:hover { transform: translateY(-4px); border-color: var(--tc-line-2); }
.tc-gs-mark {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--tc-accent) 12%, transparent);
  color: var(--tc-accent);
  border: 1px solid color-mix(in srgb, var(--tc-accent) 24%, transparent);
  margin-bottom: 16px;
}
.tc-gs-mark svg { width: 22px; height: 22px; }
.tc-gs-tag {
  align-self: flex-start;
  font-family: var(--tc-font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tc-ink) 6%, transparent);
  color: var(--tc-ink-2);
  border: 1px solid var(--tc-line);
}
.tc-gs-tag-pop {
  background: var(--tc-pop);
  color: #0B0C0F;
  border-color: color-mix(in srgb, var(--tc-pop) 40%, transparent);
}

/* ==========================================================
   Products page - Filter + sort bar
   ========================================================== */
.tc-filter-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--tc-canvas) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-top: 1px solid var(--tc-line);
  border-bottom: 1px solid var(--tc-line);
  padding: 14px 0;
}
.tc-filter-bar-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.tc-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tc-chip {
  font-family: var(--tc-font-display);
  font-weight: 500;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--tc-line-2);
  color: var(--tc-ink-2);
  background: transparent;
  transition: color 180ms, background 180ms, border-color 180ms, transform 180ms;
}
.tc-chip:hover { color: var(--tc-ink); border-color: var(--tc-ink); }
.tc-chip.tc-active {
  background: var(--tc-ink);
  color: var(--tc-canvas);
  border-color: var(--tc-ink);
}
.tc-filter-controls {
  display: flex; align-items: center; gap: 12px;
}
.tc-sort-label {
  font-family: var(--tc-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tc-ink-3);
}
.tc-sort-select {
  font-family: var(--tc-font-display);
  font-size: 13px; font-weight: 500;
  padding: 8px 32px 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--tc-line-2);
  background: var(--tc-card);
  color: var(--tc-ink);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'><path d='M1 3l4 4 4-4' fill='none' stroke='%238B6DE8' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.tc-clear-btn {
  font-family: var(--tc-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tc-ink-3);
  padding: 6px 10px;
  border-radius: 999px;
  transition: color 180ms;
}
.tc-clear-btn:hover { color: var(--tc-ink); }


.tc-faq-list { display: flex; flex-direction: column; gap: 16px; }
.tc-faq-item {
  background: var(--tc-card);
  border: 1px solid var(--tc-line);
  border-radius: 20px;
  padding: 4px 28px;
  transition: border-color 200ms;
}
.tc-faq-item:hover { border-color: var(--tc-line-2); }
.tc-faq-item[open] { border-color: color-mix(in srgb, var(--tc-accent) 35%, var(--tc-line)); }
.tc-faq-summary {
  list-style: none; cursor: pointer;
  padding: 28px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  font-family: var(--tc-font-display);
  font-weight: 500;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--tc-ink);
  transition: color 200ms;
}
.tc-faq-summary::-webkit-details-marker { display: none; }
.tc-faq-summary:hover { color: var(--tc-accent); }
.tc-faq-summary .tc-q-num {
  font-family: var(--tc-font-mono);
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--tc-accent);
  min-width: 44px;
}
.tc-faq-summary .tc-q-text { flex: 1; }
.tc-faq-summary .tc-faq-x {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--tc-line-2);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 300ms cubic-bezier(0.2,0.7,0.3,1), border-color 200ms, background 200ms;
  color: var(--tc-ink-2);
}
.tc-faq-item[open] .tc-faq-summary .tc-faq-x {
  background: color-mix(in srgb, var(--tc-accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--tc-accent) 35%, transparent);
  color: var(--tc-accent);
  transform: rotate(45deg);
}
.tc-faq-summary .tc-faq-x::before,
.tc-faq-summary .tc-faq-x::after {
  content: ""; position: absolute; background: currentColor;
}
.tc-faq-summary .tc-faq-x::before { width: 12px; height: 1.5px; }
.tc-faq-summary .tc-faq-x::after { width: 1.5px; height: 12px; }
.tc-faq-summary .tc-faq-x { position: relative; }
.tc-faq-body {
  padding: 0 0 28px 60px;
  max-width: 68ch;
  color: var(--tc-ink-2);
  font-size: 15.5px;
  line-height: 1.65;
}


.tc-bulk-callout {
  background: linear-gradient(135deg, color-mix(in srgb, var(--tc-accent) 22%, var(--tc-card)) 0%, var(--tc-card) 60%);
  border: 1px solid color-mix(in srgb, var(--tc-accent) 30%, var(--tc-line));
  border-radius: 24px;
  padding: clamp(28px, 4vw, 48px);
}
.tc-bulk-inner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
@media (max-width: 900px) { .tc-bulk-inner { grid-template-columns: 1fr; } }
.tc-bulk-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start; }
@media (min-width: 901px) { .tc-bulk-actions { justify-content: flex-end; } }

.tc-pill-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--tc-font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--tc-accent);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--tc-accent) 30%, transparent);
  background: color-mix(in srgb, var(--tc-accent) 8%, transparent);
}
.tc-pill-kicker::before {
  content: "\2605"; font-size: 10px; opacity: 0.9;
}

/* Centered section label (Senthora "SIGNATURE FEATURES" style) */

/* Compact getting-started cards use the same source modifiers as the handoff. */
.tc-gs-compact { gap: 12px; }
.tc-gs-card-compact { flex-direction: row; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; }
.tc-gs-card-compact .tc-gs-mark-sm { width: 36px; height: 36px; border-radius: 10px; margin: 0; flex-shrink: 0; }
.tc-gs-card-compact .tc-gs-mark-sm svg { width: 18px; height: 18px; }
.tc-gs-card-compact .tc-gs-body { flex: 1; min-width: 0; }
.tc-gs-card-compact .tc-gs-tag { font-size: 9.5px; margin-bottom: 4px; display: inline-block; }
.tc-gs-card-compact .tc-gs-title { font-family: var(--tc-font-display); font-weight: 600; font-size: 15px; letter-spacing: -0.015em; line-height: 1.2; margin: 0; color: var(--tc-ink); }
.tc-gs-card-compact .tc-gs-sub { font-size: 12.5px; color: var(--tc-ink-3); margin: 2px 0 0; line-height: 1.3; }
.tc-gs-card-compact .tc-gs-arrow { color: var(--tc-ink-3); font-size: 16px; flex-shrink: 0; transition: transform 200ms, color 200ms; }
.tc-gs-card-compact:hover .tc-gs-arrow { color: var(--tc-accent); transform: translateX(4px); }
.tc-product-grid > * {
  min-width: 0;
}
.tc-product-card[hidden],
.tc-bulk-callout[hidden],
.tc-shop-empty[hidden],
.tc-shop-active-chips[hidden],
.tc-shop-sort-menu[hidden],
.tc-shop-filter-overlay[hidden] {
  display: none !important;
}
.tc-product-card .tc-p-tag {
  z-index: 1;
}
.tc-chip.tc-active,
.tc-chip[aria-pressed="true"] {
  background: var(--tc-ink);
  color: var(--tc-canvas);
  border-color: var(--tc-ink);
}
.tc-bulk-callout {
  grid-column: 1 / -1;
}
.tc-bulk-callout .tc-h2 {
  margin-top: 18px;
  max-width: 22ch;
}
.tc-bulk-callout .tc-lede {
  margin-top: 18px;
}
.tc-products-faq-head {
  text-align: center;
}
.tc-products-faq-head .tc-h2 {
  margin-top: 8px;
}
.tc-faq-list {
  margin-top: 56px;
}
.tc-section-label {
  display: inline-block;
  position: relative;
  text-align: center;
  font-family: var(--tc-font-mono);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--tc-accent);
  margin: 0 auto 24px;
  padding-bottom: 10px;
}
.tc-section-label::before,
.tc-section-label::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 1px;
  width: 120px;
  background: linear-gradient(90deg, transparent 0%, var(--tc-accent) 50%, transparent 100%);
  opacity: 0.6;
}
.tc-section-label::before { left: 50%; }
.tc-section-label::after { right: 50%; }

/* Search and facets retain the existing Shop controls in the handoff palette. */
.tc-shop-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.tc-shop-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: min(100%, 360px);
  padding: 0 16px;
  border: 1px solid var(--tc-line-2);
  border-radius: 999px;
  background: var(--tc-card);
  color: var(--tc-ink-3);
}
.tc-shop-search > svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.tc-shop-search-input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: var(--tc-ink);
  font-family: var(--tc-font-body);
  font-size: 13px;
  box-shadow: none;
}
.tc-shop-search-input::placeholder { color: var(--tc-ink-3); }
.tc-shop-search:focus-within { border-color: var(--tc-accent); }
.tc-shop-search-input:focus { outline: none; box-shadow: none; }
.tc-shop-results-count {
  color: var(--tc-ink-3);
  font-family: var(--tc-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.tc-shop-active-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.tc-shop-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid color-mix(in srgb, var(--tc-accent) 28%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--tc-accent) 10%, transparent);
  color: var(--tc-accent);
  font-family: var(--tc-font-display);
  font-size: 12px;
}
.tc-shop-chip svg { width: 12px; height: 12px; }
.tc-shop-empty {
  padding: 64px 24px;
  text-align: center;
  color: var(--tc-ink-3);
  font-family: var(--tc-font-body);
  font-size: 15px;
}




.tc-shop-filter-overlay {
  position: fixed;
  z-index: 140;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(5px);
}
.tc-shop-filter-panel {
  position: fixed;
  z-index: 141;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(390px, 100%);
  max-width: 100%;
  padding: 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  transform: translateX(100%);
  background: var(--tc-canvas);
  border-left: 1px solid var(--tc-line);
  box-shadow: var(--tc-shadow-elev);
  transition: transform 240ms var(--tc-ease-out-quart), visibility 240ms;
}
.tc-shop-filter-panel.tc-open {
  visibility: visible;
  transform: none;
}
.tc-shop-filter-panel[hidden] { display: none !important; }
.tc-shop-filter-panel > h2 {
  margin: 0 44px 28px 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}
.tc-shop-filter-close {
  position: absolute;
  top: 22px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--tc-line-2);
  border-radius: 50%;
  color: var(--tc-ink-2);
  font-size: 24px;
}
.tc-shop-filter-close svg { width: 16px; height: 16px; }
.tc-shop-filter-group {
  padding: 22px 0;
  border-top: 1px solid var(--tc-line);
}
.tc-shop-filter-group > button,
.tc-shop-filter-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 0;
  color: var(--tc-ink);
  font-family: var(--tc-font-display);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  list-style: none;
}
.tc-shop-filter-group > button svg,
.tc-shop-filter-group > summary svg {
  width: 14px;
  height: 14px;
  transition: transform 180ms;
}
.tc-shop-filter-group.tc-collapsed > button svg { transform: rotate(-90deg); }
.tc-shop-filter-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}
.tc-shop-filter-group.tc-collapsed .tc-shop-filter-options { display: none; }
.tc-shop-filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  color: var(--tc-ink-2);
  font-family: var(--tc-font-body);
  font-size: 13px;
  text-align: left;
}
.tc-shop-filter-option input {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--tc-accent);
}
.tc-shop-filter-option.tc-active,
.tc-shop-filter-option[aria-pressed="true"] { color: var(--tc-accent); }
.tc-shop-filter-option > span:last-child:not(:first-child) {
  margin-left: auto;
}
.tc-shop-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--tc-line);
}
.tc-shop-filter-actions .tc-btn {
  justify-content: center;
  flex: 1 1 auto;
  height: 44px;
  padding: 0 18px;
  font-size: 13px;
}
.tc-products-page :is(button, a, summary):focus-visible {
  outline: 2px solid var(--tc-accent);
  outline-offset: 4px;
}
@media (max-width: 700px) {
  .tc-gs-card-compact .tc-gs-sub { display: none; }
}
@media (max-width: 640px) {
  .tc-wrap-narrow { padding-left: 16px; padding-right: 16px; }
  .tc-product-grid { grid-template-columns: minmax(0, 1fr); }
  .tc-filter-bar-inner { gap: 16px; }
  .tc-filter-chips { gap: 6px; }
  .tc-filter-controls { flex-wrap: wrap; width: 100%; }
  .tc-chip { padding: 8px 12px; }
  .tc-shop-controls { align-items: flex-start; }
  .tc-shop-search { width: 100%; }
  .tc-bulk-actions .tc-btn { max-width: 100%; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .tc-products-page *,
  .tc-products-page *::before,
  .tc-products-page *::after {
    scroll-behavior: auto;
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* Reveal states are enabled only after the Shop runtime initializes. */
.tc-products-page.tc-shop-ready .tc-fx {
  opacity: 0;
  will-change: opacity, transform, filter;
  transition:
    opacity 1400ms var(--tc-ease-out-expo),
    transform 1600ms var(--tc-ease-out-expo),
    filter 1200ms var(--tc-ease-out-expo);
}
.tc-products-page.tc-shop-ready .tc-fx-rise {
  transform: translateY(100px);
  filter: blur(6px);
}
.tc-products-page.tc-shop-ready .tc-fx-rise-sm {
  transform: translateY(44px);
  filter: blur(3px);
}
.tc-products-page.tc-shop-ready .tc-fx.tc-on {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
.tc-products-page.tc-shop-ready .tc-fx-stagger > * {
  opacity: 0;
  transform: translateY(70px) scale(0.96);
  filter: blur(6px);
  will-change: opacity, transform, filter;
  transition:
    opacity 1200ms var(--tc-ease-out-expo),
    transform 1200ms var(--tc-ease-out-expo),
    filter 900ms var(--tc-ease-out-expo);
}
.tc-products-page.tc-shop-ready .tc-fx-stagger.tc-on > * {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
.tc-products-page.tc-shop-ready .tc-fx-stagger.tc-on > *:nth-child(1) { transition-delay: 0ms; }
.tc-products-page.tc-shop-ready .tc-fx-stagger.tc-on > *:nth-child(2) { transition-delay: 140ms; }
.tc-products-page.tc-shop-ready .tc-fx-stagger.tc-on > *:nth-child(3) { transition-delay: 280ms; }
.tc-products-page.tc-shop-ready .tc-fx-stagger.tc-on > *:nth-child(4) { transition-delay: 420ms; }
.tc-products-page.tc-shop-ready .tc-fx-stagger.tc-on > *:nth-child(5) { transition-delay: 560ms; }
.tc-products-page.tc-shop-ready .tc-section-label {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms var(--tc-ease-out-expo), transform 1000ms var(--tc-ease-out-expo);
}
.tc-products-page.tc-shop-ready .tc-section-label::before,
.tc-products-page.tc-shop-ready .tc-section-label::after {
  width: 0;
  transition: width 1200ms var(--tc-ease-out-expo) 300ms;
}
.tc-products-page.tc-shop-ready .tc-section-label.tc-on {
  opacity: 1;
  transform: none;
}
.tc-products-page.tc-shop-ready .tc-section-label.tc-on::before,
.tc-products-page.tc-shop-ready .tc-section-label.tc-on::after {
  width: 120px;
}
@media (prefers-reduced-motion: reduce) {
  .tc-products-page.tc-shop-ready .tc-fx,
  .tc-products-page.tc-shop-ready .tc-fx-stagger > *,
  .tc-products-page.tc-shop-ready .tc-section-label {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .tc-products-page.tc-shop-ready .tc-section-label::before,
  .tc-products-page.tc-shop-ready .tc-section-label::after {
    width: 120px;
    transition: none !important;
  }
}

.tc-products-page [hidden] { display: none !important; }


/* On-demand Shop pages use the same card outline and 4:3 preview space. */
.tc-product-skeleton {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--tc-line);
  border-radius: 20px;
  background: var(--tc-card);
}
.tc-product-skeleton-image {
  aspect-ratio: 4 / 3;
  background: var(--tc-canvas-2);
}
.tc-product-skeleton-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}
.tc-product-skeleton-line {
  display: block;
  height: 24px;
  width: 85%;
  border-radius: 6px;
  background: var(--tc-canvas-3);
}
.tc-product-skeleton-short {
  width: 48%;
  height: 16px;
}
.tc-product-skeleton-price {
  width: 64%;
  height: 29px;
  margin-top: 12px;
}
.tc-shop-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}
.tc-shop-load-more,
.tc-shop-previous,
.tc-shop-retry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid var(--tc-line-2);
  border-radius: 999px;
  background: var(--tc-card);
  color: var(--tc-ink);
  font-family: var(--tc-font-display);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
}
.tc-shop-load-more:hover,
.tc-shop-previous:hover,
.tc-shop-retry:hover {
  border-color: var(--tc-accent);
  color: var(--tc-accent);
}
.tc-shop-load-error {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--tc-line-2);
  border-radius: 16px;
  background: var(--tc-card);
  color: var(--tc-ink-2);
  font-size: 14px;
  text-align: center;
}
@media (prefers-reduced-motion: no-preference) {
  .tc-product-skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--tc-ink) 6%, transparent), transparent);
    animation: tc-shop-skeleton-shimmer 1.5s linear infinite;
    pointer-events: none;
  }
  @keyframes tc-shop-skeleton-shimmer {
    to { transform: translateX(100%); }
  }
}
