






:root {
    --th-glass-bg:          rgba(15, 15, 18, 0.72);
    --th-glass-bg-strong:   rgba(15, 15, 18, 0.86);
    --th-glass-bg-solid:    rgba(15, 15, 18, 0.94);
    --th-glass-blur:        16px;
    --th-glass-sat:         155%;
    --th-glass-border:      rgba(242, 242, 239, 0.09);
    --th-glass-border-top:  rgba(242, 242, 239, 0.22);
    --th-glass-specular: radial-gradient(
        320px circle at var(--mx, 50%) var(--my, 0%),
        rgba(242, 242, 239, 0.11) 0%,
        rgba(210, 167, 44, 0.05) 36%,
        transparent 72%
    );
    --th-glass-border-glow: radial-gradient(
        300px circle at var(--mx, 50%) var(--my, 0%),
        rgba(242, 242, 239, 0.32) 0%,
        rgba(210, 167, 44, 0.20) 30%,
        transparent 70%
    );
    --th-grid-dur-fast:     140ms;
    --th-grid-dur-base:     260ms;
    --th-grid-dur-slow:     540ms;
    --th-grid-ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
    --th-grid-ease-flip:    cubic-bezier(0.16, 1, 0.3, 1);
}







 
.thf-h3-card:hover .thf-h3-shot img,
.thf-h3-card:focus-visible .thf-h3-shot img,
.thf-glass-card:hover .thf-card-shot img,
.thf-glass-card:focus-within .thf-card-shot img,
.thf-product-card:hover .thf-product-image img {
    transform: none !important;
}

.thf-glass-card {
    --mx: 50%;
    --my: 0%;
    --rx: 0deg;
    --ry: 0deg;
    --scrub-progress: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    border-radius: var(--th-r-md, 18px);
    contain: layout paint;
    isolation: isolate;
    background: var(--th-surface, #0F0F12);
    border: 1px solid var(--th-glass-border);
    overflow: hidden;
    transition:
        transform var(--th-grid-dur-base) var(--th-grid-ease-out),
        border-color var(--th-grid-dur-base) var(--th-grid-ease-out);
}

 
.thf-glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--th-glass-border-glow);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    transition: opacity var(--th-grid-dur-base) var(--th-grid-ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .thf-glass-card:hover {
        transform: translate3d(0, -3px, 0);
        border-color: rgba(242, 242, 239, 0.16);
    }

    .thf-glass-card:hover::before {
        opacity: 1;
    }
}

.thf-card-link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100%;
    min-width: 0;
    border-radius: inherit;
    color: inherit;
    text-decoration: none;
    outline: none;
}

.thf-card-link:focus-visible {
    outline: 2px solid var(--th-metal, #D2A72C);
    outline-offset: 2px;
}

 
.thf-card-shot {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: var(--th-surface-2, #16161A);
    border-radius: calc(var(--th-r-md, 18px) - 1px);
    overflow: hidden;
    isolation: isolate;
}

 
.thf-card-shot::after {
    content: "";
    position: absolute;
    inset: 42% 0 0 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(8, 8, 10, 0.38) 45%,
        rgba(8, 8, 10, 0.82) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.thf-card-shot-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: 0;
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms var(--th-grid-ease-out);
}

.thf-card-shot-img.is-active,
.thf-card-shot-img:first-child {
    opacity: 1;
}

 
.thf-card-specular {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: var(--th-glass-specular);
    opacity: 0;
    z-index: 2;
    transition: opacity var(--th-grid-dur-base) var(--th-grid-ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .thf-glass-card:hover .thf-card-specular {
        opacity: 1;
    }
}

 
.thf-card-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(242, 242, 239, 0.16);
    background: rgba(15, 15, 18, 0.65);
    color: var(--th-ink, #F2F2EF);
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        transform var(--th-grid-dur-fast) var(--th-grid-ease-out),
        background-color var(--th-grid-dur-fast) var(--th-grid-ease-out),
        border-color var(--th-grid-dur-fast) var(--th-grid-ease-out),
        color var(--th-grid-dur-fast) var(--th-grid-ease-out);
}

.thf-card-fav:hover {
    background: rgba(15, 15, 18, 0.90);
    border-color: rgba(242, 242, 239, 0.32);
    transform: scale(1.08);
}

.thf-card-fav:active {
    transform: scale(0.92);
}

.thf-card-fav svg {
    width: 17px;
    height: 17px;
    display: block;
    stroke: currentColor;
    fill: none;
    transition: fill var(--th-grid-dur-fast) var(--th-grid-ease-out), stroke var(--th-grid-dur-fast) var(--th-grid-ease-out);
}

.thf-card-fav.is-saved {
    background: var(--th-metal, #D2A72C);
    border-color: var(--th-metal-2, #E7BF4A);
    color: var(--th-metal-ink, #08080A);
}

.thf-card-fav.is-saved svg {
    fill: currentColor;
    stroke: currentColor;
}

 
.thf-card-sheet {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 11px 13px;
    border-radius: 13px;
    background: var(--th-glass-bg-solid);
    border: 1px solid rgba(242, 242, 239, 0.11);
    border-top-color: var(--th-glass-border-top);
    transition:
        transform var(--th-grid-dur-base) var(--th-grid-ease-out),
        background-color var(--th-grid-dur-base) var(--th-grid-ease-out),
        border-color var(--th-grid-dur-base) var(--th-grid-ease-out);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    @media (hover: hover) and (pointer: fine) {
        .thf-card-sheet {
            background: var(--th-glass-bg);
            -webkit-backdrop-filter: blur(var(--th-glass-blur)) saturate(var(--th-glass-sat));
                    backdrop-filter: blur(var(--th-glass-blur)) saturate(var(--th-glass-sat));
        }
    }
}

.thf-card-head-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--th-2, 8px);
}

.thf-card-brand {
    font-family: var(--th-font-mono, 'IBM Plex Mono', monospace);
    font-size: var(--th-fs-label, 0.75rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--th-ink-2, #A5A5A2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thf-card-size {
    flex-shrink: 0;
    font-family: var(--th-font-mono, 'IBM Plex Mono', monospace);
    font-size: var(--th-fs-label, 0.75rem);
    font-weight: 500;
    color: var(--th-ink-2, #A5A5A2);
    font-variant-numeric: tabular-nums;
}

.thf-card-name {
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    font-family: var(--th-font-display, 'Archivo', sans-serif);
    font-variation-settings: 'wdth' 106;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.22;
    color: var(--th-ink, #F2F2EF);
}

.thf-card-foot-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--th-2, 8px);
    margin-top: 2px;
}

.thf-card-price {
    font-family: var(--th-font-mono, 'IBM Plex Mono', monospace);
    font-size: var(--th-fs-price, 1rem);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--th-ink, #F2F2EF);
    letter-spacing: -0.01em;
}

 
.thf-card-meta-extra {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
    border-top: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--th-2, 8px);
    font-family: var(--th-font-mono, 'IBM Plex Mono', monospace);
    font-size: 0.72rem;
    color: var(--th-ink-3, #8C8C8E);
    transition:
        max-height var(--th-grid-dur-base) var(--th-grid-ease-out),
        opacity var(--th-grid-dur-base) var(--th-grid-ease-out),
        margin-top var(--th-grid-dur-base) var(--th-grid-ease-out),
        padding-top var(--th-grid-dur-base) var(--th-grid-ease-out),
        border-color var(--th-grid-dur-base) var(--th-grid-ease-out);
}

.thf-card-store {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thf-card-condition {
    flex-shrink: 0;
}

@media (hover: hover) and (pointer: fine) {
    .thf-glass-card:hover .thf-card-sheet,
    .thf-glass-card:focus-within .thf-card-sheet {
        transform: translate3d(0, -2px, 0);
        background: var(--th-glass-bg-strong);
        border-top-color: rgba(231, 191, 74, 0.42);
    }

    .thf-glass-card:hover .thf-card-meta-extra,
    .thf-glass-card:focus-within .thf-card-meta-extra {
        max-height: 28px;
        opacity: 1;
        margin-top: 6px;
        padding-top: 6px;
        border-top-color: rgba(242, 242, 239, 0.12);
    }
}

 
.thf-glass-card.is-sold .thf-card-shot::after {
    background: rgba(8, 8, 10, 0.65);
    inset: 0;
}

.thf-glass-card.is-sold .thf-card-sheet {
    background: rgba(15, 15, 18, 0.92);
}

.thf-card-sold-badge {
    display: inline-flex;
    align-items: center;
    font-family: var(--th-font-mono, 'IBM Plex Mono', monospace);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--th-ink-3, #8C8C8E);
    letter-spacing: 0.02em;
}





@media (max-width: 720px) {
    .thf-glass-card .thf-card-sheet {
        left: 6px;
        right: 6px;
        bottom: 6px;
        padding: 7px 9px;
        gap: 2px;
        border-radius: 11px;
        background: rgba(12, 12, 15, 0.88);
        -webkit-backdrop-filter: none;
                backdrop-filter: none;
    }

    .thf-glass-card .thf-card-name {
        font-size: 0.78rem;
        line-height: 1.18;
        -webkit-line-clamp: 2;
        letter-spacing: -0.01em;
    }

    .thf-glass-card .thf-card-fav {
        top: 8px;
        right: 8px;
        width: 34px;
        height: 34px;
    }

    .thf-glass-card .thf-card-meta-extra {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .thf-glass-card,
    .thf-card-shot,
    .thf-card-shot-img,
    .thf-card-sheet,
    .thf-card-meta-extra,
    .thf-card-fav {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        transform: none !important;
    }

    .thf-card-specular,
    .thf-glass-card::before {
        display: none !important;
    }
}
