/* Shared product card (catalog + store page) */
.product-card {
    background-color: #111827;
    border: 1px solid #1E293B;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.product-card:hover,
.product-card:focus-visible {
    border-color: rgba(16, 185, 129, 0.55);
    transform: translateY(-2px);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 164px;
    background-color: #090D14;
    overflow: hidden;
    border-bottom: 1px solid #1E293B;
    flex-shrink: 0;
}

.card-image-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.product-card:hover .card-image-el {
    transform: scale(1.03);
}

.card-badge-category {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    background-color: rgba(11, 15, 23, 0.88);
    border: 1px solid rgba(16, 185, 129, 0.38);
    font-size: 11px;
    font-weight: 600;
    color: #34D399;
    backdrop-filter: blur(4px);
}

.card-badge-status {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 6px;
    background-color: rgba(11, 15, 23, 0.88);
    border: 1px solid #334155;
    font-size: 10.5px;
    font-weight: 600;
    color: #E2E8F0;
    font-variant-numeric: tabular-nums;
}

.card-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background-color: #10B981;
}

.card-body-content {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.card-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: #F8FAFC;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.product-card:hover .card-title,
.product-card:focus-visible .card-title {
    color: #34D399;
}

.card-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.card-price {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #10B981;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

.card-escrow-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #38BDF8;
}

.card-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 7px 10px;
    background-color: #090D14;
    border: 1px solid #1E293B;
    border-radius: 8px;
    margin-top: auto;
}

.card-spec-item {
    min-width: 0;
}

.card-spec-label {
    display: block;
    font-size: 9.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94A3B8;
    margin-bottom: 1px;
}

.card-spec-value {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    color: #F8FAFC;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #1E293B;
}

.card-seller {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.card-seller-avatar {
    width: 22px;
    height: 22px;
    border-radius: 9999px;
    object-fit: cover;
    background-color: #090D14;
    border: 1px solid #334155;
    flex-shrink: 0;
}

.card-seller-name {
    font-size: 12px;
    font-weight: 500;
    color: #CBD5E1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-seller-verified {
    font-size: 12px;
    color: #10B981;
    flex-shrink: 0;
}

.card-verified-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 600;
    color: #34D399;
    white-space: nowrap;
    flex-shrink: 0;
}

.card-seller-name[role="link"] {
    cursor: pointer;
    transition: color 0.15s ease;
}

.card-seller-name[role="link"]:hover,
.card-seller-name[role="link"]:focus-visible {
    color: #34D399;
    text-decoration: underline;
    outline: none;
}
