/* Five related families: date, object/price, editorial, profile, collection. */
.tst-redesign .tst-card {position:relative;display:flex;flex-direction:column;min-width:0;height:auto;align-self:start;background:var(--tst-surface);border:var(--tst-border-brand) solid var(--tst-card-border);border-radius:var(--tst-radius-card);padding:var(--tst-card-media-inset);box-shadow:var(--tst-shadow-pop);transition:translate var(--tst-duration-ui) var(--tst-ease-out),box-shadow var(--tst-duration-ui) var(--tst-ease-out)}
.tst-redesign .tst-card .tst-card-media {position:relative;flex:none;margin:0}
.tst-redesign .tst-card .tst-card-image-link {display:block;overflow:hidden;border-radius:var(--tst-radius-media);background:var(--tst-surface-subtle);margin:0}
.tst-redesign .tst-card .tst-card-image-link>img {display:block;width:100%;height:100%;max-height:none;margin:0;border-radius:0;object-fit:cover;transition:scale var(--tst-duration-hero) var(--tst-ease-out)}
.tst-redesign .tst-card--event .tst-card-image-link {aspect-ratio:var(--tst-media-event)}
.tst-redesign .tst-card--product .tst-card-image-link,.tst-redesign .tst-card--saved .tst-card-image-link {aspect-ratio:var(--tst-media-product)}
.tst-redesign .tst-card--contain .tst-card-image-link>img {object-fit:contain}
.tst-redesign .tst-card--story .tst-card-image-link {aspect-ratio:var(--tst-media-story)}
.tst-redesign .tst-card-body {display:flex;flex-direction:column;gap:var(--tst-card-content-gap);padding:var(--tst-card-media-gap) var(--tst-space-1) var(--tst-space-1);min-width:0}
.tst-redesign .tst-card .tst-card-title {font-family:var(--tst-font-display);font-size:var(--tst-type-card-title);font-weight:600;line-height:var(--tst-leading-title);letter-spacing:-.025em;margin:0;min-height:0;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--tst-card-title-lines);block-size:auto;overflow:clip}
.tst-redesign .tst-card-title a {position:static}
.tst-redesign .tst-card-link::after {content:"";position:absolute;inset:0;z-index:1;border-radius:var(--tst-radius-card)}
.tst-redesign .tst-card-link:focus-visible {outline:0}
.tst-redesign .tst-card-link:focus-visible::after {outline:2px solid var(--tst-focus);outline-offset:4px}
.tst-redesign .tst-card .tst-card-kicker {font-size:var(--tst-type-caption);font-weight:500;line-height:var(--tst-leading-ui);letter-spacing:normal;text-transform:none;color:var(--tst-content-label-ink);background:none;border:0;border-radius:0;padding:0;max-width:100%;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tst-redesign .tst-card :is(.tst-card-context,.tst-card-note) {font-size:var(--tst-type-label);line-height:var(--tst-leading-ui);color:var(--tst-muted);margin:0}
.tst-redesign .tst-card-bottom {display:flex;flex-direction:column;gap:var(--tst-card-content-gap);padding-top:0}
.tst-redesign .tst-card .price {font-family:var(--tst-font-display);font-size:var(--tst-type-card-price);line-height:var(--tst-leading-title);font-weight:700;color:var(--tst-ink);margin:0}
.tst-redesign .tst-card .price del {font-size:var(--tst-type-label);font-weight:400;color:var(--tst-muted)}
.tst-redesign .tst-card .price ins {text-decoration:none}
.tst-redesign .tst-card .tst-card-cta {display:flex;align-items:center;gap:var(--tst-space-2);min-height:var(--tst-touch-min);font-size:var(--tst-type-label);font-weight:500;color:var(--tst-accent);margin:0}
.tst-redesign .tst-card-cta .tst-icon {width:18px;height:18px;flex:none;transition:translate var(--tst-duration-ui) var(--tst-ease-out)}
.tst-redesign .tst-card:not(.tst-card--unavailable):not(.tst-card--ip)>.tstd-save {position:absolute;z-index:2;top:calc(var(--tst-card-media-inset) + var(--tst-card-save-inset));right:calc(var(--tst-card-media-inset) + var(--tst-card-save-inset));display:flex;align-items:center;justify-content:center;min-width:var(--tst-touch-min);width:var(--tst-touch-min);height:var(--tst-touch-min);min-height:var(--tst-touch-min)!important;padding:0!important;border:0!important;border-radius:var(--tst-radius-round)!important;background:transparent!important;box-shadow:none;margin:0}
.tst-redesign .tst-card:not(.tst-card--unavailable):not(.tst-card--ip)>.tstd-save>span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.tst-redesign .tst-card:not(.tst-card--unavailable):not(.tst-card--ip)>.tstd-save::before {content:"";position:absolute;width:var(--tst-card-save-visual-size);height:var(--tst-card-save-visual-size);border:var(--tst-card-save-border-width) solid var(--tst-save-border,var(--tst-card-save-border));border-radius:var(--tst-radius-round);background:var(--tst-save-background,var(--tst-save-surface));box-sizing:border-box;transition:background-color var(--tst-duration-press) var(--tst-ease-ui),border-color var(--tst-duration-press) var(--tst-ease-ui)}
.tst-redesign .tst-card>.tstd-save .tst-icon {position:relative;width:var(--tst-card-save-icon-size);height:var(--tst-card-save-icon-size);object-fit:contain}
.tst-redesign .tst-card .tstd-life {left:var(--tst-space-3);bottom:var(--tst-space-3);font-size:var(--tst-type-caption);line-height:var(--tst-leading-title);max-width:calc(100% - 24px)}
.tst-redesign .tst-card.tst-card--city-scoped .tstd-card-location:not(.tstd-card-venue),.tst-redesign .tst-card-date-short {display:none}
/* Natural one/two-line titles; metadata and ticket price retain their own rows. */
.tst-redesign .tst-card--event {align-self:stretch}
.tst-redesign .tst-card--event>.tst-card-body {flex:1}
.tst-redesign .tst-card--event .tst-card-bottom {margin-top:0}
.tst-redesign .tst-card .tst-card-ticket-price{font-family:var(--tst-font-display);font-size:var(--tst-type-card-price);font-weight:700;line-height:var(--tst-leading-title);color:var(--tst-ink);margin:0}
.tst-redesign .tst-card-event-copy {display:flex;flex-direction:column;gap:var(--tst-card-content-gap);min-width:0}
.tst-redesign .tst-card :is(.tstd-card-date,.tstd-card-location,.tst-card-time) {display:flex;align-items:flex-start;gap:var(--tst-space-2);font-size:var(--tst-type-label);line-height:var(--tst-leading-ui);color:var(--tst-muted);margin:0}
.tst-redesign .tst-card :is(.tstd-card-date,.tst-card-time) {font-family:var(--tst-font-display);font-weight:500}
.tst-redesign .tst-card :is(.tstd-card-date,.tstd-card-location,.tst-card-time) .tst-icon {width:18px;height:18px;flex:none;margin-top:1px}
.tst-redesign .tst-card-disclosure {font-size:var(--tst-type-caption);color:var(--tst-muted)}
.tst-redesign .tst-card--unavailable {padding:var(--tst-space-5);border:var(--tst-border-brand) solid var(--tst-card-border);border-radius:var(--tst-radius-card);gap:var(--tst-space-3)}
.tst-redesign .tst-card .tst-card-excerpt {font-size:var(--tst-type-label);line-height:var(--tst-leading-body);margin:0;color:var(--tst-muted);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.tst-redesign .tst-card-placeholder {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--tst-space-3);width:100%;height:100%;min-height:100%;font-size:var(--tst-type-label);color:var(--tst-muted);padding:var(--tst-space-4);text-align:center}
.tst-redesign .tst-card-placeholder>.tst-icon {width:28px;height:28px;opacity:.65}
/* Editorial variants use the same renderer and single whole-card destination. */
.tst-redesign .tst-card--story-feature {display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:var(--tst-space-7);align-items:center}
.tst-redesign .tst-card--story-feature .tst-card-body {padding:0;gap:var(--tst-space-4)}
.tst-redesign .tst-card--story-feature .tst-card-title {font-size:var(--tst-type-section);line-height:var(--tst-leading-heading);letter-spacing:-.04em}
.tst-redesign .tst-card--story-feature .tst-card-excerpt {font-size:var(--tst-type-body);-webkit-line-clamp:3}
.tst-redesign .tst-card--story .tst-card-title {scroll-margin-block:120px}
@media(max-width:900px) {
  .tst-redesign .tst-card--story-feature {gap:var(--tst-space-5)}
}
@media(max-width:600px) {
  .tst-redesign .tst-card--story-feature {grid-template-columns:minmax(0,1fr);gap:var(--tst-space-4)}
  .tst-redesign .tst-card--story-feature .tst-card-title {font-size:var(--tst-type-section)}
}
/* Profile identity is centered and uses configured artwork only. */
.tst-redesign .tst-card--ip-strip {display:flex;align-items:center;gap:var(--tst-space-2);flex:0 0 auto;max-width:100%;min-height:var(--tst-control-height);padding:var(--tst-space-2) var(--tst-space-4) var(--tst-space-2) var(--tst-space-2);border:var(--tst-border-brand) solid var(--tst-line);border-radius:var(--tst-radius-pill);background:var(--tst-surface);color:var(--tst-ink);text-decoration:none}
.tst-redesign .tst-card--ip-strip strong {min-width:0;overflow-wrap:anywhere;font-family:var(--tst-font-display);font-size:var(--tst-type-control);line-height:var(--tst-leading-ui);font-weight:600}
.tst-redesign .tst-ip-strip-media {display:flex;align-items:center;justify-content:center;flex:none;width:var(--tst-control-height);height:var(--tst-control-height);border-radius:var(--tst-radius-round);overflow:hidden;background:var(--tst-surface-subtle)}
.tst-redesign .tst-ip-strip-media img:not(.tst-icon) {display:block;width:100%;height:100%;object-fit:cover}
.tst-redesign .tst-card--ip-strip:focus-visible {outline:2px solid var(--tst-focus);outline-offset:var(--tst-space-1)}
.tst-redesign .tst-card--ip {text-align:center}
.tst-redesign .tst-card--ip .tst-card-image-link {aspect-ratio:var(--tst-media-ip-card)}
.tst-redesign .tst-card-avatar {width:var(--tst-card-avatar-size);height:var(--tst-card-avatar-size);align-self:center;flex:none;position:relative;border:4px solid var(--tst-canvas);border-radius:var(--tst-radius-round);background:var(--tst-surface);overflow:hidden}
.tst-redesign .tst-card-avatar img {width:100%;height:100%;object-fit:contain;display:block}
.tst-redesign .tst-card--ip-cover .tst-card-avatar {margin-top:calc(var(--tst-card-avatar-size) / -2)}
.tst-redesign .tst-card--ip .tst-card-body {padding-inline:var(--tst-space-2)}
.tst-redesign .tst-card--ip:not(.tst-card--ip-cover):not(.tst-card--ip-logo) {padding:var(--tst-space-5);border:var(--tst-border-brand) solid var(--tst-card-border);border-radius:var(--tst-radius-card)}
/* Mosaic has 1/2/3 honest slots; never duplicate an image to fill a grid. */
.tst-redesign .tst-card--collection {align-self:stretch}
.tst-redesign .tst-card--collection>.tst-card-body {flex:1}
.tst-redesign .tst-card--collection .tst-card-title {min-block-size:calc(var(--tst-card-title-lines) * 1lh);flex-shrink:0}
.tst-redesign .tst-card--collection .tst-card-image-link {aspect-ratio:var(--tst-media-collection)}
.tst-redesign .tst-card .tst-card-mosaic {display:grid;grid-template-columns:1.15fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr));gap:var(--tst-space-1);background:transparent}
.tst-redesign .tst-card-mosaic>span {min-width:0;min-height:0;overflow:hidden;background:var(--tst-surface-subtle)}
.tst-redesign .tst-card-mosaic>span:first-child {grid-row:1/-1}
.tst-redesign .tst-card-mosaic[data-image-count="1"] {grid-template-columns:1fr}
.tst-redesign .tst-card-mosaic[data-image-count="2"]>span {grid-row:1/-1}
.tst-redesign .tst-card-mosaic img {width:100%;height:100%;object-fit:cover;display:block;transition:scale var(--tst-duration-hero) var(--tst-ease-out)}
.tst-redesign .tst-card-collection-meta {display:flex;align-items:center;justify-content:space-between;gap:var(--tst-space-2);margin: auto 0 0;color:var(--tst-muted);font-size:var(--tst-type-label)}
.tst-redesign .tst-card-collection-meta .tst-icon {width:20px;height:20px;flex:none}
.tst-redesign .tst-product-grid--context {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--tst-section-gap) var(--tst-grid-gap)}
/* Catalogue density shared by Shop and IP product panels. */
.tst-redesign .tst-product-grid--catalog {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--tst-section-gap) var(--tst-grid-gap)}
@media(max-width:1100px) {.tst-redesign .tst-product-grid--catalog {grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px) {.tst-redesign .tst-product-grid--catalog {grid-template-columns:repeat(2,minmax(0,1fr))}}
.tst-redesign .tst-ip-directory {margin-top:var(--tst-space-6)}
.tst-redesign .tst-card-showcase {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--tst-space-5);align-items:start}
.tst-redesign .tst-card-showcase>div>h3 {font-size:var(--tst-type-caption);text-transform:uppercase;letter-spacing:.06em;margin:0 0 var(--tst-space-4)}
@media(max-width:1199px) {.tst-redesign .tst-card-showcase {grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px) {.tst-redesign .tst-product-grid--context,.tst-redesign .tst-card-showcase {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px) {
  /* Default family grids; Saved declares its own mixed-content composition. */
  .tst-redesign .tstd-grid:not(.tst-saved-grid):is(:has(>.tst-card--event),:has(>.tst-card--story),:has(>.tst-card--ip)) {grid-template-columns:minmax(0,1fr)}
  .tst-redesign .tst-saved-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .tst-redesign .tst-saved-grid>:is(.tst-card--event,.tst-card--unavailable,:not(.tst-card)) {grid-column:1 / -1}
  .tst-redesign .tst-card:not(.tst-card--story-feature) .tst-card-title {font-size:var(--tst-type-card-title)}
  .tst-redesign .tst-card :is(.price,.tst-card-ticket-price) {font-size:var(--tst-type-card-price);font-weight:700}
  .tst-redesign .tst-card .price del {font-size:var(--tst-type-caption)}
  .tst-redesign .tst-card :is(.tstd-card-date,.tstd-card-location,.tst-card-time) {font-size:var(--tst-type-label)}
  .tst-redesign .tst-card .tstd-life {left:8px;bottom:8px;font-size:var(--tst-type-caption)}
  .tst-redesign .tst-card-showcase {grid-template-columns:1fr;gap:var(--tst-space-6)}
}
@media(hover:hover) and (pointer:fine) {
  .tst-redesign .tst-card:has(.tst-card-link:hover) {border-color:var(--tst-card-border-hover)}
  .tst-redesign .tst-card-link:hover {text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
  .tst-redesign .tst-card:has(.tst-card-link:hover) .tst-card-cta .tst-icon {translate:3px 0}
  .tst-redesign .tst-card:has(.tst-card-link:hover) :is(.tst-card-image-link>img,.tst-card-mosaic img) {scale:1.025}
}
@media(prefers-reduced-motion:reduce) {
  .tst-redesign .tst-card {translate:none!important;transition:none!important}
  .tst-redesign .tst-card :is(.tst-card-image-link>img,.tst-card-mosaic img) {scale:none!important;transition:none!important}
  .tst-redesign .tst-card-cta .tst-icon {translate:none!important;transition:none!important}
}

/* Shared horizontal rail. Width belongs to each explicit content variant. */
.tst-carousel-rail{display:grid;grid-auto-flow:column;gap:var(--tst-space-4);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-inline:var(--tst-space-2);padding:var(--tst-space-2) var(--tst-space-2) var(--tst-space-4);scrollbar-width:thin;align-items:start}
.tst-carousel-rail>*{scroll-snap-align:start}
/* Readable event variant; one card plus a hint on mobile, two/three above. */
.tst-carousel-rail--events{grid-auto-columns:calc((100% - (var(--tst-event-carousel-count) - 1) * var(--tst-card-carousel-gap)) / var(--tst-event-carousel-count));gap:var(--tst-card-carousel-gap)}
.tst-carousel-rail--events:has(> :only-child){grid-auto-columns:min(100%,var(--tst-letter-card-width))}
/* Responsive width shared by home, event-detail and the specimen. */
.tst-carousel-rail--compact{grid-auto-columns:var(--tst-card-compact-width);gap:var(--tst-card-carousel-gap)}
/* Curated shelves use responsive density; editorial has a wider reading measure. */
.tst-carousel-rail--shelf{grid-auto-columns:calc((100% - (var(--tst-shelf-visible-count) - 1) * var(--tst-card-carousel-gap)) / var(--tst-shelf-visible-count))}
.tst-carousel-rail--shelf.tst-carousel-rail--editorial{--tst-shelf-visible-count:var(--tst-shelf-editorial-visible-count)}
@media(min-width:1200px){.tst-carousel-rail--shelf{scroll-snap-type:x mandatory}}
/* Compact editorial cards share the tallest intrinsic row; keep titles natural. */
.tst-redesign .tst-card--story-compact{align-self:stretch}
.tst-redesign .tst-card--story-compact>.tst-card-body{flex:1}
.tst-redesign .tst-card--story-compact .tst-card-bottom{margin-top:auto}
/* Text cards need a readable measure; the photo-card density stays independent. */
.tst-carousel-rail--letters{grid-auto-columns:min(100%,var(--tst-letter-card-width));gap:var(--tst-group-gap)}
/* Compact typography is mobile-only; desktop inherits the standard card family. */
@media(max-width:600px){
/* A short regular shelf fits both real items; editorial keeps its wider measure. */
.tst-carousel-rail--shelf:not(.tst-carousel-rail--editorial):has(> :nth-child(2):last-child){--tst-shelf-visible-count:2}
/* Two real items share the available width; there is no next card to hint at. */
.tst-carousel-rail--compact:has(> :nth-child(2):last-child){--tst-card-compact-width:calc((100% - var(--tst-card-carousel-gap)) / 2)}
.tst-redesign .tst-card.tst-card--compact .tst-card-title{font-size:var(--tst-type-card-title);line-height:var(--tst-leading-title);letter-spacing:0}

.tst-redesign .tst-card--product-compact :is(.tst-card-context,.tst-card-note){font-size:var(--tst-type-label)}
.tst-redesign .tst-card--compact :is(.tst-card-excerpt,.tst-card-collection-meta){font-size:var(--tst-type-label)}
.tst-redesign .tst-card--ip-compact{--tst-card-avatar-size:var(--tst-card-avatar-compact-size)}
.tst-redesign .tst-card--ip-compact:not(.tst-card--ip-cover):not(.tst-card--ip-logo){padding:var(--tst-space-3)}
/* Compact event media inherits the shared 4:3 frame at every viewport. */
.tst-redesign .tst-card--story-compact .tst-card-image-link{aspect-ratio:var(--tst-media-story-compact)}
.tst-redesign .tst-card--event-compact .tst-card-kicker,
.tst-redesign .tst-card--story-compact :is(.tst-card-kicker,.tst-card-excerpt,.tst-card-bottom){display:none}
.tst-redesign .tst-card--event-compact .tstd-card-date>.tst-icon{display:none}
.tst-redesign .tst-card--event-compact .tst-card-date-full{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.tst-redesign .tst-card--event-compact .tst-card-date-short{display:inline}
.tst-redesign .tst-card--event-compact .tst-card-ticket-price{border-top:1px solid var(--tst-line);padding-top:var(--tst-space-2);margin-top:var(--tst-space-1)}

.tst-redesign .tst-card--event-compact :is(.tstd-card-date,.tstd-card-location,.tst-card-time){font-size:var(--tst-type-label);gap:var(--tst-space-1)}
.tst-redesign .tst-card--event-compact :is(.tstd-card-date,.tstd-card-location,.tst-card-time) .tst-icon{width:14px;height:14px}
}

/* Explicit Discovery list variant. Desktop keeps the standard event card. */
@media(max-width:600px){
.tst-redesign .tst-card.tst-card--event-list{--tst-card-media-inset:0px;display:grid;grid-template-columns:var(--tst-card-list-image-width) minmax(0,1fr);grid-template-rows:min-content 1fr;column-gap:var(--tst-space-3);row-gap:var(--tst-space-1);padding:0 0 var(--tst-space-4);border:0;border-bottom:1px solid var(--tst-line);border-radius:0;background:transparent;box-shadow:none}
.tst-redesign .tst-card--event-list>.tst-card-media{display:contents}
.tst-redesign .tst-card--event-list .tst-card-image-link{grid-column:1;grid-row:1 / span 2;align-self:start;aspect-ratio:var(--tst-media-event-poster)}
body.tst-redesign .tst-card.tst-card--event-list .tst-event-tag{position:static;grid-column:2;grid-row:1;justify-self:start;max-width:100%;padding:var(--tst-space-1) var(--tst-space-2)}
.tst-redesign .tst-card.tst-card--event-list:not(:has(.tst-event-tag))>.tst-card-body{grid-row:1 / span 2}
.tst-redesign .tst-card.tst-card--event-list>.tst-card-body{grid-column:2;grid-row:2;align-self:start;padding:0;gap:var(--tst-card-content-gap)}
.tst-redesign .tst-card.tst-card--event-list .tst-card-title{font-size:var(--tst-type-body);line-height:var(--tst-leading-title);block-size:auto}
.tst-redesign .tst-card--event-list .tst-card-kicker{display:none}
.tst-redesign .tst-card--event-list .tst-card-bottom{gap:var(--tst-space-1)}
.tst-redesign .tst-card--event-list :is(.tstd-card-date,.tstd-card-location,.tst-card-time){font-size:var(--tst-type-label);gap:var(--tst-space-1)}
.tst-redesign .tst-card--event-list :is(.tstd-card-date,.tstd-card-location,.tst-card-time) .tst-icon{width:14px;height:14px}
.tst-redesign .tst-card--event-list .tst-card-placeholder{font-size:var(--tst-type-caption);padding:var(--tst-space-2)}
.tst-redesign .tst-card.tst-card--event.tst-card--event-list>.tstd-save{right:auto;left:calc(var(--tst-card-list-image-width) - var(--tst-touch-min) - var(--tst-card-save-inset))}
}

/* Explicit campaign variant: one featured product, same native Woo renderer. */
.tst-redesign .tst-card.tst-card--product-featured {--tst-card-media-inset:var(--tst-space-3);padding:var(--tst-card-media-inset);border-radius:0;background:var(--tst-brand-white);box-shadow:none;translate:none;transition:none}
.tst-redesign .tst-card--product-featured .tst-card-image-link {position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1;background:var(--tst-brand-cyan);border-radius:0;overflow:hidden}
.tst-pop-product-art {position:relative;display:flex;align-items:center;justify-content:center;width:64%;aspect-ratio:3/4;border:4px solid var(--tst-ink);border-radius:var(--tst-radius-media);background:var(--tst-brand-white);box-shadow:var(--tst-shadow-artwork);overflow:hidden;transform:rotate(-8deg);transition:transform var(--tst-duration-artwork) var(--tst-ease-out)}
.tst-pop-product-art>img {display:block;width:100%;height:100%;object-fit:contain}
.tst-pop-product-art::after {content:"";position:absolute;inset:-30%;background:linear-gradient(110deg,transparent 35%,rgb(255 255 255 / 75%) 50%,transparent 65%);transform:translateX(-150%);transition:transform var(--tst-duration-sweep) var(--tst-ease-out);pointer-events:none}
.tst-redesign .tst-card--product-featured .tst-card-body {gap:var(--tst-space-2);padding:var(--tst-space-4) 0 0}
.tst-redesign .tst-card--product-featured .tst-card-title {display:block;font-family:var(--tst-font-display);font-size:var(--tst-type-subheading);font-weight:700;letter-spacing:0;line-height:var(--tst-leading-heading);overflow:visible}
.tst-redesign .tst-card--product-featured .price {font-size:var(--tst-type-subheading)}
.tst-redesign .tst-card--product-featured .tst-card-kicker {font-size:var(--tst-type-label);white-space:normal;color:var(--tst-ink)}
.tst-redesign .tst-card--product-featured .tst-card-link::after {border-radius:0}
.tst-pop-product-sticker {position:absolute;left:var(--tst-space-2);bottom:var(--tst-space-3);max-width:calc(100% - 2 * var(--tst-space-2));pointer-events:none}
.tst-card--product-featured:has(.tst-card-link:focus-visible) .tst-pop-product-art {transform:rotate(3deg) scale(1.05)}
.tst-card--product-featured:has(.tst-card-link:focus-visible) .tst-pop-product-art::after {transform:translateX(150%)}
@media(hover:hover) and (pointer:fine) {
  .tst-card--product-featured:has(.tst-card-link:hover) .tst-pop-product-art {transform:rotate(3deg) scale(1.05)}
  .tst-card--product-featured:has(.tst-card-link:hover) .tst-pop-product-art::after {transform:translateX(150%)}
}
@media(prefers-reduced-motion:reduce) {
  .tst-card--product-featured .tst-pop-product-art,.tst-card--product-featured:has(.tst-card-link:is(:hover,:focus-visible)) .tst-pop-product-art {transform:none;transition:none}
  .tst-pop-product-art::after {display:none}
}
@media(forced-colors:active) {.tst-pop-product-art::after {display:none}.tst-pop-product-art {border-color:CanvasText;box-shadow:none}}

/* Higher contrast strengthens content boundaries; focus stays independent. */
@media(prefers-contrast:more) {
  .tst-redesign {--tst-card-border:var(--tst-ink);--tst-card-border-hover:var(--tst-ink)}
}
@media(forced-colors:active) {
  .tst-redesign {--tst-card-border:CanvasText;--tst-card-border-hover:CanvasText}
}

/* Explicit curated collection and mini-product variants; default cards stay unchanged. */
.tst-redesign .tst-card--collection-curated {align-self:stretch;height:100%;overflow:hidden}
.tst-redesign .tst-card--collection-curated>.tst-card-media .tst-card-image-link {aspect-ratio:var(--tst-media-event)}
.tst-redesign .tst-card--collection-curated>.tst-card-body {flex:0}
.tst-redesign .tst-collection-products {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,max(8ch,calc((100% - 2 * var(--tst-space-2)) / 3))),1fr));gap:var(--tst-space-2);margin-top:auto;padding:var(--tst-space-2) 0 0}
.tst-redesign .tst-card--product-mini {padding:0;background:transparent;border:0;box-shadow:none;align-self:stretch}
.tst-redesign .tst-card--product-mini .tst-card-body {padding:var(--tst-space-2) 0}
.tst-redesign .tst-card--product-mini .product-ip {display:none}
.tst-redesign .tst-card--product-mini :is(.tst-card-title,.price) {font-size:var(--tst-type-control);line-height:var(--tst-leading-title)}
.tst-redesign .tst-card--product-mini .tst-card-note {font-size:var(--tst-type-caption)}
/* Event + product preview: distinct destinations, never a parent stretched link. */
.tst-event-products-list {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,max(26rem,calc((100% - var(--tst-space-5)) / 2))),1fr));gap:var(--tst-space-5);align-items:stretch}
.tst-redesign .tst-card--event-products {align-self:stretch}
.tst-redesign .tst-card--event-products>.tst-card-media>.tst-card-image-link {aspect-ratio:var(--tst-media-event-products)}
.tst-event-products-state {position:absolute;inset:var(--tst-space-3) auto auto var(--tst-space-3);padding:var(--tst-space-1) var(--tst-space-3);border:var(--tst-border-brand) solid var(--tst-line);border-radius:var(--tst-radius-pill);background:var(--tst-surface);font-size:var(--tst-type-caption);font-weight:600;line-height:var(--tst-leading-ui);pointer-events:none;max-width:calc(100% - 5rem)}
.tst-event-products-copy {display:flex;flex-direction:column;gap:var(--tst-space-2);padding:var(--tst-space-4) var(--tst-space-2);min-width:0}
.tst-event-products-title {font-family:var(--tst-font-display);font-size:var(--tst-type-subheading);font-weight:700;line-height:var(--tst-leading-title);letter-spacing:-.025em;margin:0;overflow-wrap:anywhere}
.tst-event-products-title a {color:var(--tst-ink);text-decoration:none}
.tst-event-products-meta {display:grid;gap:var(--tst-space-2);font-size:var(--tst-type-control);line-height:var(--tst-leading-ui);color:var(--tst-muted)}
.tst-event-products-meta p {display:flex;align-items:flex-start;gap:var(--tst-space-2);margin:0}
.tst-event-products-meta .tst-icon {flex:none;width:var(--tst-space-4);height:var(--tst-space-4);margin-top:var(--tst-space-half)}
.tst-event-products-excerpt,.tst-event-products-ips {margin:0;font-size:var(--tst-type-control);line-height:var(--tst-leading-body);color:var(--tst-muted);overflow-wrap:anywhere}
.tst-event-products-ips a {color:inherit}
.tst-event-products-drop {margin-top:auto;border-top:var(--tst-border-brand) solid var(--tst-line);padding:var(--tst-space-4) var(--tst-space-2) var(--tst-space-2)}
.tst-event-products-label {display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:var(--tst-space-2);font-size:var(--tst-type-control);line-height:var(--tst-leading-ui);margin:0}
.tst-event-products-label>span,.tst-event-products-note {color:var(--tst-muted)}
.tst-event-products-note {font-size:var(--tst-type-caption);line-height:var(--tst-leading-ui);margin:var(--tst-space-1) 0 var(--tst-space-3)}
.tst-event-products-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,max(7rem,calc((100% - 2 * var(--tst-space-3)) / 3))),1fr));gap:var(--tst-space-3);min-width:0}
.tst-redesign .tst-card--event-products .tst-inline-link {min-height:var(--tst-touch-min);white-space:normal;overflow-wrap:anywhere;max-width:100%}
.tst-event-products-drop>.tst-inline-link {margin-top:var(--tst-space-2)}
.tst-event-products-title a:focus-visible,.tst-event-products-ips a:focus-visible {outline:2px solid var(--tst-focus);outline-offset:var(--tst-space-1)}
@media(max-width:600px) {
  .tst-event-products-grid {grid-template-columns:repeat(auto-fill,minmax(min(100%,max(7rem,calc((100% - var(--tst-space-3)) / 2))),1fr))}
  .tst-event-products-grid>.tst-card:nth-child(n+3) {display:none}
}

/* Explicit row variants keep native price, rights, sales state, Saved and navigation. */
.tst-redesign .tst-card.tst-card--product-row {display:grid;grid-template-columns:var(--tst-product-row-media) minmax(0,1fr) var(--tst-touch-min);align-items:center;gap:var(--tst-space-3);padding:var(--tst-space-3) 0;border:0;border-bottom:1px solid var(--tst-line);border-radius:0;background:transparent;box-shadow:none}
.tst-redesign .tst-card--product-row>.tst-card-body {padding:0;gap:var(--tst-space-1)}
.tst-redesign .tst-card--product-row .tst-card-title {font-size:var(--tst-type-label);line-height:var(--tst-leading-ui)}
.tst-redesign .tst-card--product-row .tst-card-kicker {display:none}
.tst-redesign .tst-card--product-row .price {font-size:var(--tst-type-label)}
.tst-redesign .tst-card--product-row :is(.tst-card-context,.tst-card-note) {font-size:var(--tst-type-caption)}
.tst-redesign .tst-card.tst-card--product-row>.tstd-save {position:relative;top:auto;right:auto;grid-column:3;grid-row:1}
.tst-redesign .tst-card--product-row .tst-card-link::after {border-radius:0}
.tst-redesign .tst-card.tst-card--story-row {display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:var(--tst-space-4);align-items:center;padding:0;border:0;background:transparent;box-shadow:none}
.tst-redesign .tst-card--story-row>.tst-card-body {padding:0;gap:var(--tst-space-2)}
.tst-redesign .tst-card--story-row .tst-card-image-link {aspect-ratio:1}
.tst-redesign .tst-card--story-row .tst-card-title {font-size:var(--tst-type-subheading)}
.tst-redesign .tst-card--story-row .tst-card-excerpt {font-size:var(--tst-type-caption)}
.tst-redesign .tst-card.tst-card--ip-profile {padding:var(--tst-space-5);height:100%;background:var(--tst-surface-subtle)}
.tst-redesign .tst-card--ip-profile>.tst-card-body {padding:var(--tst-space-4) 0 0;flex:1;text-align:left}
.tst-redesign .tst-card.tst-card--ip-profile .tst-card-title {font-size:var(--tst-type-subheading);text-align:left}
.tst-redesign .tst-card.tst-card--ip-profile .tst-card-excerpt {font-size:var(--tst-type-body);text-align:left}
.tst-redesign .tst-card--ip-profile .tst-card-cta {margin-top:auto;padding-top:var(--tst-space-4)}
.tst-ip-profile-mark {width:64px;height:64px;display:grid;place-items:center}
.tst-ip-profile-mark>img {width:100%;height:100%;object-fit:cover;border-radius:var(--tst-radius-round)}
.tst-ip-profile-mark>.tst-icon {width:32px;height:32px}
@media(max-width:600px) {
  .tst-redesign .tst-card--story-row .tst-card-title {font-size:var(--tst-type-card-title)}
  .tst-redesign .tst-card.tst-card--ip-profile {padding:var(--tst-space-4)}
}
